/* ============================================================
   Little Picasso Arts — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Nunito:wght@400;500;700;800&family=Caveat:wght@600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --color-bg:        #F5EFE6;
  --color-text:      #3D2B1F;
  --color-subtext:   #8A7F7F;
  --color-primary:   #F4845F;
  --color-blush:     #F7C5C5;
  --color-mint:      #B8EAD8;
  --color-sky:       #A8D8EA;
  --color-lavender:  #D4C5F9;
  --color-yellow:    #FAE29F;
  --color-white:     #FFFFFF;
  --color-border:    rgba(61, 43, 31, 0.1);

  --font-display:    'Dancing Script', cursive;
  --font-heading:    'Nunito', sans-serif;
  --font-body:       'Nunito', sans-serif;
  --font-accent:     'Caveat', cursive;

  --font-hero:  3.5rem;
  --font-h1:    2.8rem;
  --font-h2:    2rem;
  --font-h3:    1.4rem;
  --font-body-size: 1rem;
  --font-small: 0.875rem;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 50px;

  --shadow-soft:  0 4px 20px rgba(61, 43, 31, 0.08);
  --shadow-hover: 0 8px 32px rgba(61, 43, 31, 0.14);

  --announce-height: 40px;
  --nav-height:  72px;
  --max-width:   1200px;
  --transition:  0.3s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.35s ease forwards;
}
img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section    { padding: 80px 0; }
.section--sm { padding: 48px 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-h2);
  font-weight: 800;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--color-subtext);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn:active { transform: translateY(0); }

.btn--primary   { background: var(--color-primary); color: var(--color-white); }
.btn--secondary { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn--outline   {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
}
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); box-shadow: none; }
.btn--white         { background: var(--color-white); color: var(--color-primary); }
.btn--white-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--color-white);
}
.btn--white-outline:hover { background: rgba(255,255,255,0.1); border-color: white; box-shadow: none; }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

/* ── Announcement Bar ──────────────────────────────────────── */
.announce-bar {
  height: var(--announce-height);
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 20px;
  white-space: nowrap;
  overflow: hidden;
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(245, 239, 230, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-color: var(--color-border);
  box-shadow: 0 1px 24px rgba(61, 43, 31, 0.07);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo img { height: 44px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
  border-radius: 2px;
}
.nav__links a:hover { color: var(--color-primary); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--color-primary); }

.nav__cta { margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-text);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--color-primary); }
.nav__mobile .btn { margin-top: 8px; font-size: 1.1rem; }

.nav__close {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--color-text);
  line-height: 1;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--announce-height) - var(--nav-height));
  overflow: hidden;
}

.hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Left padding = the gap between the screen edge and the page container's content,
     so the hero text starts exactly where the sections below do (100% = this column's width) */
  --hero-pad-left: max(24px, calc(100% - (var(--max-width) / 2 - 24px)));
  padding: 80px 64px 80px var(--hero-pad-left);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s forwards;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--color-subtext);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s forwards;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.7s forwards;
}

.hero__proof-stars {
  color: #FFAA00;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.hero__proof-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-subtext);
}

/* Hero right panel */
.hero__right {
  background: var(--color-blush);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle dot grid texture */
.hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(61,43,31,0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* Soft vignette at edges */
.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left,    rgba(247,197,197,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(168,216,234,0.25) 0%, transparent 55%);
  pointer-events: none;
}

.hero__img-stack {
  position: relative;
  width: 380px;
  height: 480px;
  flex-shrink: 0;
  z-index: 1;
}

.hero__img {
  position: absolute;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 20px 56px rgba(61,43,31,0.22);
}

.hero__img--front {
  width: 280px;
  height: 350px;
  top: 36px;
  left: 16px;
  transform: rotate(-2.5deg);
  opacity: 0;
  animation: imgFront 0.9s cubic-bezier(0.22,1,0.36,1) 0.65s forwards;
}

.hero__img--back {
  width: 248px;
  height: 300px;
  bottom: 36px;
  right: 16px;
  transform: rotate(3.5deg);
  opacity: 0;
  animation: imgBack 0.9s cubic-bezier(0.22,1,0.36,1) 0.85s forwards;
}

/* Hero card = frame (size, rounding, shadow, tilt come from .hero__img above)
   holding stacked image layers that crossfade. Layers fill the frame with
   object-fit: cover, so images of any shape never change the card's size. */
.hero-card {
  overflow: hidden;
  isolation: isolate; /* keeps rounded corners clean while layers fade */
}

.hero-card__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.8s ease;
}

