/* ============================================
   NAILS BY ESTHER — Stylesheet
   ============================================ */

:root{
  --cream:        #F8F3E7;
  --cream-alt:     #F0E8D6;
  --cream-deep:    #E8DEC4;
  --gold:          #B08D4F;
  --gold-light:    #D9BD82;
  --gold-dark:     #8A6B37;
  --ink:           #3A2E1E;
  --ink-soft:      #6E5F49;
  --white:         #FFFDF8;
  --shadow:        0 20px 50px -25px rgba(58,46,30,0.35);
  --shadow-soft:   0 10px 30px -15px rgba(58,46,30,0.25);
  --radius:        18px;
  --radius-pill:   999px;
  --serif: "Rubik", "Heebo", sans-serif;
  --sans:  "Rubik", "Heebo", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--sans);
  font-weight:400;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }

/* Scroll wave — sections continuously scale/drift toward center as you scroll */
.reveal{
  opacity:.4;
  transform:translateY(40px) scale(.92);
  transition:opacity .18s linear, transform .18s linear;
  will-change:transform, opacity;
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
}
h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:500;
  color:var(--ink);
  margin:0 0 .5em;
  letter-spacing:.01em;
}
p{ margin:0 0 1em; color:var(--ink-soft); }
.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}
.gold-text{
  background:linear-gradient(120deg, var(--gold-dark), var(--gold-light) 45%, var(--gold) 75%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:var(--gold);
}
.eyebrow{
  display:inline-block;
  font-family:var(--sans);
  font-size:.78rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold-dark);
  margin-bottom:14px;
}
.divider{
  width:64px;
  height:1px;
  background:linear-gradient(to left, transparent, var(--gold), transparent);
  margin:22px auto;
}
.divider.right{ margin:22px 0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 38px;
  font-family:var(--sans);
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.02em;
  border-radius:var(--radius-pill);
  border:1px solid var(--gold);
  cursor:pointer;
  transition:all .35s ease;
  white-space:nowrap;
}
.btn-primary{
  background:linear-gradient(120deg,var(--gold-dark),var(--gold));
  color:var(--white);
  box-shadow:var(--shadow-soft);
}
.btn-primary:hover{
  background:linear-gradient(120deg,var(--gold),var(--gold-light));
  transform:translateY(-2px);
  box-shadow:var(--shadow);
}
.btn-outline{
  background:transparent;
  color:var(--gold-dark);
}
.btn-outline:hover{
  background:var(--gold);
  color:var(--white);
  transform:translateY(-2px);
}
.btn[disabled], .btn.disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none !important;
}

/* Pill buttons for the dark photo hero */
.btn-pill-primary{
  background:linear-gradient(120deg,var(--gold-dark),var(--gold) 60%,var(--gold-light));
  color:#2A2114;
  border:1px solid var(--gold-light);
  font-weight:700;
  box-shadow:0 14px 34px -14px rgba(176,141,79,.65);
}
.btn-pill-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -14px rgba(176,141,79,.8); }
.btn-pill-outline{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.55);
  color:var(--white);
  backdrop-filter:blur(4px);
}
.btn-pill-outline:hover{
  background:rgba(255,255,255,.14);
  border-color:var(--white);
  transform:translateY(-2px);
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:320;
  background:var(--cream);
  border-bottom:1px solid var(--cream-deep);
}

