/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:          #FAFAF8;
  --white:       #FFFFFF;
  --dark:        #0D1117;
  --mid:         #4B5563;
  --light:       #9CA3AF;
  --border:      #E5E5E3;
  --orange:      #FF4B00;
  --orange-10:   #FFF0EB;
  --orange-dark: #CC3C00;
  --green:       #16A34A;
  --green-10:    #DCFCE7;
  --blue:        #2563EB;
  --blue-10:     #EFF6FF;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w:    1160px;
  --r:        12px;
  --r-sm:     8px;
  --r-lg:     20px;
  --shadow:   0 2px 12px rgba(0,0,0,.07);
  --shadow-lg:0 8px 32px rgba(0,0,0,.12);
  --transition: .2s ease;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

/* ─── LAYOUT HELPERS ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--tint { background: #F3F0EB; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 700; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--mid); line-height: 1.7; }
.lead { font-size: 1.15rem; color: var(--mid); max-width: 600px; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--mid); margin-bottom: 40px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,75,0,.3); }
.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--dark); background: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--dark);
}
.btn--white:hover { background: var(--orange-10); color: var(--orange); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,75,0,.3); }
.btn--ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--dark); background: var(--white); }
.btn--ghost-white { background: transparent; color: rgba(255,255,255,.7); border: 1.5px solid rgba(255,255,255,.2); }
.btn--ghost-white:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ─── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge--free, .badge--green { background: var(--green-10); color: var(--green); }
.badge--paid, .badge--orange { background: var(--orange-10); color: var(--orange); }
.badge--past   { background: #F1F1F0; color: var(--light); }
.badge--upcoming, .badge--blue { background: var(--blue-10); color: var(--blue); }
.badge--days   { background: var(--dark); color: var(--white); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--mid);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
  background: var(--white);
}
.nav-cta {
  margin-left: 8px;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--white);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
}
.nav-mobile a:hover,
.nav-mobile a.active { background: var(--orange-10); color: var(--orange); }
.nav-mobile .btn { margin-top: 8px; justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
/* hero copy/image layout aliases */
.hero-copy { }
.hero-title { margin-bottom: 20px; }
.hero-accent { color: var(--orange); }
.hero-instagram {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--orange-10);
  border: 1px solid rgba(255,75,0,.15);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: .9rem;
  color: var(--mid);
  margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.stat-strip { display: flex; gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat { }
.stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--dark); line-height: 1; display: block; }
.stat-label { font-size: .8rem; color: var(--light); margin-top: 4px; display: block; }
.hero-imgs { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hero-img { border-radius: var(--r); object-fit: cover; box-shadow: var(--shadow-lg); }
.hero-img--main { width: 100%; aspect-ratio: 4/5; }
.hero-img--sm { width: 75%; margin-left: auto; aspect-ratio: 16/9; }
.hero-img--xs { width: 55%; aspect-ratio: 16/9; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero-eyebrow-text {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lead { margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--light);
  margin-top: 4px;
}
.hero-image-stack {
  position: relative;
}
.hero-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-img-pill {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--white);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-img-pill-icon { font-size: 1.4rem; }
.hero-img-pill-text { font-size: .8rem; }
.hero-img-pill-text strong { display: block; font-size: .9rem; color: var(--dark); }

/* ─── FEATURES / WHY US ──────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { font-size: .9rem; }

/* ─── TRIP CARDS ──────────────────────────────────────────────────────────── */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.trip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.trip-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--border);
}
.trip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Poster iframe inside a trip card image slot */
.poster-iframe-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  display: block;
}
.poster-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 1080px;
  border: none;
  pointer-events: none;
  transform-origin: top left;
  display: block;
}

.trip-card-img--placeholder {
  background: linear-gradient(135deg, #fff0eb 0%, #ffe4d6 100%);
  display: flex;
  align-items: flex-start;
  padding: 16px;
}
.trip-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.trip-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.trip-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.trip-card-date {
  font-size: .82rem;
  color: var(--light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}
.trip-card-price {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trip-price-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}
.trip-price-num.free { color: var(--green); }
.trip-price-sub { font-size: .75rem; color: var(--light); }

/* trip card aliases used in index/travel pages */
.trip-meta { font-size: .82rem; color: var(--light); margin-bottom: 8px; }
.trip-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; line-height: 1.3; }
.trip-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.trip-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--dark); }
.trip-price--free { color: var(--green); }
.trip-badge { position: absolute; top: 12px; left: 12px; }

