/* ============================================================
   LANA COVE — Premium Design System
   Life by the Shore
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  /* Colors */
  --gold:        #C4A265;
  --gold-light:  #D4B87A;
  --gold-dark:   #A8884C;
  --pink:        #F7B8CE;
  --pink-light:  #FFD6E5;
  --sky:         #7EC8E3;
  --sky-light:   #B8E8F8;
  --cream:       #F8FBFF;
  --sand:        #E8F4FD;
  --sand-dark:   #FDF0F5;
  --charcoal:    #1E3A5F;
  --charcoal-2:  #162D4A;
  --charcoal-3:  #1A3357;
  --gray:        #6B8EAD;
  --gray-light:  #A8C8DC;
  --white:       #FFFFFF;
  --black:       #0D1F35;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Montserrat', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs:   0.375rem;
  --space-sm:   0.75rem;
  --space-md:   1.25rem;
  --space-lg:   2rem;
  --space-xl:   3.5rem;
  --space-2xl:  6rem;
  --space-3xl:  9rem;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.18);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.26);
  --shadow-gold: 0 8px 32px rgba(196,162,101,0.25);
  --shadow-dark: 0 12px 40px rgba(0,0,0,0.45);

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:     0.15s var(--ease);
  --t-med:      0.3s var(--ease);
  --t-slow:     0.5s var(--ease-out);

  /* Layout */
  --max-w:      1400px;
  --max-w-text: 760px;
  --nav-h:      72px;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Reading Progress Bar ─────────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;
  height: var(--nav-h);
  border-bottom: 2px solid var(--sky);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  transition: color var(--t-med);
}
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--gray-light);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-logo:hover .nav-logo-text { color: var(--gold-light); }

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--gold);
  background: rgba(196,162,101,0.08);
}

/* Dropdown arrow */
.nav-links > li > a .chevron {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.nav-links > li:hover > a .chevron { transform: rotate(225deg) translateY(-2px); }

/* Dropdown Menu */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #ffffff;
  border: 1px solid var(--sky);
  min-width: 200px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 2px solid var(--gold);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med);
  box-shadow: var(--shadow-xl);
  z-index: 600;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--t-fast), padding-left var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  color: var(--gold);
  padding-left: 1.75rem;
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  border-radius: 50%;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-search-btn:hover { color: var(--gold); background: rgba(196,162,101,0.1); }
.nav-search-btn svg { width: 18px; height: 18px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-fast), background var(--t-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger.open span { background: var(--gold); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 490;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  padding: 1.5rem 1.75rem 3rem;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-links { list-style: none; }
.mobile-drawer-links > li {
  border-bottom: 1px solid rgba(30,58,95,0.15);
}
.mobile-drawer-links > li > a {
  display: block;
  padding: 1rem 0;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 500;
  transition: color var(--t-fast);
}
.mobile-drawer-links > li > a:hover { color: var(--gold); }
.mobile-sub-links { padding: 0 0 0.75rem 1rem; }
.mobile-sub-links a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--t-fast);
}
.mobile-sub-links a:hover { color: var(--pink); }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sky-light);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(10,10,10,0.7) 0%,
      rgba(30,20,10,0.5) 40%,
      rgba(50,30,20,0.3) 100%
    );
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s var(--ease-out);
}
.hero:hover .hero-bg-image { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14,11,8,0.88) 0%,
    rgba(14,11,8,0.5) 40%,
    rgba(14,11,8,0.15) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(2rem, 8vh, 5rem) clamp(1rem, 5vw, 3rem);
  padding-top: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.5px;
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subline {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: rgba(253,251,248,0.75);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: clamp(1rem, 5vw, 3rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.5;
}
.hero-scroll span {
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sand);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.4); opacity: 0.2; }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-med);
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(196,162,101,0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--sand-dark);
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--gold-dark); }
.btn-ghost::after {
  content: '';
  display: block;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width var(--t-med);
}
.btn-ghost:hover::after { width: 100%; }

.btn-sm {
  font-size: 0.6rem;
  padding: 0.6rem 1.25rem;
  letter-spacing: 1.5px;
}
.btn-lg {
  font-size: 0.75rem;
  padding: 1.1rem 2.25rem;
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════════════ */
.section {
  padding-block: var(--space-2xl);
}
.section-sm { padding-block: var(--space-xl); }
.section-lg { padding-block: var(--space-3xl); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-header-left { text-align: left; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  min-width: 20px;
}
.section-header-left .section-eyebrow::before { display: none; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--charcoal);
  letter-spacing: -0.3px;
}
.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 540px;
  margin: 0.9rem auto 0;
  line-height: 1.7;
}
.section-header-left .section-subtitle { margin-left: 0; }

