/*
 * Archive — Dark Cinematic Editorial Theme
 * Scoped to body.rcf-archive for center archive pages.
 * Phase 4: Cinematic video hero, refined glassmorphism filters, luxury editorial.
 */

/* ================== PAGE BACKGROUND ================== */
body.rcf-archive {
  background: #0a0d0c;
  color: #cad1b4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.rcf-archive ::selection {
  background: #0cc0df;
  color: #111;
}

/* ================== CSS VARS (archive) ================== */
body.rcf-archive {
  --c-primary:   #628c80;
  --c-secondary: #cad1b4;
  --c-accent:    #0cc0df;
  --c-bg:        #0a0d0c;
  --font-display: 'Bodoni Moda', Georgia, serif;
  --container:   1400px;
  --pad-x:       clamp(1rem, 4vw, 2.5rem);
}

/* Shared container (same as landing) */
body.rcf-archive .rcf-container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ================== DARK HEADER (reused from landing) ================== */
.rcf-dark-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,13,12,0.55) 0%, rgba(10,13,12,0.25) 60%, rgba(10,13,12,0) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.rcf-dark-header.scrolled {
  background: linear-gradient(to bottom, rgba(10,13,12,0.85) 0%, rgba(10,13,12,0.65) 100%);
  border-bottom-color: rgba(202,209,180,0.08);
}

.rcf-dark-header .site-nav {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.rcf-dark-header .brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.rcf-dark-header .brand-logo {
  height: 48px; width: auto;
  transition: transform 0.7s ease;
}
@media (min-width: 768px) { .rcf-dark-header .brand-logo { height: 56px; } }
.rcf-dark-header .brand:hover .brand-logo { transform: scale(1.04); }
.rcf-dark-header .brand-text { display: flex; flex-direction: column; line-height: 1; }
.rcf-dark-header .brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--c-secondary);
}
@media (min-width: 768px) { .rcf-dark-header .brand-name { font-size: 22px; } }
.rcf-dark-header .brand-sub {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(202,209,180,0.65);
  margin-top: 4px;
}
@media (min-width: 768px) { .rcf-dark-header .brand-sub { font-size: 10px; } }

/* Nav menu */
.rcf-dark-header .nav-menu {
  display: none;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-secondary);
}
@media (min-width: 1024px) { .rcf-dark-header .nav-menu { display: flex; } }

.rcf-dark-header .nav-link {
  position: relative;
  transition: color 0.35s ease;
  text-decoration: none;
  color: inherit;
}
.rcf-dark-header .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.65,0,0.35,1);
}
.rcf-dark-header .nav-link:hover { color: var(--c-accent); }
.rcf-dark-header .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* CTA button */
.rcf-dark-header .nav-actions { display: flex; align-items: center; gap: 16px; }
.rcf-dark-header .cta-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--c-secondary);
  border: 1px solid rgba(202,209,180,0.4);
  border-radius: 999px;
  transition: border-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  background: none;
}
.rcf-dark-header .cta-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
@media (min-width: 1024px) { .rcf-dark-header .cta-btn { display: inline-flex; } }

/* Hamburger */
.rcf-dark-header .hamburger {
  display: inline-block; padding: 4px;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 1024px) { .rcf-dark-header .hamburger { display: none; } }
.rcf-dark-header .hamburger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--c-secondary); margin: 6px 0;
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.rcf-dark-header .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.rcf-dark-header .hamburger.open span:nth-child(2) { opacity: 0; }
.rcf-dark-header .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.rcf-dark-header .mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  padding: 8px 24px 32px;
  background: rgba(10,13,12,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(202,209,180,0.10);
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.rcf-dark-header .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
@media (min-width: 1024px) { .rcf-dark-header .mobile-menu { display: none; } }
.rcf-dark-header .mobile-menu ul {
  display: flex; flex-direction: column; gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.rcf-dark-header .mobile-menu a {
  display: block; padding: 6px 0;
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--c-secondary);
  transition: color 0.3s ease;
  text-decoration: none;
}
.rcf-dark-header .mobile-menu a:hover { color: var(--c-accent); }
.rcf-dark-header .mobile-menu .cta-mobile {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; margin-top: 12px;
  font-size: 11px; letter-spacing: 0.28em;
  border: 1px solid rgba(202,209,180,0.4);
  border-radius: 999px;
}

/* Hairline accent */
.rcf-hero-hairline {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(202,209,180,0.12) 30%, rgba(12,192,223,0.15) 50%, rgba(202,209,180,0.12) 70%, transparent 100%);
}


