html {
  cursor: url('images/cursor-bird-48.png') 24 24, auto;
}

/* ===== TOP BLUR BANNER (mobile only) ===== */
.top-blur-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3.2rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 100000;
}

.top-blur-banner.visible {
  opacity: 1;
}

@media (max-width: 900px) {
  .top-blur-banner {
    display: block;
  }
}

/* ===== SLIDESHOW LAYOUT ===== */
.slideshow {
  position: fixed;
  inset: 0;
  bottom: 3.5rem;
  z-index: 1;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

/* Individual slide */
.slide {
  min-width: 100vw;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
}

/* Contact slide — single uniform overlay via background blend */
.slide--contact {
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: multiply;
}

/* Slide content */
.slide__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  color: #fff;
}

.slide__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem;
}

.slide__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0;
}

.slide__title--link {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.slide__title--link:hover {
  opacity: 0.75;
}

.slide__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 1.8rem 0;
}

.slide__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-bottom: 2rem;
}

.slide__btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slide__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Service boxes grid */
.slide__boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.slide__box {
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slide__box:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.slide__box-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.6rem;
}

.slide__box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 0.4rem;
}

.slide__box p {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* 6-box layout: two rows of 3 */
#slide-resources .slide__boxes {
  grid-template-columns: repeat(3, 1fr);
}

/* Contact slide grid */
.slide__contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.slide__detail-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.4rem;
}

.slide__detail {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.slide__detail a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s;
}

.slide__detail a:hover {
  color: #fff;
  opacity: 1;
}

/* Brand on slides */
.slides__brand {
  position: fixed;
  top: 2rem;
  left: 2.5rem;
  z-index: 200000;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.slides__brand:hover {
  opacity: 0.7;
}

/* Book a Session button */
.book-btn {
  position: fixed !important;
  top: 2rem;
  right: 2.5rem;
  z-index: 200000;
  display: block;
  padding: 0.7rem 1.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 23, 56, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15, 23, 56, 0.4), 0 0 40px rgba(15, 23, 56, 0.15);
  transition: all 0.3s ease;
}

.book-btn:hover {
  background: rgba(15, 23, 56, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 28px rgba(15, 23, 56, 0.55), 0 0 50px rgba(15, 23, 56, 0.25);
  transform: translateY(-1px);
  opacity: 1;
}

/* Slide arrows */
.slide-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.slide-arrow--left {
  left: 1.5rem;
}

.slide-arrow--right {
  right: 1.5rem;
}

.slide-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Bottom nav active state for slides */
.bottom-nav .nav-link {
  position: relative;
}

.bottom-nav .nav-link.active {
  color: #fff;
}

.bottom-nav .nav-link.active::after {
  width: 60%;
}

.nav-logo {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: auto;
  opacity: 0.45;
  pointer-events: none;
}

/* ===== DEEP DIVE VIEW ===== */
.deep-dive {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: #f5f2ed;
  overflow-y: auto;
  padding-bottom: 3.5rem;
}

.deep-dive.open {
  display: block;
  animation: deepDiveIn 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.deep-dive__back {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  z-index: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a2a2a;
  background: rgba(245, 242, 237, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deep-dive__back:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.15);
}

.deep-dive__content {
  padding-top: 5rem;
}

/* Deep dive sections inherit from main styles.css */
.dd-hero {
  width: 100%;
  height: 35vh;
  min-height: 250px;
  object-fit: cover;
  object-position: center center;
}

.dd-section {
  padding: 4rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.dd-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.dd-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.dd-section p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #6b6560;
  max-width: 600px;
  margin-bottom: 1.2rem;
}

.dd-divider {
  width: 40px;
  height: 1px;
  background: #9a9490;
  margin: 1.5rem 0;
}

.dd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dd-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.dd-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.dd-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9490;
  margin-bottom: 0.8rem;
}

.dd-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: #2a2a2a;
  margin-bottom: 0.8rem;
}

.dd-card p {
  font-size: 0.88rem;
  color: #6b6560;
  max-width: none;
}

.dd-card p a {
  color: #2a2a2a;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s;
}

.dd-card p a:hover {
  border-color: #2a2a2a;
  opacity: 1;
}

.dd-card p strong a {
  border-bottom: none;
  font-size: 1.1em;
}

.dd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.dd-quote {
  text-align: center;
  padding: 4rem 2rem;
  background: #eae5dd;
}

.dd-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  color: #2a2a2a;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

.dd-quote .attribution {
  display: block;
  margin-top: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9490;
}

.dd-service-list {
  list-style: none;
  padding: 0;
}

.dd-service-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dd-service-list li span {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9490;
}

.dd-cta {
  text-align: center;
  padding: 5rem 2rem;
  background: #1a1a1a;
  color: #fff;
}

.dd-cta h2 {
  color: #fff;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.dd-cta p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: center;
}

.dd-cta .dd-btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}

