/* ============================================================
   MULTICLOUD PREMIUM COURSE — Sherdil
   Poster-style landing page
   Palette is strictly: #FFFFFF, #000000, #0A639F (+ its opacities)
   ------------------------------------------------------------
   1.  Tokens & reset
   2.  Typography helpers
   3.  Layout primitives (wrap, section, watermark)
   4.  Components (buttons, ribbons, ticklists, stamp, doodles)
   5.  Navbar
   6.  Hero
   7.  Info cards + What you get
   8.  Curriculum (tabs + accordion)
   9.  Instructor
   10. Pricing
   11. Stats / Why Sherdil
   12. FAQ
   13. CTA + form
   14. Footer
   15. Floating actions
   16. Scroll reveal
   17. Responsive
   ============================================================ */

/* ---------- 1. TOKENS & RESET ---------- */
:root{
  --blue:      #0A639F;
  --black:     #000000;
  --white:     #FFFFFF;
  --ink:       #333333;              /* body copy */
  --tint-05:   rgba(10,99,159,.05);
  --tint-08:   rgba(10,99,159,.08);
  --tint-12:   rgba(10,99,159,.12);
  --tint-20:   rgba(10,99,159,.20);
  --tint-40:   rgba(10,99,159,.40);

  --bd:        2px solid #000;       /* standard sharp border */
  --bd-thin:   1.5px solid #000;
  --r-sm:      10px;
  --r-md:      14px;
  --r-lg:      16px;
  --r-xl:      26px;

  --shadow:    5px 6px 0 #000;       /* flat poster shadow */
  --shadow-sm: 3px 4px 0 #000;

  --nav-h:     76px;
  --pad:       clamp(20px, 5vw, 48px);
}

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

html{
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size:17px;
  line-height:1.65;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }

/* Hidden SVG sprite host */
.svg-sprite{ position:absolute; width:0; height:0; overflow:hidden; }

/* Generic icon sizing — every <svg class="ico"> inherits currentColor */
.ico{
  width:1em; height:1em;
  display:block;
  fill:none;
  color:inherit;
}

::selection{ background:var(--blue); color:var(--white); }

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


/* ---------- 2. TYPOGRAPHY ---------- */
.h2, .h3, .hero__title, .hero__name, .plan__name, .plan__price,
.stat__n, .footer__word, .info__a, .info__price{
  font-family:'Anton', 'Archivo Black', Impact, sans-serif;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:-0.01em;
  line-height:.98;
  color:var(--black);
  margin:0;
}

.h2{
  font-size:clamp(2.2rem, 6vw, 4.2rem);
  position:relative;
  margin:0 0 18px;
}
.h2--xl{ font-size:clamp(2.6rem, 9vw, 6.4rem); }
.h2--light{ color:var(--white); }

.h3{
  font-size:clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing:0;
  margin:0 0 10px;
}
.h3 em{ font-style:normal; color:var(--blue); }

.lede{
  font-size:1.05rem;
  max-width:60ch;
  margin:0 0 26px;
  color:var(--ink);
}
.lede--center{ margin-inline:auto; text-align:center; }
.lede--light{ color:rgba(255,255,255,.9); }

.tag-label{
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin:0 0 6px;
  opacity:.8;
}


/* ---------- 3. LAYOUT ---------- */
.wrap{
  width:min(1240px, 100% - 2*var(--pad));
  margin-inline:auto;
}
.wrap--narrow{ width:min(860px, 100% - 2*var(--pad)); }

.section{
  position:relative;
  padding:clamp(64px, 9vw, 120px) 0;
  overflow:hidden;                    /* keeps watermark & tilts contained */
}
.section--tint{ background:var(--tint-08); }
.section--blue{ background:var(--blue); color:var(--white); }
.section--blue .lede{ color:rgba(255,255,255,.9); }

.sec-head{
  text-align:center;
  max-width:820px;
  margin:0 auto 52px;
}
.sec-head .ribbon{ margin-bottom:22px; }

/* Big faint watermark text behind a section */
.watermark{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  font-family:'Anton', Impact, sans-serif;
  font-size:clamp(6rem, 22vw, 18rem);
  text-transform:uppercase;
  letter-spacing:-.03em;
  color:var(--tint-05);
  white-space:nowrap;
  pointer-events:none;
  user-select:none;
  z-index:0;
}
.watermark--light{ color:rgba(255,255,255,.09); }
.section > .wrap{ position:relative; z-index:1; }


/* ---------- 4. COMPONENTS ---------- */

