/* ==========================================================================
   Gdańsk Insider — Premium Travel Magazine Edition
   Palette: warm cream / sage / coral / amber / ink
   Fonts: Fraunces (serif) + Inter (sans)
   ========================================================================== */

:root {
  /* Color tokens */
  --cream: #faf6ef;
  --cream-dark: #f1ead9;
  --cream-deep: #e8dfc8;
  --ink: #1f2421;
  --ink-soft: #4a514c;
  --ink-mute: #6b716c;
  --sage: #8aa399;
  --sage-dark: #5a7263;
  --coral: #e07a5f;
  --coral-dark: #c25a40;
  --amber: #d4a017;
  --amber-light: #f0c14b;
  --line: #e4dccb;

  /* Gradients */
  --grad-warm: linear-gradient(135deg, #f0c14b 0%, #e07a5f 50%, #c25a40 100%);
  --grad-sage: linear-gradient(135deg, #8aa399 0%, #5a7263 100%);
  --grad-hero-veil: linear-gradient(180deg, rgba(31,36,33,0) 0%, rgba(31,36,33,0.25) 40%, rgba(31,36,33,0.7) 100%);

  /* Shadow tokens */
  --shadow-xs: 0 1px 2px rgba(31, 36, 33, 0.06);
  --shadow-sm: 0 4px 12px rgba(31, 36, 33, 0.08);
  --shadow: 0 8px 32px rgba(31, 36, 33, 0.10);
  --shadow-lg: 0 20px 60px rgba(31, 36, 33, 0.16);
  --shadow-glow: 0 0 0 1px rgba(224, 122, 95, 0.18), 0 20px 60px rgba(224, 122, 95, 0.25);

  /* Layout */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max-w: 1180px;
  --read-w: 720px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 200ms;
  --t-base: 400ms;
  --t-slow: 800ms;
}

/* ----- Base reset ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Custom selection */
::selection { background: var(--amber); color: var(--ink); }
::-moz-selection { background: var(--amber); color: var(--ink); }

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sage), var(--sage-dark));
  border-radius: 10px;
  border: 2px solid var(--cream-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--coral); }

h1, h2, h3, h4, .serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 2.4rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; color: var(--sage-dark); }
h4 { font-size: 1.1rem; margin: 1.2rem 0 0.4rem; }

p { margin: 0 0 1.1rem; }

a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--coral); }

ul, ol { margin: 0 0 1.2rem 1.4rem; }
li { margin-bottom: 0.4rem; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* ==========================================================================
   MARQUEE — top scrolling text band
   ========================================================================== */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  position: relative;
  z-index: 60;
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  padding: 0 2.2rem;
  color: var(--cream);
  opacity: 0.86;
}
.marquee-track span.accent { color: var(--amber-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   NAV — sticky, glass blur
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 220, 203, 0.6);
  transition: background var(--t-base), box-shadow var(--t-base);
}
.nav.scrolled {
  background: rgba(250, 246, 239, 0.92);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
}
.brand span {
  color: var(--coral);
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 1.7rem; list-style: none; margin: 0; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================================================
   HERO — cinematic, layered, parallax
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

/* Foreground bg image (zooms on scroll, parallaxes) */
.hero-bg {
  position: absolute;
  inset: -8% -2%;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: -3;
  will-change: transform;
  transform: scale(var(--hero-scale, 1.05)) translateY(var(--hero-y, 0));
  transition: transform 60ms linear;
  filter: saturate(1.05) contrast(1.02);
}

/* Veil for legibility */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(31,36,33,0.15) 0%, rgba(31,36,33,0.55) 60%, rgba(31,36,33,0.78) 100%),
    linear-gradient(180deg, rgba(31,36,33,0.10) 0%, rgba(31,36,33,0.55) 80%);
  z-index: -2;
}

