/* Kareem Studio — landing layer: theme imports + landing-page polish */
@import url("theme-a.css?v=3");
@import url("theme-b.css?v=2");

/* ---------- Landing reveal-on-scroll (JS adds .js-reveal and .in) ---------- */

body.is-landing.js-reveal .page > section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

body.is-landing.js-reveal .page > section.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.is-landing.js-reveal .page > section { opacity: 1; transform: none; transition: none; }
}

/* ---------- Landing section rhythm ---------- */

body.is-landing .page > section { scroll-margin-top: 5rem; }

body.is-landing .ui-block .ui-row h2 {
  position: relative;
  padding-left: 0.65rem;
}

body.is-landing .ui-block .ui-row h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f7c948, #eab308);
}

/* ---------- Ghost CTA with spark ---------- */

.ghost-btn.spark { gap: 0.45rem; }

/* ---------- Pricing page (pricing.php) refinements ---------- */

.price-hero .kicker { color: #eab308; }

.price-card {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border-color: #3a3a40;
}

.price-card.hot {
  border: 1px solid rgba(234, 179, 8, 0.55) !important;
  background: linear-gradient(180deg, #1a1607, #111111) !important;
  box-shadow: 0 8px 26px rgba(234, 179, 8, 0.14);
}

.price-card.hot:hover { border-color: #eab308 !important; }

.price-card .cta {
  transition: filter 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.2);
}

.price-card .cta:hover { filter: brightness(1.06); transform: translateY(-1px); }

.price-card li { border-bottom-color: #1e1e22 !important; }
.price-card li:last-child { border-bottom: 0; }

/* ---------- Install note (home) ---------- */

.install-note { box-shadow: 0 4px 16px rgba(234, 179, 8, 0.08); }

/* ---------- Pose detail polish ---------- */

.thumbs img { transition: border-color 0.2s ease, transform 0.2s ease; }
.thumbs img:hover { transform: scale(1.05); }
.thumbs img.on { border-color: #eab308 !important; }

.progress a, .progress span { transition: background 0.25s ease; }
.progress a:hover { background: #4a4a52 !important; }
.progress a.done:hover { background: #eab308 !important; }

.nav-row a { transition: filter 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.nav-row a.next:hover { filter: brightness(1.06); transform: translateY(-1px); }
.nav-row a.prev:hover, .nav-row a.home:hover { border-color: #4a4a52 !important; }

/* ---------- Footer link color ---------- */

.foot a { color: inherit; }

/* ---------- Marketing site footer ---------- */

.site-foot {
  width: min(430px, 100%);
  margin: 2.5rem auto 0;
  padding: 1.6rem 0.9rem calc(4.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(234, 179, 8, 0.28);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.04), transparent 30%);
}

.sf-brand .sf-logo {
  font-family: Oswald, Manrope, sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #f5f4f1;
}

.sf-tag {
  color: #9d9da5;
  font-size: 0.8rem;
  line-height: 1.5;
  margin-top: 0.4rem;
  max-width: 22rem;
}

.sf-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 0.9rem;
  margin-top: 1.4rem;
}

.sf-col:last-child { grid-column: 1 / -1; }

.sf-head {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #eab308;
  margin-bottom: 0.55rem;
}

.sf-col a {
  display: block;
  color: #b8b8bf;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.28rem 0;
  transition: color 0.2s ease;
}

.sf-col a:hover { color: #f5f4f1; }

.sf-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid #1e1e22;
  color: #6e6e76;
  font-size: 0.7rem;
}

/* ---------- Features page: editorial story ---------- */

.feat {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
  margin: 0 0 3.5rem;
}

.feat-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  box-shadow: var(--shadow-card);
}

/* Gold corner accent */
.feat-media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: var(--radius-lg);
  opacity: 0.9;
  pointer-events: none;
}

.feat-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.feat:hover .feat-media img { transform: scale(1.04); }

.feat-copy { position: relative; padding-top: 0.5rem; }

.feat-num {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--gold);
  opacity: 0.22;
  margin-bottom: -0.4rem;
  user-select: none;
}

.feat-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  position: relative;
}

.feat-copy p {
  color: var(--mute);
  line-height: 1.65;
  margin: 0 0 0.8rem;
  max-width: 34rem;
}

.feat-cta {
  text-align: center;
  background: linear-gradient(180deg, #16140a, var(--panel));
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  margin: 1rem 0 2.5rem;
}

.feat-cta h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.feat-cta .lede { margin: 0 auto 1.6rem; max-width: 32rem; }
.feat-cta .hero-actions { justify-content: center; }

/* Desktop: alternating two-column editorial grid */
@media (min-width: 1024px) {
  .feat {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    margin: 0 0 5rem;
  }
  .feat.flip { grid-template-columns: 1fr 1.05fr; }
  .feat.flip .feat-media { order: 2; }
  .feat.flip .feat-copy { order: 1; }
  .feat-num { margin-bottom: -0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-media img { transition: none; }
  .feat:hover .feat-media img { transform: none; }
}