/* Transparent overlay header — sits directly on the home-page hero photo */
.site-header.overlay{
  position:fixed;
  top:0; left:0; right:0;
  background:transparent;
  border-bottom:1px solid transparent;
  backdrop-filter:none;
  transition:background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.overlay .nav-links a{ color:rgba(255,255,255,.92); }
.site-header.overlay .nav-links a::after{ background:var(--gold-light); }
.site-header.overlay .nav-links a:hover,
.site-header.overlay .nav-links a.active{ color:var(--gold-light); }
.site-header.overlay .nav-toggle span{ background:var(--white); }
.site-header.overlay.scrolled{
  background:var(--cream);
  border-bottom-color:var(--cream-deep);
}
.site-header.overlay.scrolled .nav-links a{ color:var(--ink-soft); }
.site-header.overlay.scrolled .nav-links a:hover,
.site-header.overlay.scrolled .nav-links a.active{ color:var(--gold-dark); }
.site-header.overlay.scrolled .nav-toggle span{ background:var(--ink); }
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 28px;
  max-width:1180px;
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:96px; width:auto; }
.brand-name{
  font-family:var(--serif);
  font-size:1.05rem;
  letter-spacing:.12em;
  color:var(--ink);
}
.nav-links{
  display:flex;
  align-items:center;
  gap:34px;
}
.nav-links a{
  font-size:.95rem;
  letter-spacing:.02em;
  color:var(--ink-soft);
  position:relative;
  padding:6px 2px;
  transition:color .25s ease;
}
.nav-links a::after{
  content:"";
  position:absolute;
  right:0; left:0; bottom:0;
  height:1px;
  background:var(--gold);
  transform:scaleX(0);
  transition:transform .3s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--gold-dark); }
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding:11px 26px; font-size:.85rem; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
  z-index:310;
  position:relative;
}
.nav-toggle span{
  width:24px; height:1.5px; background:var(--ink);
  transition:transform .3s ease, opacity .3s ease;
}
.nav-toggle.active span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ---------- Off-canvas nav drawer ---------- */
.page-shift{
  transition:transform .45s cubic-bezier(.22,.61,.36,1), filter .45s ease;
}
body.menu-open{ overflow:hidden; }
body.menu-open .page-shift{
  filter:brightness(.45);
  pointer-events:none;
}
.nav-scrim{
  position:fixed;
  inset:0;
  background:rgba(20,16,10,.001);
  opacity:0;
  pointer-events:none;
  transition:opacity .4s ease, background .4s ease;
  z-index:250;
}
body.menu-open .nav-scrim{
  opacity:1;
  pointer-events:auto;
  /* the menu sits centred over the page, so it needs a solid backdrop */
  background:rgba(20,16,10,.82);
}
/* The hamburger itself morphs into an X while the drawer is open,
   so it doubles as the close control — no separate ✕ button. */
