/* ============================================================
   PREMIUM TRAVEL BLOG — blog.css
   A high-end travel journal experience
   Works for both article pages (flat naming) and index.html (BEM)
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Color Palette */
  --color-navy:        #1a1a2e;
  --color-navy-light:  #252541;
  --color-navy-dark:   #111122;
  --color-gold:        #c9a96e;
  --color-gold-light:  #dfc89a;
  --color-gold-dark:   #a8893d;
  --color-cream:       #faf8f5;
  --color-cream-dark:  #f0ede8;
  --color-teal:        #2d6a4f;
  --color-teal-light:  #40916c;
  --color-teal-dark:   #1b4332;
  --color-white:       #ffffff;
  --color-black:       #0a0a14;
  --color-text:        #2c2c3a;
  --color-text-light:  #6b6b7b;
  --color-text-muted:  #9a9aaa;
  --color-border:      #e8e6e1;
  --color-overlay:     rgba(26, 26, 46, 0.7);
  --color-overlay-light: rgba(26, 26, 46, 0.4);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Inter', 'Helvetica Neue', 'Arial', sans-serif;

  /* Font Sizes — fluid scale */
  --fs-xs:    clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --fs-sm:    clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --fs-base:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --fs-md:    clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-lg:    clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-xl:    clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-2xl:   clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  --fs-3xl:   clamp(2.5rem, 1.8rem + 2vw, 3.5rem);
  --fs-hero:  clamp(2.8rem, 2rem + 3vw, 5rem);

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Layout */
  --container-max:  1280px;
  --container-wide: 1440px;
  --container-narrow: 800px;
  --gutter:         clamp(1rem, 3vw, 2.5rem);

  /* Borders & Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(26, 26, 46, 0.06);
  --shadow-md:    0 4px 16px rgba(26, 26, 46, 0.08);
  --shadow-lg:    0 8px 32px rgba(26, 26, 46, 0.1);
  --shadow-xl:    0 16px 48px rgba(26, 26, 46, 0.12);
  --shadow-gold:  0 4px 20px rgba(201, 169, 110, 0.25);
  --shadow-hover: 0 12px 40px rgba(26, 26, 46, 0.15);

  /* Transitions */
  --transition-fast:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    1000;
  --z-toast:    1500;
}


/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--color-gold);
  color: var(--color-navy);
}


/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}


/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.text-gold { color: var(--color-gold); }
.text-navy { color: var(--color-navy); }
.text-teal { color: var(--color-teal); }
.text-muted { color: var(--color-text-muted); }

.label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.7;
}


/* ── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-header .label {
  display: block;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-light);
  max-width: 550px;
  margin: 0 auto;
}

.section-header::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--space-lg) auto 0;
}

.section-header--left {
  text-align: left;
}

.section-header--left::after {
  margin: var(--space-lg) 0 0;
}


/* ============================================================
   HEADER & NAVIGATION
   Works for both index.html (BEM) and article pages (flat)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  padding: var(--space-sm) 0;
  background: rgba(250, 248, 245, 0.92);
  border-bottom: 1px solid rgba(232, 230, 225, 0.5);
  box-shadow: var(--shadow-sm);
}

/* ---- Index.html navigation (BEM) ---- */
.site-header.scrolled .nav__logo {
  color: var(--color-navy);
}

.site-header.scrolled .nav__link {
  color: var(--color-text);
}

.site-header.scrolled .nav__link:hover,
.site-header.scrolled .nav__link.active {
  color: var(--color-gold);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.nav__logo span {
  color: var(--color-gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Hamburger Menu (Index) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: var(--z-modal);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
  transform-origin: center;
}

.site-header.scrolled .nav__hamburger span {
  background: var(--color-navy);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ---- Article pages navigation (flat naming) ---- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-logo svg {
  width: 36px;
  height: 36px;
}

.site-header.scrolled .site-logo {
  color: var(--color-navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links li a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--color-gold);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.site-header.scrolled .nav-links li a {
  color: var(--color-text);
}

.site-header.scrolled .nav-links li a:hover,
.site-header.scrolled .nav-links li a.active {
  color: var(--color-gold);
}

/* Hamburger Toggle (Article pages) */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--color-white);
  padding: var(--space-sm);
  z-index: var(--z-modal);
}

.site-header.scrolled .mobile-toggle {
  color: var(--color-navy);
}


/* ============================================================
   NAV OVERLAY (for mobile)
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-overlay);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ============================================================
   HERO CAROUSEL (index.html)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-navy-dark);
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero__slide.active {
  opacity: 1;
  z-index: 2;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero__slide.active img {
  transform: scale(1);
}

/* Hero overlay gradient */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.3) 0%,
    rgba(26, 26, 46, 0.1) 40%,
    rgba(26, 26, 46, 0.5) 80%,
    rgba(26, 26, 46, 0.8) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Hero Content */
.hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.3s;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  max-width: 700px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.5s;
}