/* --- Buttons: black pill + blue square icon box --- */
.btn{
  --btn-bg:var(--black);
  /* --box  = diameter of the blue icon circle
     --pad   = space around it. Because the pill's right end is a semicircle of
               radius H/2 and H = box + 2·pad + 2·border, the icon circle ends up
               concentric with that end cap — so the blue disc sits inside an
               even ring of exactly --pad on every side, at any size.
     --lead  = extra text padding on the flat left side                        */
  --box:38px;
  --pad:9px;
  --lead:30px;

  display:inline-flex;
  align-items:center;
  gap:16px;
  padding:var(--pad) var(--pad) var(--pad) var(--lead);
  background:var(--btn-bg);
  color:var(--white);
  border:var(--bd);
  border-radius:999px;
  font-weight:800;
  font-size:.86rem;
  letter-spacing:.12em;
  line-height:1;
  text-transform:uppercase;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover{ transform:translate(-2px,-2px); box-shadow:var(--shadow-sm); }
.btn:active{ transform:translate(0,0); box-shadow:none; }

.btn__box{
  display:grid; place-items:center;
  width:var(--box); height:var(--box);
  background:var(--blue);
  border-radius:50%;
  font-size:calc(var(--box) * .46);   /* a touch smaller than in a square */
  flex:none;
  transition:transform .16s ease;
}
.btn:hover .btn__box{ transform:translateX(3px); }

/* Rendered heights: sm 46px · base 60px · lg 66px */
.btn--sm{ --box:28px; --pad:7px; --lead:20px; font-size:.74rem; gap:12px; }
.btn--lg{ --box:42px; --pad:10px; --lead:36px; font-size:.95rem; gap:20px; }

/* Inverted pill for dark surfaces. On the hero's near-black banner a black
   button reads as a hole rather than a call to action, so the fill flips to
   white and the blue icon circle becomes the accent. */
.btn--invert{
  --btn-bg:var(--white);
  color:var(--black);
  border-color:var(--white);
}
.btn--invert .btn__box{ color:var(--white); }
/* The default flat shadow is black — invisible here, so tint it blue */
.btn--invert:hover{ box-shadow:3px 4px 0 var(--blue); }

/* Full-width variant: text left, icon square pinned right */
.btn--full{ display:flex; width:100%; justify-content:space-between; }

/* --- Ribbon / paper-tape labels --- */
.ribbon{
  display:inline-block;
  padding:7px 18px;
  background:var(--blue);
  color:var(--white);
  border:var(--bd);
  border-radius:6px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  transform:rotate(-3deg);
  box-shadow:var(--shadow-sm);
  white-space:nowrap;
}
.ribbon--tl{
  position:absolute;
  top:clamp(18px, 2.6vw, 34px);
  /* keeps the ribbon flush with the hero's inner content column */
  left:max(var(--pad), (100% - 1600px) / 2);
  transform:rotate(-11deg);
  z-index:3;
}
.ribbon--inline{ transform:rotate(-2.5deg); }
.ribbon--onblue{ background:var(--white); color:var(--blue); }
.ribbon--float-l,
.ribbon--float-r{
  position:absolute;
  top:8%;
  font-size:.8rem;
  padding:9px 22px;
}
.ribbon--float-l{ left:0;  transform:rotate(-14deg); }
.ribbon--float-r{ right:0; transform:rotate(13deg); background:var(--black); }

/* --- Tick lists --- */
.ticklist{
  list-style:none;
  margin:0 0 22px;
  padding:0;
  display:grid;
  gap:10px;
}
.ticklist li{
  display:grid;
  grid-template-columns:22px 1fr;
  gap:11px;
  align-items:start;
  font-size:.96rem;
  line-height:1.45;
}
.ticklist .ico{
  width:20px; height:20px;
  margin-top:2px;
  color:var(--blue);
  stroke:currentColor;
}
.ticklist--2col{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 28px; }

/* On dark/blue surfaces ticks flip to white */
.section--blue .ticklist .ico,
.info--black .ticklist .ico,
.info--blue  .ticklist .ico{ color:var(--white); }

/* --- Chips (service pills) --- */
.chips{
  list-style:none;
  margin:0 0 18px;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.chips li{
  padding:6px 14px;
  background:var(--white);
  border:var(--bd-thin);
  border-radius:999px;
  font-size:.82rem;
  font-weight:600;
}

.note{
  margin:0;
  padding:12px 16px;
  background:var(--tint-12);
  border-left:4px solid var(--blue);
  border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-size:.9rem;
}
/* Standalone "Please note" callout at the top of a curriculum panel */
.note--lead{
  margin:0 0 30px;
  padding:16px 22px;
  background:var(--white);
  border:var(--bd-thin);
  border-left:6px solid var(--blue);
  font-size:.95rem;
}
.note--lead strong{ color:var(--blue); text-transform:uppercase; letter-spacing:.08em; }

/* Sub-heading that groups accordions inside a tab panel */
.panel__sub{
  font-family:'Anton', Impact, sans-serif;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:.01em;
  font-size:clamp(1.15rem, 2.4vw, 1.55rem);
  color:var(--black);
  margin:0 0 18px;
  padding-bottom:10px;
  border-bottom:var(--bd-thin);
}
.panel__sub + .acc{ margin-bottom:44px; }

/* Numbered MODULE 1 / MODULE 2 … list used by the certification maps */
.modlist{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.modlist li{
  display:flex;
  align-items:baseline;
  gap:14px;
  flex-wrap:wrap;
  padding:11px 15px;
  background:var(--tint-08);
  border-radius:var(--r-sm);
  font-size:.96rem;
  font-weight:600;
  color:var(--black);
}
.modlist__n{
  flex:none;
  padding:3px 10px;
  background:var(--blue);
  color:var(--white);
  border-radius:5px;
  font-size:.64rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

/* Small inline category tag, e.g. "Network security" on Alibaba topics */
.tagmini{
  display:inline-block;
  margin-left:8px;
  padding:2px 9px;
  background:var(--tint-12);
  color:var(--blue);
  border-radius:999px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
  vertical-align:middle;
}

/* "Optional part" flag next to an accordion title */
.acc__opt{
  display:inline-block;
  margin-left:10px;
  padding:3px 11px;
  background:var(--blue);
  color:var(--white);
  border-radius:999px;
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  vertical-align:middle;
}

/* --- Rotated circular stamp badge --- */
.stamp{
  position:relative;
  width:150px; height:150px;
  flex:none;
  animation:spin 22s linear infinite;
}
.stamp__svg{ width:100%; height:100%; overflow:visible; }
.stamp__text{
  font-family:'Anton', Impact, sans-serif;
  font-size:19px;
  letter-spacing:.14em;
  fill:var(--white);
}
.stamp__core{
  position:absolute;
  inset:0;
  margin:auto;
  width:56px; height:56px;
  display:grid; place-items:center;
  background:var(--blue);
  color:var(--white);
  border:var(--bd);
  border-radius:50%;
  font-size:24px;
  animation:spin-rev 22s linear infinite;   /* keeps the star upright-ish */
}
.stamp__core--light{ background:var(--white); color:var(--blue); border-color:var(--white); }
.stamp__core .ico{ fill:currentColor; }

@keyframes spin{     to{ transform:rotate(360deg); } }
@keyframes spin-rev{ to{ transform:rotate(-360deg); } }

/* --- Card tilt (alternating, poster feel) --- */
.tilt-l{ transform:rotate(-2deg); }
.tilt-r{ transform:rotate(2.4deg); }
.tilt-l,.tilt-r{ transition:transform .25s ease; }
.tilt-l:hover,.tilt-r:hover{ transform:rotate(0deg) translateY(-4px); }

/* --- Hand-drawn doodles --- */
.doodle{ position:absolute; color:var(--blue); fill:none; pointer-events:none; }
.doodle--under{
  position:static;
  display:block;
  width:190px; height:15px;
  margin-top:10px;
  stroke:currentColor;
}
.doodle--curve{
  width:110px; height:82px;
  right:-10px; bottom:-30px;
  stroke:currentColor;
  opacity:.7;
}
.doodle--spark{
  width:34px; height:34px;
  fill:currentColor;
  position:static;
  color:var(--white);
  margin:0 auto 10px;
}


/* ---------- 5. NAVBAR ---------- */
.nav{
  position:sticky; top:0;
  z-index:60;
  background:var(--white);
  border-bottom:var(--bd-thin);
}
.nav__inner{
  height:var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.logo{
  font-family:'Anton', Impact, sans-serif;
  font-size:1.65rem;
  letter-spacing:-.02em;
  text-transform:none;
  color:var(--black);
  text-decoration:none;
  flex:none;
}
.logo__dot{ color:var(--blue); }

.nav__links{ display:flex; gap:6px; }
.nav__link{
  padding:9px 15px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--black);
  transition:background .18s ease, color .18s ease;
}
.nav__link:hover{ background:var(--tint-12); }
.nav__link.is-active{ background:var(--blue); color:var(--white); }

.nav__actions{ display:flex; align-items:center; gap:8px; flex:none; }

/* Blue square WhatsApp button attached to CONTACT — matches .btn--sm height (46px) */
.wa-btn{
  display:grid; place-items:center;
  width:46px; height:46px;
  background:var(--blue);
  color:var(--white);
  border:var(--bd);
  border-radius:12px;
  font-size:23px;
  text-decoration:none;
  transition:transform .16s ease, box-shadow .16s ease;
}
.wa-btn .ico{ fill:currentColor; }
.wa-btn:hover{ transform:translate(-2px,-2px); box-shadow:var(--shadow-sm); }

/* Hamburger */
.burger{
  display:none;
  width:44px; height:42px;
  background:var(--white);
  border:var(--bd);
  border-radius:10px;
  cursor:pointer;
  padding:0;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.burger span{
  display:block;
  width:20px; height:2.5px;
  background:var(--black);
  border-radius:2px;
  transition:transform .22s ease, opacity .18s ease;
}
.burger.is-open span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }


/* ---------- 6. HERO ---------- */
/* Full-bleed banner: spans the whole viewport, inner content capped so the
   copy still has a sane measure on ultra-wide screens. */
.hero{ padding:0; }

.hero__card{
  position:relative;
  isolation:isolate;
  padding-block:clamp(48px, 7vw, 96px);
  /* centre the content column without an extra wrapper element */
  padding-inline:max(var(--pad), (100% - 1600px) / 2);
  border:0;
  border-bottom:var(--bd);
  border-radius:0;
  color:var(--white);
  overflow:hidden;
  /* the one permitted gradient: hero banner overlay (black → blue tint) */
  background:
    linear-gradient(140deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 42%, rgba(10,99,159,.92) 100%),
    var(--blue);
  box-shadow:none;
}

/* clearance so the rotated corner ribbon never sits on the eyebrow line */
.hero__intro{ padding-top:clamp(26px, 3vw, 40px); }

.hero__eyebrow{
  margin:0 0 14px;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}
.hero__title{
  color:var(--white);
  font-size:clamp(2.6rem, 9.5vw, 7.2rem);
  letter-spacing:-.015em;
  margin:0 0 18px;
}
.hero__sub{
  margin:0 0 34px;
  font-size:clamp(.95rem, 2vw, 1.25rem);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--white);
}

/* Cloud logo stack */
.cloudstack{
  list-style:none; margin:0 0 46px; padding:0;
  display:flex; flex-wrap:wrap; gap:14px;
}
.cloudstack__item{
  display:flex; align-items:center; gap:13px;
  padding:9px 18px 9px 9px;
  background:rgba(255,255,255,.08);
  border:1.5px solid rgba(255,255,255,.35);
  border-radius:var(--r-md);
  backdrop-filter:blur(2px);
}

/* White plate the brand mark sits on — official logos are dark artwork,
   so they need a light ground rather than the dark hero. */
.cloudstack__chip{
  display:grid; place-items:center;
  width:74px; height:46px;
  /* The PNGs are trimmed flush to their artwork, so the padding is what
     keeps the marks off the chip's edge — and what sets their size. */
  padding:9px 10px;
  background:var(--white);
  border-radius:9px;
  flex:none;
}
/* Every mark is pinned to the same height, so a wide wordmark and a compact
   icon carry equal optical weight however different their proportions are.
   An explicit height (not a percentage) is deliberate: a percentage
   max-height resolves to `none` against an indefinite grid area, which lets
   the image jump to its natural size and burst out of the chip. */
.cloudstack__logo{
  display:block;
  height:var(--logo-h, 28px);
  width:auto;
  max-width:100%;
  object-fit:contain;
}
/* Optical correction: the Google mark is a solid, chunky shape, so at a
   matched height it reads heavier than the two wordmarks beside it.
   Matches on the filename, so it holds if the .svg fallback kicks in. */
.cloudstack__logo[src*="google"]{ --logo-h:24px; }

/* Wordmark fallback, shown only when the logo file is absent */
.cloudstack__word{
  display:none;
  font-family:'Inter', sans-serif;
  font-weight:900;
  font-size:.66rem;
  line-height:1.1;
  letter-spacing:-.01em;
  text-align:center;
  text-transform:none;
  color:var(--blue);
}
.cloudstack__word--aws{
  font-size:1.15rem;
  letter-spacing:-.04em;
}
.cloudstack__chip.is-empty .cloudstack__logo{ display:none; }
.cloudstack__chip.is-empty .cloudstack__word{ display:block; }

.cloudstack__label{
  font-size:.76rem; font-weight:800;
  letter-spacing:.16em; text-transform:uppercase;
}

/* ---- Split layout: copy left, portrait right ----
   Named areas rather than source order, so the same markup gives
   "headline | portrait | details" stacked on mobile without duplicating
   anything or resorting to negative order values. */
.hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  grid-template-areas:
    "intro  figure"
    "extras figure";
  column-gap:clamp(32px, 5vw, 72px);
  align-content:center;
}
.hero__intro { grid-area:intro;  align-self:end; }
.hero__extras{ grid-area:extras; align-self:start; }
.hero__figure{ grid-area:figure; align-self:center; }

/* Call to action under the cloud stack */
.hero__cta{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  margin-top:6px;
}
.hero__price{ margin:0; line-height:1.35; }
.hero__price strong{
  display:block;
  font-family:'Anton', Impact, sans-serif;
  font-weight:400;
  font-size:1.5rem;
  letter-spacing:.01em;
  color:var(--white);
}
.hero__price span{
  font-size:.74rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.72);
}

/* ---- Portrait ---- */
.hero__figure{
  position:relative;
  margin:0;
  justify-self:center;
  width:100%;
  max-width:430px;
}
.hero__photo{
  position:relative;
  aspect-ratio:4 / 4.7;
  overflow:hidden;
  border:var(--bd);
  border-radius:var(--r-xl);
  background:var(--blue);          /* the duotone's colour source */
  box-shadow:var(--shadow);
  transform:rotate(2.2deg);
  transition:transform .3s ease;
  /* Required: the photo below blends with THIS box's blue background.
     Without an explicit stacking context it would blend straight through
     to the hero gradient wherever the rotation is removed (≤940px). */
  isolation:isolate;
}
.hero__figure:hover .hero__photo{ transform:rotate(0deg); }

.hero__img{
  width:100%; height:100%;
  object-fit:cover;
  object-position:center top;
  /* Natural colour photo. A small lift only — the studio shot is low-key,
     and without it the shirt merges into the backdrop. */
  filter:brightness(1.06) contrast(1.04);
}
/* Hidden by default; script.js reveals it only if usman.jpg fails to load */
.hero__fallback{
  position:absolute; inset:0;
  margin:auto;
  width:64%; height:auto;
  color:rgba(255,255,255,.45);
  display:none;
}
.hero__photo.is-empty .hero__img{ display:none; }
.hero__photo.is-empty .hero__fallback{ display:block; }
.hero__photo.is-empty{
  background:
    linear-gradient(180deg, rgba(10,99,159,.75) 0%, rgba(0,0,0,.92) 100%),
    var(--blue);
}

/* Name plate over the bottom of the portrait */
.hero__cap{
  position:absolute;
  left:0; right:0; bottom:0;
  /* right padding keeps the name clear of the stamp in the corner */
  padding:56px 108px 24px 26px;
  background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.85) 62%);
  color:var(--white);
}
.hero__name{
  color:var(--white);
  font-size:clamp(1.4rem, 2.6vw, 2rem);
  margin:0;
}

