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

/* ── Body ── */
body {
  background:
    radial-gradient(ellipse at 10% 10%, #c8dfc0 0%, transparent 50%),
    radial-gradient(ellipse at 80% 5%,  #b8d8ed 0%, transparent 45%),
    radial-gradient(ellipse at 5%  80%, #d4c9b8 0%, transparent 45%),
    radial-gradient(ellipse at 90% 75%, #c2cfe8 0%, transparent 45%),
    radial-gradient(ellipse at 55% 90%, #f0c8bc 0%, transparent 40%),
    radial-gradient(ellipse at 40% 40%, #e8ede4 0%, transparent 55%),
    #eef2ec;
  background-attachment: fixed;
  color: #2a2a2a;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Back button ── */
.back-btn {
  position: fixed;
  top: 16px;
  left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #888;
  text-decoration: none;
  letter-spacing: 1px;
  z-index: 100;
  transition: color 0.15s;
}

.back-btn:hover {
  color: #111;
}

/* ── Two-column page layout ── */
.page {
  display: grid;
  grid-template-columns: 300px 1fr;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 100vh;
  background: rgba(238, 242, 236, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(0,0,0,0.06);
}

/* ── Left column ── */
.col-left {
  padding: 0;
  border-right: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}
.col-left::-webkit-scrollbar { display: none; }

/* Padded content */
.col-content {
  padding: 24px 32px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Photo inside padding — aligned with text */
.col-photo {
  width: 100%;
  margin-bottom: 14px;
}

.col-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* ── Right column ── */
.col-right {
  padding: 40px 48px 60px;
  display: flex;
  flex-direction: column;
}

/* ── Profile ── */
.profile {
  margin-bottom: 4px;
}

.name {
  font-size: 17px;
  font-weight: bold;
  letter-spacing: -0.2px;
  color: #111;
  margin-top: 4px;
}

.role {
  color: #333;
  font-size: 12px;
  margin-top: 2px;
}

.location {
  color: #555;
  font-size: 11px;
  margin-top: 2px;
}

.domain {
  color: #777;
  font-size: 10px;
  margin-top: 1px;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 14px 0;
}

/* ── Sections ── */
.section {
  margin-bottom: 4px;
}

.section-title {
  font-size: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 14px;
}

/* ── Bio ── */
.bio {
  color: #222;
  font-size: 13px;
  line-height: 1.85;
}

/* ── Education facts ── */
.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fact-title {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #111;
}

.fact-sub {
  display: block;
  font-size: 11px;
  color: #555;
  margin-top: 1px;
}

/* ── Tags ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags-sm {
  margin-top: 6px;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  background: #ede9e0;
  color: #222;
  border: 1px solid #ddd5c5;
  white-space: nowrap;
}

.tag-dark {
  background: #2a2a2a;
  color: #f0ece4;
  border-color: #2a2a2a;
}

/* Push connect to bottom */
.col-content .section:last-of-type {
  margin-top: auto;
  padding-top: 24px;
}

/* ── Social List ── */
.social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.social-link {
  color: #111;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link i {
  font-size: 14px;
  width: 16px;
  text-align: center;
  color: #444;
  transition: color 0.15s;
}

.social-link:hover {
  color: #555;
}

.social-link:hover .fa-instagram {
  background: radial-gradient(circle at 30% 110%, #ffdb8b 0%, #ee653d 25%, #d42e81 50%, #a237b6 70%, #3e5fc8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.social-link:hover .fa-linkedin-in { color: #0077b5; }
.social-link:hover .fa-envelope { color: #e74c3c; }

/* ── Folder Tabs ── */
.folder-tabs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: -1px;
  position: relative;
  z-index: 2;
}

.tab-btn {
  padding: 8px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.1);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: rgba(238,242,236,0.6);
  color: #888;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.04em;
  position: relative;
  top: 0;
}

.tab-btn:hover {
  background: rgba(220,230,220,0.7);
  color: #2a2a2a;
}

.tab-btn.active {
  background: rgba(238,242,236,0.95);
  color: #2a2a2a;
  font-weight: 600;
  border-color: rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(238,242,236,0.95);
  top: 1px;
}

/* ── Folder Body ── */
.folder-body {
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0 6px 6px 6px;
  background: rgba(238,242,236,0.95);
  padding: 36px 40px;
  flex: 1;
  position: relative;
  z-index: 1;
  min-height: 420px;
}

/* ── Tab Panels ── */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ── Year Groups ── */
.year-group {
  margin-bottom: 28px;
}

.year {
  display: inline-block;
  font-size: 10px;
  color: #666;
  margin-bottom: 12px;
  border-left: 2px solid #2a2a2a;
  padding-left: 8px;
}

/* ── Project List ── */
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.emoji {
  font-size: 16px;
  min-width: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.project-link {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.15s;
}

.project-link:hover {
  color: #666;
  text-decoration: underline;
}

.project-desc {
  color: #444;
  font-size: 12px;
  margin-top: 2px;
}

/* ── Map ── */
#map {
  height: 340px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.08);
  margin-top: 10px;
  z-index: 1;
}

.map-legend {
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
  font-size: 10px;
  color: #555;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  display: inline-block;
  border-radius: 50%;
}

.dot-long {
  width: 9px;
  height: 9px;
  background: #2a2a2a;
}

.dot-short {
  width: 8px;
  height: 8px;
  background: transparent;
  border: 2px solid #999;
}

/* Leaflet popup */
.leaflet-popup-content-wrapper {
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.08);
}

.leaflet-popup-content {
  margin: 10px 14px;
  line-height: 1.6;
}

.popup-city {
  font-weight: bold;
  font-size: 13px;
  color: #2a2a2a;
}

.hover-popup .leaflet-popup-content-wrapper {
  padding: 2px 4px;
}

.hover-popup .leaflet-popup-content {
  margin: 6px 10px;
}

/* ── Footer ── */
.footer {
  margin-top: 20px;
  color: #aaa;
  font-size: 11px;
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .page {
    grid-template-columns: 1fr;
  }

  /* Left col: compact horizontal card */
  .col-left {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: visible;
  }

  .col-content {
    padding: 48px 20px 14px 20px; /* top padding clears the back button */
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  /* Small photo on the left */
  .col-photo {
    width: 110px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 14px;
  }

  .col-photo img {
    height: 140px;
    width: 110px;
    object-fit: cover;
  }

  /* Name/role beside the photo */
  .profile {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
  }

  .name { font-size: 15px; }
  .role { font-size: 11px; }
  .location { font-size: 10px; }

  /* Hide all sections in left col on mobile */
  .col-content .divider { display: none; }
  .col-content .section { display: none; }

  .social-link { font-size: 11px; }

  /* Right col */
  .col-right {
    padding: 20px 16px 48px;
  }

  .folder-body {
    padding: 20px 16px;
  }

  .tab-btn {
    padding: 7px 12px;
    font-size: 11px;
  }
}

/* ── Say Hello button ── */
.say-hello-btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #2a2a2a;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
}

.say-hello-btn:hover {
  background: #2a2a2a;
  color: #fff;
}

/* ── Picks intro ── */
.picks-intro {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* ── Picks list ── */
.picks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pick-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.pick-item:last-child { border-bottom: none; }

.pick-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pick-title {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.pick-author {
  font-size: 11px;
  color: #888;
}

.pick-link {
  font-size: 11px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  padding: 4px 10px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
  margin-left: auto;
  transition: background 0.15s, color 0.15s;
}

.pick-link:hover {
  background: #2a2a2a;
  color: #fff;
  border-color: #2a2a2a;
}

/* ── Like heart ── */
.pick-heart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 1px;
}


.pick-like-label {
  font-size: 9px;
  color: #aaa;
  white-space: nowrap;
  opacity: 0;
}

.pick-heart-wrap:has(.liked) .pick-like-label {
  color: #e74c3c;
}

.pick-heart {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
  padding: 0;
  transition: color 0.2s;
  line-height: 1;
}

.pick-heart.liked {
  color: #e74c3c;
  opacity: 1;
}

.pick-heart.pop {
  animation: heartPop 0.45s cubic-bezier(0.34, 1.8, 0.64, 1);
}

@keyframes heartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.6); }
  100% { transform: scale(1); }
}

/* Book cover wrapper */
.pick-img-wrap {
  width: 46px;
  min-width: 46px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
}
.pick-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Product image */
.pick-img--product {
  width: 64px !important;
  min-width: 64px;
  max-width: 64px;
  height: 64px !important;
  max-height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  mix-blend-mode: multiply;
}

/* Jo Malone — keep as square, bg intentional */
.pick-img--jomalone {
  mix-blend-mode: normal;
  filter: none;
  border-radius: 10px;
}

/* Currently reading */
.pick-reading {
  font-size: 10px;
  color: #999;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pick-reading::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5);
  animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,0.5); }
  70%  { box-shadow: 0 0 0 5px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

.pick-dots span {
  animation: dotPulse 1.4s infinite;
  opacity: 0;
}
.pick-dots span:nth-child(1) { animation-delay: 0s; }
.pick-dots span:nth-child(2) { animation-delay: 0.2s; }
.pick-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0; }
  40%            { opacity: 1; }
}

.fact-detail {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 3px;
  line-height: 1.5;
}

/* ── Contact Modal ── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 16px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.15s;
}
.contact-modal-close:hover { color: #333; }

.contact-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 6px;
}

.contact-modal-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.cf-group { display: flex; flex-direction: column; gap: 5px; }

.cf-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.cf-input {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #2a2a2a;
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
}
.cf-input:focus { border-color: #2a2a2a; background: #fff; }

.cf-textarea { resize: vertical; min-height: 100px; }

.cf-submit {
  background: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.cf-submit:hover { background: #111; }
.cf-submit:disabled { background: #888; cursor: default; }

.cf-status {
  font-size: 12px;
  text-align: center;
  min-height: 18px;
}

.cf-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf-check-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 7px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 20px;
  font-size: 12px;
  color: #2a2a2a;
  background: #fafafa;
  transition: all 0.15s;
  user-select: none;
}

.cf-check-option:hover {
  border-color: #2a2a2a;
  background: #f0f0f0;
}

.cf-check-option input[type="radio"] {
  display: none;
}

.cf-check-option:has(input:checked) {
  background: #2a2a2a;
  color: #fff;
  border-color: #2a2a2a;
}

/* ── Mobile bottom social bar ── */
.mobile-bottom-bar { display: none; }

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px 40px;
    border-top: 1px solid rgba(0,0,0,0.07);
    margin-top: 8px;
  }

  .mbb-socials {
    display: flex;
    gap: 20px;
  }

  .mbb-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #444;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
  }

  .mbb-link:hover { color: #111; border-color: #111; }
  .mbb-link:hover .fa-instagram { color: #e1306c; }
  .mbb-link:hover .fa-linkedin-in { color: #0077b5; }

  .mbb-hello-btn {
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s;
  }
  .mbb-hello-btn:hover { background: #111; }
}

.places-intro {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
