/* ============================================
   KINGDOM WORKSHOP — Inner Page Styles
   ============================================ */

html {
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .site-footer {
  margin-top: auto;
}

/* ============================================
   PAGE HERO
   ============================================ */

.page-hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 5vw 2rem;
  background: linear-gradient(
    to bottom,
    rgba(13, 31, 34, 1) 0%,
    rgba(13, 31, 34, 0.5) 60%,
    var(--bg-primary) 100%
  );
}

.page-hero.page-hero--post {
  min-height: 50vh;
  padding: 8rem 5vw 4rem;
  background: linear-gradient(
    to bottom,
    rgba(13, 31, 34, 1) 0%,
    rgba(13, 31, 34, 0.6) 50%,
    var(--bg-primary) 100%
  );
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 31, 34, 0.4) 0%,
    rgba(13, 31, 34, 0.55) 40%,
    var(--bg-primary) 100%
  );
}

.page-hero .section-label,
.page-hero .page-title,
.page-hero .page-subtitle {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  animation: heroFadeUp 0.8s ease both;
}

.page-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: heroFadeUp 0.8s ease 0.15s both;
}

.page-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  max-width: 600px;
  animation: heroFadeUp 0.8s ease 0.3s both;
}

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

/* ============================================
   PAGE CONTENT
   ============================================ */

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 5vw;
}

.page-content--wide {
  max-width: 1200px;
}

/* ============================================
   SESSION CARDS
   ============================================ */

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.session-card {
  border: 1px solid rgba(39, 182, 196, 0.15);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(39, 182, 196, 0.03);
  transition: border-color 0.3s ease, background 0.3s ease, padding 0.3s ease;
  cursor: pointer;
}

.session-card:hover {
  border-color: var(--accent);
  background: rgba(39, 182, 196, 0.06);
}

.session-label {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.session-dates {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.session-register {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease, background 0.3s ease;
  align-self: flex-start;
}

.session-card:hover .session-register {
  opacity: 1;
  max-height: 3rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.session-register:hover {
  background: var(--accent-warm);
}

@media (max-width: 480px) {
  .session-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile: disable hover animations, show buttons directly */
@media (max-width: 768px) {
  .session-register {
    opacity: 1;
    max-height: 3rem;
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    transition: none;
  }

  .session-card:hover .session-register {
    all: unset;
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: var(--accent);
    align-self: flex-start;
    margin-top: 0.75rem;
  }

  .session-card:hover {
    border-color: rgba(39, 182, 196, 0.15);
    background: rgba(39, 182, 196, 0.03);
  }

  .map-marker-lg:hover,
  .map-marker-lg.is-hovered {
    transform: translate(-50%, -50%) scale(1);
    border-color: #000;
    box-shadow: none;
    background: rgba(50, 50, 50, 0.6);
  }

  .map-marker-lg:hover::before,
  .map-marker-lg.is-hovered::before {
    opacity: 0;
  }
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   BUILDING CARDS (Tour page)
   ============================================ */

.building-card {
  padding-top: 2rem;
  margin-bottom: 3.5rem;
  border-top: 1px solid rgba(39, 182, 196, 0.1);
}

.building-card:last-child {
  margin-bottom: 0;
}

.building-name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.building-body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.building-features {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 2;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  border-bottom: 1px solid rgba(232, 228, 222, 0.06);
}

.faq-item:first-child {
  border-top: 1px solid rgba(232, 228, 222, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.75rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: 1.5rem;
  transition: transform 0.4s ease;
  color: var(--text-secondary);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
  padding: 0 0 0 0;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 0 2rem 0;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 700px;
}

/* ============================================
   CONTACT CHANNELS
   ============================================ */

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.contact-channel {
  border-top: 1px solid rgba(39, 182, 196, 0.1);
  padding-top: 2rem;
}

.contact-channel-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.contact-channel-value {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

a.contact-channel-value:hover {
  color: var(--accent);
}

/* ============================================
   BLOCKQUOTE
   ============================================ */

.page-quote {
  border-left: 2px solid rgba(39, 182, 196, 0.3);
  padding: 1.5rem 0 1.5rem 2rem;
  margin: 3rem 0;
}

.page-quote p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
}

.page-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* ============================================
   PAGE CTA
   ============================================ */

.page-cta {
  text-align: center;
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(39, 182, 196, 0.1);
  margin-top: 2.5rem;
}

.page-cta p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
  width: 100%;
  padding: 3rem 5vw;
  border-top: 1px solid rgba(232, 228, 222, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(138, 134, 128, 0.5);
  letter-spacing: 0.04em;
}

/* ============================================
   WHAT TO EXPECT (Fellowship page)
   ============================================ */

.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.expect-item {
  border-top: 1px solid rgba(39, 182, 196, 0.1);
  padding-top: 2rem;
}

.expect-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.expect-body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   APPLY FORM
   ============================================ */

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.apply-form-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.form-required {
  color: var(--accent);
  font-weight: 600;
}

.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 228, 222, 0.12);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(39, 182, 196, 0.05);
}

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

.form-helper {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: -0.25rem;
}

.form-radio-group {
  display: flex;
  gap: 2rem;
}

.form-radio,
.form-checkbox {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(232, 228, 222, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 228, 222, 0.08);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.form-radio:hover,
.form-checkbox:hover {
  color: var(--text-primary);
  background: rgba(39, 182, 196, 0.06);
  border-color: rgba(39, 182, 196, 0.2);
}

.form-radio input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 24px;
  background: rgba(232, 228, 222, 0.12);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
  border: none;
  outline: none;
}

.form-checkbox input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: rgba(232, 228, 222, 0.5);
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--accent);
}

.form-checkbox input[type="checkbox"]:checked::before {
  transform: translateX(20px);
  background: #fff;
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-error {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #e74c3c;
  margin-top: 0.25rem;
}

/* ============================================
   BRUNO GUIDE (Tour page)
   ============================================ */

.bruno-guide {
  position: fixed;
  right: 3%;
  bottom: 20px;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  animation: brunoSlideIn 0.8s ease 1s both;
}

.bruno-gradient {
  display: none;
}

.tour-map::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 80% at 75% 70%,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.85) 15%,
    rgba(10, 10, 10, 0.65) 30%,
    rgba(10, 10, 10, 0.4) 45%,
    rgba(10, 10, 10, 0.15) 60%,
    rgba(10, 10, 10, 0.05) 75%,
    transparent 85%
  );
}