/* ─── PAST TRIPS LIST ────────────────────────────────────── */
.past-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.past-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: var(--transition);
}
.past-item:hover { border-color: var(--orange); text-decoration: none; background: var(--orange-10); }
.past-item-img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--border);
}
.past-item-info { flex: 1; min-width: 0; }
.past-item-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.past-item-date { font-size: .8rem; color: var(--light); }
.past-item-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--mid);
  flex-shrink: 0;
}

/* ─── TRIP DETAIL PAGE ───────────────────────────────────── */
.trip-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.trip-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  margin-bottom: 32px;
  display: block;
}
/* ── Combined Destinations section ── */
.dest-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0 28px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.dest-block {
  padding: 20px 20px 0;
  border-bottom: 1px solid var(--border);
}
.dest-block:last-child { border-bottom: none; }
.dest-block-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.dest-block-icon {
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.dest-block-title { flex: 1; min-width: 0; }
.dest-block-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.dest-block-meta {
  font-size: .78rem;
  color: var(--light);
  margin-top: 3px;
}
.dest-block-korean { color: var(--mid); }
.dest-block-city { color: var(--light); }
.dest-block-day {
  font-size: .72rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-10);
  border: 1px solid rgba(255,75,0,.15);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.dest-block-desc {
  font-size: .85rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 10px;
}
.dest-block-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.photo-strip-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  width: calc(100% + 40px);
  margin: 12px -20px 0;
  padding: 9px 20px;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  cursor: pointer;
  font-size: .83rem;
  font-weight: 600;
  color: var(--mid);
  text-align: left;
  transition: background .15s, color .15s;
}
.photo-strip-toggle:hover { background: #f5f5f5; color: var(--dark); }
.photo-strip-toggle[aria-expanded="true"] { color: var(--dark); }
.pst-icon { font-size: 1rem; }
.pst-arrow { margin-left: auto; font-size: .75rem; color: var(--light); transition: transform .2s; }
.photo-strip-toggle[aria-expanded="true"] .pst-arrow { transform: rotate(180deg); }

.dest-block .photo-strip {
  margin: 0 -20px;
  padding: 10px 20px;
  background: #f7f7f7;
  border-top: 1px solid var(--border);
}
/* Expanded: wrap into a grid, capped height with vertical scroll */
.photo-strip.is-expanded {
  flex-wrap: wrap;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 720px;
}
.photo-strip.is-expanded img {
  height: 130px;
  flex-shrink: 1;
}

/* ── Key Experiences card grid ── */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 28px;
}
.exp-card {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  transition: box-shadow .2s, border-color .2s;
}
.exp-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
  border-color: #d0d0d0;
}
.exp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.exp-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.exp-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.exp-korean {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--light);
  margin-top: 1px;
}
.exp-desc {
  font-size: .82rem;
  color: var(--mid);
  line-height: 1.55;
}
.exp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .exp-grid { grid-template-columns: 1fr; }
}

/* ── Destination photo galleries ── */
.dest-gallery {
  margin: 0 0 6px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.dest-gallery-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 12px;
}
.dest-gallery-toggle:hover { background: #f0f0f0; }
.dest-gallery-toggle[aria-expanded="false"] + .photo-strip { display: none; }
.dest-korean {
  font-weight: 400;
  color: var(--mid);
  font-size: .85rem;
}
.dest-count {
  font-size: .78rem;
  font-weight: 500;
  color: var(--light);
  white-space: nowrap;
  flex-shrink: 0;
}
.dest-gallery-toggle::after {
  content: '▾';
  font-size: .8rem;
  color: var(--light);
  flex-shrink: 0;
  transition: transform .2s;
}
.dest-gallery-toggle[aria-expanded="false"]::after { transform: rotate(-90deg); }
.photo-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px;
  background: #fafafa;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.photo-strip img {
  height: 150px;
  width: auto;
  border-radius: 7px;
  cursor: pointer;
  object-fit: cover;
  flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}