.hero__title span {
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.7s;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  padding: var(--space-md) var(--space-xl);
  border: 1.5px solid var(--color-gold);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.9s;
}

.hero__cta:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: var(--shadow-gold);
}

.hero__cta svg {
  transition: transform var(--transition-fast);
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

/* Carousel Dots */
.hero__dots {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero__dot.active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 10px;
}

/* Hero Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: all var(--transition-base);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.hero__arrow--prev { left: var(--gutter); }
.hero__arrow--next { right: var(--gutter); }

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--gutter);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  margin-top: var(--space-sm);
}


/* ============================================================
   CATEGORY SECTIONS (Homepage)
   ============================================================ */
.category-section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.category-section:nth-child(even) {
  background: var(--color-white);
}

.category-section + .category-section {
  border-top: 1px solid var(--color-border);
}


/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  display: block;
}

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

/* Card image wrapper */
.article-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Card category tag */
.article-card__tag {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.article-card__tag--destinations {
  background: var(--color-teal);
  color: var(--color-white);
}

.article-card__tag--healing {
  background: var(--color-gold);
  color: var(--color-navy);
}

.article-card__tag--stories {
  background: var(--color-navy);
  color: var(--color-white);
}

.article-card__tag--photography {
  background: var(--color-teal-dark);
  color: var(--color-white);
}

/* Card body */
.article-card__body {
  padding: var(--space-lg);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-card__title {
  color: var(--color-gold-dark);
}

.article-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card footer / author */
.article-card__footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.article-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-cream-dark);
}

.article-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__author-info {
  flex: 1;
  min-width: 0;
}

.article-card__author-name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
}

.article-card__date {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}


/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */

/* Article hero banner */
.article-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}

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

/* Gradient overlay on article hero */
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.15) 0%,
    rgba(26, 26, 46, 0.65) 70%,
    rgba(26, 26, 46, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3xl) var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Also support BEM variant for index pages */
.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.2) 0%,
    rgba(26, 26, 46, 0.7) 100%
  );
}

.article-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3xl) var(--gutter);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

/* Article tag badge */
.article-tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

/* Also BEM variant */
.article-hero__tag {
  display: inline-block;
  padding: 4px 14px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

/* Article hero title */
.article-hero-overlay h1 {
  font-size: var(--fs-3xl);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.article-hero__title {
  font-size: var(--fs-3xl);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

/* Article hero subtitle */
.article-subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.article-hero__subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}


/* ---- Article content area ---- */
.article-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-3xl) var(--gutter);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--color-gold);
}




/* Author bar (article pages - flat naming) */
.article-author-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-2xl);
}

.article-author-bar img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-info .name {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.author-info .date {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Author bar (BEM variant for index-style pages) */
.author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.author-bar__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-bar__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--color-gold);
}

.author-bar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bar__name {
  font-weight: 600;
  color: var(--color-navy);
  font-size: var(--fs-sm);
}

.author-bar__meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.author-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}


/* Article body (generic rich content) */
.article-body {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-3xl) var(--gutter);
}

.article-body h2 {
  font-size: var(--fs-xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  color: var(--color-navy);
  position: relative;
  padding-left: var(--space-lg);
}

.article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  background: var(--color-gold);
  border-radius: 2px;
}

.article-body h3 {
  font-size: var(--fs-lg);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article-body p {
  font-size: var(--fs-md);
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.article-body blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
  border-left: 3px solid var(--color-gold);
  background: var(--color-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.6;
}

.article-body figure {
  margin: var(--space-2xl) 0;
}

.article-body figure img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.article-body figcaption {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  font-style: italic;
}


/* ---- Dimension sections within articles ---- */
.dimension-section {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-gold);
}

.dimension-section h3 {
  font-size: var(--fs-lg);
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dimension-section p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 0;
}

/* BEM variant */
.dimension-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.dimension-section__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--fs-lg);
  flex-shrink: 0;
}

