/* ==========================================================================
   ICSRR Modern Minimal Design System (Preloader-Matched Crimson & Slate)
   Strict Mobile-First Overflow Safety + Artistic Whitespace
   ========================================================================== */

:root {
  --primary-color: #d1131d;
  --secondary-color: #0f172a;
  --accent-color: #b43b41;
  --blush-soft: #fdf2f3;
  --blush-glow: rgba(244, 231, 232, 0.85);
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 12px 35px -10px rgba(15, 23, 42, 0.07);
  --shadow-hover: 0 22px 45px -12px rgba(209, 19, 29, 0.14);
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--surface);
  color: var(--text-main);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Prevent grid/flex blowout on mobile */
.container-wide, .section-inner, .grid-2, .grid-3, .grid-4, .bento-grid {
  min-width: 0;
}

.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* Generous Minimal Sections */
.section-space {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0;
  overflow: hidden;
}

.section-alt {
  background-color: var(--surface-alt);
}

.section-blush {
  background: radial-gradient(circle at 85% 15%, var(--blush-glow) 0%, #ffffff 60%);
}

.section-dark {
  background: radial-gradient(circle at 20% 20%, rgba(209, 19, 29, 0.18), transparent 55%), var(--secondary-color);
  color: #f8fafc;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blush-soft);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(209, 19, 29, 0.14);
}

.section-dark .eyebrow {
  background: rgba(209, 19, 29, 0.18);
  color: #fda4af;
  border-color: rgba(253, 164, 175, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--text-muted);
  margin: 0;
}

.section-dark .section-subtitle {
  color: #cbd5e1;
}

/* Ambient Stage Glow & Floating Artistic Icons */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(209, 19, 29, 0.11) 0%, rgba(244, 231, 232, 0.35) 40%, transparent 72%);
}

.floating-accent {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 19, 29, 0.14);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  backdrop-filter: blur(8px);
  animation: floatSlow 6s ease-in-out infinite;
}

.floating-accent.alt {
  animation: floatReverse 7.5s ease-in-out infinite;
  color: var(--accent-color);
}

.floating-accent.sm {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1rem;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(12px) rotate(-4deg); }
}

/* Hide outer floating ornaments on narrow phones to keep layout clean & overflow-free */
@media (max-width: 767px) {
  .floating-accent.hide-mobile {
    display: none;
  }
}

/* Modern Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(209, 19, 29, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(209, 19, 29, 0.5);
}

.btn-outline {
  background: #ffffff;
  color: var(--secondary-color);
  border-color: rgba(15, 23, 42, 0.16);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: #ffffff;
  color: var(--secondary-color);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(circle at 88% 12%, rgba(209, 19, 29, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(244, 231, 232, 0.9) 0%, transparent 50%),
    #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
  color: var(--secondary-color);
}

.hero-title .text-crimson {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 0 30px 0;
}

/* Interactive Multi-Image Hero Visual Collage */
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  position: relative;
}

.collage-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.collage-card.main {
  grid-column: span 8;
  aspect-ratio: 4 / 5;
}

.collage-stack {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.collage-card.sub {
  flex: 1;
  aspect-ratio: 1 / 1;
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.collage-card:hover img {
  transform: scale(1.05);
}

/* Artistic Fallback Visual when DB has no uploaded hero photos yet */
.artistic-emblem-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(244, 231, 232, 0.85) 0%, #ffffff 70%);
}

.artistic-ring {
  width: clamp(110px, 16vw, 160px);
  height: clamp(110px, 16vw, 160px);
  border-radius: 50%;
  padding: 22px;
  border: 2px dashed rgba(209, 19, 29, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(209, 19, 29, 0.1);
}

.artistic-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collage-stat-tile {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--secondary-color);
  color: #ffffff;
}

.collage-stat-tile.blush {
  background: var(--blush-soft);
  color: var(--secondary-color);
}

.collage-stat-tile strong {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--primary-color);
  line-height: 1.1;
}

.collage-stat-tile:not(.blush) strong {
  color: #fda4af;
}