/* ══════════════════════════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cat-showcase {
  background: linear-gradient(135deg, #D4EBF8 0%, #FFD6E5 100%);
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  isolation: isolate;
}

.cat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  z-index: -2;
}
.cat-card:hover .cat-card-img { transform: scale(1.08); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity var(--t-med);
}

/* Each category has a theme gradient */
.cat-travel .cat-card-overlay {
  background: linear-gradient(165deg, rgba(157,207,222,0.45) 0%, rgba(14,30,50,0.85) 65%);
}
.cat-recipes .cat-card-overlay {
  background: linear-gradient(165deg, rgba(196,162,101,0.35) 0%, rgba(40,20,10,0.88) 65%);
}
.cat-fashion .cat-card-overlay {
  background: linear-gradient(165deg, rgba(228,161,188,0.4) 0%, rgba(45,15,35,0.88) 65%);
}
.cat-wellness .cat-card-overlay {
  background: linear-gradient(165deg, rgba(180,220,180,0.35) 0%, rgba(15,30,15,0.88) 65%);
}

.cat-card:hover .cat-card-overlay { opacity: 0.85; }

.cat-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem 1.5rem;
}

.cat-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  transition: background var(--t-med);
}
.cat-card:hover .cat-card-icon { background: rgba(196,162,101,0.25); }

.cat-card-label {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cat-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.cat-card-count {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cat-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t-med), transform var(--t-med), background var(--t-med);
}
.cat-card:hover .cat-card-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--gold);
}
.cat-card-arrow svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════════
   POST CARDS / GRID
═══════════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.posts-grid-featured {
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
}
.posts-grid-featured .post-card:first-child {
  grid-row: span 2;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.post-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.posts-grid-featured .post-card:first-child .post-card-img-wrap {
  aspect-ratio: unset;
  height: 100%;
  min-height: 340px;
}
.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.post-card:hover .post-card-img { transform: scale(1.06); }

.post-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.cat-tag-travel { background: rgba(126,200,227,0.85); color: #0D2D4A; }
.cat-tag-recipes { background: rgba(196,162,101,0.85); color: #3D2400; }
.cat-tag-fashion { background: rgba(247,184,206,0.85); color: #4A0030; }
.cat-tag-wellness { background: rgba(180,220,180,0.85); color: #0F3015; }
.cat-tag-lifestyle { background: rgba(240,230,214,0.9); color: var(--charcoal); }

.post-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  color: inherit;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.post-card-meta .dot {
  width: 3px;
  height: 3px;
  background: currentColor;
  opacity: 0.5;
  border-radius: 50%;
}

.post-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
  transition: color var(--t-fast);
}
.post-card:hover .post-card-title { color: var(--gold-dark); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: inherit;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
  margin-top: auto;
}

.post-card-read-more {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.post-card:hover .post-card-read-more { gap: 9px; }
.post-card-read-more svg { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════════════
   FEATURED ARTICLE (Large horizontal)
═══════════════════════════════════════════════════════════ */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--t-med);
}
.featured-article:hover { box-shadow: var(--shadow-lg); }

.featured-article-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.featured-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.featured-article:hover .featured-article-img { transform: scale(1.04); }

.featured-article-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.featured-label::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}

.featured-article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.featured-article-excerpt {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════════════════════
   TOOLS SHOWCASE
═══════════════════════════════════════════════════════════ */
.tools-section {
  background: var(--sand);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--sand-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.tool-card:hover::before { transform: scaleX(1); }

.tool-card-icon {
  width: 52px;
  height: 52px;
  background: var(--sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: background var(--t-med);
}
.tool-card:hover .tool-card-icon { background: rgba(196,162,101,0.15); }

.tool-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
}

.tool-card-desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
}

.tool-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  transition: gap var(--t-fast);
  margin-top: auto;
}
.tool-card:hover .tool-card-link { gap: 10px; }
.tool-card-link svg { width: 12px; height: 12px; }

/* ══════════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════════ */
.newsletter-section {
  background: linear-gradient(135deg, #D4EBF8 0%, #FFD6E5 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247,184,206,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.newsletter-title em { font-style: italic; color: var(--gold-light); }

.newsletter-subtitle {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid rgba(196,162,101,0.3);
  transition: border-color var(--t-med);
}
.newsletter-form:focus-within { border-color: var(--gold); }

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--cream);
  font-size: 0.875rem;
  outline: none;
  min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }

.newsletter-form button {
  padding: 0.9rem 1.75rem;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  transition: background var(--t-fast);
  cursor: pointer;
  border: none;
}
.newsletter-form button:hover { background: var(--gold-light); }

.newsletter-note {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1rem;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #D4EBF8;
  color: var(--charcoal);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo-text { font-size: 1.3rem; }
.footer-brand .nav-logo-sub { color: var(--gray); }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(126,200,227,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 0.8rem;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.5px;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  transition: color var(--t-fast);
}
.footer-legal a:hover { color: var(--gray-light); }

/* ══════════════════════════════════════════════════════════
   BLOG / CATEGORY LISTING PAGE
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(196,162,101,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.05;
}
.page-hero-sub {
  font-size: 1rem;
  color: var(--gray-light);
  margin-top: 1rem;
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.65;
}

/* Filter Pills */
.filter-bar {
  padding: 1.5rem 0 2rem;
  margin-bottom: 0;
}
.filter-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  align-items: center;
}
.filter-pill {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--sand-dark);
  color: var(--gray);
  cursor: pointer;
  transition: all var(--t-fast);
  background: var(--white);
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

/* ══════════════════════════════════════════════════════════
   SINGLE POST / ARTICLE
═══════════════════════════════════════════════════════════ */
.article-hero {
  position: relative;
  min-height: clamp(380px, 55vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,11,8,0.92) 0%, rgba(14,11,8,0.3) 60%, transparent 100%);
  z-index: 1;
}
.article-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w-text);
  margin-inline: auto;
  padding: 0 clamp(1rem, 5vw, 3rem) clamp(2.5rem, 5vh, 4rem);
}
.article-hero-cat {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(196,162,101,0.85);
  color: var(--charcoal-2);
  margin-bottom: 1rem;
}
.article-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.article-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* Article Body */
.article-layout {
  display: grid;
  grid-template-columns: 1fr min(var(--max-w-text), 100%) 1fr;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.article-layout > * { grid-column: 2; }
.article-layout .full-bleed { grid-column: 1 / -1; }

.article-body {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  color: var(--charcoal);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.article-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}
.article-body p { margin-bottom: 1.5rem; }
.article-body a { color: var(--gold-dark); border-bottom: 1px solid rgba(196,162,101,0.3); transition: border-color var(--t-fast); }
.article-body a:hover { border-color: var(--gold-dark); }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--sand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.15em;
  color: var(--charcoal);
}
.article-body figure { margin: 2.5rem 0; }
.article-body figcaption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
  letter-spacing: 0.5px;
}