.dimension-section__title {
  font-size: var(--fs-lg);
}

.dimension-section__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.dimension-section__images img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 200px;
  object-fit: cover;
}


/* ---- Image blocks within articles ---- */
.image-block {
  margin: var(--space-2xl) 0;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.image-caption {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-sm);
  font-style: italic;
  line-height: 1.6;
}


/* ---- Tips list with checkmarks ---- */
.tips-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

.tips-list li {
  padding: var(--space-md) 0 var(--space-md) var(--space-2xl);
  position: relative;
  line-height: 1.7;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: var(--fs-base);
  color: var(--color-text);
}

.tips-list li:last-child {
  border-bottom: none;
}

.tips-list li::before {
  content: '✓';
  position: absolute;
  left: var(--space-sm);
  top: var(--space-md);
  color: var(--color-teal);
  font-weight: 700;
  font-size: var(--fs-md);
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-navy) 0%, #16213e 50%, #0f3460 100%);
  color: var(--color-white);
}

.contact-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-md);
  color: var(--color-gold);
}

.contact-hero p {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--fs-md);
  opacity: 0.85;
  line-height: 1.8;
  color: var(--color-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  margin: var(--space-3xl) 0;
}

.contact-form-wrap h2,
.contact-info h2,
.about-section h2,
.newsletter-section h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-navy);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-cream);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.btn-submit {
  padding: var(--space-md) var(--space-2xl);
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-base);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Contact info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.info-card {
  padding: var(--space-xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
}

.info-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.info-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

.info-note {
  font-size: var(--fs-xs) !important;
  color: var(--color-text-muted) !important;
  margin-top: var(--space-xs);
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-link {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-navy);
  color: var(--color-white) !important;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-gold);
  color: var(--color-navy) !important;
}

/* About section */
.about-section {
  margin: var(--space-4xl) 0;
  padding: var(--space-3xl);
  background: var(--color-cream);
  border-radius: var(--radius-xl);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.about-text p {
  margin-bottom: var(--space-md);
  line-height: 1.9;
  color: var(--color-text);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.value-item {
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}

.value-item p {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Newsletter section */
.newsletter-section {
  margin: var(--space-4xl) 0;
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl);
  background: linear-gradient(135deg, var(--color-navy) 0%, #16213e 100%);
  border-radius: var(--radius-xl);
  color: var(--color-white);
}

.newsletter-inner h2 {
  color: var(--color-gold);
}

.newsletter-inner p {
  opacity: 0.85;
  line-height: 1.7;
  color: var(--color-white);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.newsletter-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-base);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn-submit {
  background: var(--color-gold);
  color: var(--color-navy);
}

.newsletter-form .btn-submit:hover {
  background: #e0c48a;
}

.newsletter-note {
  font-size: var(--fs-xs) !important;
  opacity: 0.5;
  margin-top: var(--space-sm);
}


/* ============================================================
   FOOTER
   Works for both index.html (BEM) and article/contact pages (flat)
   ============================================================ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-4xl) 0 var(--space-xl);
}

/* ---- Index.html footer (BEM) ---- */
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  max-width: 350px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__logo span {
  color: var(--color-gold);
}

.footer__desc {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer__nav {
  display: flex;
  gap: var(--space-3xl);
}

.footer__nav-column h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.footer__nav-column a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer__nav-column a:hover {
  color: var(--color-white);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a:hover {
  color: var(--color-gold);
}

/* ---- Article / Contact pages footer (flat naming) ---- */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--gutter);
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  margin-bottom: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-gold);
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: var(--fs-sm);
  opacity: 0.7;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: var(--space-4xl);
  margin-bottom: var(--space-2xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: var(--fs-md);
  margin-bottom: var(--space-xs);
}

.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--color-gold);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-gold-light);
}


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

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.slide-left {
  transform: translateX(-30px);
}

.animate-on-scroll.slide-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.slide-right {
  transform: translateX(30px);
}

.animate-on-scroll.slide-right.visible {
  transform: translateX(0);
}

.animate-on-scroll.scale {
  transform: scale(0.9);
}