/* Small rotated tag on the portrait's top-left */
.hero__figtag{
  position:absolute;
  top:-14px; left:-12px;
  z-index:3;
  transform:rotate(-9deg);
  font-size:.66rem;
  padding:6px 14px;
}

/* Stamp overlaps the portrait's bottom-RIGHT corner — the name plate
   occupies the bottom-left, so anchoring left would cover it. */
.hero__figure .stamp{
  position:absolute;
  right:-24px; bottom:-24px;
  z-index:3;
  width:126px; height:126px;
}

/* Facts strip */
.hero__strip{
  list-style:none;
  margin:38px 0 0; padding:20px 0 0;
  border-top:1.5px solid rgba(255,255,255,.35);
  display:flex; flex-wrap:wrap; gap:10px 30px;
  font-size:.78rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
}
.hero__strip li{ display:flex; align-items:center; gap:10px; }
.hero__strip li::before{
  content:"";
  width:9px; height:9px;
  background:var(--white);
  border-radius:2px;
  flex:none;
}


/* ---------- 7. INFO CARDS + WHAT YOU GET ---------- */
.layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:clamp(28px, 4vw, 60px);
  align-items:start;
}
.layout__main .ribbon{ margin-bottom:22px; }

.sticky{
  position:sticky;
  top:calc(var(--nav-h) + 22px);
  display:grid;
  gap:16px;
}