/* Article Sidebar (TOC) */
.article-toc {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.article-toc-title {
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.article-toc ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-toc ul a {
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: color var(--t-fast);
  display: block;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--sand-dark);
}
.article-toc ul a:hover { color: var(--gold-dark); }

/* ══════════════════════════════════════════════════════════
   ADSENSE SLOTS
═══════════════════════════════════════════════════════════ */
.ad-slot {
  text-align: center;
  padding: 1.5rem 0;
}
.ad-slot-banner {
  min-height: 90px;
  background: var(--sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   TOOL PAGES — Shared
═══════════════════════════════════════════════════════════ */
.tool-page-hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-light) 100%);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tool-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(196,162,101,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.tool-page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.tool-page-sub {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.65;
}

.tool-container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
}

/* Search / Filter Bar (Tools) */
.tool-search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.tool-search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color var(--t-fast);
  outline: none;
}
.tool-search-input:focus { border-color: var(--gold); }

.tool-select {
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 0.9rem;
  color: var(--charcoal);
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E857C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.tool-select:focus { border-color: var(--gold); }

/* Tool Cards Grid */
.tool-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* Item Card (Destination / Recipe / Packing Item) */
.item-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--sand);
  transition: all var(--t-med);
  cursor: pointer;
}
.item-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.item-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--sand);
}

.item-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.item-card-tag {
  display: inline-block;
  font-size: 0.58rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--gray);
  margin-bottom: 0.65rem;
}

.item-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.item-card-sub {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.item-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.item-pill {
  font-size: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--gray);
  letter-spacing: 0.5px;
}

/* Stats Row (inside tool cards) */
.item-stats {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sand);
  margin-top: 0.75rem;
}
.item-stat { display: flex; flex-direction: column; gap: 2px; }
.item-stat-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}
.item-stat-label {
  font-size: 0.58rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}