body.menu-open .nav-toggle{ z-index:330; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:110px 0 100px;
  text-align:center;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 50% 0%, var(--cream-alt) 0%, var(--cream) 62%);
}
.hero::before, .hero::after{
  content:"";
  position:absolute;
  width:1px; height:120px;
  background:linear-gradient(var(--gold), transparent);
  top:0; opacity:.4;
}
.hero-logo{
  max-width:260px;
  margin:0 auto 18px;
}
.hero h1{
  font-size:clamp(2.1rem, 4.4vw, 3.4rem);
  max-width:780px;
  margin:0 auto 20px;
  line-height:1.3;
}
.hero p.lead{
  max-width:560px;
  margin:0 auto 34px;
  font-size:1.08rem;
  color:var(--ink-soft);
}
.hero-actions{
  display:flex;
  gap:18px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ---------- Dark photo hero (home page) ---------- */
.hero-dark{
  position:relative;
  /* full screen on every device — dvh keeps it exact on phones, where the
     browser chrome makes 100vh taller than what you can actually see */
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:140px 0 110px;
  overflow:hidden;
  background:var(--cream);
}
.hero-dark::before, .hero-dark::after{ content:none; }
.hero-bg{
  --feather:110%;
  position:absolute;
  top:-60px; left:0; right:0; bottom:-60px;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center 10%;
  will-change:transform;
  z-index:0;
  -webkit-mask-image:radial-gradient(ellipse 75% 75% at center, black var(--feather), transparent 100%);
  mask-image:radial-gradient(ellipse 75% 75% at center, black var(--feather), transparent 100%);
}
.hero-bg.home{
  background-image:
    linear-gradient(180deg, rgba(20,16,10,.55) 0%, rgba(20,16,10,.72) 55%, rgba(20,16,10,.88) 100%),
    url("../assets/hero.jpg");
}
.hero-bg.beginners{
  background-image:
    linear-gradient(180deg, rgba(20,16,10,.55) 0%, rgba(20,16,10,.72) 55%, rgba(20,16,10,.88) 100%),
    url("../assets/beginners-hero.jpg");
  background-position:center 12%;
}
/* Darker studio close-up — needs a lighter scrim than the bright heroes. */
.hero-bg.advanced{
  background-image:
    linear-gradient(180deg, rgba(20,16,10,.30) 0%, rgba(20,16,10,.46) 55%, rgba(20,16,10,.72) 100%),
    url("../assets/advanced-hero.jpg");
  background-position:center 42%;
}
/* This studio shot is darker than the other heroes — lighter scrim so it reads. */
.hero-bg.building{
  background-image:
    linear-gradient(180deg, rgba(20,16,10,.35) 0%, rgba(20,16,10,.52) 55%, rgba(20,16,10,.78) 100%),
    url("../assets/building-hero.jpg");
  background-position:center 30%;
}
/* Big "בקרוב" stamp under the course-building title */
.soon-big{
  margin-top:20px;
  font-size:clamp(2.6rem, 8vw, 5rem);
  font-weight:900;
  line-height:1;
  letter-spacing:.06em;
  color:var(--gold-light);
  text-shadow:0 4px 30px rgba(0,0,0,.55);
}
.hero-dark > .container{ position:relative; z-index:2; }
.hero-dark h1{
  color:var(--white);
  font-weight:800;
  font-size:clamp(2.3rem, 5vw, 3.75rem);
  line-height:1.28;
  max-width:820px;
  margin:0 auto 22px;
}
.hero-accent{
  display:block;
  background:linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-dark p.lead{
  color:rgba(255,255,255,.86);
  max-width:600px;
  margin:0 auto 38px;
  font-size:1.1rem;
}
/* Floating WhatsApp button — white glyph on a gold circle */
.floating-wa{
  position:fixed;
  bottom:30px;
  left:30px;
  z-index:200;
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(120deg,var(--gold-dark),var(--gold));
  color:var(--white);
  box-shadow:0 14px 30px -10px rgba(0,0,0,.45);
  transition:transform .3s ease, box-shadow .3s ease;
}
.floating-wa svg{ width:30px; height:30px; display:block; }
.floating-wa:hover{
  transform:scale(1.08);
  box-shadow:0 18px 38px -10px rgba(0,0,0,.5);
}
@media (max-width:560px){
  .floating-wa{ bottom:20px; left:20px; width:52px; height:52px; }
  .floating-wa svg{ width:27px; height:27px; }
}

/* ---------- Sections ---------- */
section{ padding:90px 0; }
.section-alt{ background:var(--cream-alt); }
.section-head{
  text-align:center;
  max-width:640px;
  margin:0 auto 56px;
}
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); }
.section-head p{ font-size:1.03rem; }

/* ---------- About ---------- */
.about-solo{
  max-width:720px;
  margin:0 auto;
  text-align:center;
}
.about-solo p{ font-size:1.05rem; }
.about-list{ margin-top:26px; display:flex; flex-direction:column; gap:14px; align-items:flex-start; max-width:440px; margin-inline:auto; }
.about-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:var(--ink-soft);
  font-size:.98rem;
}
.about-list li::before{
  content:"✦";
  color:var(--gold);
  font-size:.85rem;
  margin-top:3px;
}

/* ---------- Course Cards ---------- */
.courses-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:34px;
}
.course-card{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:42px 34px;
  text-align:center;
  display:flex;
  flex-direction:column;
  transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  position:relative;
  overflow:hidden;
}
.course-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
  border-color:var(--gold-light);
}
.course-badge{
  position:absolute;
  top:18px;
  left:18px;
  font-size:.7rem;
  letter-spacing:.12em;
  padding:5px 12px;
  border:1px solid var(--gold);
  color:var(--gold-dark);
  text-transform:uppercase;
  background:var(--cream);
  border-radius:var(--radius-pill);
}
.course-badge-lg{
  font-size:.95rem;
  font-weight:700;
  padding:8px 20px;
  letter-spacing:.08em;
  background:linear-gradient(120deg,var(--gold-dark),var(--gold));
  color:var(--white);
  border-color:var(--gold-light);
  box-shadow:var(--shadow-soft);
}
.course-num{
  font-family:var(--serif);
  font-size:.85rem;
  color:var(--gold);
  letter-spacing:.1em;
  margin-bottom:14px;
}
.course-card h3{ font-size:1.4rem; margin-bottom:12px; }
.course-card p{ flex:1; font-size:.95rem; }
.course-card .btn{ margin-top:20px; align-self:center; }
.course-card.soon{ opacity:.92; }
.course-card.soon .btn{ }