/* Soft floating amber orbs (depth midground) */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(380px 220px at 18% 75%, rgba(212, 160, 23, 0.28), transparent 70%),
    radial-gradient(420px 260px at 82% 30%, rgba(224, 122, 95, 0.22), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0); opacity: 0.85; }
  to   { transform: translate3d(0, -22px, 0); opacity: 1; }
}

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

.hero h1 {
  color: white;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  letter-spacing: -0.02em;
}

/* Animated stagger reveal on hero words */
.reveal-words { display: inline-block; }
.reveal-words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  animation: wordIn 900ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 250ms);
  padding-right: 0.18em;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero .tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  margin: 1.6rem auto 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 800ms var(--ease-out) forwards;
  animation-delay: 900ms;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--amber-light);
  margin-bottom: 1.4rem;
  font-weight: 600;
  position: relative;
  padding: 0 0 0 28px;
  opacity: 0;
  animation: fadeUp 700ms var(--ease-out) forwards;
}
.hero .eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--amber-light);
}

.hero-cta {
  margin-top: 2.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: var(--grad-warm);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 36px rgba(224, 122, 95, 0.45);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 800ms var(--ease-out) forwards;
  animation-delay: 1100ms;
  will-change: transform;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-out);
}
.hero-cta:hover::before { transform: translateX(100%); }
.hero-cta:hover {
  color: white;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 50px rgba(224, 122, 95, 0.6);
}
.hero-cta .arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease-spring);
}
.hero-cta:hover .arrow { transform: translateX(6px); }

/* Hero scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue .bar {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 50%;
  background: var(--amber-light);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: -50%; }
  100% { top: 110%; }
}

/* ==========================================================================
   CONTAINER & section
   ========================================================================== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 4.5rem 1.5rem; }
.read-container { max-width: var(--read-w); margin: 0 auto; padding: 2rem 1.5rem; }

.section-head {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-head .eyebrow {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-head p {
  max-width: 600px;
  margin: 0.8rem auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.section-head h2 {
  position: relative;
  display: inline-block;
}
/* Animated SVG underline */
.section-head h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 8px;
  margin: 0.9rem auto 0;
  background: var(--grad-warm);
  border-radius: 8px;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 700ms var(--ease-spring) 200ms;
}
.section-head.is-visible h2::after { transform: scaleX(1); }

/* ==========================================================================
   DESTINATION GRID — 3D hover cards
   ========================================================================== */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  perspective: 1400px;
}

.dest-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 500ms var(--ease-out),
    box-shadow 500ms var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.dest-card:hover {
  color: inherit;
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.dest-card-img {
  aspect-ratio: 4 / 3;
  background: var(--cream-dark) center/cover no-repeat;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: transform 700ms var(--ease-out);
}
.dest-card:hover .dest-card-img {
  transform: scale(1.06);
}
.dest-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,36,33,0) 60%, rgba(31,36,33,0.45) 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.dest-card:hover .dest-card-img::after { opacity: 1; }

.dest-card-body {
  padding: 1.5rem 1.6rem 1.7rem;
  position: relative;
  z-index: 2;
}
.dest-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: var(--ink);
  transition: color var(--t-fast);
}
.dest-card:hover h3 { color: var(--coral-dark); }
.dest-card p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.dest-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--coral);
  font-weight: 700;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.7rem;
  background: rgba(224, 122, 95, 0.08);
  border-radius: 100px;
}