.collage-stat-tile span {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0;
  background: radial-gradient(circle at 80% 20%, rgba(244, 231, 232, 0.85) 0%, #ffffff 65%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.page-hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

/* Responsive Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .hero-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .grid-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage-card.main { grid-column: span 12; aspect-ratio: 16 / 10; }
  .collage-stack { grid-column: span 12; flex-direction: row; }
  .collage-card.sub { aspect-ratio: 4 / 3; }
}

@media (max-width: 420px) {
  .grid-stats { grid-template-columns: minmax(0, 1fr); }
  .btn-group .btn { width: 100%; }
}

/* Clean Minimal Cards */
.card-clean {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.card-clean:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(209, 19, 29, 0.22);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--blush-soft);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.card-clean:hover .icon-box {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  transform: scale(1.06);
}

.card-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: var(--secondary-color);
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Media Cards (Events, Guests, Awardees, Blog) */
.media-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.media-thumb.portrait {
  aspect-ratio: 4 / 4;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.media-card:hover .media-thumb img {
  transform: scale(1.06);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.media-badge.crimson {
  background: rgba(209, 19, 29, 0.92);
}

.media-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.media-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.media-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.media-meta i {
  color: var(--primary-color);
}

/* Impact Stat Cards */
.stat-card {
  padding: 26px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(209, 19, 29, 0.5);
  transform: translateY(-4px);
}

.stat-card i {
  font-size: 1.5rem;
  color: #fda4af;
  margin-bottom: 12px;
}

.stat-number {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.84rem;
  color: #cbd5e1;
}

/* Gallery Grid + Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

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

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-modal img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Steps / Accordion */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 767px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
}

.step-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.step-num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Forms */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow-soft);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-label .req {
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--secondary-color);
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(209, 19, 29, 0.12);
}

.alert {
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Empty State Card (Clean Minimalism for Blank DB) */
.empty-state {
  padding: clamp(32px, 5vw, 56px) 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1.5px dashed rgba(15, 23, 42, 0.14);
  background: radial-gradient(circle at center, var(--blush-soft), #ffffff);
}

.empty-state i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  opacity: 0.85;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Action Buttons (WhatsApp + Scroll Top) */
.floating-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

.float-btn.whatsapp {
  background: #16a34a;
}

.float-btn.top-btn {
  background: var(--secondary-color);
  opacity: 0;
  visibility: hidden;
}

.float-btn.top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* Rich HTML content inside prose blocks */
.prose img {
  border-radius: var(--radius-md);
  margin: 18px 0;
}

.prose p {
  margin: 0 0 16px 0;
  color: #334155;
}

.prose h2, .prose h3 {
  margin: 24px 0 12px 0;
  color: var(--secondary-color);
}


/* ==========================================================================
   Static Visual Showcases, Marquee Ticker & Editorial Photo Frames
   ========================================================================== */

.marquee-band {
  background: var(--secondary-color);
  color: #f8fafc;
  padding: 15px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: icsrrMarquee 32s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #e2e8f0;
}

.marquee-item i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

@keyframes icsrrMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-float-pill {
  position: absolute;
  bottom: 16px;
  left: -14px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(209, 19, 29, 0.16);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 5.5s ease-in-out infinite;
  max-width: calc(100% - 16px);
}

@media (max-width: 767px) {
  .hero-float-pill {
    left: 10px;
    bottom: 10px;
    padding: 9px 12px;
  }
}

.hero-float-pill .pill-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Split Overlapping Visual Frame */
.split-visual-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
}

.split-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  position: relative;
}

.split-photo.offset-up {
  transform: translateY(-16px);
}

.split-photo.offset-down {
  transform: translateY(16px);
}

@media (max-width: 640px) {
  .split-photo.offset-up,
  .split-photo.offset-down {
    transform: none;
  }
  .split-visual-frame {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-photo {
    aspect-ratio: 16 / 10;
  }
}

.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.split-photo:hover img {
  transform: scale(1.06);
}

/* Editorial Showcase 4-Card Strip */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  background: var(--secondary-color);
  group: true;
}

@media (max-width: 560px) {
  .showcase-card { aspect-ratio: 4 / 3; }
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover img {
  transform: scale(1.08);
}

.showcase-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 0.8s ease;
  pointer-events: none;
}

.showcase-card:hover::after {
  left: 150%;
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 18px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.88));
  color: #ffffff;
}

.showcase-overlay span {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fda4af;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase-overlay h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

/* Page Hero Split with Photo */
.page-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.page-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