.info{
  padding:22px 24px;
  border:var(--bd);
  border-radius:var(--r-lg);
}
.info__q{
  margin:0 0 8px;
  font-size:.72rem; font-weight:800;
  letter-spacing:.2em; text-transform:uppercase;
  opacity:.75;
}
.info__q--dark{ opacity:1; color:var(--blue); }
.info__a{ font-size:1.5rem; }
.info__a span{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:.78rem; font-weight:700;
  letter-spacing:.12em;
  margin-top:6px;
  opacity:.8;
}
.info__a--sm{
  font-family:'Inter', sans-serif;
  font-size:.95rem; font-weight:500;
  text-transform:none; letter-spacing:0;
  line-height:1.5;
  color:var(--ink);
}
.info__a--sm strong{ color:var(--blue); }

.info--black{ background:var(--black); color:var(--white); }
.info--black .info__a{ color:var(--white); }
.info--blue{ background:var(--blue); color:var(--white); }
.info--blue .info__a{ color:var(--white); }
.info--tint{ background:var(--tint-12); }
.info--white{ background:var(--white); box-shadow:var(--shadow); }

.info__price{
  font-size:2rem;
  color:var(--blue);
  margin:0 0 16px;
}

/* What you get cards */
.getcards{ display:grid; gap:26px; margin-top:34px; }
.getcard{
  position:relative;
  padding:30px 28px 26px;
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
}
.getcard p{ margin:0 0 14px; font-size:.98rem; }
.getcard__badge{
  position:absolute;
  top:-16px; left:26px;
  display:grid; place-items:center;
  width:44px; height:44px;
  background:var(--blue);
  color:var(--white);
  border:var(--bd);
  border-radius:11px;
  font-size:20px;
}
.getcard__badge .ico{ fill:currentColor; }
.getcard__certs{
  margin:0 !important;
  padding-top:14px;
  border-top:1.5px dashed rgba(0,0,0,.25);
  font-size:.85rem !important;
  letter-spacing:.01em;
}
.getcard__certs strong{
  display:block;
  color:var(--blue);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.7rem;
  margin-bottom:5px;
}