/* ---------- Feature grid ---------- */
.features-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:36px;
  text-align:center;
}
.features-grid-3{
  grid-template-columns:repeat(3, 1fr);
  max-width:820px;
  margin:0 auto;
}
.feature-item .icon{
  width:56px; height:56px;
  margin:0 auto 18px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-dark);
  font-family:var(--serif);
  font-size:1.3rem;
}
.feature-item .icon svg{ width:26px; height:26px; display:block; }

/* emphasised line inside a course card — gold, matching the site palette */
.course-card p strong{ font-weight:700; color:var(--gold-dark); }
.feature-item h4{ font-size:1.05rem; margin-bottom:8px; }
.feature-item p{ font-size:.92rem; }

/* ---------- Launch-price spots counter ---------- */
.spots-card{
  max-width:560px;
  margin:0 auto;
  text-align:center;
  background:var(--white);
  border:1px solid var(--gold-light);
  border-radius:var(--radius);
  padding:40px 34px 36px;
  box-shadow:var(--shadow);
}
.spots-card h2{ font-size:clamp(1.3rem,2.6vw,1.7rem); margin:10px 0 18px; }
.spots-meter{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
}
/* ---- Hourglass: drains, shakes, flips, repeats ---- */
.hourglass{
  width:34px;
  height:auto;
  flex:none;
  overflow:visible;
  transform-origin:50% 50%;
}
.hg-glass, .hg-cap{
  fill:none;
  stroke:var(--gold);
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hg-sand{ fill:var(--gold-light); }
.hg-stream{
  stroke:var(--gold-light);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-dasharray:3 5;
  animation:hg-fall .55s linear infinite;
}
@keyframes hg-fall{ to{ stroke-dashoffset:-8; } }
.hourglass.is-empty .hg-stream{ opacity:0; }

.hourglass.is-shaking{ animation:hg-shake .5s ease-in-out; }
@keyframes hg-shake{
  0%,100%{ transform:rotate(0deg); }
  15%{ transform:rotate(-7deg); }
  35%{ transform:rotate(6deg); }
  55%{ transform:rotate(-5deg); }
  75%{ transform:rotate(4deg); }
  90%{ transform:rotate(-2deg); }
}
.hourglass.is-flipping{
  transition:transform .7s cubic-bezier(.55,.06,.3,1);
  transform:rotate(180deg);
}
@media (prefers-reduced-motion: reduce){
  .hg-stream{ animation:none; }
  .hourglass.is-shaking{ animation:none; }
  .hourglass.is-flipping{ transition:none; transform:none; }
}

.spots-count{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:2px;
  direction:ltr;              /* a fraction always reads left to right */
  font-weight:900;
  line-height:1;
  color:var(--gold-dark);
}
.spots-left{ font-size:clamp(3rem,9vw,4.4rem); }
.spots-sep{ font-size:clamp(2rem,6vw,2.8rem); opacity:.45; margin:0 4px; }
.spots-total{ font-size:clamp(2rem,6vw,2.8rem); opacity:.45; }
.spots-label{ font-size:.9rem; color:var(--ink-soft); margin-top:8px; }
.spots-track{
  height:8px;
  border-radius:999px;
  background:var(--cream-deep);
  overflow:hidden;
  margin:20px 0 16px;
}
.spots-fill{
  height:100%;
  width:0;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold-light));
  transition:width .8s cubic-bezier(.22,.61,.36,1);
}
.spots-note{ font-size:.92rem; margin-bottom:22px; }
.spots-note strong{ color:var(--gold-dark); }
.spots-card.sold-out .spots-left{ color:var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--gold-dark), var(--gold));
  color:var(--white);
  text-align:center;
  padding:70px 0;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,.88); max-width:540px; margin:0 auto 30px; }