@keyframes brunoGradientIn {
  to { opacity: 1; }
}

@keyframes brunoSlideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.bruno-full {
  height: 75vh;
  max-height: 700px;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.bruno-speech {
  position: absolute;
  left: -300px;
  bottom: 5%;
  width: 280px;
  max-height: 300px;
  background: none;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
}

.bruno-speech.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bruno-speech .map-tooltip-body {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 2.5rem;
  background: none;
}

.bruno-speech .tooltip-nav {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
}

.bruno-restart-btn {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  margin-bottom: 6rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border: 1.5px solid rgba(39, 182, 196, 0.5);
  border-radius: 10px;
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow:
    0 0 12px rgba(39, 182, 196, 0.3),
    0 0 24px rgba(39, 182, 196, 0.15);
  animation: restartGlow 2s ease-in-out infinite;
}

.bruno-restart-btn.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bruno-restart-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--accent);
  box-shadow:
    0 0 18px rgba(39, 182, 196, 0.5),
    0 0 36px rgba(39, 182, 196, 0.25);
}

@keyframes restartGlow {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(39, 182, 196, 0.3),
      0 0 24px rgba(39, 182, 196, 0.15);
  }
  50% {
    box-shadow:
      0 0 18px rgba(39, 182, 196, 0.5),
      0 0 36px rgba(39, 182, 196, 0.25);
  }
}

@media (max-width: 768px) {
  .bruno-restart-btn {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    align-self: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
  }
  .bruno-restart-btn.is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .bruno-guide {
    right: 1%;
    bottom: 10px;
  }
  .bruno-full {
    height: 45vh;
    max-height: 380px;
  }
  .bruno-speech {
    width: 260px;
    max-height: 220px;
    left: -270px;
    bottom: 5%;
    font-size: 0.85rem;
  }
  .tour-map::after {
    background: radial-gradient(
      ellipse 45% 50% at 90% 80%,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.5) 25%,
      rgba(10, 10, 10, 0.15) 50%,
      transparent 65%
    );
  }
}