/* The image being shown (fades in on top) */
.hero-card__layer.is-active { opacity: 1; z-index: 2; }

/* The image being replaced stays fully visible underneath until the new one
   has finished fading in, so there is never a see-through dip mid-fade */
.hero-card__layer.is-under { opacity: 1; z-index: 1; transition: none; }

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

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--color-white);
  padding: 18px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 40px;
}

.trust-item strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.3;
}

.trust-item span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-subtext);
  line-height: 1.3;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ── Shared eyebrow label ─────────────────────────────────── */
.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* ── How It Works ──────────────────────────────────────────── */
.how-it-works {
  position: relative;
  background: var(--color-bg);
  padding: 100px 0;
}

.how-header { margin-bottom: 64px; }

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-top: 8px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}

/* Thin connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--color-border);
}

.step { padding-right: 52px; }
.step:last-child { padding-right: 0; }

.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 28px;
  background: var(--color-bg);
  padding-right: 18px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--color-subtext);
  line-height: 1.7;
  max-width: 280px;
}

/* ── Shop Section ──────────────────────────────────────────── */
.shop-section {
  position: relative;
  background: var(--color-white);
  padding: 100px 0;
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.shop-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-top: 8px;
  line-height: 1.2;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.shop-card {
  display: block;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.shop-card__media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--color-blush);
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shop-card:hover .shop-card__media img { transform: scale(1.04); }

.shop-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(61,43,31,0.12);
}

.shop-card__body { padding: 28px 28px 24px; }

.shop-card__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.shop-card__desc {
  font-size: 0.93rem;
  color: var(--color-subtext);
  line-height: 1.65;
  margin-bottom: 20px;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.shop-card__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.shop-card__cta {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-subtext);
  transition: color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shop-card:hover .shop-card__cta {
  color: var(--color-primary);
  transform: translateX(4px);
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials {
  background: var(--color-lavender);
  padding: 100px 0;
  border-top: 1px solid rgba(212,197,249,0.6);
}

.testimonials__header { margin-bottom: 56px; }

.testimonials__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-top: 8px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  align-items: start;
}

.testimonial-featured {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-soft);
}

.testimonial-featured__mark {
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 0.7;
  margin-bottom: 20px;
  display: block;
  user-select: none;
}

.testimonial-featured__text {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  color: var(--color-text);
  line-height: 1.55;
  margin-bottom: 32px;
}

.testimonial-featured__byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-featured__byline strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.testimonial-featured__byline span {
  font-size: 0.85rem;
  color: var(--color-subtext);
}

.stars {
  color: #FFAA00;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonials__secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-small {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.testimonial-small .stars {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.testimonial-small p {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 14px;
}

.testimonial-small strong {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-subtext);
}

/* ── Founder Strip ─────────────────────────────────────────── */
.founder-strip {
  position: relative;
  background: var(--color-mint);
  padding: 80px 0;
}

.founder-strip__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 800px;
  padding: 40px 44px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  rotate: -1deg; /* separate from `transform`, so the scroll-reveal slide still works */
}

.founder-strip__text .eyebrow { margin-bottom: 16px; }

.founder-strip__text p {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.founder-strip__text strong {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-subtext);
}

.founder-strip__deco {
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
  user-select: none;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--color-primary);
  padding: 80px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 10px;
}

.cta-banner__text p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-subtext);
  max-width: 560px;
  margin: 0 auto;
  text-wrap: balance; /* splits lines evenly so a single word never sits alone */
}

/* ── Products Page ─────────────────────────────────────────── */
.products-section { padding: 80px 0; }
.products-section--blush { background: var(--color-blush); }
.products-section--mint  { background: var(--color-mint);  }