/* ── Tab System ───────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--sand-dark);
  margin-bottom: 2rem;
}
.tab-btn {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--charcoal); }
.tab-btn.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Step Wizard ─────────────────────────────────────────── */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.wizard-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand-dark);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--t-med);
}
.wizard-step.active .wizard-step-num { background: var(--gold); color: var(--charcoal); }
.wizard-step.done .wizard-step-num { background: var(--charcoal); color: white; }
.wizard-step-label {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
  transition: color var(--t-fast);
}
.wizard-step.active .wizard-step-label { color: var(--charcoal); }
.wizard-connector {
  flex: 1;
  height: 1px;
  background: var(--sand-dark);
  min-width: 2rem;
  margin: 0 0.5rem;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px) scale(0.97);
  transition: transform var(--t-slow);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-header {
  padding: 1.5rem 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--charcoal);
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--gray);
  transition: background var(--t-fast), color var(--t-fast);
  border: none;
  line-height: 1;
}
.modal-close:hover { background: var(--charcoal); color: white; }
.modal-body { padding: 1.5rem 1.75rem 2rem; }

/* ── Back to Top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--charcoal);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 400;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med), background var(--t-fast);
  cursor: pointer;
  border: 1.5px solid rgba(196,162,101,0.2);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); color: var(--charcoal); }
#back-to-top svg { width: 18px; height: 18px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
}
.breadcrumb a { color: var(--gray); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb .sep { color: var(--sand-dark); }
.breadcrumb .current { color: var(--charcoal); }

/* ── Tag Chips ───────────────────────────────────────────── */
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--sand);
  color: var(--gray);
  font-weight: 500;
  transition: all var(--t-fast);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.tag:hover {
  background: var(--cream);
  border-color: var(--gold-light);
  color: var(--gold-dark);
}
.tag.active {
  background: var(--gold);
  color: var(--charcoal);
}

/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(n+8) { opacity: 1; transform: none; transition-delay: 0.54s; }

/* ══════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════ */
.text-gold    { color: var(--gold); }
.text-pink    { color: var(--pink); }
.text-sky     { color: var(--sky); }
.text-gray    { color: var(--gray); }
.text-center  { text-align: center; }
.text-serif   { font-family: var(--font-serif); }

.bg-cream     { background: var(--cream); }
.bg-sand      { background: var(--sand); }
.bg-charcoal  { background: var(--charcoal); }
.bg-dark      { background: linear-gradient(135deg, #D4EBF8 0%, #FFD6E5 100%); color: var(--charcoal); }
.bg-white     { background: var(--white); }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* Large tablet */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid-featured { grid-template-columns: 1fr; }
  .posts-grid-featured .post-card:first-child { grid-row: span 1; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article-img-wrap { min-height: 320px; background-color: #D4EBF8; }
}

/* Tablet */
@media (max-width: 899px) {
  :root { --nav-h: 64px; }

  .nav-links { display: none; }
  .nav-cta .nav-search-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }

  .hero-headline { font-size: clamp(2.2rem, 7vw, 4rem); }

  .posts-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .cat-card { aspect-ratio: 2/3; }
  .tools-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .wizard-steps { gap: 0; }
  .wizard-step-label { display: none; }
  .wizard-connector { min-width: 1rem; }
}

/* Small mobile */
@media (max-width: 420px) {
  .categories-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 4/3; }
  .hero-headline { font-size: 2.1rem; }
}


/* ═══ ANIMATION FALLBACK — ensures content never stays invisible ═══ */
@keyframes reveal-fallback {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* If JS hasn't added .visible after 1.2s, CSS animates it in anyway */
.reveal:not(.visible) {
  animation: reveal-fallback 0.65s var(--ease-out) 1.2s both;
}
.reveal-left:not(.visible) {
  animation: reveal-fallback 0.65s var(--ease-out) 1.2s both;
}
.reveal-right:not(.visible) {
  animation: reveal-fallback 0.65s var(--ease-out) 1.2s both;
}
.stagger-children:not(.visible) > * {
  animation: reveal-fallback 0.5s var(--ease-out) 1.4s both;
}
/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}


/* Image fallback for broken/slow-loading images */
.card-img, .post-card-img, .article-img, .featured-article-img-wrap,
[class*="-img-wrap"], [class*="-img"] img {
  background-color: #D4EBF8;
}


/* Social links — improved hover and accessibility */
.footer-social a {
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.footer-social a:hover {
  opacity: 0.7;
  transform: translateY(-3px);
}
/* Article content images */
figure.article-image { margin: 2rem 0; border-radius: 12px; overflow: hidden; }
figure.article-image img { width: 100%; height: auto; display: block; border-radius: 12px; }
figure.article-image figcaption { text-align: center; font-size: 0.85rem; color: #888; padding: 0.5rem 0; font-style: italic; }