.cta-band .btn-primary{
  background:var(--white);
  color:var(--gold-dark);
  border-color:var(--white);
}
.cta-band .btn-primary:hover{ background:var(--cream); }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--ink);
  color:var(--cream-alt);
  padding:64px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:50px;
  margin-bottom:44px;
}
.footer-brand img{ height:56px; margin-bottom:16px; filter:brightness(1.4); }
.footer-brand p{ color:#C9BCA4; font-size:.92rem; max-width:320px; }
.footer h4{
  color:var(--gold-light);
  font-size:.95rem;
  letter-spacing:.08em;
  margin-bottom:18px;
  text-transform:uppercase;
  font-family:var(--sans);
}
.footer-links li{ margin-bottom:12px; }
.footer-links a{ color:#C9BCA4; font-size:.92rem; transition:color .25s; }
.footer-links a:hover{ color:var(--gold-light); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:24px;
  text-align:center;
  font-size:.82rem;
  color:#9A8B70;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding:80px 0 60px;
  text-align:center;
  background:var(--cream-alt);
  border-bottom:1px solid var(--cream-deep);
}
.page-hero-photo{
  position:relative;
  overflow:hidden;
  padding:150px 0 90px;
  /* full screen on every device, same as the home hero */
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  background:var(--cream);
  border-bottom:none;
}
.page-hero-photo > .container{ position:relative; z-index:2; width:100%; }
/* Keep the text readable wherever the photo behind it is bright. */
.page-hero-photo .breadcrumb,
.page-hero-photo .eyebrow,
.page-hero-photo h1,
.page-hero-photo p{ text-shadow:0 2px 16px rgba(0,0,0,.6); }
.page-hero-photo .breadcrumb{ color:rgba(255,255,255,.7); }
.page-hero-photo .breadcrumb a{ color:var(--gold-light); }
.page-hero-photo h1{ color:var(--white); }
.page-hero-photo p{ color:rgba(255,255,255,.86); }
.breadcrumb{
  font-size:.85rem;
  color:var(--ink-soft);
  margin-bottom:18px;
}
.breadcrumb a{ color:var(--gold-dark); }
.page-hero h1{ font-size:clamp(1.9rem,3.6vw,2.8rem); line-height:1.12; }
.page-hero p{ max-width:560px; margin:0 auto; }

/* ---------- Course detail page ---------- */
.course-detail{
  display:grid;
  grid-template-columns:1.3fr .9fr;
  gap:60px;
  align-items:flex-start;
}
.course-detail h2{ font-size:1.5rem; margin-top:2em; }
.course-detail h2:first-child{ margin-top:0; }
.check-list{ display:flex; flex-direction:column; gap:16px; margin:20px 0; }
.check-list li{
  display:flex;
  gap:14px;
  color:var(--ink-soft);
  align-items:flex-start;
}
.check-list li .mark{
  flex:none;
  width:26px; height:26px;
  border:1px solid var(--gold);
  border-radius:50%;
  color:var(--gold-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:.75rem;
  margin-top:2px;
}

/* ---------- Syllabus (session-by-session curriculum) ---------- */
/* Titles only — three across reads better than two half-empty columns */
.syllabus{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin:24px 0;
}
.syllabus-item{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:24px 22px;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.syllabus-item:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:var(--gold-light);
  background:var(--cream);
}
.syllabus-item:hover .syllabus-num{ color:var(--gold); }
.syllabus-num{ transition:color .35s ease; }
.syllabus-num{
  display:inline-block;
  font-size:.75rem;
  letter-spacing:.1em;
  color:var(--gold-dark);
  text-transform:uppercase;
  margin-bottom:8px;
}
.syllabus-item h3{ font-size:1.06rem; margin-bottom:0; line-height:1.4; }
@media (max-width:900px){
  .syllabus{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .syllabus{ grid-template-columns:1fr; }
}

/* ---------- Highlight callout (USP / pricing) ---------- */
.highlight-callout{
  background:var(--cream-alt);
  border:1px solid var(--gold-light);
  border-radius:var(--radius);
  padding:26px 28px;
  margin:26px 0;
}
.highlight-callout .eyebrow{ margin-bottom:10px; }
.highlight-callout p{ color:var(--ink); font-size:1rem; margin:0; }
.price-callout{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:30px 28px;
  margin:26px 0;
  text-align:center;
}
.price-callout h3{ margin-bottom:8px; }
.price-callout p{ margin-bottom:18px; }
.sidebar-card{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:38px 32px;
  position:sticky;
  top:100px;
}
.sidebar-card h3{ font-size:1.2rem; }
.detail-row{
  display:flex;
  justify-content:space-between;
  padding:14px 0;
  border-bottom:1px solid var(--cream-alt);
  font-size:.92rem;
}
.detail-row span:first-child{ color:var(--ink-soft); }
.detail-row span:last-child{ color:var(--ink); font-weight:600; }
.sidebar-card .btn{ width:100%; margin-top:24px; }
.sidebar-note{ margin-top:16px; font-size:.82rem; color:var(--ink-soft); text-align:center; }

/* ---------- Coming soon page ---------- */
.soon-hero{
  text-align:center;
  padding:60px 0;
}
.soon-icon{
  width:90px; height:90px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 28px;
  font-family:var(--serif);
  font-size:2rem;
  color:var(--gold-dark);
}
.notify-box{
  max-width:520px;
  margin:40px auto 0;
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:36px;
  text-align:center;
}
/* Two fields side by side, submit button on its own row underneath. */
.notify-box form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}
.notify-box form .btn{ grid-column:1 / -1; width:100%; }
.notify-box input{
  min-width:0;
  padding:14px 16px;
  border:1px solid var(--cream-deep);
  background:var(--cream);
  font-family:var(--sans);
  font-size:.95rem;
  border-radius:12px;
}
.notify-box input:focus{ outline:none; border-color:var(--gold); }

/* ---------- Confirmation popup ---------- */
.popup-scrim{
  position:fixed;
  inset:0;
  z-index:400;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(20,16,10,.6);
  opacity:0;
  transition:opacity .3s ease;
}
.popup-scrim.open{ opacity:1; }
.popup-card{
  width:100%;
  max-width:420px;
  text-align:center;
  background:var(--white);
  border:1px solid var(--gold-light);
  border-radius:var(--radius);
  padding:38px 30px 32px;
  box-shadow:0 30px 70px -30px rgba(58,46,30,.6);
  transform:translateY(16px) scale(.96);
  transition:transform .35s cubic-bezier(.22,.61,.36,1);
}
.popup-scrim.open .popup-card{ transform:translateY(0) scale(1); }
.popup-mark{
  width:62px; height:62px;
  margin:0 auto 18px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem;
  font-weight:700;
  color:var(--white);
  background:linear-gradient(120deg,var(--gold-dark),var(--gold));
}
.popup-scrim.is-error .popup-mark{ background:linear-gradient(120deg,#9A5B3C,#C08457); }
.popup-card h3{ font-size:1.25rem; margin-bottom:10px; }
.popup-card p{ font-size:.95rem; margin-bottom:24px; }
.popup-card .btn{ width:100%; }
@media (prefers-reduced-motion: reduce){
  .popup-scrim, .popup-card{ transition:none; }
}

/* ---------- Contact page ---------- */
.contact-wrap{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:60px;
  align-items:flex-start;
}
.contact-info-card{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:40px 34px;
}
.contact-info-item{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-bottom:26px;
}
.contact-info-item .icon{
  flex:none;
  width:44px; height:44px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-dark);
}
.contact-info-item h4{ font-size:1rem; margin-bottom:4px; }
.contact-info-item p{ font-size:.92rem; margin:0; }
.social-row{ display:flex; gap:12px; margin-top:26px; }
.social-row a{
  width:42px; height:42px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-dark);
  transition:all .3s ease;
  font-size:.9rem;
}
.social-row a:hover{ background:var(--gold); color:var(--white); }

.contact-form{
  background:var(--white);
  border:1px solid var(--cream-deep);
  border-radius:var(--radius);
  padding:44px 40px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* A long email address can't be broken by the browser and pushes the card
   wider than a small phone — let it wrap, and tighten the padding. */
.contact-info-item a, .contact-info-item p, .footer-links a{ overflow-wrap:anywhere; }
@media (max-width:420px){
  .container{ padding:0 18px; }
  .contact-info-card{ padding:28px 20px; }
  .contact-form{ padding:30px 20px; }
  .spots-card{ padding:32px 20px 30px; }
  .notify-box{ padding:28px 20px; }
}
.field{ margin-bottom:20px; }
.field label{
  display:block;
  font-size:.88rem;
  color:var(--ink-soft);
  margin-bottom:8px;
}
.field input, .field select, .field textarea{
  width:100%;
  padding:13px 16px;
  border:1px solid var(--cream-deep);
  background:var(--cream);
  font-family:var(--sans);
  font-size:.95rem;
  color:var(--ink);
  border-radius:12px;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold);
}
.field textarea{ resize:vertical; min-height:130px; }
.field-note{ font-size:.78rem; color:var(--ink-soft); margin-top:7px; }

/* Email submit + WhatsApp send, side by side */
.submit-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.btn-wa{
  background:linear-gradient(120deg,var(--gold-dark),var(--gold));
  color:var(--white);
  border:1px solid transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  line-height:1;
}
.btn-wa svg{ width:19px; height:19px; flex:none; display:block; }
@media (max-width:560px){
  .submit-row{ grid-template-columns:1fr; }
}
.form-note{ font-size:.8rem; color:var(--ink-soft); margin-top:14px; }
.form-status{
  margin-top:18px;
  padding:14px 18px;
  font-size:.92rem;
  border-radius:12px;
  display:none;
}
.form-status.show{ display:block; }
.form-status.ok{ background:#EEF5EA; color:#3C6B32; border:1px solid #BFDCB2; }
.form-status.err{ background:#F7E9E4; color:#8A3B26; border:1px solid #E3B7A5; }

/* ---------- Video showcase (course pages) ---------- */
.video-showcase{ background:var(--cream-alt); }
.video-showcase .container{
  display:grid;
  grid-template-columns:minmax(0,340px) 1fr;
  gap:48px;
  align-items:center;
}
.video-frame{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--cream-deep);
  box-shadow:0 26px 60px -28px rgba(58,46,30,.55);
  background:var(--ink);
  line-height:0;
}
.video-frame video{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio:9/16;
  object-fit:cover;
}
/* --- Reel-style controls over the video --- */
.reel-tap{
  position:absolute;
  /* stop short of the timeline so a tap near the bottom scrubs, not pauses */
  top:0; left:0; right:0; bottom:40px;
  border:none; background:transparent;
  cursor:pointer; padding:0;
  display:flex; align-items:center; justify-content:center;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;   /* no 300ms delay on touch */
}
/* Big play triangle, only while paused */
.reel-play{
  width:64px; height:64px;
  border-radius:50%;
  /* no backdrop-filter here — Safari leaves a visible box behind at opacity 0 */
  background:rgba(20,16,10,.6);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.8);
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:none;   /* the whole overlay button handles the tap */
}
.reel-play::before{
  content:"";
  /* Physical borders, not logical — a play triangle always points right,
     the same as every video player, regardless of page direction. */
  border-left:20px solid var(--white);
  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  margin-left:6px;
}
[data-reel].paused .reel-play{ opacity:1; transform:scale(1); }

.reel-bar{
  position:absolute;
  left:12px; right:12px; bottom:12px;
  height:20px;                 /* generous touch target */
  display:flex; align-items:center;
  cursor:pointer;
  touch-action:none;           /* let us scrub without the page scrolling */
  direction:ltr;               /* a video timeline always runs left to right */
}
.reel-bar::before{
  content:"";
  position:absolute; left:0; right:0;
  height:4px; border-radius:999px;
  background:rgba(255,255,255,.35);
}
.reel-fill{
  position:relative;
  height:4px; width:0;
  border-radius:999px;
  background:var(--gold-light);
  pointer-events:none;
}
.reel-fill::after{
  content:"";
  position:absolute; right:-5px; top:50%;
  width:11px; height:11px;
  border-radius:50%;
  background:var(--white);
  transform:translateY(-50%);
  box-shadow:0 1px 4px rgba(0,0,0,.4);
}

.video-copy .eyebrow{ display:block; margin-bottom:12px; }
.video-copy h2{ margin-top:0; }
.video-copy p{ max-width:52ch; }
.video-points{ list-style:none; padding:0; margin:22px 0 0; display:grid; gap:12px; }
.video-points li{
  position:relative;
  padding-inline-start:26px;
  color:var(--ink-soft);
}
.video-points li::before{
  content:"✓";
  position:absolute;
  inset-inline-start:0;
  color:var(--gold);
  font-weight:700;
}
@media (max-width: 860px){
  .video-showcase .container{
    grid-template-columns:1fr;
    gap:28px;
    justify-items:center;
    text-align:center;
  }
  .video-frame{ max-width:300px; }
  .video-points{ text-align:start; }
}

/* ---------- Gallery carousel ---------- */
.carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
  /* room for the (possibly two-row) dot strip that sits below */
  margin-bottom:60px;
}
.carousel-viewport{
  overflow:hidden;
  border-radius:var(--radius);
  flex:1;
  min-width:0;
}
.carousel-track{
  display:flex;
  gap:20px;
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.carousel-slide{
  margin:0;
  flex:0 0 calc((100% - 40px) / 3);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--cream-deep);
  aspect-ratio:4/3;
  box-shadow:var(--shadow-soft);
}
.carousel-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s ease;
}
.carousel-slide:hover img{ transform:scale(1.06); }
.carousel-arrow{
  flex:none;
  width:46px; height:46px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:var(--white);
  color:var(--gold-dark);
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .3s ease, color .3s ease, transform .3s ease;
}
.carousel-arrow:hover{ background:var(--gold); color:var(--white); transform:scale(1.06); }
.carousel-arrow[disabled]{ opacity:.35; cursor:default; transform:none; }
.carousel-arrow[disabled]:hover{ background:var(--white); color:var(--gold-dark); }
.carousel-dots{
  position:absolute;
  bottom:-34px;
  left:0; right:0;
  display:flex;
  justify-content:center;
  /* With a large gallery the dot row gets long — let it wrap instead of
     pushing past the carousel edges. */
  flex-wrap:wrap;
  gap:9px;
}
.carousel-dots button{
  width:9px; height:9px;
  padding:0;
  border-radius:50%;
  border:1px solid var(--gold);
  background:transparent;
  cursor:pointer;
  transition:background .3s ease, transform .3s ease;
}
.carousel-dots button.active{ background:var(--gold); transform:scale(1.25); }
@media (max-width:900px){
  .carousel-slide{ flex-basis:calc((100% - 20px) / 2); }
}
@media (max-width:600px){
  .carousel{ gap:8px; }
  .carousel-slide{ flex-basis:100%; }
  .carousel-arrow{ width:38px; height:38px; font-size:1.3rem; }
  /* every photo gets its own dot here, so keep them compact */
  .carousel-dots{ gap:7px; }
  .carousel-dots button{ width:7px; height:7px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .nav-toggle{ display:flex; }
  .course-detail, .contact-wrap{ grid-template-columns:1fr; }
  .courses-grid{ grid-template-columns:1fr; }
  .features-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .form-row{ grid-template-columns:1fr; }
  /* On mobile the sidebar stacks at the very bottom and just repeats
     what the page body already covers — hide it there only. */
  .sidebar-card{ display:none; }

  .brand img{ height:68px; }

  /* Nav menu — transparent, centred on screen over the dimmed page */
  .nav-links{
    display:flex;
    position:fixed;
    inset:0;
    width:auto;
    background:transparent;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:34px;
    padding:40px 30px;
    opacity:0;
    transform:translateY(14px);
    transition:opacity .4s ease, transform .4s cubic-bezier(.22,.61,.36,1);
    z-index:300;
    pointer-events:none;
  }
  .nav-links li{ width:100%; }
  .nav-links a{
    font-size:1.35rem;
    font-weight:700;
    color:var(--white) !important;
    text-shadow:0 2px 18px rgba(0,0,0,.5);
  }
  .nav-links a:hover, .nav-links a.active{ color:var(--gold-light) !important; }
  .nav-links.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
}
@media (max-width: 560px){
  .hero{ padding:80px 0 70px; }
  section{ padding:64px 0; }
  .features-grid{ grid-template-columns:1fr; }
  .notify-box form{ grid-template-columns:1fr; }
}

/* On narrow screens a landscape photo in a tall box crops in hard.
   Shorten the hero and shift the framing so the subject sits further
   left and reads as if shot from further back. */
@media (max-width: 760px){
  /* heights stay full-screen here — only the framing and padding change */
  .hero-dark{ padding:120px 0 80px; }
  .hero-bg{ top:-30px; bottom:-30px; background-position:64% 12%; }
  .page-hero-photo{ padding:120px 0 70px; }
  .hero-bg.beginners{ background-position:60% 14%; }
  .hero-bg.advanced{ background-position:58% 45%; }
  .hero-bg.building{ background-position:62% 28%; }
}