@media (max-width: 1024px) {
  .bruno-guide {
    right: 0;
    bottom: 0;
  }
  .bruno-full {
    height: 30vh;
    max-height: 250px;
  }
  .bruno-speech {
    width: 280px;
    max-height: 200px;
    left: -290px;
    bottom: 5%;
    font-size: 0.82rem;
  }
  .bruno-speech .map-tooltip-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .bruno-speech .map-tooltip-body {
    margin-bottom: 2rem;
  }
  .tour-map::after {
    background: radial-gradient(
      ellipse 35% 40% at 94% 88%,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.5) 25%,
      rgba(10, 10, 10, 0.12) 50%,
      transparent 60%
    );
  }
}

@media (max-width: 768px) {
  .bruno-guide {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
  }
  .bruno-full {
    height: 32vh;
    max-height: 280px;
    margin-right: 3vw;
  }
  .bruno-speech {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: 30vh;
    z-index: 55;
    overflow: hidden;
    background: rgba(10, 10, 10, 0.92);
    border-radius: 14px;
    padding: 0.75rem 1rem 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(39, 182, 196, 0.12);
  }
  .bruno-speech .map-tooltip-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(39, 182, 196, 0.12);
  }
  .bruno-speech .map-tooltip-body {
    max-height: calc(30vh - 4rem);
    overflow-y: auto;
    margin-bottom: 2.25rem;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }
  .bruno-speech .map-tooltip-body p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  .bruno-speech .tooltip-nav {
    position: absolute;
    bottom: 0.4rem;
    right: 0.5rem;
  }
  .tour-map::after {
    background: radial-gradient(
      ellipse 100% 60% at 80% 90%,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.5) 30%,
      rgba(10, 10, 10, 0.15) 55%,
      transparent 75%
    );
  }
}

@media (max-width: 480px) {
  .bruno-guide {
    padding: 0 2vw;
  }
  .bruno-full {
    height: 28vh;
    max-height: 220px;
  }
  .bruno-full {
    height: 25vh;
    max-height: 200px;
    margin-right: 2vw;
  }
  .bruno-speech {
    max-height: 28vh;
    padding: 0.6rem 0.75rem 0.4rem;
  }
  .bruno-speech .map-tooltip-body {
    max-height: calc(28vh - 4.5rem);
  }
  .bruno-speech .map-tooltip-title {
    font-size: 0.95rem;
  }
  .bruno-speech .map-tooltip-body p {
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
  }
}

/* ============================================
   TOUR MAP
   ============================================ */

.tour-page-hero {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(13, 31, 34, 0.95) 0%,
    rgba(10, 10, 10, 0.8) 60%,
    transparent 100%
  );
}

.tour-map {
  position: relative;
  width: 100%;
  padding: 0 2vw 3rem;
  background: var(--bg-primary);
  margin-top: -36rem;
  z-index: auto;
  opacity: 0;
  transform: scale(0.96);
  animation: mapFadeIn 1.2s ease 0.4s forwards;
}

@keyframes mapFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.tour-map-inner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.tour-map-markers {
  position: absolute;
  top: 0;
  left: 2vw;
  right: 2vw;
  bottom: 3rem;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 51;
  pointer-events: none;
  overflow: visible;
}


.tour-map-markers .map-marker-lg {
  pointer-events: auto;
}

.map-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.map-marker-lg {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(50, 50, 50, 0.6);
  border: 4px solid #000;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  will-change: transform;
}

.map-marker-lg::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    transparent 38%,
    rgba(39, 182, 196, 0.6) 44%,
    rgba(200, 240, 245, 0.9) 48%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(200, 240, 245, 0.9) 52%,
    rgba(39, 182, 196, 0.6) 56%,
    transparent 62%
  );
  transition: opacity 0.4s ease;
}

.map-marker-lg.tooltip-step1,
.map-marker-lg.tooltip-step2 {
  z-index: 100;
}

.map-marker-lg:hover,
.map-marker-lg.is-hovered {
  transform: translate(-50%, -50%) scale(1.25);
  background: rgba(39, 182, 196, 0.15);
  border-color: transparent;
  box-shadow:
    0 0 20px rgba(39, 182, 196, 0.5),
    0 0 40px rgba(39, 182, 196, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.2),
    inset 0 -2px 3px rgba(0, 0, 0, 0.3);
}

.map-marker-lg:hover::before,
.map-marker-lg.is-hovered::before {
  opacity: 1;
}

.map-marker-img {
  overflow: visible;
}

.map-marker-img .marker-portrait {
  clip-path: circle(50%);
}