/* ---------- 8. CURRICULUM ---------- */
.tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:34px;
}
.tab{
  padding:11px 26px;
  background:var(--white);
  border:var(--bd);
  border-radius:999px;
  font-size:.8rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, transform .16s ease;
}
.tab:hover{ transform:translateY(-2px); }
.tab.is-active{ background:var(--blue); color:var(--white); box-shadow:var(--shadow-sm); }

.panel[hidden]{ display:none; }

/* Accordion */
.acc{ display:grid; gap:14px; }
.acc__item{
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-md);
  overflow:hidden;
}
.acc__item.is-open{ box-shadow:var(--shadow); }
.acc__h{ margin:0; font-size:1rem; }
.acc__btn{
  width:100%;
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 22px;
  background:transparent;
  border:0;
  text-align:left;
  cursor:pointer;
}
.acc__btn:hover{ background:var(--tint-05); }
.acc__no{
  font-family:'Anton', Impact, sans-serif;
  font-size:1.05rem;
  color:var(--blue);
  flex:none;
}
.acc__title{
  flex:1;
  font-weight:700;
  font-size:1.02rem;
  color:var(--black);
  line-height:1.35;
}
/* Theory / Lab marker from the client's course table. Sits between the
   title and the toggle icon, and drops out on narrow screens where the
   module name needs the room. */
.acc__flag{
  flex:none;
  padding:4px 11px;
  border:1.5px solid var(--blue);
  border-radius:999px;
  font-size:.6rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--blue);
  white-space:nowrap;
}
.acc__flag--lab{
  background:var(--blue);
  color:var(--white);
}

.acc__ico{
  display:grid; place-items:center;
  width:34px; height:34px;
  background:var(--blue);
  color:var(--white);
  border-radius:9px;
  font-size:19px;
  flex:none;
}
/* Rotate only the glyph — rotating .acc__ico itself would turn the
   rounded square into a diamond. Plus becomes a cross when open. */
.acc__ico .ico{ transition:transform .25s ease; }
.acc__item.is-open .acc__ico .ico{ transform:rotate(45deg); }

/* Height-animated body (JS sets max-height) */
.acc__body{
  max-height:0;
  overflow:hidden;
  transition:max-height .32s ease;
}
.acc__inner{ padding:0 22px 24px; }
.acc__inner p{ margin:0; }
.acc__inner p + .note{ margin-top:14px; }

.acc--faq .acc__title{ font-size:1.05rem; }

/* "View all N modules" toggle, injected by script.js under long groups */
.acc__more{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px auto 0;
  padding:13px 16px 13px 26px;
  background:var(--white);
  border:var(--bd);
  border-radius:999px;
  font-size:.78rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--black);
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease;
}
.acc__more:hover{ transform:translate(-2px,-2px); box-shadow:var(--shadow-sm); }
.acc__more-ico{
  display:grid; place-items:center;
  width:30px; height:30px;
  background:var(--blue);
  color:var(--white);
  border-radius:50%;
  font-size:15px;
  flex:none;
}
.acc__more-ico .ico{ stroke:currentColor; transition:transform .25s ease; }
/* Chevron points down while collapsed, flips up once everything is shown */
.acc__more-ico .ico{ transform:rotate(180deg); }
.acc__more.is-open .acc__more-ico .ico{ transform:rotate(0deg); }

/* Clamped items are hidden with the `hidden` attribute */
.acc__item[hidden]{ display:none; }


/* ---------- 9. INSTRUCTOR ---------- */
.instr{
  display:grid;
  grid-template-columns:1fr 400px;
  gap:clamp(30px, 5vw, 70px);
  align-items:center;
}
.instr__copy{ position:relative; }

.instr__card{
  position:relative;
  margin:0;
  padding:0;
  background:var(--black);
  border:var(--bd);
  border-radius:var(--r-xl);
  overflow:hidden;
  transform:rotate(2deg);
  box-shadow:var(--shadow);
  transition:transform .25s ease;
}
.instr__card:hover{ transform:rotate(0deg); }

.instr__photo{
  position:relative;
  aspect-ratio:4/4.4;
  display:grid; place-items:center;
  overflow:hidden;
  background:var(--blue);       /* duotone colour source */
  isolation:isolate;            /* keep the blend inside this box */
  color:rgba(255,255,255,.5);
}
.instr__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center top;
  filter:brightness(1.06) contrast(1.04);
}
/* Silhouette shows through only when the photo is unavailable */
.instr__ph{ width:62%; height:auto; }
.instr__photo:not(.is-empty) .instr__ph{ display:none; }
.instr__photo.is-empty{
  background:
    linear-gradient(180deg, rgba(10,99,159,.55) 0%, rgba(0,0,0,.9) 100%),
    var(--blue);
}
.instr__photo.is-empty .instr__img{ display:none; }

.instr__meta{
  position:absolute;
  left:26px; bottom:26px;
  right:26px;
  color:var(--white);
}
.instr__name{
  font-family:'Anton', Impact, sans-serif;
  text-transform:uppercase;
  font-size:clamp(1.4rem,3vw,1.9rem);
  line-height:1;
  margin:0 0 6px;
}
.instr__role{
  margin:0;
  font-size:.74rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:rgba(255,255,255,.82);
}
.instr__social{
  position:absolute;
  top:22px; right:22px;
  display:grid; gap:10px;
}
.instr__social a{
  display:grid; place-items:center;
  width:42px; height:42px;
  background:var(--blue);
  color:var(--white);
  border:1.5px solid var(--white);
  border-radius:50%;
  font-size:19px;
  transition:transform .18s ease;
}
.instr__social a:hover{ transform:scale(1.1); }
.instr__social .ico{ fill:currentColor; stroke:none; }
.instr__social a[aria-label="Email"] .ico{ fill:none; stroke:currentColor; }