/* "Coming soon" card override */
.dest-card.coming {
  background: transparent;
  border: 2px dashed var(--sage);
  box-shadow: none;
  cursor: default;
}
.dest-card.coming:hover {
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   STATS counter section
   ========================================================================== */
.stats {
  background: var(--ink);
  color: white;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(212, 160, 23, 0.13), transparent 70%),
    radial-gradient(700px 400px at 80% 70%, rgba(224, 122, 95, 0.10), transparent 70%);
  pointer-events: none;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-block;
}
.stat .label {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FEATURED — immersive reveal
   ========================================================================== */
.featured {
  padding: 5rem 1.5rem;
  background: var(--cream);
}
.featured-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.featured-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  clip-path: inset(0 0 0 0 round var(--radius-lg));
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1.08);
  transition: transform 1400ms var(--ease-out);
  will-change: transform;
}
.featured.is-visible .featured-img img { transform: scale(1); }
.featured-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream-dark);
  transform: translateX(0%);
  transition: transform 1200ms cubic-bezier(0.77, 0, 0.175, 1) 100ms;
  z-index: 2;
}
.featured.is-visible .featured-img::before { transform: translateX(102%); }

.featured-text .eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: inline-block;
}
.featured-text h2 { margin-top: 0; }
.featured-text p { font-size: 1.05rem; color: var(--ink-soft); }
.featured-text .btn { margin-top: 0.6rem; }

/* ==========================================================================
   WHY US — animated icons
   ========================================================================== */
.why {
  background: var(--cream-dark);
  padding: 5rem 1.5rem;
}
.why .dest-grid { perspective: none; }
.why-item {
  text-align: center;
  padding: 2rem 1.4rem;
  background: rgba(255,255,255,0.55);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--grad-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(224,122,95,0.32);
  animation: gentlePulse 3s ease-in-out infinite;
}
@keyframes gentlePulse {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.why-item:nth-child(2) .why-icon { animation-delay: 0.4s; background: var(--grad-sage); box-shadow: 0 8px 20px rgba(90,114,99,0.32); }
.why-item:nth-child(3) .why-icon { animation-delay: 0.8s; }
.why-item h3 { color: var(--ink); font-size: 1.2rem; margin: 0.6rem 0 0.4rem; }
.why-item p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.article-hero {
  position: relative;
  min-height: 78vh;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.article-hero-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  z-index: -3;
  will-change: transform;
  transform: scale(var(--hero-scale, 1.06)) translateY(var(--hero-y, 0));
  filter: saturate(1.05);
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,36,33,0.40) 0%, rgba(31,36,33,0.65) 100%);
  z-index: -2;
}
.article-hero .crumbs {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}
.article-hero .crumbs a { color: rgba(255,255,255,0.78); }
.article-hero .crumbs a:hover { color: var(--amber-light); }
.article-hero h1 {
  color: white;
  max-width: 900px;
  margin: 0 auto;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.article-hero .meta {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.84);
}
.article-hero .meta span { margin: 0 0.5rem; }

/* Reading progress bar (fixed top) */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-warm);
  z-index: 100;
  transition: width 50ms linear;
  pointer-events: none;
}

