/* Catalogue + course pages.
   Reuses the studio's tokens from styles.css (ivory / plum / rose / gold,
   Fraunces + Mulish) so the new pages read as the same site, not a bolt-on. */

.wrap{max-width:1120px;margin:0 auto;padding:0 22px}

/* ---------- catalogue hero ---------- */
.cat-hero{padding:120px 0 64px;text-align:center}
.cat-hero .eyebrow{
  font-family:Mulish,sans-serif;font-size:12px;letter-spacing:.24em;
  text-transform:uppercase;color:var(--gold);margin-bottom:14px
}
.cat-hero h1{
  font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);
  font-size:clamp(38px,6vw,68px);line-height:1.04;letter-spacing:-.02em
}
.cat-hero .lede{
  margin:18px auto 0;max-width:34em;font-size:clamp(16px,2vw,19px);color:var(--ink)
}
.cat-hero .lede em{font-family:Fraunces,serif;font-style:italic;color:var(--rose)}
.from-husna{
  margin:30px auto 0;max-width:44em;text-align:left;
  background:#fff;border-radius:var(--radius);padding:24px 26px;
  box-shadow:var(--shadow-sm);color:var(--ink);line-height:1.72;font-size:15.5px
}
.sig{
  margin-top:12px;font-family:Fraunces,serif;font-style:italic;
  color:var(--lavender);font-size:16px
}
.btn.big{margin-top:28px;display:inline-flex;align-items:center;gap:9px;font-size:16px;padding:15px 28px}
.btn.big iconify-icon{font-size:19px}

/* ---------- catalogue grid ---------- */
.catalogue{padding:56px 0 96px}
.catalogue h2{
  font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);
  font-size:clamp(26px,3.4vw,38px);text-align:center;margin-bottom:34px
}
.course-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.course-card{
  position:relative;display:flex;flex-direction:column;gap:9px;
  background:#fff;border-radius:var(--radius);padding:26px 24px 22px;
  box-shadow:var(--shadow-sm);text-decoration:none;color:inherit;
  transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s
}
.course-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card-order{
  position:absolute;top:20px;right:22px;font-family:Fraunces,serif;
  font-size:34px;color:rgba(65,24,58,.09);line-height:1
}
.course-card h3{
  font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);
  font-size:21px;line-height:1.22;max-width:14em
}
.card-meta{font-size:13.5px;color:var(--lavender)}
.card-price{font-size:15px;font-weight:700;color:var(--ink)}
.soon{
  display:inline-block;margin-left:8px;font-size:11px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--coral);
  background:rgba(224,137,106,.12);padding:3px 9px;border-radius:999px
}
.card-go{
  margin-top:6px;display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:700;color:var(--rose)
}