/* ---------- 9b. VIDEOS ---------- */
.videos{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(26px, 4vw, 48px);
}
.video{
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* Thumbnail acts as the play button until the iframe is swapped in */
.video__frame{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  padding:0;
  border:0;
  border-bottom:var(--bd);
  background:var(--black);
  cursor:pointer;
  overflow:hidden;
}
.video__thumb{
  width:100%; height:100%;
  object-fit:cover;                 /* crops the letterbox bars off hqdefault */
  transition:transform .4s ease, opacity .25s ease;
}
.video__frame:hover .video__thumb{ transform:scale(1.05); opacity:.75; }

.video__play{
  position:absolute;
  inset:0;
  margin:auto;
  width:74px; height:74px;
  display:grid; place-items:center;
  background:var(--blue);
  color:var(--white);
  border:var(--bd);
  border-radius:50%;
  font-size:30px;
  padding-left:4px;                 /* optically centres the triangle */
  transition:transform .22s ease;
}
.video__play .ico{ fill:currentColor; }
.video__frame:hover .video__play{ transform:scale(1.12); }

/* The YouTube player replaces the button on click */
.video__iframe{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  border:0;
  border-bottom:var(--bd);
}

.video__meta{ padding:22px 24px 24px; }
.video__kicker{
  margin:0 0 8px;
  font-size:.68rem; font-weight:800;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--blue);
}
.video__title{
  margin:0 0 14px;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.35;
  color:var(--black);
}
.video__link{
  display:inline-block;
  font-size:.76rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:4px;
}

.videos__more{ margin:clamp(30px,4vw,44px) 0 0; text-align:center; }
.videos__more a{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.8rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--black);
  text-decoration:none;
  padding:13px 26px;
  background:var(--white);
  border:var(--bd);
  border-radius:999px;
  transition:transform .16s ease, box-shadow .16s ease;
}
.videos__more a:hover{ transform:translate(-2px,-2px); box-shadow:var(--shadow-sm); }
.videos__more .ico{ width:18px; height:18px; stroke:currentColor; color:var(--blue); }


/* ---------- 10. PRICING ---------- */
.plans{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(24px, 3.5vw, 44px);
  max-width:960px;
  margin:0 auto;
}
.plan{
  padding:34px 30px 30px;
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
  color:var(--ink);
}
.plan__kicker{
  margin:0 0 10px;
  font-size:.7rem; font-weight:800;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--blue);
}
.plan__name{ font-size:1.9rem; margin:0 0 14px; }
.plan__price{
  font-size:clamp(2.1rem, 5vw, 2.9rem);
  color:var(--blue);
  margin:0;
}
.plan__price span{ font-size:1.1rem; }
.plan__unit{
  margin:4px 0 22px;
  font-size:.78rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink);
}
.plan .ticklist .ico{ color:var(--blue); }

/* Inverted alternate plan card */
.plan--alt{ background:var(--black); color:rgba(255,255,255,.85); }
.plan--alt .plan__name{ color:var(--white); }
.plan--alt .plan__price,
.plan--alt .plan__kicker{ color:var(--white); }
.plan--alt .plan__unit{ color:rgba(255,255,255,.75); }
.plan--alt .ticklist .ico{ color:var(--white); }
.plan--alt .btn{ --btn-bg:var(--white); color:var(--black); border-color:var(--white); }
.plan--alt .btn .btn__box{ color:var(--white); }

/* Free co-learning highlight */
.freebadge{
  max-width:720px;
  margin:clamp(40px,6vw,66px) auto 0;
  padding:30px 34px;
  text-align:center;
  background:rgba(255,255,255,.1);
  border:2px dashed var(--white);
  border-radius:var(--r-lg);
  transform:rotate(-1.2deg);
}
.freebadge__text{
  font-family:'Anton', Impact, sans-serif;
  text-transform:uppercase;
  font-size:clamp(1.5rem, 4.6vw, 2.6rem);
  line-height:1.05;
  color:var(--white);
  margin:0 0 8px;
}
.freebadge__text em{
  font-style:normal;
  background:var(--white);
  color:var(--blue);
  padding:0 12px;
  border-radius:8px;
  display:inline-block;
}
.freebadge__sub{
  margin:0;
  font-size:.92rem;
  color:rgba(255,255,255,.88);
}


/* ---------- 11. STATS ---------- */
.stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:clamp(20px,3vw,34px);
}
.stat{
  padding:34px 26px;
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
  text-align:center;
}
.stat__n{
  font-size:clamp(3rem, 8vw, 4.6rem);
  color:var(--blue);
  margin:0 0 10px;
  /* Equal-width digits keep the number from jittering as it counts up
     (JS also pins min-width to the final value before animating). */
  font-variant-numeric:tabular-nums;
  display:inline-block;
}
.stat__l{
  margin:0;
  font-size:.82rem; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase;
  line-height:1.5;
}
.stat--blue{ background:var(--blue); }
.stat--blue .stat__n{ color:var(--white); }
.stat--blue .stat__l{ color:var(--white); }

.portal{
  max-width:640px;
  margin:clamp(38px,5vw,58px) auto 0;
  text-align:center;
  font-size:1.02rem;
}
.portal strong{ color:var(--blue); }
.portal a{ color:var(--blue); font-weight:600; text-decoration:underline; text-underline-offset:3px; }


/* ---------- 12/13. CTA + FORM ---------- */
.cta{ background:var(--tint-05); }
.cta__head{
  position:relative;
  text-align:center;
  padding:10px 0 6px;
  margin-bottom:18px;
}
.cta__btnrow{ text-align:center; margin-bottom:44px; }