.products-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.products-section__header h2 {
  font-family: var(--font-heading);
  font-size: var(--font-h2);
  font-weight: 800;
}

.products-section__intro {
  color: var(--color-subtext);
  max-width: 620px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

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

.product-grid--single { grid-template-columns: 1fr; max-width: 600px; }

.product-detail-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.product-detail-card__img { width: 100%; height: 220px; object-fit: cover; }

.product-detail-card__img--placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.product-detail-card__img--placeholder.blush-light { background: #FDE8E8; }
.product-detail-card__img--placeholder.mint-light  { background: #D4F5EB; }

.product-detail-card__body { padding: 28px; }

.product-detail-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-detail-card__desc { color: var(--color-subtext); font-size: 0.95rem; margin-bottom: 20px; }

.pricing-table { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; }

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(61, 43, 31, 0.06);
  transition: background var(--transition);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: rgba(244, 132, 95, 0.05); }
.pricing-row__label { font-weight: 600; }
.pricing-row__price { font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); }
.pricing-row--addon { background: rgba(244, 132, 95, 0.06); font-style: italic; color: var(--color-subtext); }

.order-steps { display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin: 0 auto; text-align: left; }
.order-step  { display: flex; gap: 16px; align-items: flex-start; }
.order-step__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.order-step__text { flex: 1; min-width: 0; text-align: left; }
/* Title sits in a row as tall as the circle, so the two line up */
.order-step__text strong { display: flex; align-items: center; min-height: 36px; margin-bottom: 2px; font-weight: 700; }
.order-step__text span   { display: block; color: var(--color-subtext); font-size: 0.95rem; text-wrap: pretty; /* avoids one-word last lines */ }

/* ── Gallery ───────────────────────────────────────────────── */
.gallery-grid { columns: 3; column-gap: 20px; margin-top: 48px; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img { width: 100%; display: block; transition: transform 0.4s ease; }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(61,43,31,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item__overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: white;
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover .gallery-item__overlay { background: rgba(61,43,31,0.35); }
.gallery-item:hover .gallery-item__overlay svg { opacity: 1; transform: scale(1); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 10, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: lightboxIn 0.3s ease;
}
.lightbox__close {
  position: fixed;
  top: 24px; right: 28px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-card__icon  { font-size: 2.4rem; margin-bottom: 16px; }
.contact-card__title { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.contact-card__detail { color: var(--color-subtext); font-size: 0.95rem; margin-bottom: 6px; }
.contact-card__note  { font-size: 0.85rem; color: var(--color-subtext); font-style: italic; margin-bottom: 20px; }

.faq { background: var(--color-bg); padding: 80px 0; }
.faq-list { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
  user-select: none;
}
.faq-item__question:hover { background: rgba(244, 132, 95, 0.04); }

.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--color-subtext);
  font-size: 0.975rem;
  line-height: 1.7;
}
.faq-item.open .faq-item__answer { max-height: 300px; padding: 0 24px 20px; }

/* ── WhatsApp FAB ──────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 20px; right: 14px; /* tucked into the page margin so it covers as little as possible */
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 48px; height: 48px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
}
.whatsapp-fab:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,0.45); }
.whatsapp-fab svg { width: 24px; height: 24px; flex-shrink: 0; }

/* The "Chat with us" label shows as a small tooltip on hover / keyboard focus */
.whatsapp-fab span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-text);
  color: var(--color-white);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-fab:hover span,
.whatsapp-fab:focus-visible span { opacity: 1; }

.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  z-index: -1;
  animation: fabPulse 2.8s ease-out infinite;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--color-text); color: var(--color-white); padding: 56px 0 28px; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer__tagline { color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 260px; line-height: 1.6; }

.footer__col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--color-primary); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--color-primary); }

/* ── Keyframes ─────────────────────────────────────────────── */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes imgFront {
  from { opacity: 0; transform: rotate(-2.5deg) translateY(20px); }
  to   { opacity: 1; transform: rotate(-2.5deg) translateY(0); }
}