.photo-strip img:hover { opacity: .88; transform: scale(1.02); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.lightbox-close {
  background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; line-height: 1; padding: 4px 10px;
  opacity: .7;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none; color: #fff;
  font-size: 2rem; cursor: pointer;
  padding: 16px 20px;
  border-radius: 6px;
  transition: background .15s;
  line-height: 1;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-footer {
  position: absolute;
  bottom: 14px;
  color: rgba(255,255,255,.5);
  font-size: .8rem;
}

/* Photo gallery on trip detail pages */
.trip-photo-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r);
  margin-bottom: 32px;
  display: block;
}

/* Poster as the hero — clickable, square, capped width, centered */
.trip-hero-poster {
  display: block;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 32px;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.trip-hero-poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.trip-hero-poster iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 1080px;
  border: none;
  pointer-events: none;
  transform-origin: top left;
  display: block;
}
.trip-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 32px;
}
.trip-photo-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.trip-photo-grid .grid-photo {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  opacity: .92;
  transition: transform .35s ease, opacity .35s ease;
}
.trip-photo-grid .grid-photo.span2 {
  grid-column: span 2;
  height: 260px;
}
.trip-photo-grid .grid-photo:hover {
  transform: scale(1.04);
  opacity: 1;
}
.trip-photo-caption {
  font-size: .72rem;
  color: var(--light);
  text-align: center;
  margin-top: 4px;
  letter-spacing: .3px;
}
@media (max-width: 700px) {
  .trip-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trip-photo-grid .grid-photo.span2 {
    grid-column: span 2;
  }
}

.trip-detail h1 { margin-bottom: 16px; }
.trip-detail-body h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--dark);
}
.trip-detail-body p {
  margin-bottom: 12px;
  font-size: .95rem;
}
.trip-detail-body ul {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trip-detail-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: var(--mid);
}
.trip-detail-body li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.trip-sidebar {
  position: sticky;
  top: 80px;
}
.trip-book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow);
}
.trip-book-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.trip-book-price.free { color: var(--green); }
.trip-book-price-sub { font-size: .8rem; color: var(--light); margin-bottom: 20px; }
.trip-book-card .btn { width: 100%; justify-content: center; margin-bottom: 12px; }
.trip-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.trip-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.trip-info-row-label { color: var(--light); flex-shrink: 0; }
.trip-info-row-val { color: var(--dark); font-weight: 500; text-align: right; }

.day-block {
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  margin-bottom: 12px;
  background: var(--orange-10);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.day-block-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--orange);
  margin-bottom: 6px;
}
.day-block p { font-size: .9rem; color: var(--mid); margin: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--mid);
  margin-bottom: 24px;
  transition: var(--transition);
}
.back-link:hover { color: var(--orange); }

/* ─── DESTINATION LINKS IN TRIP PAGES ───────────────────── */
.trip-detail-body a[target="_blank"] {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,.2);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.trip-detail-body a[target="_blank"]:hover {
  text-decoration-color: var(--orange);
}
/* Source badge with open_in_new icon */
.ext-src {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--orange);
  background: var(--orange-10);
  border: 1px solid rgba(255,75,0,.2);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 5px;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
}
.ext-src::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z' fill='%23FF4B00'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ─── EVENT CARD ─────────────────────────────────────────── */
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  transition: var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-lg); text-decoration: none; }
.event-card-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
.event-card-body { padding: 28px; }
.event-card-body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.event-card-body p { font-size: .9rem; margin-bottom: 16px; }
.event-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.event-detail-row {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  color: var(--mid);
}
.event-detail-row strong { color: var(--dark); min-width: 80px; }

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.about-body { max-width: 520px; }
.about-body p { margin-bottom: 16px; }