.form{
  max-width:780px;
  margin:0 auto;
  padding:clamp(26px,4vw,40px);
  background:var(--white);
  border:var(--bd);
  border-radius:var(--r-lg);
  box-shadow:var(--shadow);
}
.form__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:20px 24px;
  margin-bottom:26px;
}
.field{ display:grid; gap:7px; }
.field label{
  font-size:.72rem; font-weight:800;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--black);
}
.field input,
.field select{
  width:100%;
  padding:13px 15px;
  font-family:inherit;
  font-size:.98rem;
  color:var(--black);
  background:var(--white);
  border:var(--bd-thin);
  border-radius:var(--r-sm);
  transition:border-color .18s ease, background .18s ease;
}
.field select{ appearance:none; cursor:pointer;
  background-image:linear-gradient(45deg, transparent 49%, #000 50%),
                   linear-gradient(-45deg, transparent 49%, #000 50%);
  background-size:7px 7px, 7px 7px;
  background-position:calc(100% - 21px) 21px, calc(100% - 15px) 21px;
  background-repeat:no-repeat;
  padding-right:44px;
}
.field input:focus,
.field select:focus{ outline:none; border-color:var(--blue); background:var(--tint-05); }
.field input::placeholder{ color:rgba(0,0,0,.35); }

.field.is-invalid input,
.field.is-invalid select{ border-color:var(--blue); border-width:2px; background:var(--tint-08); }

.err{
  margin:0;
  min-height:0;
  font-size:.78rem;
  font-weight:700;
  color:var(--blue);
}
.err:empty{ display:none; }

.form__ok{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0 0;
  padding:15px 18px;
  background:var(--tint-12);
  border:var(--bd-thin);
  border-radius:var(--r-sm);
  font-weight:600;
  font-size:.95rem;
}
.form__ok .ico{ width:22px; height:22px; color:var(--blue); stroke:currentColor; flex:none; }
.form__ok[hidden]{ display:none; }
.form__ok a{ color:var(--blue); text-decoration:underline; text-underline-offset:3px; }

/* Contact block under the enrol form — real academy details */
.contact{
  max-width:780px;
  margin:34px auto 0;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.contact__item{
  display:flex;
  align-items:flex-start;
  gap:13px;
  margin:0;
  padding:18px 18px;
  background:var(--white);
  border:var(--bd-thin);
  border-radius:var(--r-sm);
  font-size:.88rem;
  line-height:1.5;
  text-decoration:none;
  color:var(--ink);
  transition:border-color .18s ease, transform .18s ease;
}
a.contact__item:hover{ border-color:var(--blue); transform:translateY(-2px); }
.contact__ico{
  display:grid; place-items:center;
  width:36px; height:36px;
  flex:none;
  background:var(--blue);
  color:var(--white);
  border-radius:9px;
  font-size:19px;
}
.contact__ico .ico{ stroke:currentColor; }
.contact__k{
  display:block;
  font-size:.66rem; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--blue);
  margin-bottom:4px;
}


/* ---------- 14. FOOTER ---------- */
.footer{
  background:var(--blue);
  color:var(--white);
  padding:clamp(50px,7vw,86px) 0 30px;
  overflow:hidden;
}
.footer__nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px clamp(22px,4vw,54px);
  padding-bottom:38px;
  border-bottom:1.5px solid rgba(255,255,255,.4);
}
.footer__nav a{
  font-family:'Anton', Impact, sans-serif;
  font-size:clamp(1.4rem, 3.6vw, 2.4rem);
  text-transform:uppercase;
  letter-spacing:-.01em;
  text-decoration:underline;
  text-underline-offset:6px;
  text-decoration-thickness:2px;
  transition:opacity .18s ease;
}
.footer__nav a:hover{ opacity:.7; }

.footer__tagline{
  max-width:62ch;
  margin:26px 0 0;
  font-size:1rem;
  color:rgba(255,255,255,.9);
}

.footer__mid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:34px 0 10px;
  flex-wrap:wrap;
}
.footer__social{ display:flex; gap:12px; }
.footer__social a{
  display:grid; place-items:center;
  width:48px; height:48px;
  border:2px solid var(--white);
  border-radius:50%;
  color:var(--white);
  font-size:21px;
  transition:background .18s ease, color .18s ease;
}
.footer__social a:hover{ background:var(--white); color:var(--blue); }
.footer__social .ico{ fill:currentColor; }

.footer__stamp{
  position:relative;
  width:130px; height:130px;
  animation:spin 26s linear infinite;
}
.footer__stamp .stamp__text{ font-size:17px; }
.footer__stamp .stamp__core{ animation:spin-rev 26s linear infinite; }

.footer__top{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.78rem; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase;
  text-decoration:none;
  padding:12px 20px;
  border:2px solid var(--white);
  border-radius:999px;
  transition:background .18s ease, color .18s ease;
}
.footer__top:hover{ background:var(--white); color:var(--blue); }
.footer__top .ico{ width:17px; height:17px; stroke:currentColor; }

/* Giant wordmark spanning the width */
.footer__word{
  font-family:'Anton', Impact, sans-serif;
  font-size:clamp(4rem, 19.2vw, 17rem);
  line-height:.82;
  letter-spacing:-.02em;
  text-align:center;
  margin:14px 0 0;
  color:rgba(255,255,255,.92);
  white-space:nowrap;
  user-select:none;
}

.footer__base{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:26px;
  padding-top:20px;
  border-top:1.5px solid rgba(255,255,255,.4);
  font-size:.85rem;
}
.footer__base p{ margin:0; }
.footer__base a{ text-decoration:underline; text-underline-offset:4px; }


/* ---------- 15. FLOATING ACTIONS ---------- */
.float{
  position:fixed;
  z-index:70;
  display:grid; place-items:center;
  width:56px; height:56px;
  border:var(--bd);
  border-radius:50%;
  cursor:pointer;
  font-size:27px;
  text-decoration:none;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease;
}
.float:hover{ transform:translateY(-3px) scale(1.05); }
.float--wa{
  left:22px; bottom:22px;
  background:var(--blue);
  color:var(--white);
}
.float--wa .ico{ fill:currentColor; }
.float--top{
  right:22px; bottom:22px;
  background:var(--black);
  color:var(--white);
  padding:0;
  font-size:22px;
}
.float--top .ico{ stroke:currentColor; }
.float--top[hidden]{ display:none; }


/* ---------- 15b. CUSTOM CURSOR ----------
   script.js adds .has-cursor to <html> only on fine-pointer devices, so
   touch users and anyone without JS keep the normal system cursor. */
.has-cursor,
.has-cursor *{ cursor:none; }
/* Text entry still needs a real caret cursor to be usable */
.has-cursor input,
.has-cursor textarea{ cursor:text; }

.cursor{
  position:fixed;
  top:0; left:0;
  z-index:200;
  pointer-events:none;
  border-radius:50%;
  transform:translate3d(-120px,-120px,0);
  will-change:transform;
  opacity:0;
  transition:opacity .25s ease;
}
.cursor.is-active{ opacity:1; }