@keyframes imgBack {
  from { opacity: 0; transform: rotate(3.5deg) translateY(20px); }
  to   { opacity: 1; transform: rotate(3.5deg) translateY(0); }
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Nav Actions ───────────────────────────────────────────── */
.nav__actions { display: flex; align-items: center; gap: 6px; }

/* ── Product Image Gallery ─────────────────────────────────── */
.product-gallery { position: relative; }

.product-gallery__main {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* every book photo is 4:3 on the same backdrop */
  object-fit: contain; /* show the whole photo, never zoomed or cropped */
  background: #e6e0d6; /* matches the beige studio backdrop in the book photos, so the side bars blend in */
  display: block;
  transition: opacity 0.25s ease;
}

/* Artwork/canvas products: show the full image without cropping */
.product-gallery--artwork .product-gallery__main {
  height: 340px;
  object-fit: contain;
  background: #f5ede8;
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(61,43,31,0.03);
  overflow-x: auto;
  scrollbar-width: none;
}
.product-gallery__thumbs::-webkit-scrollbar { display: none; }

.product-gallery__thumb {
  width: 54px; height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: 0.65;
}
.product-gallery__thumb:hover { opacity: 0.9; }
.product-gallery__thumb.active { border-color: var(--color-primary); opacity: 1; }

/* ── Canvas feature (products page) ────────────────────────── */
/* Full-width two-column layout: big gallery left (~55%), details right (~45%) */
.canvas-feature {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 56px;
  align-items: center;
}

.canvas-feature__media,
.canvas-feature__details { min-width: 0; } /* lets grid children shrink, so nothing overflows */

/* Main image: a portrait panel (most canvas photos are portrait) with the same rounding as the
   book cards. Portrait images fill it, trimming only a sliver off the bottom; the names sit at the top. */
.canvas-feature .product-gallery__main {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #e9dcc8; /* warm wood tone, matches the photos' backgrounds */
  border-radius: var(--radius-lg);
}
/* Landscape photos are shown whole (set by switchImg in products.html) on that same wood tone */
.canvas-feature .product-gallery__main.is-landscape {
  object-fit: contain;
  object-position: center;
}

.canvas-feature .product-gallery__thumbs {
  gap: 10px;
  padding: 14px 0 0;
  background: none;
}

.canvas-feature .product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
}

.canvas-feature__title {
  font-family: var(--font-heading);
  font-size: var(--font-h2);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.variant-dims { margin-top: 10px; font-size: 0.85rem; color: var(--color-subtext); }

.canvas-feature__note { margin-top: 12px; font-size: 0.85rem; color: var(--color-subtext); }

@media (max-width: 900px) {
  .canvas-feature { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .canvas-feature__cta { width: 100%; justify-content: center; }
}

/* ── Variant Selector ──────────────────────────────────────── */
.variant-selector { margin-bottom: 16px; }

.variant-selector label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.variant-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.variant-pill {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(61,43,31,0.15);
  background: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--color-text);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.variant-pill:hover { border-color: var(--color-primary); }
.variant-pill.selected { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

.variant-price-display { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: var(--color-primary); margin: 12px 0 16px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__left { padding: 60px 40px 60px var(--hero-pad-left); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 64px 24px; max-width: 600px; margin: 0 auto; text-align: center; align-items: center; }
  .hero__sub { max-width: 100%; }
  .hero__buttons { justify-content: center; }
  .hero__right { height: 380px; }
  .hero__img-stack { width: 320px; height: 360px; }
  .hero__img--front { width: 230px; height: 280px; }
  .hero__img--back  { width: 200px; height: 240px; }

  .trust-bar__inner { gap: 0; }
  .trust-item { padding: 4px 20px; }

  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .step { padding-right: 0; }

  .shop-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .shop-header { flex-direction: column; align-items: flex-start; gap: 20px; }

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

  .founder-strip__inner { grid-template-columns: 1fr; }
  .founder-strip__deco { display: none; }

  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }

  .product-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  /* Let the announcement text wrap on small screens instead of being cut off */
  .announce-bar {
    font-size: 0.72rem;
    height: auto;
    min-height: var(--announce-height);
    padding: 8px 16px;
    line-height: 1.4;
    white-space: normal;
  }

  .section { padding: 60px 0; }
  .how-it-works, .shop-section, .testimonials, .founder-strip { padding: 72px 0; }

  .contact-cards { grid-template-columns: 1fr; max-width: 400px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .gallery-grid { columns: 2; }

  .whatsapp-fab span { display: none; }
  .whatsapp-fab { width: auto; height: auto; padding: 14px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-fab svg { width: 22px; height: 22px; }
}

@media (max-width: 500px) {
  .gallery-grid { columns: 1; }
  .trust-bar__inner { flex-direction: column; gap: 12px; }
  .trust-divider { width: 48px; height: 1px; }
  .hero__right { height: 300px; }
  .hero__img-stack { width: 260px; height: 300px; }
  .hero__img--front { width: 185px; height: 220px; }
  .hero__img--back  { width: 165px; height: 200px; }

  .variant-pills { flex-wrap: nowrap; }
  .variant-pill  { padding: 6px 10px; font-size: 0.78rem; }
}

/* ── Gallery page header ───────────────────────────────────── */

/* Section header: title + follow button in a row */
.ig-feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

.ig-feed-header__left { flex: 1; min-width: 0; }

/* Small eyebrow above the heading */
.ig-feed-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.ig-feed-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text);
  line-height: 1.2;
}

/* "Follow us" button */
.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(61,43,31,0.15);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition),
              background var(--transition);
}
.ig-follow-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.ig-follow-btn:hover {
  border-color: #E1306C;
  color: #E1306C;
  background: rgba(225,48,108,0.04);
}

