/* Funun Art Studio — Marwa Hachem
   Built from the "V3 — Logo palette + real photo" design.
   Motion patterns inspired by paintiteasy.ch (scroll reveals, photo marquees, tabs, sliders). */

:root, :host {
  --cream: #FFFAF4;
  --ink: #2A2233;
  --ink-soft: #4A4053;
  --ink-muted: #574C60;
  --ink-strong: #3A3043;
  --teal: #1F6F79;
  --teal-dark: #175760;
  --teal-bright: #5BB7C1;
  --teal-light: #8FD0D6;
  --teal-soft: #D9EFF1;
  --rose: #A3455A;
  --rose-deep: #8A3448;
  --rose-light: #E0909D;
  --rose-soft: #F8DDE2;
  --gold: #E7B872;
  --gold-light: #F1CF97;
  --gold-soft: #F8E6C4;
  --sage: #B5C7A3;
  --sage-soft: #E3EBD8;
  --peach: #FBE3D6;
  --footer-text: #D3CADA;
  --footer-line: #514661;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-label: 'Josefin Sans', sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-arabic: 'Aref Ruqaa', serif;
  --font-arabic-body: 'Tajawal', 'Outfit', sans-serif;

  --container: 1240px;
  --gutter: 32px;
  --pill: 999px;
  --ease-snap: cubic-bezier(0, 1.005, 1, .99);
  --header-h: 76px;
}

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

html { scroll-padding-top: 110px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); }
a:hover { color: var(--rose); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 820px; }

.ar { font-family: var(--font-arabic); }