/* ─── HOUSE PAGE ─────────────────────────────────────────── */
.house-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.house-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg);
  border-radius: var(--r-sm);
}
.house-feature-icon { font-size: 1.4rem; flex-shrink: 0; }
.house-feature-text h4 { font-size: .9rem; margin-bottom: 2px; }
.house-feature-text p { font-size: .8rem; }

/* ─── INSTAGRAM POSTS SECTION ────────────────────────────── */

.ig-html-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* The wrapper is the container that the parent layout sees.
   Explicit square size via aspect-ratio; overflow:hidden clips the iframe. */
.ig-html-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ig-html-wrap--tall { aspect-ratio: 4/5; }
.ig-html-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.28);
}

.ig-html-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 1080px;
  border: none;
  pointer-events: none;
  transform-origin: top left;
  display: block;
}

/* ─── POSTER MODAL ───────────────────────────────────────── */
.poster-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.poster-modal.active { display: flex; }

.poster-modal-frame {
  position: relative;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  /* width/height set by JS — capped at 90vw / 90vh */
}
.poster-modal-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  border: none;
  transform-origin: top left;
  display: block;
}

/* Plain X — no circle background */
.poster-modal-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
  z-index: 1;
}
.poster-modal-close:hover { opacity: 1; }

/* Instagram-style white-circle nav arrows */
.poster-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #262626;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
  z-index: 1;
  padding: 0;
}
.poster-modal-nav:hover { transform: translateY(-50%) scale(1.05); }
.poster-modal-nav:active { transform: translateY(-50%) scale(0.95); }
.poster-modal-prev { left: 16px; }
.poster-modal-next { right: 16px; }
.poster-modal-prev::before { content: '‹'; margin-top: -3px; margin-right: 2px; font-size: 26px; }
.poster-modal-next::before { content: '›'; margin-top: -3px; margin-left:  2px; font-size: 26px; }

@media (max-width: 600px) {
  .poster-modal { padding: 16px; }
  .poster-modal-close { top: 8px; right: 12px; font-size: 24px; }
  .poster-modal-nav { width: 32px; height: 32px; }
  .poster-modal-prev { left: 8px; }
  .poster-modal-next { right: 8px; }
}

/* ─── CONTACT / CTA STRIP ────────────────────────────────── */
.cta-strip {
  background: var(--dark);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.cta-inner p { color: var(--light); max-width: 480px; }
.cta-socials { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cta-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: var(--light); margin-bottom: 0; }
.social-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  transition: var(--transition);
}
.social-pill:hover { background: rgba(255,255,255,.15); }
.social-pill img { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #080C11;
  color: rgba(255,255,255,.5);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo img { height: 28px; filter: brightness(0) invert(1); opacity: .6; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .8rem; }
/* footer grid layout */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 24px;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.4); margin-top: 14px; line-height: 1.6; }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 14px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.45); transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .8rem; }
.footer-tags { font-size: .75rem; color: rgba(255,255,255,.25); }

/* ─── TAGS / HASHTAGS ────────────────────────────────────── */
.hashtag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hashtag-cloud span {
  font-size: .78rem;
  color: var(--light);
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ─── EVENT PHOTO GALLERY ───────────────────────────────── */
.event-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.event-photos img {
  width: 100%;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .event-photos { grid-template-columns: 1fr; }
}

/* ─── COMING SOON BOX ───────────────────────────────────── */
.coming-soon-box {
  text-align: center;
  padding: 64px 32px;
  border: 2px dashed var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
}
.coming-soon-icon { font-size: 3rem; margin-bottom: 16px; }
.coming-soon-box h3 { font-size: 1.4rem; margin-bottom: 10px; }
.coming-soon-box p { color: var(--mid); max-width: 440px; margin: 0 auto; }

/* ─── PAGE HEADER ────────────────────────────────────────── */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { font-size: 1.1rem; max-width: 560px; }

/* ─── DIVIDER ────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-stack, .hero-imgs { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .trip-detail { grid-template-columns: 1fr; }
  .trip-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .event-card { grid-template-columns: 1fr; }
  .event-card-img { height: 200px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-socials { justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .trips-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero-stats, .stat-strip { flex-wrap: wrap; gap: 20px; }
  .house-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { justify-content: center; }
}