/* ── Image: zoom icon ──────────────────────────────────────── */
.ig-zoom-icon {
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: white;
}
/* Override the base .gallery-item__overlay svg rule for this class */
.gallery-item__overlay .ig-zoom-icon { opacity: 0; transform: scale(0.75); }
.gallery-item:hover .ig-zoom-icon    { opacity: 1; transform: scale(1);    }

/* ── Responsive overrides ──────────────────────────────────── */
@media (max-width: 640px) {
  .ig-feed-header { flex-direction: column; align-items: flex-start; }
}

/* ── Hand-made details ─────────────────────────────────────── */

/* Crayon-style underline drawn under script headings */
.scribble {
  display: block;
  width: min(220px, 60%);
  height: 14px;
  margin: 6px 0 0;
  color: var(--color-primary);
  overflow: visible;
}
.scribble path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: scribbleDraw 0.9s ease 0.5s forwards;
}
.scribble__ghost { stroke-width: 2; opacity: 0.45; animation-delay: 0.8s; }
/* Headings that fade in on scroll draw their underline once they appear */
.reveal .scribble path { animation-play-state: paused; }
.reveal.visible .scribble path { animation-play-state: running; }
.page-hero .scribble { margin: 8px auto 0; }
.cta-banner .scribble { color: var(--color-yellow); }

@keyframes scribbleDraw { to { stroke-dashoffset: 0; } }

/* Wobbly line that sits over the seam between two homepage sections */
.hand-divider {
  position: absolute;
  top: -10px; left: 0;
  width: 100%; height: 20px;
  pointer-events: none;
  z-index: 2;
}
.hand-divider svg { display: block; width: 100%; height: 100%; }
.hand-divider path {
  fill: none;
  stroke: var(--color-primary);
  stroke-opacity: 0.5;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* "Taped photo" look: a small see-through strip of tape over the top edge */
.founder-strip__inner::before {
  content: '';
  position: absolute;
  top: -13px; left: 50%;
  width: 96px; height: 26px;
  margin-left: -48px;
  background: rgba(250, 226, 159, 0.72);
  box-shadow: 0 1px 3px rgba(61, 43, 31, 0.12);
  transform: rotate(-3deg);
  z-index: 3;
}
@media (max-width: 768px) {
  .founder-strip__inner { padding: 32px 28px; }
  .hero__title .scribble { margin-left: auto; margin-right: auto; } /* hero text is centred on mobile */
}

@media (prefers-reduced-motion: reduce) {
  .scribble path { animation: none; stroke-dashoffset: 0; }
  .whatsapp-fab::before { animation: none; }
  .whatsapp-fab, .whatsapp-fab span { transition: none; }
}