/* ---------- Type ---------- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
}
.display em { font-weight: 700; }
.h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-size: clamp(34px, 3.8vw, 52px); }
.h2-lg { font-size: clamp(40px, 4.6vw, 64px); line-height: 1; }
.h3 { font-size: clamp(26px, 2.6vw, 34px); }
.em-rose { color: var(--rose); }
.em-teal { color: var(--teal); }
.em-gold { color: var(--gold-light); }
.lede { font-size: 20px; color: var(--ink-soft); margin: 0; }

.eyebrow {
  margin: 0;
  align-self: flex-start;
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--pill);
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--rose-soft);
  color: var(--rose-deep);
}
.kicker {
  margin: 0 0 12px;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.prose { font-size: 18px; line-height: 1.75; color: var(--ink-strong); }
.prose > * { margin: 0 0 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); line-height: 1.2; color: var(--ink); margin-top: 1.6em; }
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 26px; }
.prose h4 { font-size: 21px; }
.prose img { border-radius: 20px; margin: 1.6em auto; height: auto; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--rose-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
}
.prose a { color: var(--rose); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-muted); text-align: center; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; margin: 1.6em 0; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Buttons, chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  text-decoration: none;
  text-align: center;
  border-radius: var(--pill);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  padding: 14px 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease-snap), box-shadow .25s ease, color .2s ease;
}
/* paint-swipe fill on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, .22);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease-snap);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; box-shadow: 4px 4px 0 var(--ink); }
.btn-gold:hover { color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn-lg { font-size: 18px; padding: 17px 30px; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline::before { background: var(--ink); opacity: .08; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { color: #fff; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { color: #fff; }
.btn-shadow { font-weight: 700; box-shadow: 4px 4px 0 var(--ink); }

.link-arrow { font-weight: 600; padding: 10px 0; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease-snap); }
.link-arrow:hover::after { transform: translateX(5px); }

.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .chips li { display: inline-block; padding: 6px 14px; border-radius: var(--pill); font-size: 14px; font-weight: 500; background: var(--sage-soft); }
.chip--sm { padding: 3px 10px; font-size: 12px; font-weight: 600; background: var(--gold-soft); }

.badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge--sold { background: var(--ink); color: #fff; }
.badge--sale { background: var(--rose); color: #fff; }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(109deg, #FBE3D6, #D9EFF1, #F8E6C4, #F8DDE2, #FBE3D6);
  background-size: 300% 300%;
  animation: gradient-shift 6s ease infinite;
}
.js .loader { display: flex; }
.loader img { width: 96px; height: 96px; animation: loader-bob 1.4s ease-in-out infinite; }
html.loaded .loader { display: none; }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes loader-bob { 50% { transform: translateY(-10px) rotate(-4deg); } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--teal); color: #fff; font-size: 14px; font-weight: 500; }
.announce p {
  margin: 0 auto;
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.announce a { color: var(--gold-light); font-weight: 600; }
.announce .ar { font-size: 17px; line-height: 1.2; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 60;
  max-width: 1320px;
  margin: 12px auto 0;
  padding: 0 16px;
  transition: transform .45s var(--ease-snap);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border-radius: 28px;
  background: rgba(255, 250, 244, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(42, 34, 51, .1);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-label); font-size: 17px; letter-spacing: 0.08em; }
.brand-by { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 14px; color: #5A4F63; }

.main-nav__list { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease;
}
.main-nav__link:hover, .has-sub:hover > .main-nav__link, .main-nav__link[aria-expanded="true"] { background: var(--sage-soft); color: var(--ink); }
.main-nav__link[aria-current="page"] { background: var(--ink); color: #fff; }
.main-nav__link svg { transition: transform .25s ease; }
.has-sub { position: relative; }
.has-sub:hover > .main-nav__link svg, .main-nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 220px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(42, 34, 51, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .35s var(--ease-snap), visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub-menu--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 420px; }
.has-sub:hover > .sub-menu, .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 14px; text-decoration: none; font-weight: 500; }
.sub-menu a:hover { background: var(--rose-soft); color: var(--rose-deep); }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 16px;
  border-radius: var(--pill);
  background: var(--sage-soft);
  font-family: var(--font-arabic);
  font-size: 18px;
  text-decoration: none;
}
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow-y: auto;
  padding: 120px 24px 40px;
  background: var(--teal);
  color: #fff;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { margin: 0; padding: 0; list-style: none; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.mobile-menu__list a, .mobile-menu summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu details ul { margin: 0 0 12px; padding: 0; list-style: none; }
.mobile-menu details a { font-family: var(--font-body); font-size: 18px; font-weight: 500; padding: 10px 0 10px 12px; }
.mobile-menu__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--teal { background: var(--teal); color: #fff; }
.section--sage { background: var(--sage-soft); }
.section--peach { background: var(--peach); }
.section--rose { background: var(--rose-soft); }
.section--ink { background: var(--ink); color: #fff; }
.section--teal .lede, .section--ink .lede { color: #DDF1F3; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 64px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-head p { margin: 0; }
.section-head > p { flex: 1 1 340px; max-width: 460px; font-size: 18px; color: var(--ink-soft); }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--top { align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 96px; }
.page-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.page-hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.page-hero__copy .lede { max-width: 560px; }
.page-hero__art { flex: 1 1 420px; min-width: 0; position: relative; height: 520px; }
.page-hero__art > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.page-hero__photo {
  position: absolute;
  left: 16%;
  top: 6%;
  width: 66%;
  height: 84%;
  border-radius: 240px 240px 28px 28px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 10px 12px 0 var(--ink);
}
.page-hero__photo img { width: 100%; height: 112%; object-fit: cover; }
.page-hero--simple { padding-bottom: 56px; }
.page-hero--teal { background: var(--teal); color: #fff; }
.page-hero--teal .lede { color: #DDF1F3; }
.page-hero--teal .breadcrumb a, .page-hero--teal .breadcrumb { color: #DDF1F3; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-muted); margin-bottom: 8px; }
.breadcrumb a { color: inherit; }

/* ---------- Home hero ---------- */
.hero {
  padding-top: 40px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6.6vw, 98px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 .word { display: inline-block; }
.swash { position: relative; display: inline-block; z-index: 0; font-style: italic; font-weight: 700; padding: 0 0.12em; }
.swash svg { position: absolute; left: -3%; top: 10%; width: 106%; height: 92%; z-index: -1; }
.hero-lede { margin: 0; max-width: 540px; font-size: 20px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .chips li:nth-child(1) { background: var(--teal-soft); }
.hero .chips li:nth-child(2) { background: var(--gold-soft); }
.hero .chips li:nth-child(3) { background: var(--rose-soft); }

.hero-art { flex: 1 1 460px; min-width: 0; position: relative; height: 660px; }
.hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-photo {
  position: absolute;
  left: 20%;
  top: 8%;
  width: 60%;
  height: 80%;
  border-radius: 260px 260px 28px 28px;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 10px 12px 0 var(--ink);
}
.hero-photo img { width: 100%; height: 112%; object-fit: cover; object-position: 55% 40%; }
.hero-tag {
  position: absolute;
  right: 0;
  top: 80%;
  margin: 0;
  padding: 10px 20px;
  background: #fff;
  border-radius: 16px;
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--rose);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.3;
  color: var(--rose);
}

/* ---------- Color band marquee ---------- */
.band { background: var(--ink); transform: rotate(-1.5deg); margin: 0 -40px; overflow: hidden; position: relative; z-index: 2; }
.band-track { display: flex; width: max-content; }
.band-group {
  margin: 0;
  padding: 22px 14px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
}
.band-group .ar { font-style: normal; }
.band .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Photo marquee columns (paintiteasy-style) ---------- */
.photo-marquee { position: relative; height: 640px; display: flex; gap: 20px; overflow: hidden; border-radius: 36px; }
.photo-marquee::before, .photo-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}
.photo-marquee::before { top: 0; background: linear-gradient(var(--marquee-fade, var(--cream)), transparent); }
.photo-marquee::after { bottom: 0; background: linear-gradient(transparent, var(--marquee-fade, var(--cream))); }
/* Columns size to their photos (duplicated in JS) so a -50% loop is seamless; bottom padding matches the gap */
.photo-marquee__col { flex: 1; align-self: flex-start; display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; will-change: transform; }
.photo-marquee figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  flex: none;
  box-shadow: 0 10px 30px rgba(42, 34, 51, .12);
}
.photo-marquee figure:nth-child(3n+1) { border-color: var(--gold); }
.photo-marquee figure:nth-child(3n+2) { border-color: var(--teal-bright); }
.photo-marquee figure:nth-child(3n) { border-color: var(--rose-light); }
.photo-marquee img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-direction: column; gap: 36px; }
.tabs__nav {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .14);
}
.tabs__btn {
  position: relative;
  z-index: 1;
  min-height: 46px;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--pill);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color .3s ease;
}
.tabs__btn[aria-selected="true"] { color: var(--ink); }
.tabs__indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: var(--pill);
  background: var(--gold);
  transition: transform .5s var(--ease-snap), width .5s var(--ease-snap);
}
.tabs__panel[hidden] { display: none; }
.tabs__panel { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.tabs__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.tabs__copy p { margin: 0; font-size: 18px; color: #DDF1F3; }
.tabs__copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tabs__copy li { display: flex; gap: 12px; align-items: flex-start; }
.tabs__copy li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--gold); }
.tabs__media { flex: 1 1 400px; min-width: 0; position: relative; height: 440px; }
.tabs__media img {
  position: absolute;
  width: 62%;
  height: 82%;
  object-fit: cover;
  border-radius: 28px;
  border: 6px solid #fff;
  box-shadow: 8px 10px 0 var(--ink);
}
.tabs__media img:nth-child(1) { left: 0; top: 0; transform: rotate(-3deg); }
.tabs__media img:nth-child(2) { right: 0; bottom: 0; transform: rotate(3deg); }