.animate-on-scroll.scale.visible {
  transform: scale(1);
}

/* Staggered animations for grid children */
.articles-grid .article-card:nth-child(1) { transition-delay: 0.05s; }
.articles-grid .article-card:nth-child(2) { transition-delay: 0.1s; }
.articles-grid .article-card:nth-child(3) { transition-delay: 0.15s; }
.articles-grid .article-card:nth-child(4) { transition-delay: 0.2s; }
.articles-grid .article-card:nth-child(5) { transition-delay: 0.25s; }
.articles-grid .article-card:nth-child(6) { transition-delay: 0.3s; }
.articles-grid .article-card:nth-child(7) { transition-delay: 0.35s; }
.articles-grid .article-card:nth-child(8) { transition-delay: 0.4s; }


/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.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;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }


/* ============================================================
   RESPONSIVE — Tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .footer__top {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .footer__nav {
    gap: var(--space-2xl);
  }

  .hero__arrow {
    width: 40px;
    height: 40px;
  }
}


/* ============================================================
   RESPONSIVE — Mobile (768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  /* ---- Mobile Navigation (BEM / Index) ---- */
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-3xl) var(--space-2xl);
    background: var(--color-navy);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-overlay);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-sm) 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav__hamburger {
    display: flex;
  }

  /* ---- Mobile Navigation (Flat / Article pages) ---- */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-3xl) var(--space-2xl);
    background: var(--color-navy);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-overlay);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li a {
    font-size: var(--fs-md);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-sm) 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-toggle {
    display: block;
    color: var(--color-white);
  }

  /* Mobile Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-overlay);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Hero */
  .hero {
    min-height: 500px;
    max-height: 700px;
  }

  .hero__content {
    padding: var(--space-3xl) var(--gutter) var(--space-2xl);
  }

  .hero__title {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  }

  .hero__arrow {
    width: 36px;
    height: 36px;
  }

  .hero__scroll {
    display: none;
  }

  /* Mobile Grid */
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .category-section {
    padding: var(--space-3xl) 0;
  }

  /* Mobile Article Detail */
  .article-hero {
    height: 45vh;
    min-height: 300px;
  }

  .article-hero-overlay h1,
  .article-hero__title {
    font-size: var(--fs-2xl);
  }

  .article-author-bar {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .article-author-bar img {
    margin: 0 auto;
  }

  .author-bar {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .author-bar__left {
    flex-direction: column;
  }

  .dimension-section {
    padding: var(--space-lg);
  }

  .image-block img {
    max-height: 400px;
  }

  /* Mobile Footer */
  .footer__nav,
  .footer-links {
    flex-direction: column;
    gap: var(--space-2xl);
  }

  .footer__bottom,
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }

  /* Mobile Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .about-section {
    padding: var(--space-xl);
  }

  .contact-hero {
    padding: 4rem 1.5rem 3rem;
  }

  .contact-hero h1 {
    font-size: var(--fs-2xl);
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__dots {
    bottom: var(--space-md);
  }

  .hero__content {
    padding-bottom: var(--space-xl);
  }

  .article-card__body {
    padding: var(--space-md);
  }

  .contact-hero {
    padding: 3rem 1rem 2rem;
  }

  .newsletter-inner {
    padding: var(--space-xl);
  }

  .about-section {
    padding: var(--space-lg);
    margin: var(--space-2xl) 0;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .hero,
  .hero__dots,
  .hero__arrow,
  .hero__scroll,
  .site-footer,
  .nav__hamburger,
  .mobile-toggle,
  .nav-overlay,
  .back-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .article-body,
  .article-content {
    max-width: 100%;
    padding: 0;
  }

  .article-hero {
    height: auto;
    max-height: none;
  }

  .dimension-section {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .image-block img {
    box-shadow: none;
  }
}

/* Contact page: force visible header on light background */
body.page-contact .site-header {
  background: rgba(250, 248, 245, 0.95);
  border-bottom: 1px solid rgba(232, 230, 225, 0.5);
}
body.page-contact .site-header .site-logo {
  color: #1a1a2e;
}
body.page-contact .site-header .nav-links li a {
  color: rgba(26, 26, 46, 0.7);
}
body.page-contact .site-header .nav-links li a:hover,
body.page-contact .site-header .nav-links li a.active {
  color: #c9a96e;
}