/* ════════════════════════════════════════════════════════════
   CINEMATIC VIDEO HERO
   ════════════════════════════════════════════════════════════ */
.rcf-archive-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 380px;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcf-archive-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rcf-archive-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.08);
  will-change: opacity;
}
.rcf-archive-hero-video.active {
  opacity: 1;
}

/* Dark cinematic overlay — rich atmospheric darkness */
.rcf-archive-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 13, 12, 0.4);
}

/* Vignette — cinematic edge darkening */
.rcf-archive-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(10,13,12,0.6) 100%);
}

/* Bottom gradient — seamless blend into page */
.rcf-archive-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 3;
  background: linear-gradient(to top, #0a0d0c 0%, rgba(10,13,12,0.7) 45%, transparent 100%);
}

/* Hero content */
.rcf-archive-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.rcf-archive-hero-eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0cc0df;
  margin-bottom: 1rem;
}

.rcf-archive-hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #faf9f6;
  margin: 0 0 1rem;
}

.rcf-archive-hero-subtitle {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(202, 209, 180, 0.65);
  max-width: 520px;
  margin: 0 auto;
}


/* Hero fade-up animations */
.rcf-anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: rcfFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rcf-anim-fade-in {
  opacity: 0;
  animation: rcfFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes rcfFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rcfFadeIn {
  to { opacity: 1; }
}


/* ════════════════════════════════════════════════════════════
   ARCHIVE WRAPPER
   ════════════════════════════════════════════════════════════ */
.rcf-archive-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.4rem 2rem 4rem;
}

/* Decorative grain overlay */
.rcf-archive-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  opacity: 0.4;
  mix-blend-mode: overlay;
}


/* ════════════════════════════════════════════════════════════
   FILTER BAR — REFINED GLASSMORPHISM
   ════════════════════════════════════════════════════════════ */
.rcf-archive-filters {
  margin-bottom: 2.5rem;
}

/* Mobile toggle */
.rcf-filter-toggle-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: rgba(202,209,180,0.04);
  border: 1px solid rgba(202,209,180,0.08);
  border-radius: 12px;
  color: #cad1b4;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: border-color 0.3s ease;
}
.rcf-filter-toggle-btn:hover {
  border-color: rgba(12,192,223,0.2);
}
.rcf-filter-toggle-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rcf-filter-icon {
  width: 14px;
  height: 14px;
  color: #0cc0df;
}
.rcf-filter-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
  color: rgba(202,209,180,0.4);
}
.rcf-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  background: #0cc0df;
  color: #111;
  border-radius: 999px;
}

@media (max-width: 767px) {
  .rcf-filter-toggle-btn { display: flex; }
}

/* Glass form container */
.rcf-filter-glass {
  background: rgba(202,209,180,0.025);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(202,209,180,0.06);
  border-radius: 16px;
  overflow: hidden;
}

.rcf-filter-panel-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .rcf-filter-panel-inner {
    padding: 1.75rem 2rem;
    gap: 1.25rem;
  }
}

/* Dropdown grid */
.rcf-filter-dropdowns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 640px) {
  .rcf-filter-dropdowns { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .rcf-filter-dropdowns { grid-template-columns: repeat(4, 1fr); }
}

/* Filter group */
.rcf-filter-group { position: relative; }

.rcf-filter-label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(202,209,180,0.35);
  margin-bottom: 0.375rem;
}

/* Select inputs — refined compact */
.rcf-filter-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(10,13,12,0.5);
  border: 1px solid rgba(202,209,180,0.08);
  border-radius: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #cad1b4;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(202,209,180,0.35)' fill='none' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.rcf-filter-select option {
  background: #1a1d23;
  color: #cad1b4;
}
.rcf-filter-select:hover {
  border-color: rgba(12,192,223,0.2);
}
.rcf-filter-select:focus {
  border-color: rgba(12,192,223,0.35);
  box-shadow: 0 0 0 2px rgba(12,192,223,0.08);
  outline: none;
}