/* ---------- Image strip CTA (paintiteasy cta-section) ---------- */
.cta-strip { position: relative; overflow: hidden; padding: 112px 0 0; background: var(--rose-soft); }
.cta-strip__copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 760px; margin: 0 auto; }
.cta-strip__images { display: flex; gap: 20px; justify-content: center; margin-top: 64px; padding: 0 16px 0; transform: translateY(40px); }
.cta-strip__card { position: relative; flex: 0 0 auto; width: clamp(140px, 17vw, 230px); aspect-ratio: 2 / 3; }
.cta-strip__card::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  background: var(--splash, var(--gold));
  border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%;
}
.cta-strip__card:nth-child(2) { --splash: var(--teal-bright); }
.cta-strip__card:nth-child(3) { --splash: var(--rose-light); }
.cta-strip__card:nth-child(4) { --splash: var(--sage); }
.cta-strip__card:nth-child(5) { --splash: var(--gold-light); }
.cta-strip__card img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; border: 6px solid #fff; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--slide, calc((100% - 3 * 24px) / 4));
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 6px 4px 24px;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track > * { scroll-snap-align: start; }
.carousel--3 .carousel__track { --slide: calc((100% - 2 * 24px) / 3); }
.carousel__controls { display: flex; gap: 10px; }
.carousel__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.carousel__btn:hover { background: var(--ink); color: #fff; }
.carousel__btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.section--teal .carousel__btn, .section--ink .carousel__btn { border-color: #fff; color: #fff; }
.section--teal .carousel__btn:hover { background: #fff; color: var(--teal); }

/* ---------- Cards ---------- */
.card-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 250px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  text-decoration: none;
}
.card > svg { position: absolute; right: -24px; bottom: -24px; width: 130px; height: 130px; }
.card h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; position: relative; }
.card p { margin: 0; font-size: 16px; max-width: 240px; position: relative; }
a.card { transition: transform .35s var(--ease-snap); }
a.card:hover { transform: translateY(-6px) rotate(-1deg); }

.post-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; height: 100%; transition: transform .35s var(--ease-snap), box-shadow .35s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42, 34, 51, .12); color: var(--ink); }
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--teal-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-snap); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-muted); }
.post-card__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; }
.post-card__excerpt { font-size: 15px; color: var(--ink-muted); }
.post-card__title[dir="rtl"], .post-card__excerpt[dir="rtl"] { font-family: var(--font-arabic-body); }