.article-body {
  max-width: var(--read-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  position: relative;
}
.article-body h2 {
  padding-top: 1rem;
  margin-top: 3rem;
  position: relative;
  scroll-margin-top: 100px;
}
.article-body h2::before {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--grad-warm);
  border-radius: 4px;
  margin-bottom: 1rem;
}
.article-body h3 { scroll-margin-top: 100px; }
.article-body figure {
  margin: 2.4rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-body figure img {
  width: 100%;
  border-radius: 0;
  transition: transform 1200ms var(--ease-out);
}
.article-body figure:hover img { transform: scale(1.02); }
.article-body figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.8rem 1rem;
  font-style: italic;
  background: var(--cream);
}
.article-body blockquote {
  border-left: 4px solid var(--coral);
  padding: 1rem 1.4rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--ink-soft);
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Sticky TOC (desktop) */
.toc-floating {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  width: 240px;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1rem;
  z-index: 30;
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.toc-floating.visible {
  opacity: 1;
  pointer-events: auto;
}
.toc-floating h5 {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-dark);
  margin-bottom: 0.7rem;
  font-weight: 700;
}
.toc-floating ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tocnum;
}
.toc-floating li { margin: 0; counter-increment: tocnum; }
.toc-floating a {
  display: block;
  padding: 0.35rem 0 0.35rem 1.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color var(--t-fast), border-color var(--t-fast), padding var(--t-fast);
  position: relative;
}
.toc-floating a::before {
  content: counter(tocnum, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-size: 0.7rem;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.toc-floating a:hover {
  color: var(--coral);
}
.toc-floating a.active {
  color: var(--coral-dark);
  border-left-color: var(--coral);
  padding-left: 1.7rem;
  font-weight: 600;
}
.toc-floating a.active::before { color: var(--coral); font-weight: 700; }

/* Inline TOC (in article body) */
.toc {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
  border-left: 4px solid var(--sage);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  box-shadow: var(--shadow-xs);
}
.toc h4 {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  font-weight: 700;
}
.toc ol { margin: 0 0 0 1.3rem; }
.toc li { margin-bottom: 0.35rem; font-size: 0.96rem; }
.toc a { color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast), padding var(--t-fast); }
.toc a:hover { color: var(--coral); padding-left: 4px; }

/* ==========================================================================
   AFFILIATE — floating hover
   ========================================================================== */
.affiliate-box {
  background: linear-gradient(135deg, #ffffff 0%, var(--cream-dark) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  margin: 2.4rem 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base);
}
.affiliate-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.affiliate-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: linear-gradient(115deg, transparent 30%, rgba(212, 160, 23, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 1200ms var(--ease-out);
}
.affiliate-box:hover::before { transform: translateX(150%); }
.affiliate-box .label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.affiliate-box h4 { font-size: 1.2rem; margin: 0 0 0.4rem; }
.affiliate-box p { font-size: 0.96rem; margin: 0 0 1.1rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: var(--grad-warm);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(224, 122, 95, 0.32);
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '→';
  display: inline-block;
  transition: transform var(--t-base) var(--ease-spring);
}
.btn:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(224, 122, 95, 0.45);
}
.btn:hover::after { transform: translateX(4px); }
.btn-sage {
  background: var(--grad-sage);
  box-shadow: 0 8px 20px rgba(90, 114, 99, 0.32);
}
.btn-sage:hover { box-shadow: 0 14px 32px rgba(90, 114, 99, 0.45); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--coral);
  flex: none;
  transition: transform var(--t-base) var(--ease-spring);
}
.faq-item[open] summary { color: var(--coral-dark); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--coral-dark); }
.faq-content {
  overflow: hidden;
  padding: 0 0 1.4rem;
  color: var(--ink-soft);
  animation: accordionOpen 400ms var(--ease-out);
}
@keyframes accordionOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-content p { margin: 0; }

/* ==========================================================================
   RELATED
   ========================================================================== */
.related {
  background: var(--cream-dark);
  padding: 4rem 1.5rem;
  margin-top: 4rem;
}
.related-inner { max-width: var(--max-w); margin: 0 auto; }
.related h3 {
  text-align: center;
  margin-bottom: 2.4rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 1.5rem 1.8rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 240px at 12% 80%, rgba(212,160,23,0.10), transparent 70%),
    radial-gradient(500px 240px at 90% 20%, rgba(224,122,95,0.08), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.4rem;
  margin-bottom: 2rem;
  position: relative;
}
footer h5 {
  font-family: 'Fraunces', serif;
  color: white;
  font-size: 1.08rem;
  margin-bottom: 0.8rem;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 0.45rem; }
footer a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.93rem; transition: color var(--t-fast); }
footer a:hover { color: var(--amber-light); }
.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 1.6rem;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.disclosure p { margin: 0 0 0.4rem; }