.dd-cta .dd-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Contact form in deep dive */
.dd-form-group {
  margin-bottom: 1.5rem;
}

.dd-form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9490;
  margin-bottom: 0.5rem;
}

.dd-form-group input,
.dd-form-group textarea {
  width: 100%;
  padding: 0.8rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #2a2a2a;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  outline: none;
  transition: border-color 0.3s;
}

.dd-form-group input:focus,
.dd-form-group textarea:focus {
  border-color: #2a2a2a;
}

.dd-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.dd-submit {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  cursor: pointer;
  transition: all 0.3s;
}

.dd-submit:hover {
  background: transparent;
  color: #1a1a1a;
}

/* Footer in deep dive */
.dd-footer {
  padding: 3rem 2.5rem 2rem;
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.5);
}

.dd-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.dd-footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.dd-footer p {
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: none;
  color: rgba(255, 255, 255, 0.5);
}

.dd-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.dd-footer a:hover {
  color: #fff;
}

.dd-footer-bottom {
  max-width: 900px;
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .slide__content { max-width: 90vw; }
  .slide__boxes { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .slide__box { padding: 1.5rem 1.4rem; }
  .slide__box h3 { font-size: 1.05rem; }
  .slide__box p { font-size: 0.72rem; }
  .slide__contact-grid { gap: 1.4rem; }
}

@media (max-width: 900px) {
  .dd-grid-2 { grid-template-columns: 1fr; }
  .dd-grid-3 { grid-template-columns: 1fr; }
  .dd-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .dd-footer-bottom { flex-direction: column; gap: 0.5rem; }
  .slide__contact-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Bottom nav scrollable on tablet */
  .bottom-nav {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .bottom-nav a { white-space: nowrap; }
}

/* Phone */
@media (max-width: 600px) {
  .slide-arrow { display: none; }
  .slides__brand { top: 1.2rem; left: 1.5rem; font-size: 0.65rem; }

  /* Book button — small, top-right, aligned with brand */
  .book-btn {
    top: 1.0rem !important;
    right: 1.2rem !important;
    left: auto !important;
    bottom: auto !important;
    padding: 0.3rem 0.625rem !important;
    font-size: 0.4rem !important;
    letter-spacing: 0.075em !important;
  }

  /* Brand smaller to fit alongside book button, above blur banner */
  .slides__brand {
    top: 1.2rem;
    left: 1.2rem;
    font-size: 0.55rem;
    z-index: 200000 !important;
  }

  /* Allow slide content to scroll vertically, align top on mobile */
  .slide {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
  }

  /* Push slide content down to clear top bar */
  .slide__content {
    padding: 1.2rem;
    max-width: 100vw;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .slide__title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .slide__text { font-size: 0.82rem; max-width: 100%; }
  .slide__label { font-size: 0.62rem; margin-bottom: 0.8rem; }
  .slide__divider { margin: 1.2rem 0; }

  /* Service boxes stack on phone */
  .slide__boxes { grid-template-columns: 1fr; gap: 0.6rem; }
  .slide__box {
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .slide__box-num {
    margin-bottom: 0;
    font-size: 0.8rem;
    min-width: 1.5rem;
  }
  .slide__box h3 { font-size: 0.95rem; margin-bottom: 0.1rem; }
  .slide__box p { font-size: 0.7rem; line-height: 1.4; }

  /* Resources boxes: 2-col → 1-col on phone */
  #slide-resources .slide__boxes {
    grid-template-columns: 1fr;
  }

  /* Contact grid */
  .slide__contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .slide__detail { font-size: 1rem; }
  .slide__btn { padding: 0.7rem 2rem; font-size: 0.65rem; }

  /* Deep dive */
  .deep-dive__back { top: 0.8rem; left: 0.8rem; font-size: 0.6rem; padding: 0.5rem 0.8rem; }
  .deep-dive__content { padding-top: 4rem; }
  .dd-section { padding: 2.5rem 1.2rem; }
  .dd-hero { height: 35vh; min-height: 220px; }
  .dd-card { padding: 1.5rem; }
  .dd-cta { padding: 3rem 1.5rem; }
  .dd-cta h2 { font-size: 1.8rem; }
  .dd-footer { padding: 2rem 1.2rem 1.5rem; }
  .dd-footer-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .dd-footer-bottom { flex-direction: column; gap: 0.3rem; }

  /* Deep dive service list */
  .dd-service-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  /* Bottom nav — two rows, centred */
  .bottom-nav {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .bottom-nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
  .nav-logo { display: none; }
}

/* Very small phones */
@media (max-width: 380px) {
  .slide__title { font-size: 1.6rem; }
  .slide__box { padding: 1rem; }
  .slide__box h3 { font-size: 0.85rem; }
  .bottom-nav a { padding: 0.8rem 0.6rem; font-size: 0.5rem; }

  .book-btn {
    font-size: 0.6rem;
    padding: 0.7rem 1rem;
  }
}