.marker-portrait {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.map-marker-lg span {
  font-size: 20px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* ---- Map Tooltip ---- */

.map-tooltip {
  position: absolute;
  bottom: 100%;
  right: calc(50% - 1px);
  width: min(336px, 70vw);
  height: min(336px, 50vh);
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  z-index: 55;
  opacity: 0;
  transform: scale(0.92);
  filter: blur(4px);
  box-shadow: none;
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.map-marker-lg.tooltip-step1 .map-tooltip,
.map-marker-lg.tooltip-step1 .map-tooltip--right,
.map-marker-lg.tooltip-step1 .map-tooltip--right-down,
.map-marker-lg.tooltip-step1 .map-tooltip--left-down {
  opacity: 0.6;
  transform: scale(0.96);
  filter: blur(2px);
}

.map-marker-lg.tooltip-step2 .map-tooltip,
.map-marker-lg.tooltip-step2 .map-tooltip--right,
.map-marker-lg.tooltip-step2 .map-tooltip--right-down,
.map-marker-lg.tooltip-step2 .map-tooltip--left-down {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  filter: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Right-extending tooltip variant */
.map-tooltip--right {
  bottom: auto;
  top: 100%;
  right: auto;
  left: calc(50% - 1px);
}

/* Right-then-down tooltip variant */
.map-tooltip--right-down {
  bottom: auto;
  top: calc(50% - 1px);
  right: auto;
  left: 100%;
}

/* Responsive tooltip: default up-left, switches to below on small screens */
@media (max-width: 1024px) {
  .map-tooltip--bottom-responsive {
    bottom: auto;
    top: 100%;
    right: auto;
    left: calc(50% - 1px);
  }
}

.tooltip-nav {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.tooltip-nav-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(39, 182, 196, 0.5);
  border-radius: 8px;
  background: rgba(39, 182, 196, 0.15);
  color: var(--accent);
  font-size: 1.1rem;
  box-shadow: 0 0 8px rgba(39, 182, 196, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  pointer-events: auto;
}

.tooltip-nav-btn:hover {
  background: rgba(39, 182, 196, 0.25);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(39, 182, 196, 0.3);
}

/* Left-then-down tooltip variant */
.map-tooltip--left-down {
  bottom: auto;
  top: calc(50% - 1px);
  right: 100%;
  left: auto;
}

.map-tooltip-subtitle {
  font-size: 9px;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.02em;
}

.map-tooltip-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-top: 0.25rem;
}

.map-tooltip-body {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(232, 228, 222, 0.85);
  flex: 1;
  overflow-y: auto;
  margin-bottom: 2.5rem;
  position: relative;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 30%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0.05) 80%,
    transparent 100%
  );
  padding: 0.75rem;
  margin: -0.75rem;
  padding-right: 1.25rem;
}

.tooltip-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0.75rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-tooltip-body p {
  margin-bottom: 1rem;
  padding-left: 1.75rem;
  text-indent: -1.75rem;
}

.map-tooltip-body p:last-child {
  margin-bottom: 0;
}

.map-tooltip-body::-webkit-scrollbar {
  width: 3px;
}

.map-tooltip-body::-webkit-scrollbar-track {
  background: transparent;
}

.map-tooltip-body::-webkit-scrollbar-thumb {
  background: rgba(39, 182, 196, 0.3);
  border-radius: 2px;
}

.tour-map-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  mask-image:
    linear-gradient(to bottom, transparent 0%, transparent 28%, black 52%, black 88%, transparent 95%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, transparent 28%, black 52%, black 88%, transparent 95%),
    linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
}


/* ============================================
   JOURNAL LIST
   ============================================ */

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journal-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(232, 228, 222, 0.06);
  transition: border-color 0.3s ease;
}

.journal-item:first-child {
  border-top: 1px solid rgba(232, 228, 222, 0.06);
}

.journal-item:hover {
  border-color: var(--accent);
}

.journal-date {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  min-width: 80px;
  flex-shrink: 0;
}

.journal-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.75rem;
}

.journal-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.journal-item:hover .journal-title {
  color: var(--accent);
}

.journal-excerpt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

.journal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-shrink: 0;
  width: 140px;
}

.journal-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0.7;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 35%, #000 65%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 35%, #000 65%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, #000 35%, #000 65%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 35%, #000 65%, transparent 100%);
          mask-composite: intersect;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.journal-item:hover .journal-thumb {
  transform: scale(1.03);
  opacity: 0.85;
}

