/* ==========================================================================
   LORFAB PHOTOS - DESIGN SYSTEM & STYLESHEET
   Aesthetic: Contemporary, Minimal, Dark, Cinematic, Editorial
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-translucent: rgba(10, 10, 10, 0.88);
  --surface: #141414;
  --surface-hover: #1c1c1c;
  --surface-glass: rgba(18, 18, 18, 0.85);
  
  --border: #222222;
  --border-focus: #444444;
  --border-subtle: rgba(255, 255, 255, 0.08);

  --text-primary: #f5f5f5;
  --text-secondary: #999999;
  --text-muted: #555555;
  --accent: #ffffff;
  --glow: rgba(255, 255, 255, 0.2);

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Syne', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

body.globe-active {
  overflow: hidden;
}

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

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

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-left {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin-top: -2px;
}

.header-center {
  display: flex;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.status-text {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.archive-stat {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  border-color: var(--border);
  background: var(--surface);
}

/* ==========================================================================
   3D GLOBE CONTAINER & CONTROLS
   ========================================================================== */
#globe-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background-color: var(--bg);
}

#globe-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe-container:active {
  cursor: grabbing;
}

.globe-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 14, 14, 0.7);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  pointer-events: none;
  transition: opacity var(--transition-smooth);
  z-index: 20;
}

.globe-hint.hidden {
  opacity: 0;
}

/* Globe Custom HTML Markers (Vertical Staggered Pins) */
.globe-marker-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transform: translate(-50%, -100%);
  user-select: none;
  pointer-events: auto !important;
  transition: transform var(--transition-fast), z-index var(--transition-fast);
  z-index: 10;
  height: calc(var(--stem-height, 28px) + 36px);
  width: auto;
  min-width: 24px;
}

.globe-marker-node * {
  pointer-events: auto !important;
  cursor: pointer;
}

.globe-marker-node.selected,
.globe-marker-node:hover {
  z-index: 99;
}

.globe-marker-node:hover .marker-label,
.globe-marker-node.selected .marker-label {
  border-color: #ffffff;
  background: #181818;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.95);
  transform: translateY(-2px);
}

.globe-marker-node:hover .marker-stem,
.globe-marker-node.selected .marker-stem {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.marker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}

.marker-stem {
  width: 1.5px;
  height: var(--stem-height, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.15) 100%);
  transition: all var(--transition-fast);
}

.marker-beacon {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: -2px;
}

.marker-core {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.marker-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: beacon-wave 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes beacon-wave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.8); opacity: 0; }
}

.marker-flag {
  width: 15px;
  height: 10px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
  display: inline-block;
}

.card-flag, .gallery-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  margin-right: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  vertical-align: middle;
  display: inline-block;
}

.globe-marker-node.selected .marker-core {
  background: #ffffff;
  transform: scale(1.4);
}

/* ==========================================================================
   FLOATING TRIP INFO CARD (Overlay)
   ========================================================================== */
.trip-card {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 380px;
  max-width: calc(100vw - 64px);
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  z-index: 50;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  pointer-events: none;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.trip-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.card-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.card-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-year {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.card-count {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}

.card-subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.card-story {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-preview-container {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  position: relative;
}

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

.trip-card:hover .card-preview-img {
  transform: scale(1.04);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: var(--text-primary);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-primary.full-width {
  width: 100%;
}

/* ==========================================================================
   EDITORIAL GALLERY VIEW
   ========================================================================== */
.gallery-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
}

.gallery-view.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gallery-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 20px 48px;
  background: var(--bg-translucent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 210;
}

.gallery-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition-fast);
}

.gallery-back-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-focus);
  background: var(--surface-hover);
}

.gallery-header-info {
  text-align: center;
  flex: 1;
  padding: 0 24px;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.gallery-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.gallery-count-badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.gallery-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 48px 100px;
}

.gallery-intro-narrative {
  max-width: 820px;
  margin: 0 auto 60px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 40px;
}

.gallery-article-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gallery-article-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

.gallery-article-body p:first-child {
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 400;
}

.gallery-peculiarities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.gallery-peculiarities-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-right: 6px;
}

.peculiarity-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Uniform High-End Photography Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111111;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.gallery-item:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #0c0c0c;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.item-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-controls {
  position: absolute;
  top: 24px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 320;
}

.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  z-index: 320;
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.06);
}

.lightbox-close {
  font-size: 16px;
}

.lightbox-prev {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 310;
}

.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  transition: transform var(--transition-fast);
  user-select: none;
}

.lightbox-caption {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-top: 12px;
  text-align: center;
}

/* ==========================================================================
   BIO PAGE
   ========================================================================== */
.bio-page {
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
}

.bio-header-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  font-weight: 500;
}

.bio-container {
  max-width: 1120px;
  margin: 100px auto 60px;
  padding: 0 32px;
}

.bio-hero {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.bio-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}

.bio-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 900px;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
}

.bio-narrative {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bio-section-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.bio-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.bio-section p:last-child {
  margin-bottom: 0;
}

.bio-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.bio-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.bio-list strong {
  color: var(--text-primary);
}

.bio-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bio-portrait-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.bio-portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.bio-portrait-card:hover .bio-portrait-img {
  transform: scale(1.02);
}

.bio-portrait-caption {
  display: block;
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(18, 18, 18, 0.9);
}

.bio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.bio-card-title {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.bio-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.bio-meta-row:last-child {
  border-bottom: none;
}

.bio-meta-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.bio-meta-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.bio-card-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bio-instagram-card {
  text-align: center;
}

.bio-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 18px;
  transition: all var(--transition-fast);
}

.bio-instagram-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.bio-qr-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-fast);
}

.bio-qr-wrapper:hover {
  transform: scale(1.02);
}

.bio-qr-img {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: block;
}

.bio-qr-hint {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #555555;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px);
  animation: toast-in 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toast-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  .bio-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
    height: 56px;
  }
  .header-center {
    display: none;
  }
  .archive-stat {
    display: none;
  }
  
  /* Trip card adjusts to bottom modal drawer on mobile */
  .trip-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 20px;
  }
  .card-preview-container {
    height: 110px;
    margin-bottom: 14px;
  }
  
  .gallery-header {
    padding: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .gallery-content {
    padding: 24px 16px 80px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  
  .lightbox-prev {
    left: 12px;
  }
  .lightbox-next {
    right: 12px;
  }
}