/* Small solid dot — tracks the pointer exactly */
.cursor--dot{
  width:8px; height:8px;
  margin:-4px 0 0 -4px;
  background:var(--blue);
  transition:opacity .18s ease, transform .18s ease;
}

/* Outlined ring — trails behind with easing */
.cursor--ring{
  width:38px; height:38px;
  margin:-19px 0 0 -19px;
  border:2px solid var(--blue);
  transition:width .24s ease, height .24s ease, margin .24s ease,
             background-color .24s ease, border-color .2s ease, opacity .25s ease;
}

/* Over dark or blue surfaces the blue cursor would vanish — go white */
.cursor--dot.on-dark{ background:var(--white); }
.cursor--ring.on-dark{ border-color:var(--white); }

/* Over anything clickable the ring opens up and the dot steps aside */
.cursor--ring.is-hover{
  width:56px; height:56px;
  margin:-28px 0 0 -28px;
  background-color:var(--tint-20);
}
.cursor--ring.is-hover.on-dark{ background-color:rgba(255,255,255,.18); }
.cursor--dot.is-hover{ opacity:0; }

/* Press feedback */
.cursor--ring.is-down{
  width:30px; height:30px;
  margin:-15px 0 0 -15px;
}

@media (prefers-reduced-motion: reduce){
  .cursor{ transition:none; }
}


/* ---------- 16. SCROLL REVEAL ---------- */
.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .stamp, .stamp__core, .footer__stamp{ animation:none; }
  *{ transition-duration:.01ms !important; }
}


/* ---------- 17. RESPONSIVE ---------- */

/* Tablet / small laptop */
@media (max-width:1080px){
  .layout{ grid-template-columns:1fr; }
  .sticky{
    position:static;
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .info--white{ grid-column:1 / -1; }
  .instr{ grid-template-columns:1fr; }
  .instr__card{ max-width:440px; margin-inline:auto; }
  .doodle--curve{ display:none; }
  .contact{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/* Hero stacks before the columns get too narrow for the headline.
   Order becomes headline -> portrait -> logos + CTA, so the instructor is
   visible almost immediately instead of below three rows of chips. */
@media (max-width:940px){
  .hero__grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "intro"
      "figure"
      "extras";
    row-gap:40px;
  }
  .hero__intro,
  .hero__extras,
  .hero__figure{ align-self:auto; }
  .hero__figure{ max-width:370px; justify-self:center; }
  .hero__photo{ transform:none; }
  .hero__figure .stamp{ right:-26px; bottom:-26px; }
  .hero__sub{ margin-bottom:0; }
  .cloudstack{ margin-bottom:32px; }
}

/* Collapse the navbar */
@media (max-width:900px){
  .burger{ display:flex; }
  .nav__links{
    position:absolute;
    top:var(--nav-h); left:0; right:0;
    flex-direction:column;
    gap:4px;
    padding:16px var(--pad) 22px;
    background:var(--white);
    border-bottom:var(--bd-thin);
    box-shadow:0 14px 24px rgba(0,0,0,.08);
    display:none;
  }
  .nav__links.is-open{ display:flex; }
  .nav__link{ padding:13px 16px; border-radius:var(--r-sm); }
  /* Label drops out — the pill collapses to a square-ish icon button */
  .nav__actions .btn--sm span:first-child{ display:none; }
  .nav__actions .btn--sm{ --lead:var(--pad); gap:0; }
}

/* Phones */
@media (max-width:720px){
  body{ font-size:16px; }

  .hero__figure{ max-width:none; }
  .hero__photo{ aspect-ratio:4 / 4.2; }
  .hero__figure .stamp{ width:104px; height:104px; right:-10px; bottom:-20px; }
  .hero__figure .stamp .stamp__core{ width:40px; height:40px; font-size:17px; }
  .hero__cap{ padding:52px 92px 20px 20px; }
  .hero__cta{ gap:18px; }
  .hero__strip{ gap:8px 20px; font-size:.7rem; }
  .cloudstack{ gap:10px; }
  .ribbon--tl{ top:16px; font-size:.64rem; padding:6px 13px; }

  .sticky{ grid-template-columns:1fr; }

  .tilt-l, .tilt-r{ transform:none; }
  .tilt-l:hover, .tilt-r:hover{ transform:translateY(-3px); }
  .instr__card{ transform:none; }

  .ticklist--2col{ grid-template-columns:1fr; }
  .plans{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr; }
  .videos{ grid-template-columns:1fr; }
  .video__play{ width:62px; height:62px; font-size:25px; }
  .form__grid{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }

  .acc__btn{ padding:16px 16px; gap:12px; }
  .acc__inner{ padding:0 16px 20px; }
  /* The module name needs the full width here — the lab/theory split is
     still spelled out inside each panel */
  .acc__flag{ display:none; }

  .ribbon--float-l, .ribbon--float-r{
    position:static;
    display:inline-block;
    margin:0 6px 14px;
  }
  .cta__head{ padding-top:0; }

  .footer__mid{ justify-content:center; text-align:center; }
  .footer__word{ font-size:19vw; }
  .footer__base{ justify-content:center; text-align:center; }

  .float{ width:50px; height:50px; font-size:24px; }
  .float--wa{ left:14px; bottom:14px; }
  .float--top{ right:14px; bottom:14px; }
}

/* Narrow screens: the logos are recognisable on their own, so the chips sit
   in one tight row and the long labels ("Amazon Web Services" is ~150px)
   drop out visually. Clipped rather than display:none — screen readers and
   the aria-label still need them, since the images are decorative. */
@media (max-width:560px){
  .cloudstack__label{
    position:absolute;
    width:1px; height:1px;
    padding:0; margin:-1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
  }
  .cloudstack__item{ padding:8px; gap:0; }
  .cloudstack{ gap:12px; }
}

@media (max-width:420px){
  /* Tighten the pill via the token, never the padding shorthand — the
     shorthand would break the box/curve clearance calculated above. */
  .btn{ --lead:22px; --box:34px; --pad:8px; font-size:.78rem; gap:12px; }
  .btn--lg{ --lead:24px; --box:36px; --pad:9px; font-size:.86rem; gap:14px; }
}