/* ---------- level chip ---------- */
.level{
  display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
  font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 11px;border-radius:999px
}
.level iconify-icon{font-size:14px}
.level-easy{color:#4B7F52;background:rgba(75,127,82,.12)}
.level-easy-mid{color:var(--gold);background:rgba(194,151,74,.14)}
.level-advanced{color:var(--rose);background:rgba(194,96,124,.13)}
.level-difficult{color:#9A3E52;background:rgba(154,62,82,.13)}

/* ---------- course page ---------- */
.course-hero{padding:112px 0 44px}
.back{
  display:inline-flex;align-items:center;gap:5px;font-size:14px;
  color:var(--lavender);text-decoration:none;margin-bottom:18px
}
.back:hover{color:var(--rose)}
.course-hero h1{
  font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);
  font-size:clamp(30px,4.6vw,50px);line-height:1.08;margin:12px 0 0;max-width:16em
}
.facts{list-style:none;padding:0;margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.facts li{
  display:inline-flex;align-items:center;gap:7px;background:#fff;
  border-radius:999px;padding:8px 15px;font-size:13.5px;color:var(--ink);
  box-shadow:var(--shadow-sm)
}
.facts iconify-icon{font-size:16px;color:var(--gold)}
.price-row{margin-top:22px;display:flex;align-items:baseline;gap:9px}
.price-inr{font-family:Fraunces,serif;font-size:34px;color:var(--plum-deep)}
.price-usd{font-size:14px;color:var(--lavender)}
.notice{
  display:flex;gap:11px;align-items:flex-start;margin-top:20px;max-width:44em;
  background:rgba(224,137,106,.10);border-radius:14px;padding:14px 16px;
  font-size:14px;color:var(--ink);line-height:1.6
}
.notice iconify-icon{font-size:20px;color:var(--coral);flex-shrink:0}

/* ---------- curriculum ---------- */
.curriculum{padding:34px 0 20px}
.curriculum h2,.course-cta h2{
  font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);
  font-size:clamp(24px,3.2vw,34px)
}
.curriculum .lede{margin:8px 0 26px;color:var(--lavender);font-size:15px}
.module{
  background:#fff;border-radius:var(--radius);padding:22px 24px;
  box-shadow:var(--shadow-sm);margin-bottom:14px
}
.module-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  padding-bottom:12px;margin-bottom:6px;border-bottom:1px solid rgba(65,24,58,.09)
}
.module-head h3{font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);font-size:19px}
.module-meta{font-size:12.5px;color:var(--lavender);white-space:nowrap}
.lessons{list-style:none;padding:0;margin:0}
.lesson{
  display:flex;align-items:center;gap:13px;padding:11px 2px;
  border-bottom:1px solid rgba(65,24,58,.055);font-size:15px
}
.lesson:last-child{border-bottom:0}
.lesson-n{
  font-family:Mulish,sans-serif;font-size:12px;font-weight:700;color:var(--gold);
  min-width:2.4em
}
.lesson-t{flex:1;color:var(--ink)}
.lesson-d{
  font-size:13px;color:var(--lavender);font-variant-numeric:tabular-nums
}

/* ---------- closing CTA ---------- */
.course-cta{padding:44px 0 96px;text-align:center}
.course-cta .price-row{justify-content:center}
.fineprint{margin-top:14px;font-size:13px;color:var(--lavender)}

@media (max-width:640px){
  .cat-hero{padding:96px 0 48px}
  .course-hero{padding:96px 0 34px}
  .card-order{font-size:26px}
}

/* ====== homepage ====== */
.cat-hero .hero-copy{max-width:none;text-align:center;margin:0 auto}
.cat-hero h1 em{font-family:Fraunces,serif;font-style:italic;color:var(--rose)}
.cat-hero .sub{margin:16px auto 0;max-width:36em}
.cat-hero .hero-cta{justify-content:center}

/* hero image strip */
.hero-strip{
  display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:46px
}
.hero-strip figure{margin:0;border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm);aspect-ratio:4/5}
.hero-strip img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.hero-strip figure:hover img{transform:scale(1.05)}
.hero-strip figure:nth-child(2),.hero-strip figure:nth-child(4){margin-top:22px}

/* course cards */
.c-grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fit,minmax(310px,1fr))}
.c-card{
  display:flex;flex-direction:column;background:#fff;border-radius:var(--radius);
  overflow:hidden;box-shadow:var(--shadow-sm);text-decoration:none;color:inherit;
  transition:transform .26s cubic-bezier(.2,.7,.3,1),box-shadow .26s
}
.c-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.c-media{position:relative;aspect-ratio:16/10;overflow:hidden}
.c-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s cubic-bezier(.2,.7,.3,1)}
.c-card:hover .c-media img{transform:scale(1.06)}
.c-no{
  position:absolute;top:12px;left:14px;font-family:Fraunces,serif;font-size:15px;
  color:#fff;background:rgba(65,24,58,.55);backdrop-filter:blur(6px);
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center
}
.c-media .level{position:absolute;bottom:12px;left:14px;background:rgba(255,255,255,.94)}
.c-body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.c-body h3{font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);font-size:20px;line-height:1.24}
.c-blurb{font-size:14px;color:var(--ink);line-height:1.6;flex:1}
.c-meta{font-size:12.5px;color:var(--lavender)}
.c-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:4px}
.c-price{font-weight:800;color:var(--plum-deep);font-size:16px}
.c-usd{font-weight:500;color:var(--lavender);font-size:13px;margin-left:4px}
.c-go{margin-left:auto;display:inline-flex;align-items:center;gap:5px;font-size:13.5px;font-weight:700;color:var(--rose)}