/* ==========================================================================
   FADE-UP on scroll (Intersection Observer)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
  will-change: opacity, transform;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up[data-delay="1"] { transition-delay: 100ms; }
.fade-up[data-delay="2"] { transition-delay: 200ms; }
.fade-up[data-delay="3"] { transition-delay: 300ms; }
.fade-up[data-delay="4"] { transition-delay: 400ms; }
.fade-up[data-delay="5"] { transition-delay: 500ms; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .featured-inner { grid-template-columns: 1fr; gap: 2rem; }
  .toc-floating { display: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { min-height: 72vh; padding: 5rem 1.2rem 4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .article-body { padding: 2rem 1.2rem 3rem; }
  .article-hero { min-height: 60vh; padding: 6rem 1.2rem 3rem; }
  .marquee { font-size: 0.74rem; }
  .marquee-track span { padding: 0 1.3rem; }
  .dest-card:hover {
    /* Disable 3D tilt on touch for stability */
    transform: translateY(-3px);
  }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   A11Y — reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg, .article-hero-bg { transform: none !important; }
  .marquee-track { animation: none; }
  .scroll-cue { display: none; }
  .fade-up { opacity: 1; transform: none; }
  .featured-img::before { transform: translateX(102%); }
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .marquee, .nav, .scroll-cue, .toc-floating, .reading-progress, .affiliate-box, .related, footer { display: none !important; }
  body { background: white; color: black; }
  .article-hero { color: black; padding: 1rem 0; min-height: auto; }
  .article-hero::before, .article-hero-bg { display: none; }
  .article-hero h1, .article-hero .crumbs, .article-hero .meta { color: black; text-shadow: none; }
  .article-body { padding: 0; max-width: 100%; }
  figure img { max-height: 300px; object-fit: cover; }
}

/* ===== PARTNER STRIP (ShuttleHero integration) ===== */
.partner-strip {
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, #efe5d2 100%);
}
.partner-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(45,38,30,0.12);
  border: 1px solid rgba(45,38,30,0.06);
}
.partner-text { padding: 3rem 3rem 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center; }
.partner-text h2 { font-family: 'Fraunces', serif; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; margin-bottom: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.partner-text p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.8rem; }
.partner-cta-row { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.btn-primary { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%); color: white; border: none; font-weight: 700; padding: 1rem 1.8rem; border-radius: 999px; box-shadow: 0 10px 30px rgba(228,123,84,0.35); transition: transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(228,123,84,0.45); }
.btn-ghost { background: white; color: var(--ink); border: 2px solid rgba(45,38,30,0.12); font-weight: 700; padding: 0.85rem 1.6rem; border-radius: 999px; transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--coral); background: rgba(228,123,84,0.04); }
.partner-trust { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--ink-soft); flex-wrap: wrap; }
.partner-trust span { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.75rem; }
.partner-trust span::before { content: "•"; color: var(--coral); font-size: 1.2rem; }
.partner-img { position: relative; min-height: 380px; overflow: hidden; }
.partner-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease-out; }
.partner-card:hover .partner-img img { transform: scale(1.04); }
@media (max-width: 900px) {
  .partner-card { grid-template-columns: 1fr; }
  .partner-img { min-height: 240px; order: -1; }
  .partner-text { padding: 2rem 1.5rem; }
}

/* Inline CTA box dla blog articles */
.shuttle-cta {
  margin: 2.5rem 0;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #2d3142 0%, #1a1d2a 100%);
  color: white;
  border-left: 5px solid var(--coral);
  position: relative;
  overflow: hidden;
}
.shuttle-cta::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(228,123,84,0.3) 0%, transparent 70%); }
.shuttle-cta-eyebrow { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--coral-light); margin-bottom: 0.6rem; font-weight: 700; }
.shuttle-cta h4 { font-family: 'Fraunces', serif; font-size: 1.4rem; margin-bottom: 0.6rem; color: white; }
.shuttle-cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1rem; }
.shuttle-cta a { display: inline-block; padding: 0.7rem 1.4rem; background: var(--coral); color: white; border-radius: 999px; font-weight: 700; font-size: 0.9rem; transition: background .2s; }
.shuttle-cta a:hover { background: var(--coral-light); }