.product-card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--sage-soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-snap), opacity .4s ease; }
.product-card__alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__media img:first-child { transform: scale(1.05); }
.product-card:hover .product-card__alt { opacity: 1; }
.product-card__title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.product-card__title[dir="rtl"] { font-family: var(--font-arabic-body); }
.product-card__price { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.price-now { font-weight: 600; color: var(--teal); }
.price-was { color: var(--ink-muted); font-size: 14px; }

/* ---------- Home: audience, features, pricing ---------- */
.audience .display { flex: 1 1 520px; font-size: clamp(38px, 4.4vw, 60px); }

.features { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.feature { flex: 1 1 340px; display: flex; gap: 20px; align-items: flex-start; }
.feature svg { flex: none; }
.feature h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.feature p { margin: 0; font-size: 16px; color: var(--ink-muted); }

.pricing { position: relative; overflow: hidden; background: var(--teal); color: #fff; }
.pricing > svg, .about > svg, .bg-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pricing-inner { position: relative; padding-top: 120px; padding-bottom: 120px; }
.pricing .section-head { margin-bottom: 56px; }
.pricing .section-head .ar { font-weight: 700; font-size: 32px; line-height: 1.3; color: var(--gold-light); }
.plans { display: flex; flex-wrap: wrap; gap: 28px; }
.plan {
  flex: 1 1 380px;
  min-width: 0;
  color: var(--ink);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.plan-beginner { background: var(--cream); transform: rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.plan-full { background: var(--gold); transform: rotate(1deg); box-shadow: 8px 8px 0 var(--rose); }
.plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.plan h3 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.plan .badge { position: static; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; padding: 6px 14px; }
.price { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.plan .btn { margin-top: auto; }
.pricing-note { margin: 40px 0 0; font-size: 15px; color: #DDF1F3; }

/* ---------- Testimonials ---------- */
.quote {
  margin: 0;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.quote-mark { font-family: var(--font-display); font-size: 80px; line-height: 0.5; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 500; }
.quote figcaption { font-size: 15px; color: var(--ink-muted); }
.quote strong { color: var(--ink); }
.quote:nth-child(3n+1) { background: var(--rose-soft); }
.quote:nth-child(3n+2) { background: var(--teal-soft); }
.quote:nth-child(3n) { background: var(--gold-soft); }
.quote[dir="rtl"] blockquote { font-family: var(--font-arabic-body); }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; background: var(--peach); }
.about-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.about-art { flex: 1 1 380px; min-width: 0; position: relative; height: 540px; }
.about-blob {
  position: absolute;
  left: 4%;
  top: 4%;
  width: 90%;
  height: 92%;
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  background: var(--teal-bright);
}
.about-photo {
  position: absolute;
  left: 14%;
  top: 10%;
  width: 72%;
  height: 80%;
  border-radius: 240px 240px 32px 32px;
  overflow: hidden;
  border: 8px solid #fff;
}
.about-photo img { width: 100%; height: 112%; object-fit: cover; }
.about-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.about-copy .eyebrow { background: #fff; }
.about-copy p { margin: 0; }

/* ---------- Story blocks (About page) ---------- */
.story { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.story + .story { margin-top: 112px; }
.story--reverse { flex-direction: row-reverse; }
.story__media { flex: 1 1 400px; min-width: 0; position: relative; height: 560px; }
.story__media img { position: absolute; object-fit: cover; border: 6px solid #fff; }
.story__media img:nth-child(1) { left: 0; top: 0; width: 70%; height: 82%; border-radius: 200px 200px 24px 24px; box-shadow: 10px 12px 0 var(--ink); }
.story__media img:nth-child(2) { right: 0; bottom: 0; width: 46%; height: 50%; border-radius: 24px; transform: rotate(4deg); }
.story__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.story__copy p { margin: 0; font-size: 18px; color: var(--ink-strong); }

.pull-quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

/* ---------- Studio tiles ---------- */
.tiles { display: flex; flex-wrap: wrap; gap: 24px; }
.tile { flex: 1 1 260px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.tile__media { height: 280px; overflow: hidden; transition: transform .45s var(--ease-snap); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile:nth-child(4n+1) .tile__media { border-radius: 120px 28px 28px 28px; }
.tile:nth-child(4n+2) .tile__media { border-radius: 28px 120px 28px 28px; }
.tile:nth-child(4n+3) .tile__media { border-radius: 28px 28px 120px 28px; }
.tile:nth-child(4n) .tile__media { border-radius: 28px 28px 28px 120px; }
.tile:hover .tile__media { transform: translateY(-6px) rotate(-1deg); }
.tile-title { font-size: 21px; font-weight: 700; }
.tile-desc { font-size: 16px; color: var(--ink-muted); }

/* ---------- Info list / accordion ---------- */
.accordion { display: flex; flex-direction: column; gap: 14px; }
.accordion details { border-radius: 24px; background: #fff; padding: 0 28px; }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-body); font-size: 26px; color: var(--rose); transition: transform .3s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > div { padding-bottom: 24px; color: var(--ink-strong); }
.accordion details > div p { margin: 0 0 12px; }

.info-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { border-radius: 24px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.info-card strong { font-family: var(--font-display); font-size: 22px; }
.info-card a, .info-card span { color: var(--ink-strong); }

/* ---------- Shop ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--pill);
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.filter-chip span { font-weight: 400; opacity: .7; margin-left: 4px; }
.filter-chip:hover { background: var(--sage-soft); }
.filter-chip.is-active { background: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.product-grid > [hidden] { display: none; }

.product { padding-top: 40px; padding-bottom: 96px; }
.product__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; margin-top: 16px; }
.product-gallery { position: sticky; top: 120px; }
.product-gallery__main { border-radius: 28px; overflow: hidden; background: var(--sage-soft); aspect-ratio: 4 / 5; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product-gallery__thumb { width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden; border: 3px solid transparent; cursor: pointer; background: none; }
.product-gallery__thumb.is-active { border-color: var(--rose); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: flex; flex-direction: column; gap: 18px; }
.product__info h1[dir="rtl"], .product__info[dir="rtl"] h1 { font-family: var(--font-arabic-body); font-weight: 700; }
.product__price { margin: 0; display: flex; gap: 12px; align-items: baseline; font-size: 28px; }
.product__price .price-now { color: var(--ink); font-family: var(--font-display); font-weight: 800; }
.product__note { font-size: 14px; color: var(--ink-muted); margin: 12px 0 0; }
.product__desc { border-top: 1px solid rgba(42, 34, 51, .12); padding-top: 20px; font-size: 17px; }
.product__desc[dir="rtl"], .product__info[dir="rtl"] .prose { font-family: var(--font-arabic-body); }
.stock { margin: 0 0 14px; font-weight: 600; color: var(--teal); }
.stock--out { color: var(--rose); }
.field-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.select { width: 100%; height: 52px; padding: 0 16px; margin-bottom: 14px; border-radius: 14px; border: 2px solid #D8CFDC; background: #fff; font: inherit; }

/* ---------- Blog ---------- */
.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink); margin-bottom: 56px; }
.featured-post__media { min-height: 420px; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { padding: 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.featured-post:hover { color: var(--ink); }

.post-hero { padding: 48px 0 0; }
.post-hero__meta { margin: 0 0 12px; color: var(--ink-muted); font-size: 15px; }
.post-hero__title { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.08; }
.post[dir="rtl"] .post-hero__title { font-family: var(--font-arabic-body); font-weight: 700; line-height: 1.4; }
.post[dir="rtl"] .prose { font-family: var(--font-arabic-body); font-size: 19px; line-height: 1.9; }
.post[dir="rtl"] .prose ul, .post[dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }
.post-hero__media { margin: 40px auto 56px; max-width: 1100px; }
.post-hero__media img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 32px; }
.post-body { padding-bottom: 32px; }
.post-footer { padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.share { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-weight: 600; }
.share a { color: var(--rose); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid rgba(42, 34, 51, .12); padding-top: 28px; }
.post-nav__link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.post-nav__link span { font-size: 14px; color: var(--ink-muted); }
.post-nav__link strong { font-family: var(--font-display); font-size: 19px; line-height: 1.3; }
.post-nav__link--next { text-align: right; grid-column: 2; }

.load-more { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Events ---------- */
.event-list { display: flex; flex-direction: column; gap: 24px; }
.event-card {
  display: grid;
  grid-template-columns: 96px 260px 1fr;
  gap: 28px;
  align-items: start;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
}
.event-card__date { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border-radius: 20px; background: var(--teal); color: #fff; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.event-card__date strong { font-family: var(--font-display); font-size: 40px; line-height: 1.1; letter-spacing: 0; }
.event-card__media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gold-soft); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--gold-soft), var(--rose-soft)); }
.event-card__body h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
.event-card__body h3[dir="rtl"] { font-family: var(--font-arabic-body); }
.event-card__meta { margin: 0 0 12px; color: var(--rose-deep); font-weight: 600; font-size: 15px; }
.event-card__desc { color: var(--ink-muted); font-size: 16px; }
.event-card__desc p { margin: 0 0 8px; }

/* ---------- Portfolio gallery ---------- */
.gallery-group + .gallery-group { margin-top: 80px; }
.gallery-group h2 { margin-bottom: 28px; }
.gallery { columns: 3 260px; column-gap: 20px; }
.gallery__item { display: block; margin-bottom: 20px; break-inside: avoid; border-radius: 22px; overflow: hidden; position: relative; }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease-snap); }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 80px;
  background: rgba(30, 24, 37, .92);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; border-radius: 16px; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 2px solid #D8CFDC;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--teal); outline: none; }
.form-note { margin: 8px 0 0; font-weight: 600; color: var(--teal); }

.embed-frame { border: 0; width: 100%; border-radius: 28px; background: #fff; }
.calendar-frame { height: 720px; }
.map-frame { height: 420px; }

/* ---------- Course (RTL page) ---------- */
[dir="rtl"] body, body[dir="rtl"] { font-family: var(--font-arabic-body); }
.rtl-page { font-family: var(--font-arabic-body); }
.rtl-page .display { font-family: var(--font-arabic); font-weight: 700; line-height: 1.3; }
.rtl-page .lede, .rtl-page p, .rtl-page li { font-size: 19px; line-height: 1.85; }
.rtl-page .plan ul { padding: 0 20px 0 0; }
.rtl-page .eyebrow, .rtl-page .kicker { letter-spacing: 0; font-family: var(--font-arabic-body); }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--teal-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A2233' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer-wave { display: block; width: 100%; height: 28px; }
.footer-inner { padding-top: 88px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 72px; }
.newsletter { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: end; justify-content: space-between; }
.newsletter-copy { flex: 1 1 440px; }
.newsletter-copy .display { margin-bottom: 12px; }
.newsletter-copy p { margin: 0; color: var(--footer-text); }
.newsletter-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--footer-text); }
.field input {
  height: 54px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 2px solid var(--footer-line);
  background: transparent;
  color: #fff;
  font: inherit;
}
.field input::placeholder { color: #968BA3; }
.newsletter-form button {
  height: 54px;
  padding: 0 30px;
  border-radius: var(--pill);
  border: none;
  background: var(--gold);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.newsletter-form .form-note { flex-basis: 100%; color: var(--gold-light); }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  padding-top: 48px;
  border-top: 1px solid var(--footer-line);
  font-size: 15px;
}
.footer-col { flex: 1 1 170px; display: flex; flex-direction: column; gap: 4px; }
.footer-col strong { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-col a, address.footer-col span { color: var(--footer-text); }
.footer-col a:hover { color: var(--gold); }
.footer-col__muted { font-size: 13px; margin-top: 6px; opacity: .8; }
address.footer-col { font-style: normal; flex-basis: 220px; }
.footer-logo { flex: 1 1 240px; display: flex; flex-direction: column; gap: 16px; }
.footer-logo div { align-self: flex-start; background: var(--cream); border-radius: 24px; padding: 20px 24px; }
.footer-logo img { width: 150px; height: auto; }
.footer-logo p { margin: 0; color: var(--footer-text); max-width: 280px; }
.legal { margin: 0; font-size: 13px; color: #B3A8BE; }

/* ---------- Color helpers ---------- */
.bg-teal { background: var(--teal); color: #fff; }
.bg-rose { background: var(--rose); color: #fff; }
.bg-gold { background: var(--gold); color: var(--ink); }
.bg-sage-soft { background: var(--sage-soft); color: var(--ink); }
.bg-teal-soft { background: var(--teal-soft); }
.bg-rose-soft { background: var(--rose-soft); }
.bg-gold-soft { background: var(--gold-soft); }
.bg-peach { background: var(--peach); }

/* ---------- Scroll reveal (paintiteasy animate-trigger) ----------
   GSAP ScrollTrigger.batch adds .is-in when an element enters the viewport. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-animate]:not([data-animate="stagger"]) {
    opacity: 0;
    transform: translateY(40px);
    transition: transform .6s var(--ease-snap), opacity .35s var(--ease-snap);
    transition-delay: .1s;
  }
  .js [data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(40px);
    transition: transform .6s var(--ease-snap), opacity .35s var(--ease-snap);
  }
  .js [data-animate].is-in:not([data-animate="stagger"]),
  .js [data-animate="stagger"].is-in > * { opacity: 1; transform: none; }
  .js [data-animate="stagger"].is-in > *:nth-child(1) { transition-delay: .05s; }
  .js [data-animate="stagger"].is-in > *:nth-child(2) { transition-delay: .15s; }
  .js [data-animate="stagger"].is-in > *:nth-child(3) { transition-delay: .25s; }
  .js [data-animate="stagger"].is-in > *:nth-child(4) { transition-delay: .35s; }
  .js [data-animate="stagger"].is-in > *:nth-child(5) { transition-delay: .45s; }
  .js [data-animate="stagger"].is-in > *:nth-child(6) { transition-delay: .55s; }
  .js [data-animate="stagger"].is-in > *:nth-child(n+7) { transition-delay: .6s; }
  .js [data-hero-item] { visibility: hidden; }
}
/* Keep rotated cards rotated once revealed */
.js [data-animate="stagger"].is-in > .plan-beginner { transform: rotate(-1deg); }
.js [data-animate="stagger"].is-in > .plan-full { transform: rotate(1deg); }
.js [data-intro] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
  .btn, .btn::before, .site-header { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .product-grid, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carousel__track { --slide: calc((100% - 2 * 24px) / 3); }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .site-header { padding: 0 10px; top: 8px; }
  .site-header__bar { padding: 8px 8px 8px 12px; }
  .brand img { height: 44px; }
  .brand-name { font-size: 14px; }
  .brand-by { font-size: 12px; }
  .site-header__actions .btn, .site-header__actions .lang-switch { display: none; }

  .section { padding: 80px 0; }
  .hero { padding-bottom: 64px; }
  .hero-art { height: 480px; flex-basis: 100%; }
  .hero-tag { font-size: 24px; }
  .page-hero { padding: 40px 0 64px; }
  .page-hero__art { height: 420px; flex-basis: 100%; }
  .pricing-inner, .about-inner { padding-top: 80px; padding-bottom: 80px; }
  .about-art { height: 440px; flex-basis: 100%; }
  .plan { padding: 28px; }
  .price-amount { font-size: 56px; }
  .card, .plan, .feature, .tile, .hero-copy, .about-copy, .newsletter-copy, .newsletter-form { flex-basis: 100%; }

  .grid--2, .grid--3, .info-cards { grid-template-columns: 1fr; }
  .grid--4, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .carousel__track, .carousel--3 .carousel__track { --slide: 80%; }
  .photo-marquee { height: 480px; }
  .tabs__media { height: 340px; }
  .story__media { height: 440px; }
  .story + .story { margin-top: 72px; }
  .cta-strip__images { justify-content: flex-start; overflow: hidden; }
  .product__grid, .featured-post { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .featured-post__media { min-height: 260px; }
  .featured-post__body { padding: 28px; }
  .event-card { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; }
  .event-card__media { grid-column: 1 / -1; grid-row: 1; }
  .event-card__date strong { font-size: 30px; }
  .form { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { grid-column: 1; text-align: left; }
  .lightbox { padding: 72px 12px; }
  .calendar-frame { height: 560px; }
}