/* note from Husna */
.from-her{padding:26px 0 10px}
.fh-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:38px;align-items:center}
.fh-photo{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5}
.fh-photo img{width:100%;height:100%;object-fit:cover;display:block}
.fh-copy blockquote{
  margin:14px 0 0;font-family:Fraunces,serif;font-size:clamp(18px,2.2vw,23px);
  line-height:1.6;color:var(--plum-deep);font-style:italic
}
.fh-copy .sig{margin:14px 0 20px;color:var(--lavender);font-size:15px}

/* her work */
.her-work{padding:64px 0 20px}
.w-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}
.w-tile{margin:0;border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm);aspect-ratio:1}
.w-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.w-tile:hover img{transform:scale(1.07)}

/* faq */
.faq{padding:64px 0 20px}
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.faq-item{background:#fff;border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden}
.faq-item summary{
  cursor:pointer;list-style:none;padding:17px 20px;font-weight:700;color:var(--plum-deep);
  display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:15.5px
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary iconify-icon{color:var(--rose);transition:transform .22s;flex-shrink:0}
.faq-item[open] summary iconify-icon{transform:rotate(180deg)}
.faq-item p{padding:0 20px 18px;color:var(--ink);line-height:1.7;font-size:14.5px}
.faq-item em{font-family:Fraunces,serif;font-style:italic;color:var(--rose)}

/* closing */
.closing{padding:70px 0 96px;text-align:center}
.closing h2{font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);font-size:clamp(26px,3.6vw,40px)}
.closing p{margin:10px 0 24px;color:var(--lavender)}

@media (max-width:820px){
  .fh-grid{grid-template-columns:1fr;gap:24px}
  .fh-photo{max-width:340px}
  .hero-strip{grid-template-columns:repeat(3,1fr)}
  .hero-strip figure:nth-child(4),.hero-strip figure:nth-child(5){display:none}
}
@media (max-width:560px){
  .hero-strip{grid-template-columns:repeat(2,1fr);gap:9px}
  .hero-strip figure:nth-child(3){display:none}
  .hero-strip figure:nth-child(2){margin-top:0}
}

/* #who now carries four audiences, not three. .cards3 is a centred flex row,
   so size the cards to fit four across on wide screens and wrap below that —
   a grid override would have done nothing here. */
#who .cards3 .card{flex:1 1 236px;max-width:300px}
@media (min-width:1040px){#who .cards3 .card{flex:1 1 0;max-width:none}}

/* ====== course page: intro / learn / who / included ====== */
.course-intro{padding:40px 0 10px}
.ci-grid{display:grid;grid-template-columns:0.8fr 1.2fr;gap:38px;align-items:center}
.ci-art{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5}
.ci-art img{width:100%;height:100%;object-fit:cover;display:block}
.ci-copy p{margin-top:14px;font-size:16px;line-height:1.78;color:var(--ink)}
.ci-copy p:first-of-type{
  font-family:Fraunces,serif;font-size:clamp(18px,2.1vw,22px);
  line-height:1.6;color:var(--plum-deep)
}

.learn-sec{padding:56px 0 10px}
.learn-list{list-style:none;padding:0;margin:0;display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.learn-list li{
  display:flex;gap:13px;align-items:flex-start;background:#fff;border-radius:14px;
  padding:16px 18px;box-shadow:var(--shadow-sm);font-size:15px;line-height:1.6;color:var(--ink)
}
.learn-list iconify-icon{font-size:22px;color:var(--gold);flex-shrink:0;margin-top:1px}

.forwho-sec{padding:40px 0 6px}
.forwho{
  display:flex;gap:18px;align-items:flex-start;background:linear-gradient(180deg,#fff,#FFFDF9);
  border-radius:var(--radius);padding:24px 26px;box-shadow:var(--shadow-sm);
  border-left:3px solid var(--rose)
}
.forwho > iconify-icon{font-size:30px;color:var(--rose);flex-shrink:0}
.forwho p{margin-top:6px;font-size:15.5px;line-height:1.72;color:var(--ink)}

.included{padding:56px 0 10px}
.inc-grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.inc-card{background:#fff;border-radius:16px;padding:22px 20px;box-shadow:var(--shadow-sm)}
.inc-card iconify-icon{font-size:26px;color:var(--gold)}
.inc-card h3{font-family:Fraunces,serif;font-weight:500;color:var(--plum-deep);font-size:17px;margin:10px 0 6px}
.inc-card p{font-size:13.5px;color:var(--ink);line-height:1.6}

@media (max-width:820px){
  .ci-grid{grid-template-columns:1fr;gap:22px}
  .ci-art{max-width:330px}
}

/* The header CTA stands down while the hero's own CTA is visible. */
.nav-cta{transition:opacity .28s ease,transform .28s ease}
.nav.hero-visible .nav-cta{opacity:0;transform:translateY(-6px);pointer-events:none}

/* ====== course gallery: her own process shots ====== */
.course-gallery{padding:52px 0 8px}
.g-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.g-tile{
  position:relative;margin:0;border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow-sm);aspect-ratio:4/5;background:#EFE7DC;cursor:pointer
}
.g-tile img,.g-tile video{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .55s cubic-bezier(.2,.7,.3,1)
}
.g-tile:hover img,.g-tile:hover video{transform:scale(1.06)}
/* The first tile leads — her "from this" shot deserves the space. */
.g-grid .g-tile:first-child{grid-column:span 2;aspect-ratio:16/11}
@media (max-width:560px){.g-grid .g-tile:first-child{grid-column:span 1;aspect-ratio:4/5}}
.g-play{
  position:absolute;inset:0;display:grid;place-items:center;font-size:34px;
  color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.5);pointer-events:none;
  transition:opacity .25s
}
.g-tile:hover .g-play{opacity:.75}

/* Hero is now the studio's two-column layout (copy left, her at the frame
   right), reusing .hero-grid / .hero-art from the original design. */
.cat-hero .hero-copy{text-align:left;max-width:none;margin:0}
.cat-hero .hero-cta{justify-content:flex-start}
.hero-facts{
  display:flex;gap:26px;margin-top:26px;flex-wrap:wrap;
  font-size:13.5px;color:var(--lavender)
}
.hero-facts b{
  display:block;font-family:Fraunces,serif;font-size:26px;color:var(--plum-deep);
  line-height:1.1;font-weight:500
}
@media (max-width:900px){
  .cat-hero .hero-copy{text-align:center;margin:0 auto}
  .cat-hero .hero-cta{justify-content:center}
  .hero-facts{justify-content:center;gap:20px}
}

/* ---- Alternate the two magic-grid bands ----
   #craft and #familiar run back to back with the same art-left/copy-right
   grid, which reads as one long repeated block. Flip the second, stagger its
   images, and change its ground so the page has a rhythm rather than a loop. */
#familiar .magic-grid{grid-template-columns:1.05fr 0.95fr}
#familiar .magic-art{order:2}
#familiar .magic-copy{order:1}

/* Not just mirrored — the art is offset and unevenly weighted, so the eye
   reads a different shape even though the components are the same. */
#familiar .magic-art{grid-template-columns:0.92fr 1.08fr;gap:18px;align-items:start}
#familiar .magic-art img:first-child{margin-top:42px;aspect-ratio:3/4;object-fit:cover}
#familiar .magic-art img:last-child{aspect-ratio:4/5;object-fit:cover}

/* Tonal alternation: craft keeps the gradient, familiar sits on flat ivory. */
#familiar.magic{background:var(--ivory)}

/* A hairline of gold marks the change of movement. */
#familiar{position:relative}
#familiar::before{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:min(560px,70%);height:1px;
  background:linear-gradient(90deg,transparent,rgba(194,151,74,.5),transparent)
}

@media (max-width:900px){
  #familiar .magic-art{order:1}
  #familiar .magic-copy{order:2}
  #familiar .magic-art img:first-child{margin-top:0}
}
