:root {
  --dk: #07121e;
  --dk2: #0c1d2e;
  --dk3: #0f2236;
  --lt: #f4f8fb;
  --lt2: #ffffff;
  --lt-text: #0c1e2e;
  --lt-text2: #253e50;
  --lt-text3: #5a7a8a;
  --dk-text: #e8f0f8;
  --dk-text2: rgba(232, 240, 248, 0.62);
  --dk-text3: rgba(232, 240, 248, 0.35);
  --teal: #1a9bb5;
  --teal2: #7dd3e8;
  --teal-dk: #0e6b8c;
  --border-dk: rgba(255, 255, 255, 0.07);
  --border-lt: rgba(0, 0, 0, 0.08);
  --shadow-lt: 0 2px 12px rgba(0, 0, 0, 0.07);
}
/* ══ SCROLL PROGRESS ══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.1);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal2));
  width: 0%;
  transition: width 0.2s linear;
}
/* ══ HERO ══ */
.hero {
  padding-top: 8rem !important;
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dk);
  overflow: hidden;
  padding: 7rem 2.5rem 5rem;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 65% 70% at 10% 50%,
      rgba(26, 155, 181, 0.1) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 45% 60% at 90% 30%,
      rgba(26, 155, 181, 0.06) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 80% 50% at 50% 100%,
      rgba(7, 18, 30, 0.95) 0%,
      transparent 55%
    );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(125, 211, 232, 0.7);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--teal2);
  opacity: 0.6;
}
.hero-title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 200;
  line-height: 0.88;
  letter-spacing: -4px;
  color: #fff;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s ease 0.25s both;
}
.hero-title em {
  font-style: italic;
  color: var(--teal2);
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: rgba(232, 240, 248, 0.62);
  max-width: 520px;
  line-height: 1.85;
  margin-bottom: 3rem;
  animation: fadeUp 0.9s ease 0.4s both;
}
.hero-manifesto {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
  animation: fadeUp 0.9s ease 0.55s both;
}
.hero-m-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(232, 240, 248, 0.38);
}
.hero-m-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ══ WAVES ══ */
.wave {
  display: block;
  width: 100%;
  line-height: 0;
}

/* ══ SEARCH BAR ══ */
.search-bar {
  background: rgba(12, 29, 46, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-dk);
  padding: 1.1rem 0;
  position: sticky;
  top: 64px;
  z-index: 400;
}
.search-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search-wrap {
  position: relative;
  flex: 1;
  max-width: 480px;
}
.search-wrap svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(232, 240, 248, 0.3);
}
.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.7rem 1rem 0.7rem 2.5rem;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--dk-text);
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder {
  color: rgba(232, 240, 248, 0.3);
}
.search-input:focus {
  border-color: rgba(26, 155, 181, 0.5);
}
.search-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--dk-text3);
  white-space: nowrap;
  margin-left: auto;
}

/* ══ MAIN CONTENT ══ */
.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2.5rem 7rem;
}

/* ══ SECTION LABELS ══ */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
  display: block;
}
.section-heading {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--dk-text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.2px;
}
.section-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--dk-text3);
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

/* ══ FEATURED MOSAIC ══ */
.featured-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.fc-hero {
  grid-column: span 8;
}
.fc-tall {
  grid-column: span 4;
  grid-row: span 2;
}
.fc-mid {
  grid-column: span 4;
}
.fc-third {
  grid-column: span 4;
}
.fc-wide {
  grid-column: span 6;
}

.f-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: var(--dk2);
  border: 1px solid var(--border-dk);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}
.f-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(26, 155, 181, 0.35);
}
.f-card:hover .f-img {
  transform: scale(1.06);
}
.f-card:hover .f-explore {
  opacity: 1;
  transform: translateY(0);
}
.f-img-wrap {
  overflow: hidden;
}
.f-img {
  width: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.fc-hero .f-img {
  height: 370px;
}
.fc-tall .f-img {
  height: 100%;
  min-height: 630px;
}
.fc-mid .f-img {
  height: 270px;
}
.fc-third .f-img {
  height: 255px;
}
.fc-wide .f-img {
  height: 295px;
}
.f-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 18, 30, 0.94) 0%,
    rgba(7, 18, 30, 0.18) 55%,
    transparent 100%
  );
  transition: background 0.3s ease;
}
.f-card:hover .f-overlay {
  background: linear-gradient(
    to top,
    rgba(7, 18, 30, 0.97) 0%,
    rgba(7, 18, 30, 0.3) 55%,
    transparent 100%
  );
}
.f-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
}
.f-badge {
  display: inline-block;
  background: rgba(26, 155, 181, 0.8);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.65rem;
  backdrop-filter: blur(8px);
}
.f-ocean {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: 0.3rem;
  opacity: 0.85;
}
.f-name {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}
.fc-hero .f-name {
  font-size: 1.9rem;
}
.fc-tall .f-name {
  font-size: 1.55rem;
}
.fc-mid .f-name {
  font-size: 1.25rem;
}
.fc-third .f-name {
  font-size: 1.15rem;
}
.fc-wide .f-name {
  font-size: 1.35rem;
}
.f-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(232, 240, 248, 0.65);
  line-height: 1.65;
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fc-hero .f-desc {
  font-size: 14px;
  -webkit-line-clamp: 3;
}
.fc-tall .f-desc {
  -webkit-line-clamp: 4;
}
.f-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.f-explore svg {
  width: 12px;
  height: 12px;
}

/* ══ DIVIDER ══ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 5rem 0 3.5rem;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-dk);
}
.section-divider span {
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--dk-text3);
  white-space: nowrap;
}

/* ══ ALL GUIDES GRID ══ */
.all-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.all-count {
  font-size: 13px;
  color: var(--dk-text3);
}
.compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.c-card {
  background: var(--dk2);
  border: 1px solid var(--border-dk);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  text-decoration: none;
  display: block;
}
.c-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 155, 181, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.c-card:hover .c-img {
  transform: scale(1.06);
}
.c-img-wrap {
  overflow: hidden;
  position: relative;
  height: 105px;
}
.c-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.c-ocean-tag {
  position: absolute;
  bottom: 0.4rem;
  left: 0.4rem;
  background: rgba(7, 18, 30, 0.85);
  color: var(--teal2);
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.c-body {
  padding: 0.8rem 0.9rem;
}
.c-location {
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}
.c-name {
  font-family: 'Crimson Pro', serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dk-text);
  line-height: 1.3;
  margin-bottom: 0.55rem;
}
.c-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-dk);
  color: var(--dk-text3);
  padding: 0.35rem;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.c-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.c-card.hidden {
  display: none;
}

/* ══ REVEAL ══ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ══ RESPONSIVE ══ */
@media (max-width: 1200px) {
  .compact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fc-hero {
    grid-column: span 7;
  }
  .fc-tall {
    grid-column: span 5;
  }
  .fc-mid {
    grid-column: span 5;
  }
}
@media (max-width: 900px) {
  .featured-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .fc-hero,
  .fc-tall,
  .fc-mid,
  .fc-third,
  .fc-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .fc-tall .f-img {
    min-height: 270px;
  }
  .compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 5.5rem 1.25rem 4rem;
  }
  .search-inner {
    padding: 0 1.25rem;
  }
  .main {
    padding: 3.5rem 1.25rem 5rem;
  }
  .featured-mosaic {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .site-footer {
    padding: 2rem 1.25rem;
  }
  .section-divider {
    margin: 3.5rem 0 2.5rem;
  }
}
@media (max-width: 480px) {
  .compact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