/* Toggle pills — refined premium */
.rcf-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rcf-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(202,209,180,0.08);
  background: rgba(202,209,180,0.025);
  color: rgba(202,209,180,0.5);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.rcf-toggle-pill:hover {
  border-color: rgba(12,192,223,0.2);
  color: rgba(202,209,180,0.75);
}
.rcf-toggle-pill.active,
.rcf-toggle-pill:has(input:checked) {
  background: rgba(12,192,223,0.1);
  border-color: rgba(12,192,223,0.3);
  color: #0cc0df;
}
.rcf-pill-icon {
  width: 12px;
  height: 12px;
}

/* Actions row */
.rcf-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(202,209,180,0.06);
}
@media (min-width: 640px) {
  .rcf-filter-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rcf-filter-actions-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rcf-btn-apply {
  padding: 0.4375rem 1.25rem;
  background: #0cc0df;
  color: #111;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rcf-btn-apply:hover {
  background: #0ad0ef;
  box-shadow: 0 0 18px rgba(12,192,223,0.2);
}

.rcf-btn-clear {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(202,209,180,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}
.rcf-btn-clear:hover {
  color: #cad1b4;
}

.rcf-filter-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rcf-filter-sort-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(202,209,180,0.3);
}
.rcf-filter-sort-select {
  width: auto;
  padding: 0.375rem 2rem 0.375rem 0.625rem;
  font-size: 0.75rem;
}

/* Active filter tags */
.rcf-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
body.rcf-archive .rcf-filter-tag {
  background: rgba(12,192,223,0.08);
  border: 1px solid rgba(12,192,223,0.2);
  color: #0cc0df;
  border-radius: 999px;
  font-size: 0.6875rem;
  padding: 0.25rem 0.625rem;
}

/* Result count */
.rcf-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.rcf-result-meta p,
body.rcf-archive #rcf-result-count {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(202,209,180,0.35);
}


/* ════════════════════════════════════════════════════════════
   LOADING OVERLAY
   ════════════════════════════════════════════════════════════ */
body.rcf-archive #rcf-loading {
  background: rgba(10,13,12,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.3s ease;
}
.rcf-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.rcf-loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 1.5px solid rgba(202,209,180,0.15);
  border-top-color: #0cc0df;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.rcf-loading-inner span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: rgba(202,209,180,0.45);
}


/* ════════════════════════════════════════════════════════════
   CENTER CARDS — DARK GLASS
   ════════════════════════════════════════════════════════════ */
