/* Section styles and visual refinements; loaded after style.css. */
/* ---------- Marquee ---------- */
.marquee {
  background: linear-gradient(90deg, #FFF9E3, var(--blush));
  color: var(--primary);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.marquee-track { display: inline-flex; gap: 50px; }
.marquee-track span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.marquee-track span::after { content: "✦"; color: var(--pop); font-style: normal; font-size: 1.1rem; }

/* ---------- Feature strip ---------- */
.features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  /* hover lift uses `translate` so it never fights GSAP's transform-based scroll animation */
  transition: translate 0.4s var(--ease), box-shadow 0.4s, background 0.4s, border-color 0.4s;
}
.feature:hover { translate: 0 -6px; box-shadow: var(--shadow); background: linear-gradient(160deg, #FFF9E3, var(--blush)); border-color: rgba(var(--primary-rgb), 0.2); }
.feature:hover i { background: var(--white); }
.feature h4, .feature p, .feature i { transition: color 0.4s, background 0.4s; }
.feature i {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.feature h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

.features-strip.two-col { grid-template-columns: repeat(2, 1fr); }
.features-strip.two-col .feature { flex-direction: column; }
.map-wrap { grid-template-columns: 1.6fr 1fr; align-items: stretch; }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, color 0.5s;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #FFF9E3, var(--blush));
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease);
}
.service-card:hover::before { transform: translateY(0); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-num {
  position: absolute;
  right: 30px;
  top: 26px;
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(var(--primary-rgb), 0.07);
  transition: color 0.5s;
}
.service-card:hover .service-num { color: rgba(var(--primary-rgb), 0.12); }
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 28px;
  transition: background 0.5s, color 0.5s, transform 0.5s var(--ease);
}
.service-card:hover .service-icon { background: var(--white); color: var(--primary); transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-size: 1.45rem; margin-bottom: 14px; transition: color 0.5s; }
.service-card p { font-size: 0.95rem; margin-bottom: 24px; flex-grow: 1; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-ink);
}
.service-card:hover .service-link { color: var(--primary); }
.service-list { margin-bottom: 24px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  padding: 5px 0;
}
.service-list li i { color: var(--accent); font-size: 0.75rem; }

/* ---------- About / Image blocks ---------- */
.about-visual { position: relative; height: 540px; }
.about-block {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-block.main {
  inset: 0 90px 70px 0;
  background:
    linear-gradient(160deg, rgba(var(--primary-rgb), 0.92), rgba(var(--deep-rgb), 0.95)),
    repeating-linear-gradient(45deg, var(--primary) 0 12px, var(--primary-dark) 12px 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: var(--cream);
}
.about-block.main .press-lines { position: absolute; top: 40px; left: 40px; right: 40px; }
.press-lines span {
  display: block;
  height: 10px;
  border-radius: 10px;
  margin-bottom: 12px;
  background: rgba(var(--light-rgb), 0.15);
}
.press-lines span:nth-child(1) { width: 70%; background: var(--accent); }
.press-lines span:nth-child(2) { width: 90%; }
.press-lines span:nth-child(3) { width: 55%; }
.press-lines span:nth-child(4) { width: 80%; }
.about-block.main h4 { color: var(--cream); font-size: 2.2rem; margin-bottom: 6px; }
.about-block.main p { opacity: 0.75; font-size: 0.9rem; }
.about-block.second {
  width: 250px;
  height: 250px;
  right: 0;
  bottom: 0;
  background: var(--pop);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  border: 8px solid var(--cream);
}
.about-block.second strong {
  display: block;
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 1;
}
.about-block.second > div > span { font-size: 0.9rem; letter-spacing: 1px; }
.about-block.main p { max-width: 62%; }
.about-art { position: absolute; top: 30px; left: 30px; right: 30px; height: 62%; }
.about-art svg { width: 100%; height: 100%; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; margin: 30px 0 40px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.check-list i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat { padding: 20px; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(var(--light-rgb), 0.2);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--cream);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num sup { color: var(--blush); font-size: 0.55em; }
.stat p { color: rgba(var(--light-rgb), 0.75); letter-spacing: 1px; font-size: 0.92rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.process::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
}
.process-step { text-align: center; position: relative; }
.process-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  position: relative;
  transition: background 0.4s, color 0.4s;
}
.process-step:hover .process-icon { background: var(--blush); color: var(--primary); }
.process-icon b {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pop);
  color: var(--ink);
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
}
.process-step h4 { font-size: 1.25rem; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; color: var(--muted); max-width: 240px; margin: 0 auto; }

/* ---------- Portfolio ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--cream); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.work.tall { grid-row: span 2; aspect-ratio: auto; }
.work-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 0.8s var(--ease);
}
.work:hover .work-art { transform: scale(1.08); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--deep-rgb), 0.92) 0%, rgba(var(--deep-rgb), 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s;
}
.work:hover .work-overlay { opacity: 1; }
.work-overlay span { color: var(--accent-soft); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; }
.work-overlay h4 { color: var(--cream); font-size: 1.4rem; transform: translateY(20px); transition: transform 0.5s var(--ease); }
.work:hover .work-overlay h4 { transform: translateY(0); }
.work-overlay .work-plus {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: grid;
  place-items: center;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s var(--ease);
}
.work:hover .work-plus { transform: scale(1) rotate(0); }
.work.hide { display: none; }

/* Mockup arts inside portfolio */
.art-1 { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.art-2 { background: var(--tint); }
.art-3 { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.art-4 { background: var(--blush); }
.art-5 { background: linear-gradient(160deg, var(--primary-deep), var(--primary) 70%, var(--pop)); }
.art-6 { background: var(--cream); border: 1px solid var(--line); }
.mock-cards { position: relative; width: 60%; height: 50%; }
.mock-cards i {
  position: absolute;
  width: 100%;
  height: 70%;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
.mock-cards i:nth-child(1) { background: var(--cream); transform: rotate(-10deg); top: 0; }
.mock-cards i:nth-child(2) { background: var(--accent); transform: rotate(6deg); top: 25%; left: 10%; }
.mock-poster {
  width: 48%;
  aspect-ratio: 3 / 4;
  background: var(--primary);
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.3);
  padding: 8%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}
.mock-poster::before {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  top: -15%;
  right: -20%;
}
.mock-poster b { position: relative; color: var(--cream); font-family: var(--font-head); font-size: 1.3rem; line-height: 1; }
.mock-mug {
  width: 36%;
  aspect-ratio: 1 / 1.1;
  background: var(--cream);
  border-radius: 6px 6px 20px 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  color: var(--primary);
  font-size: 1.1rem;
  font-style: italic;
}
.mock-mug::after {
  content: "";
  position: absolute;
  right: -28%;
  top: 22%;
  width: 34%;
  height: 46%;
  border: 9px solid var(--cream);
  border-left: none;
  border-radius: 0 40px 40px 0;
}
.mock-book {
  width: 56%;
  aspect-ratio: 1.5 / 1;
  display: flex;
  box-shadow: 0 20px 40px rgba(var(--deep-rgb), 0.3);
  transform: perspective(600px) rotateX(18deg);
}
.mock-book i { flex: 1; background: var(--cream); }
.mock-book i:first-child { background: var(--primary); border-radius: 6px 0 0 6px; }
.mock-book i:last-child { border-radius: 0 6px 6px 0; background: linear-gradient(90deg, var(--tint), var(--cream) 20%); }
.mock-banner {
  width: 30%;
  height: 78%;
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  padding: 10%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.mock-banner::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 20%;
  right: 20%;
  height: 14px;
  background: #222;
  border-radius: 0 0 4px 4px;
}
.mock-banner i { height: 8px; border-radius: 4px; background: var(--tint); }
.mock-banner i:first-child { height: 40%; background: var(--accent); border-radius: 6px; }
.mock-banner i:nth-child(2) { width: 80%; background: var(--primary); }
.mock-label {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px dashed var(--primary);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-head);
  color: var(--primary);
  font-size: 1.15rem;
  line-height: 1.1;
}


/* ---------- Shared accent colours ---------- */
.eyebrow { color: var(--pop-ink); }
.eyebrow::before, .eyebrow::after { background: var(--pop); }
.section-title em, .hero-title em { color: var(--pop-ink); }
.service-icon, .feature i, .process-icon { background: var(--blush); color: var(--pop-ink); }
.check-list i { background: var(--pop); color: var(--white); }
.testimonial-card { border-top-color: var(--pop); }
.btn-outline { border-color: var(--pop); color: var(--pop-ink); }
.btn-outline::before { background: var(--pop); }
.btn-outline:hover { color: var(--white); }
.stat-num sup { color: var(--pop); }
/* Hero background slowly zooms in and out */
.hero::before { animation: heroZoom 18s ease-in-out infinite alternate; transform-origin: center; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
/* ---------- Derived dark accents ---------- */
.btn-primary { background: linear-gradient(120deg, var(--primary), var(--plum)); }
.header { border-bottom-color: rgba(var(--plum-rgb), 0.3); }
.nav-links a.active, .nav-links a:hover { color: var(--plum); }
.section-title { color: var(--ink); }
.section-title em { color: var(--plum); }
.bg-primary, .stats-band { background: linear-gradient(120deg, var(--primary-deep), var(--plum)) !important; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(var(--deep-rgb), 0.15), rgba(var(--plum-rgb), 0.15)); }
.page-hero .container { z-index: 1; }
.footer { background: linear-gradient(160deg, var(--primary-deep), #191919); }
.cta { background: linear-gradient(135deg, var(--primary), var(--plum)) !important; }
.service-card:hover .service-icon { color: var(--plum); }
.testimonial .avatar, .avatars span:nth-child(3) { background: var(--plum); }
.marquee { color: var(--plum); }
.about-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.about-block.main .about-art { inset: 0 0 auto 0; height: 66%; -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); mask-image: linear-gradient(180deg, #000 75%, transparent); }

/* "14+ Years" badge: small gradient circle on the big card's corner, floating and glowing */
.about-block.second {
  width: 150px;
  height: 150px;
  right: 60px;
  bottom: 40px;
  border-radius: 50%;
  border: 6px solid var(--cream);
  background: linear-gradient(135deg, var(--pop), var(--plum));
  animation: badgeFloat 3.2s ease-in-out infinite, badgeGlow 1.6s ease-in-out infinite alternate;
}
.about-block.second strong { font-size: 2.6rem; }
.about-block.second span { font-size: 0.72rem; letter-spacing: 0.5px; }
@keyframes badgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes badgeGlow {
  from { box-shadow: 0 10px 25px rgba(var(--plum-rgb), 0.3), 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  to { box-shadow: 0 16px 34px rgba(var(--plum-rgb), 0.45), 0 0 0 14px rgba(var(--accent-rgb), 0); }
}
@media (max-width: 640px) {
  .about-block.second { width: 120px; height: 120px; right: 24px; bottom: 30px; }
  .about-block.second strong { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .about-block.second { animation: none; } }
/* Compact service cards */
.service-card { padding: 30px 26px; border-radius: 22px; }
.service-card .service-icon { width: 54px; height: 54px; border-radius: 15px; font-size: 1.3rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.87rem; margin-bottom: 16px; }
.service-card .service-num { font-size: 2.4rem; top: 20px; right: 24px; }
.service-card .service-link { font-size: 0.84rem; }
.grid-3 { gap: 24px; }
/* Slimmer stats band */
.section-sm.bg-primary { padding: 34px 0; }
.section-sm.bg-primary .stat-num { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.section-sm.bg-primary .stat p { margin-top: 2px; font-size: 0.85rem; }
/* Shorter "How It Works" section */
.section:has(.process) { padding: 60px 0; }
.section:has(.process) .section-head { margin-bottom: 36px; }
.section:has(.process) .section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.process-icon { width: 76px; height: 76px; font-size: 1.5rem; margin-bottom: 16px; }
.process-step h4 { margin-bottom: 6px; }
.process-step p { font-size: 0.86rem; }
.process::before { top: 38px; }
/* CTA card with a real printing photo behind a dark tint */
.cta {
  background:
    linear-gradient(110deg, rgba(var(--deep-rgb), 0.92) 0%, rgba(var(--primary-rgb), 0.8) 45%, rgba(var(--plum-rgb), 0.55) 100%),
    url("../images/hero-services.webp") center / cover no-repeat !important;
}
.page-hero .ph-shape { display: none; }
.cta.cta-no-photo {
  background: linear-gradient(110deg, var(--primary-deep), var(--primary) 45%, var(--plum)) !important;
}
.page-hero h1, .page-hero p { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }

/* Inner page banners: real printing photos behind a dark tint */
.page-hero { background-size: cover !important; background-position: center !important; }
.page-hero.ph-about     { background: linear-gradient(140deg, rgba(var(--deep-rgb), 0.5), rgba(var(--deep-rgb), 0.6)), url("../images/hero-about.webp") center / cover no-repeat; }
.page-hero.ph-services  { background: linear-gradient(140deg, rgba(var(--deep-rgb), 0.5), rgba(var(--deep-rgb), 0.6)), url("../images/hero-services.webp") center / cover no-repeat; }
.page-hero.ph-portfolio { background: linear-gradient(140deg, rgba(var(--deep-rgb), 0.5), rgba(var(--deep-rgb), 0.6)), url("../images/hero-portfolio.webp") center / cover no-repeat; }
.page-hero.ph-contact   { background: linear-gradient(140deg, rgba(var(--deep-rgb), 0.5), rgba(var(--deep-rgb), 0.6)), url("../images/hero-contact.webp") center / cover no-repeat; }
.about-block.second strong span { font-size: inherit; letter-spacing: 0; }

/* Smaller corner badge */
.about-block.second { width: 112px; height: 112px; border-width: 4px; }
.about-block.second strong { font-size: 1.8rem; }
.about-block.second span { font-size: 0.62rem; }
@media (max-width: 640px) {
  .about-block.second { width: 96px; height: 96px; }
  .about-block.second strong { font-size: 1.5rem; }
}
/* Photo card: gentle float, slow "breathing" zoom on the photo, badge puffs in and out */
.about-block.main { animation: cardFloat 6s ease-in-out infinite; }
.about-art img { animation: photoBreathe 9s ease-in-out infinite alternate; transform-origin: center; }
.about-block.second { animation: badgeFloat 3.2s ease-in-out infinite, badgeGlow 1.6s ease-in-out infinite alternate, badgePuff 2.4s ease-in-out infinite; }
@keyframes cardFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(-0.6deg); } }
@keyframes photoBreathe { from { transform: scale(1); } to { transform: scale(1.1); } }
@keyframes badgePuff { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
@media (prefers-reduced-motion: reduce) {
  .about-block.main, .about-art img, .about-block.second { animation: none; }
}
/* Shorter 'Why FeatherArts' section */
.why-sec { padding: 56px 0; }
.why-sec .section-head { margin-bottom: 30px; }

/* Topic photo on top of each service card */
.service-card { padding-top: 0; overflow: hidden; }
.service-photo { margin: 0 -26px 0; height: 150px; overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.service-card:hover .service-photo img { transform: scale(1.08); }
.service-card .service-icon { margin-top: -27px; position: relative; z-index: 1; box-shadow: 0 6px 16px rgba(var(--deep-rgb), 0.15); background: var(--white); }
.service-card .service-num { top: 162px; }
.page-hero.ph-services { background-position: center 42% !important; }

/* Service cards: hover lift uses `translate` so it never fights the GSAP reveal (keeps rows aligned) */
.service-card { transition: translate 0.4s var(--ease), box-shadow 0.4s, color 0.4s !important; align-self: stretch; }
.service-card:hover { transform: none !important; translate: 0 -8px; }
.grid-3 { align-items: stretch; }
/* Shorter cards */
.service-photo { height: 120px; }
.service-card { padding-bottom: 22px; }
.service-card .service-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-top: -23px; margin-bottom: 12px; border-radius: 12px; }
.service-card .service-num { top: 128px; font-size: 2rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card .service-list { margin-bottom: 12px; }
.service-card .service-list li { padding: 3px 0; font-size: 0.86rem; }

/* Automatic slow motion for the six service categories. Individual translate
   and scale leave the GSAP entrance transform free to reveal each card. */
.service-motion > .service-card {
  --motion-delay: 0s;
  animation: serviceDrift 12s ease-in-out var(--motion-delay) infinite;
  transform-origin: center;
}
.service-motion > .service-card:nth-child(2) { --motion-delay: -2s; }
.service-motion > .service-card:nth-child(3) { --motion-delay: -4s; }
.service-motion > .service-card:nth-child(4) { --motion-delay: -6s; }
.service-motion > .service-card:nth-child(5) { --motion-delay: -8s; }
.service-motion > .service-card:nth-child(6) { --motion-delay: -10s; }
.service-motion .service-photo img {
  animation: servicePhotoZoom 18s ease-in-out var(--motion-delay) infinite;
  transform-origin: center;
}
.service-motion .service-icon {
  animation: serviceIconBreathe 10s ease-in-out var(--motion-delay) infinite;
}
@keyframes serviceDrift {
  0%, 100% {
    translate: 0 0;
    scale: 1;
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.04);
  }
  50% {
    translate: 0 -9px;
    scale: 1.012;
    box-shadow: 0 18px 36px rgba(var(--primary-rgb), 0.16), 0 0 22px rgba(var(--primary-rgb), 0.08);
  }
}
@keyframes servicePhotoZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.09); }
}
@keyframes serviceIconBreathe {
  0%, 100% { scale: 1; }
  50% { scale: 1.07; }
}
@media (prefers-reduced-motion: reduce) {
  .service-motion > .service-card,
  .service-motion .service-photo img,
  .service-motion .service-icon { animation: none; }
}