/* ============================================
   POST (individual article)
   ============================================ */

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(232, 228, 222, 0.06);
}

.post-date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.post-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(39, 182, 196, 0.2);
  border-radius: 3px;
}

.post-body {
  margin-bottom: 4rem;
}

.post-body p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.post-body p:last-child {
  margin-bottom: 0;
}

.post-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(39, 182, 196, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.3s ease;
}

.post-body a:hover {
  border-color: var(--accent);
}

.post-body em {
  color: var(--text-primary);
}

.post-video {
  margin: 2.5rem 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(39, 182, 196, 0.1);
}

.post-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}

.post-nav {
  padding-top: 3rem;
  border-top: 1px solid rgba(232, 228, 222, 0.06);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1280px) {
  .tour-map {
    margin-top: -20rem;
  }
}

@media (max-width: 1024px) {
  .page-hero {
    padding: 4.5rem 5vw 1.5rem;
  }
  .page-hero.page-hero--post {
    min-height: 45vh;
    padding: 7rem 5vw 3rem;
  }

  .tour-map {
    margin-top: -10rem;
    padding: 0 0 0.5rem;
    overflow: hidden;
  }

  .tour-map-inner {
    min-width: auto;
    overflow: hidden;
  }

  .tour-map-inner img {
    min-width: auto;
    width: 140%;
    margin-left: -20%;
    object-fit: cover;
  }

  .tour-map-markers {
    min-width: auto;
    left: 0;
    right: 0;
    margin-left: -20%;
    width: 140%;
  }

  .map-marker-lg {
    width: 36px;
    height: 36px;
  }

  .map-marker-lg span {
    font-size: 16px;
  }

  .map-tooltip,
  .map-tooltip--right,
  .map-tooltip--right-down,
  .map-tooltip--left-down,
  .map-tooltip--bottom-responsive {
    width: min(230px, 42vw);
    height: auto;
    max-height: min(260px, 35vh);
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    overflow-y: auto;
  }

  .map-tooltip .map-tooltip-title,
  .map-tooltip--right .map-tooltip-title,
  .map-tooltip--right-down .map-tooltip-title,
  .map-tooltip--left-down .map-tooltip-title,
  .map-tooltip--bottom-responsive .map-tooltip-title {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .map-tooltip .tooltip-img,
  .map-tooltip--right .tooltip-img,
  .map-tooltip--right-down .tooltip-img,
  .map-tooltip--left-down .tooltip-img,
  .map-tooltip--bottom-responsive .tooltip-img {
    border-radius: 6px;
    margin: 0.25rem 0;
  }

  .map-tooltip .map-tooltip-body,
  .map-tooltip--right .map-tooltip-body,
  .map-tooltip--right-down .map-tooltip-body,
  .map-tooltip--left-down .map-tooltip-body,
  .map-tooltip--bottom-responsive .map-tooltip-body {
    margin-bottom: 0;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
  .page-hero {
    padding: 4rem 6vw 1.5rem;
  }
  .page-hero.page-hero--post {
    min-height: 40vh;
    padding: 6rem 6vw 3rem;
  }

  .page-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .page-content {
    padding: 4rem 6vw;
  }

  .building-card {
    margin-bottom: 4rem;
  }

  .building-name {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .contact-channels {
    gap: 2rem;
  }

  .contact-channel-value {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .site-footer {
    padding: 3rem 6vw;
  }

  .expect-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .journal-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .journal-date {
    min-width: unset;
  }

  .journal-meta {
    width: 100%;
  }

  .journal-thumb {
    height: 180px;
  }

  .journal-info {
    padding-top: 0;
  }

  .tour-map {
    margin-top: -12rem;
    padding: 0 0 0.5rem;
    overflow: visible;
  }

  .tour-map-inner {
    overflow: hidden;
  }

  .tour-map-inner img {
    width: 180%;
    margin-left: -40%;
  }

  .tour-map-markers {
    margin-left: -40%;
    width: 180%;
  }

  .tour-page-hero {
    padding-bottom: 1.5rem;
  }

  .map-marker-lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }

  .map-marker-lg span {
    font-size: 14px;
  }

  /* Must match tablet specificity (.map-tooltip .child) to override */
  .map-tooltip .map-tooltip-title,
  .map-tooltip--right .map-tooltip-title,
  .map-tooltip--right-down .map-tooltip-title,
  .map-tooltip--left-down .map-tooltip-title,
  .map-tooltip--bottom-responsive .map-tooltip-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .map-tooltip,
  .map-tooltip--right,
  .map-tooltip--right-down,
  .map-tooltip--left-down,
  .map-tooltip--bottom-responsive {
    max-height: min(220px, 28vh);
    /* No scale/transform on mobile — fade only, no positional shift */
    transform: none !important;
  }

  .map-tooltip .map-tooltip-body,
  .map-tooltip--right .map-tooltip-body,
  .map-tooltip--right-down .map-tooltip-body,
  .map-tooltip--left-down .map-tooltip-body,
  .map-tooltip--bottom-responsive .map-tooltip-body {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0;
  }

  /* Visible scroll indicator on mobile */
  .map-tooltip-body::-webkit-scrollbar {
    width: 5px;
  }

  .map-tooltip-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
  }

  .map-tooltip-body::-webkit-scrollbar-thumb {
    background: rgba(39, 182, 196, 0.6);
    border-radius: 4px;
    min-height: 30px;
  }

  /* Firefox scrollbar */
  .map-tooltip-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(39, 182, 196, 0.6) rgba(255, 255, 255, 0.08);
  }

  /* Override step1/step2 scale transitions on mobile to prevent glitching */
  .map-marker-lg.tooltip-step1 .map-tooltip,
  .map-marker-lg.tooltip-step1 .map-tooltip--right,
  .map-marker-lg.tooltip-step1 .map-tooltip--right-down,
  .map-marker-lg.tooltip-step1 .map-tooltip--left-down,
  .map-marker-lg.tooltip-step1 .map-tooltip--bottom-responsive,
  .map-marker-lg.tooltip-step2 .map-tooltip,
  .map-marker-lg.tooltip-step2 .map-tooltip--right,
  .map-marker-lg.tooltip-step2 .map-tooltip--right-down,
  .map-marker-lg.tooltip-step2 .map-tooltip--left-down,
  .map-marker-lg.tooltip-step2 .map-tooltip--bottom-responsive {
    transform: none !important;
  }

  /* On mobile, reposition side-extending tooltips to open below the marker
     so they don't extend off the edges of the screen */
  .map-tooltip--left-down,
  .map-tooltip--right-down {
    right: auto;
    left: 50%;
    top: 100%;
    bottom: auto;
  }

  /* Manor Haus: top-right corner touches marker, extends left */
  .map-tooltip--right {
    left: auto;
    right: 50%;
    top: 100%;
    bottom: auto;
  }

  /* The Workshop (tour-index 3): shorter box, scroll through images */
  [data-tour-index="3"] .map-tooltip--right-down {
    max-height: min(180px, 22vh);
  }

  /* Fishing Hole (tour-index 4): top-left corner touches marker, extends right */
  [data-tour-index="4"] .map-tooltip {
    bottom: auto;
    top: -120px;
    right: auto;
    left: 50%;
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE
   ============================================ */

@media (max-width: 480px) {
  .page-hero {
    padding: 3.5rem 5vw 1.5rem;
  }
  .page-hero.page-hero--post {
    min-height: 35vh;
    padding: 5rem 5vw 2rem;
  }

  .page-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .page-content {
    padding: 3rem 5vw;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1.25rem 0;
  }

  .tour-map-inner img {
    width: 220%;
    margin-left: -60%;
  }

  .tour-map-markers {
    margin-left: -60%;
    width: 220%;
  }

  .map-marker-lg {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .map-marker-lg span {
    font-size: 12px;
  }

  .map-tooltip,
  .map-tooltip--right,
  .map-tooltip--right-down,
  .map-tooltip--left-down,
  .map-tooltip--bottom-responsive {
    max-height: min(200px, 25vh);
  }

  .map-tooltip .map-tooltip-body,
  .map-tooltip--right .map-tooltip-body,
  .map-tooltip--right-down .map-tooltip-body,
  .map-tooltip--left-down .map-tooltip-body,
  .map-tooltip--bottom-responsive .map-tooltip-body {
    font-size: 0.88rem;
  }

  .tooltip-img {
    border-radius: 6px;
    margin: 0.2rem 0;
  }
}

/* ============================================
   IMAGE LIGHTBOX (mobile only)
   ============================================ */

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.img-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.img-lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.img-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

.img-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