body.rcf-archive .rcf-center-card {
  background: rgba(202,209,180,0.03);
  border-color: rgba(202,209,180,0.06);
  border-radius: 12px;
  transition: border-color 0.5s cubic-bezier(0.22,1,0.36,1),
              transform 0.5s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.5s cubic-bezier(0.22,1,0.36,1);
  opacity: 0;
  transform: translateY(16px);
  animation: rcfCardReveal 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
body.rcf-archive .rcf-center-card:nth-child(2) { animation-delay: 0.08s; }
body.rcf-archive .rcf-center-card:nth-child(3) { animation-delay: 0.16s; }
body.rcf-archive .rcf-center-card:nth-child(4) { animation-delay: 0.24s; }
body.rcf-archive .rcf-center-card:nth-child(5) { animation-delay: 0.32s; }
body.rcf-archive .rcf-center-card:nth-child(6) { animation-delay: 0.40s; }

@keyframes rcfCardReveal {
  to { opacity: 1; transform: translateY(0); }
}

body.rcf-archive .rcf-center-card:hover {
  border-color: rgba(12,192,223,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 1px rgba(12,192,223,0.05);
}

/* Card image */
body.rcf-archive .rcf-center-card .aspect-\[16\/10\] {
  background: rgba(10,13,12,0.5);
}
body.rcf-archive .rcf-center-card img {
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
body.rcf-archive .rcf-center-card:hover img {
  transform: scale(1.04);
}

/* Card badges */
body.rcf-archive .rcf-center-card .bg-cyan\/90 {
  background: rgba(12,192,223,0.85);
}
body.rcf-archive .rcf-center-card .bg-white\/90 {
  background: rgba(10,13,12,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #cad1b4;
  border: 1px solid rgba(202,209,180,0.1);
}
body.rcf-archive .rcf-center-card .bg-charcoal\/70 {
  background: rgba(10,13,12,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(202,209,180,0.1);
}

/* Card content */
body.rcf-archive .rcf-center-card .p-5,
body.rcf-archive .rcf-center-card .md\:p-6 {
  background: transparent;
}
@media (min-width: 768px) {
  body.rcf-archive .rcf-center-card .p-5,
  body.rcf-archive .rcf-center-card .md\:p-6 {
    padding: 1.75rem;
  }
}

/* Location */
body.rcf-archive .rcf-center-card .text-forest { color: #0cc0df; }

/* Title */
body.rcf-archive .rcf-center-card h3 {
  color: #cad1b4;
  transition: color 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.rcf-archive .rcf-center-card:hover h3 { color: #0cc0df; }

/* Type tags */
body.rcf-archive .rcf-center-card .bg-sage\/15 {
  background: rgba(202,209,180,0.05);
  color: rgba(202,209,180,0.6);
}

/* Short description */
body.rcf-archive .rcf-center-card .text-charcoal\/55 { color: rgba(202,209,180,0.5); }

/* Amenity icons */
body.rcf-archive .rcf-center-card .text-charcoal\/30 { color: rgba(202,209,180,0.25); }
body.rcf-archive .rcf-center-card .text-forest\/50 { color: rgba(12,192,223,0.4); }
body.rcf-archive .rcf-center-card .text-charcoal\/35 { color: rgba(202,209,180,0.3); }

/* CTA bar */
body.rcf-archive .rcf-center-card .border-sage\/15 { border-color: rgba(202,209,180,0.06); }
body.rcf-archive .rcf-center-card .bg-forest\/5 {
  background: rgba(12,192,223,0.05);
  color: #0cc0df;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.rcf-archive .rcf-center-card:hover .bg-forest\/5,
body.rcf-archive .rcf-center-card .group-hover\:bg-forest:hover {
  background: #0cc0df;
  color: #111;
}
body.rcf-archive .rcf-center-card:hover .bg-forest\/5 {
  box-shadow: inset 0 0 20px rgba(12,192,223,0.08);
}


/* ════════════════════════════════════════════════════════════
   COUNTRY SECTIONS — EDITORIAL
   ════════════════════════════════════════════════════════════ */
.rcf-country-section {
  margin-bottom: 4rem;
}
.rcf-country-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.rcf-country-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #cad1b4;
}
.rcf-country-count {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: rgba(202,209,180,0.35);
  margin-top: 0.25rem;
}

/* Carousel arrows */
.rcf-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rcf-carousel-prev,
.rcf-carousel-next {
  padding: 0.5rem;
  border-radius: 50%;
  border: 1px solid rgba(202,209,180,0.12);
  color: rgba(202,209,180,0.35);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rcf-carousel-prev:hover,
.rcf-carousel-next:hover {
  border-color: rgba(12,192,223,0.25);
  color: #0cc0df;
}
.rcf-carousel-prev:disabled,
.rcf-carousel-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* View all link */
.rcf-country-viewall {
  margin-top: 1rem;
  text-align: right;
}
.rcf-viewall-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0cc0df;
  text-decoration: none;
  transition: color 0.3s ease;
}
.rcf-viewall-link:hover {
  color: #cad1b4;
}

/* Carousel scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }


/* ════════════════════════════════════════════════════════════
   PAGINATION — DARK
   ════════════════════════════════════════════════════════════ */
body.rcf-archive .nav-links .page-numbers {
  background: rgba(202,209,180,0.03);
  border-color: rgba(202,209,180,0.08);
  color: rgba(202,209,180,0.5);
}
body.rcf-archive .nav-links .page-numbers:hover {
  border-color: rgba(12,192,223,0.25);
  color: #0cc0df;
}
body.rcf-archive .nav-links .page-numbers.current {
  background: #0cc0df;
  border-color: #0cc0df;
  color: #111;
}
body.rcf-archive .nav-links .prev,
body.rcf-archive .nav-links .next {
  border: none;
  color: #0cc0df;
}
body.rcf-archive .nav-links .prev:hover,
body.rcf-archive .nav-links .next:hover {
  color: #cad1b4;
}


/* ════════════════════════════════════════════════════════════
   FOOTER OVERRIDE — DARK FOOTER FOR ARCHIVE
   ════════════════════════════════════════════════════════════ */
body.rcf-archive #colophon {
  background: linear-gradient(180deg, rgba(10,13,12,0.95) 0%, #0a0d0c 100%);
  border-top: 1px solid rgba(202,209,180,0.06);
  color: rgba(202,209,180,0.7);
}
body.rcf-archive #colophon a { color: rgba(202,209,180,0.85); }
body.rcf-archive #colophon a:hover { color: #0cc0df; }
body.rcf-archive #colophon h3,
body.rcf-archive #colophon h4 { color: rgba(202,209,180,0.5); }

/* Empty state */
body.rcf-archive .text-charcoal {
  color: #cad1b4;
  font-family: "Cormorant Garamond", Georgia, serif;
}


/* ════════════════════════════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════════════════════════════ */
body.rcf-archive::-webkit-scrollbar { width: 5px; }
body.rcf-archive::-webkit-scrollbar-track { background: #0a0d0c; }
body.rcf-archive::-webkit-scrollbar-thumb {
  background: rgba(202,209,180,0.12);
  border-radius: 3px;
}
body.rcf-archive::-webkit-scrollbar-thumb:hover {
  background: rgba(202,209,180,0.22);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* Mobile */
@media (max-width: 767px) {
  .rcf-archive-hero {
    height: 45vh;
    min-height: 300px;
  }
  .rcf-archive-hero-content {
    padding: 0 1.5rem;
  }
  .rcf-archive-hero-title {
    font-size: 2.25rem;
  }
  .rcf-archive-hero-subtitle {
    font-size: 0.8125rem;
  }
  .rcf-archive-wrapper {
    padding: 0.75rem 1.25rem 3rem;
  }

  .rcf-filter-panel-inner {
    padding: 1.25rem;
  }

  .rcf-toggle-pill {
    font-size: 0.625rem;
    padding: 0.3125rem 0.625rem;
  }

  .rcf-country-title { font-size: 1.5rem; }
  .rcf-country-section { margin-bottom: 3rem; }

  /* Carousel — full bleed */
  .rcf-carousel {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .rcf-carousel-slide { width: 82vw; }

  body.rcf-archive .nav-links .page-numbers {
    min-width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8125rem;
  }

  /* Card aspect on mobile */
  body.rcf-archive .rcf-center-card .aspect-\[16\/10\] {
    aspect-ratio: 16/9;
  }
  body.rcf-archive .rcf-center-card .p-5 {
    padding: 1.25rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .rcf-archive-hero-title { font-size: 2.75rem; }
  .rcf-archive-hero { height: 50vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.rcf-archive .rcf-center-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .rcf-anim-fade-up,
  .rcf-anim-fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .rcf-archive-hero-video {
    transition-duration: 0.01ms !important;
  }
}


/* ════════════════════════════════════════════════════════════
   DARK FOOTER — Shared styles (from landing.css)
   Needed when archive uses the rcf-dark-footer markup.
   ════════════════════════════════════════════════════════════ */
body.rcf-archive {
  --c-primary: #628c80;
  --c-secondary: #cad1b4;
  --c-accent: #0cc0df;
  --font-display: 'Cormorant Garamond', Georgia, serif;
}

body.rcf-archive .rcf-dark-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(98,140,128,0.18) 0%, rgba(17,17,17,0.95) 100%),
    radial-gradient(ellipse at top left, rgba(98,140,128,0.25), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(12,192,223,0.06), transparent 60%);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-top: 1px solid rgba(202,209,180,0.10);
}

body.rcf-archive .rcf-footer-blob {
  position: absolute; border-radius: 999px;
  pointer-events: none; filter: blur(40px);
}
body.rcf-archive .rcf-footer-blob.tl {
  top: -128px; left: -128px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(98,140,128,0.35), transparent 70%);
}
body.rcf-archive .rcf-footer-blob.br {
  bottom: -160px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(12,192,223,0.08), transparent 70%);
  filter: blur(50px);
}

body.rcf-archive .rcf-footer-inner {
  position: relative;
  padding-top: 80px;
  padding-bottom: 40px;
}
body.rcf-archive .rcf-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}
@media (min-width: 1024px) {
  body.rcf-archive .rcf-footer-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

body.rcf-archive .rcf-footer-brand {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
body.rcf-archive .rcf-footer-brand img { height: 64px; width: auto; }
body.rcf-archive .rcf-footer-brand span {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--c-secondary);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
body.rcf-archive .rcf-footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.25;
  color: rgba(202,209,180,0.9);
  max-width: 28rem;
}
@media (min-width: 768px) { body.rcf-archive .rcf-footer-tagline { font-size: 28px; } }

body.rcf-archive .rcf-socials { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
body.rcf-archive .rcf-social-icon {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(202,209,180,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-secondary);
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}
body.rcf-archive .rcf-social-icon:hover {
  color: var(--c-accent);
  border-color: rgba(12,192,223,0.5);
  transform: translateY(-2px);
}

body.rcf-archive .rcf-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (min-width: 768px) { body.rcf-archive .rcf-footer-cols { grid-template-columns: 1fr 1fr 1fr; } }

body.rcf-archive .rcf-footer-cols h4 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(202,209,180,0.55);
  margin: 0 0 20px;
  font-weight: 400;
}
body.rcf-archive .rcf-footer-cols ul { list-style: none; margin: 0; padding: 0; }
body.rcf-archive .rcf-footer-cols ul li { margin-bottom: 10px; }

body.rcf-archive .rcf-footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(202,209,180,0.85);
  font-size: 14px;
  line-height: 1.5;
  list-style: none;
}
body.rcf-archive .rcf-footer-contact svg { margin-top: 4px; flex-shrink: 0; color: var(--c-accent); }

body.rcf-archive .rcf-footer-link {
  display: inline-block;
  color: rgba(202,209,180,0.85);
  font-size: 14px;
  transition: color 0.3s ease, padding-left 0.3s ease;
  text-decoration: none;
}
body.rcf-archive .rcf-footer-link:hover { color: var(--c-accent); padding-left: 6px; }

body.rcf-archive .rcf-newsletter-col { grid-column: span 2; }
@media (min-width: 768px) { body.rcf-archive .rcf-newsletter-col { grid-column: auto; } }
body.rcf-archive .rcf-newsletter-col p {
  color: rgba(202,209,180,0.75);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 16px;
}
body.rcf-archive .rcf-newsletter-form {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(202,209,180,0.25);
  transition: border-color 0.3s ease;
}
body.rcf-archive .rcf-newsletter-form:focus-within { border-bottom-color: var(--c-accent); }
body.rcf-archive .rcf-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  padding: 8px 0;
  color: var(--c-secondary);
  font-size: 14px;
  font-family: inherit;
}
body.rcf-archive .rcf-newsletter-form input::placeholder { color: rgba(202,209,180,0.4); }
body.rcf-archive .rcf-newsletter-form button {
  padding: 6px;
  color: var(--c-secondary);
  transition: color 0.3s ease;
  background: none; border: none; cursor: pointer;
}
body.rcf-archive .rcf-newsletter-form button:hover { color: var(--c-accent); }

body.rcf-archive .rcf-hairline {
  width: 100%;
  height: 1px;
  background: rgba(202,209,180,0.10);
}

body.rcf-archive .rcf-footer-bottom {
  padding-top: 28px;
  display: flex; flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(202,209,180,0.55);
}
@media (min-width: 768px) {
  body.rcf-archive .rcf-footer-bottom { flex-direction: row; align-items: center; }
}
body.rcf-archive .rcf-footer-bottom-links {
  display: flex; align-items: center; gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
body.rcf-archive .rcf-footer-bottom-links a {
  transition: color 0.3s ease;
  text-decoration: none;
  color: inherit;
}
body.rcf-archive .rcf-footer-bottom-links a:hover { color: var(--c-accent); }
