/* ============================================
   HOME — LISTEN BETTER
   One continuous scroll: Splash → Manifesto → Rooms → Footer
   ============================================ */

.home-body {
  background: var(--surface, #f5eedd);
  color: var(--ink, #1a1815);
  font-family: "EB Garamond", "Iowan Old Style", Georgia, serif;
  overflow-x: hidden;
}

/* ---- Wordmark upper left ---- */
.home-wordmark {
  position: fixed;
  top: clamp(1.5rem, 2.5vw, 2.25rem);
  left: clamp(1.5rem, 3vw, 3rem);
  z-index: 40;
  pointer-events: auto;
}

.home-wordmark a {
  text-decoration: none;
  display: inline-block;
}

.home-wordmark__name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  letter-spacing: 0.24em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 14px rgba(0, 0, 0, 0.55);
  color: #E8B968;
  text-transform: uppercase;
  display: inline-block;
  transition: color 0.3s ease;
}

.home-wordmark__name:hover {
  color: #e8b968;
}

/* Past splash: over cream — drop the atmospheric halo, keep gold */
.is-past-splash .home-wordmark__name {
  text-shadow: none;
  color: #D9A653;
}

.is-past-splash .home-wordmark__name:hover {
  color: #b98a3f;
}

/* ---- Top-right compact nav ---- */
.home-nav {
  position: fixed;
  top: clamp(1.5rem, 2.5vw, 2.25rem);
  right: clamp(1.5rem, 3vw, 3rem);
  z-index: 40;
  display: flex;
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-nav a {
  color: #faf5e8;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 2px 14px rgba(0, 0, 0, 0.55);
}

.home-nav a:hover {
  color: #E8B968;
}

.home-nav .nav-num {
  font-size: 0.65rem;
  color: rgba(250, 245, 232, 0.78);
}

/* Past splash: over cream — swap to ink, drop halo */
.is-past-splash .home-nav a {
  color: #1a1815;
  text-shadow: none;
}

.is-past-splash .home-nav a:hover {
  color: #D9A653;
}

@media (max-width: 768px) {
  .home-nav {
    display: none;
  }
}

/* ---- THRESHOLD / SPLASH ---- */
.threshold {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1650 / 849;
  min-height: 420px;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(6.5rem, 14.5vw, 12.5rem);
}

@media (max-width: 720px) {
  .threshold {
    /* On mobile the cinematic band is too short — give it height and let cover crop the sides */
    aspect-ratio: auto;
    height: 58vh;
    min-height: 380px;
    padding-bottom: 6.5rem;
  }
  .threshold__image {
    background-position: 30% 25% !important;
  }
  .threshold__scrim {
    background:
      linear-gradient(180deg,
        rgba(30, 26, 20, 0.15) 0%,
        rgba(30, 26, 20, 0.12) 45%,
        rgba(30, 26, 20, 0.62) 100%
      ) !important;
  }
}

.threshold__image {
  position: absolute;
  inset: 0;
  background-image: url("../images/ceremony-hero.jpg?v=20260828a");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1815;
  filter: brightness(0.94) contrast(1.05) saturate(0.98);
  z-index: 0;
}

.threshold__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(30, 26, 20, 0.15) 0%,
      rgba(30, 26, 20, 0.1) 40%,
      rgba(30, 26, 20, 0.48) 100%
    );
  z-index: 1;
}

.threshold__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  color: #faf5e8;
  /* Center the mantra on Kevin's sternum (~43% across the frame), not the viewport */
  transform: translateX(-7vw);
}

@media (max-width: 720px) {
  .threshold__content {
    transform: none;
  }
}

.threshold__mantra {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 2.6vw, 2.3rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
  animation: fadeUp 1.6s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@media (max-width: 720px) {
  .threshold__mantra {
    /* Explicitly smaller and quieter on phones */
    font-size: 1.6rem !important;
    line-height: 1;
  }
}

.threshold__mantra .ital {
  font-style: italic;
  color: #E8B968;
  font-weight: 500;
}

.threshold__mantra .threshold__stop {
  color: #E8B968;
}

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

.threshold__scroll-cue {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: calc(50% - 7vw);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(250, 245, 232, 0.75);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: gentleBob 2.6s ease-in-out infinite;
}

.threshold__scroll-cue .arrow {
  font-size: 1rem;
  letter-spacing: 0;
}

@keyframes gentleBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.75; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

@media (max-width: 720px) {
  .threshold__scroll-cue {
    left: 50%;
  }
}

/* ---- MANIFESTO ---- */
.manifesto {
  background: #f5eedd;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 6vw, 6rem);
  position: relative;
}

.manifesto__inner {
  max-width: 46rem;
  margin: 0 auto;
}

.manifesto__eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26, 24, 21, 0.55);
  margin: 0 0 clamp(3rem, 5vw, 4rem) 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.manifesto__eyebrow .diamond {
  color: #D9A653;
  font-size: 0.85rem;
}

.manifesto__mantra {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1a1815;
  text-align: center;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem) 0;
}

.manifesto__mantra .ital {
  font-style: italic;
  color: #D9A653;
  font-weight: 500;
}

.manifesto__attribution {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: rgba(26, 24, 21, 0.7);
  text-align: center;
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem) 0;
}

.manifesto__attribution em {
  color: #D9A653;
  font-style: italic;
  font-weight: 500;
}

.manifesto__thesis {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  color: #1a1815;
  margin: 0 0 clamp(0.55rem, 1vw, 0.8rem) 0;
}

.manifesto__subline {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  letter-spacing: 0.06em;
  text-align: center;
  color: rgba(26, 24, 21, 0.55);
  margin: 0 0 clamp(3rem, 5.5vw, 4.5rem) 0;
}

[data-theme="dark"] .manifesto__subline {
  color: rgba(245, 238, 221, 0.5);
}

@media (max-width: 640px) {
  .manifesto__thesis {
    font-size: 1.75rem;
    line-height: 1.2;
  }
}

.manifesto__thesis .ital {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #D9A653;
  letter-spacing: -0.005em;
}

.manifesto__body {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.68;
  color: rgba(26, 24, 21, 0.88);
}

.manifesto__body p {
  margin: 0 0 clamp(1.4rem, 2.2vw, 1.9rem) 0;
}

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

.manifesto__body em {
  font-style: italic;
  color: #D9A653;
  font-weight: 500;
}

.manifesto__body .ital {
  font-style: italic;
  color: #D9A653;
  font-weight: 500;
}

.manifesto__closer {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem) !important;
  font-style: italic;
  line-height: 1.55;
  padding-top: clamp(0.5rem, 1.5vw, 1rem);
  color: rgba(26, 24, 21, 0.95);
}

/* ---- THREE ROOMS · ONE PRACTICE ---- */
.rooms {
  background: #1a1815;
  padding: clamp(6rem, 10vw, 8rem) 0 0 0;
  position: relative;
}

.rooms__header {
  text-align: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem) clamp(4rem, 6vw, 5rem);
}

.rooms__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}

.rooms__lede {
  margin: 1.4rem auto 0;
  max-width: 34em;
  font-family: "EB Garamond", serif;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: rgba(237, 227, 205, 0.72);
}

.rooms__lede .ital {
  font-style: italic;
  color: #d9a653;
}

.rooms__eyebrow .tick {
  font-family: "Space Grotesk", sans-serif !important;
  font-style: normal !important;
  font-size: 1.22rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.34em !important;
  text-transform: uppercase !important;
  color: #D9A653 !important;
  text-shadow: 0 1px 20px rgba(217, 166, 83, 0.14);
}

.rooms__eyebrow .diamond {
  color: rgba(217, 166, 83, 0.7);
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
}

@media (max-width: 720px) {
  .rooms__eyebrow {
    gap: 0.85rem;
  }
  .rooms__eyebrow .tick {
    font-size: 0.92rem !important;
    letter-spacing: 0.28em !important;
  }
}

.rooms__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

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

/* ---- Individual Room ---- */
.room {
  position: relative;
  display: flex;
  min-height: 78vh;
  overflow: hidden;
  text-decoration: none;
  color: #faf5e8;
  cursor: pointer;
  transition: filter 0.5s ease;
}

.room:hover {
  filter: brightness(1.08);
}

.room__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.room:hover .room__image {
  transform: scale(1.04);
}

.room--advisor .room__image {
  background-image: url("../images/kevin-seersucker.jpg");
  background-position: center 42%;
  filter: brightness(0.78) grayscale(1) contrast(1.06);
}

.room--consultant .room__image {
  background-image: url("../images/work/prada-formation-card.jpg");
  /* Portrait recomposition keeps the PRADA logo above the text scrim */
  background-position: center top;
  filter: brightness(0.75) grayscale(1) contrast(1.06);
}

.room--guide .room__image {
  background-image: url("../images/people-loft-v3.jpg");
  background-position: 15% center;
  filter: brightness(0.55) grayscale(1) contrast(1.06);
}

.room__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.room__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  gap: 0.85rem;
}

.room__eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 245, 232, 0.72);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.room__eyebrow .tick {
  color: #D9A653;
  font-weight: 600;
}

.room__title {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #faf5e8;
  margin: 0;
  max-width: 24rem;
}

.room__title .ital {
  font-style: italic;
  color: #E8B968;
  font-weight: 500;
}

.room__lede {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  line-height: 1.55;
  color: rgba(250, 245, 232, 0.82);
  margin: 0;
  max-width: 26rem;
}

.room__cta {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #D9A653;
  margin: 0.5rem 0 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid rgba(217, 166, 83, 0.4);
  padding-bottom: 0.5rem;
  width: fit-content;
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.room:hover .room__cta {
  border-color: #E8B968;
  gap: 0.9rem;
}

.room__cta .arrow {
  transition: transform 0.3s ease;
}

.room:hover .room__cta .arrow {
  transform: translateX(4px);
}

/* ---- FOOTER / NOW ---- */
.home-footer {
  background: #1a1815;
  color: #faf5e8;
  padding: clamp(5rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid rgba(217, 166, 83, 0.15);
}

.home-footer__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.home-footer__whisper {
  font-family: "EB Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: rgba(250, 245, 232, 0.85);
  margin: 0 0 clamp(2rem, 3vw, 2.5rem) 0;
}

.home-footer__whisper em {
  color: #E8B968;
  font-style: italic;
  font-weight: 500;
}

.home-footer__cta {
  margin: 0 0 clamp(3rem, 5vw, 4rem) 0;
}

.home-footer__cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  border: 1px solid rgba(217, 166, 83, 0.5);
  color: #D9A653;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.home-footer__cta a:hover {
  background: rgba(217, 166, 83, 0.1);
  border-color: #E8B968;
  color: #E8B968;
  gap: 1rem;
}

.home-footer__meta {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250, 245, 232, 0.55);
  margin: 0 0 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.home-footer__copyright {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 245, 232, 0.4);
  margin: 0;
}

/* ---- Mobile ---- */
@media (max-width: 720px) {
  .threshold__mantra {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .manifesto {
    padding: clamp(4.5rem, 10vw, 7rem) 1.25rem;
  }

  .manifesto__thesis {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .room {
    min-height: 58vh;
  }
}

/* ---- Mobile nav hamburger (shared with interior) ---- */
.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    position: fixed !important;
    top: 1.1rem !important;
    right: 1.1rem !important;
    left: auto !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(250, 245, 232, 0.9);
    border: 1px solid rgba(26, 24, 21, 0.12);
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(8px);
  }

  .mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #1a1815;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

/* ============================================
   MOBILE NAV — hide overlay/toggle on desktop
   ============================================ */
.mobile-nav-toggle {
  display: none;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 24, 21, 0.98);
  backdrop-filter: blur(20px);
  padding: 6rem 2rem 3rem;
  overflow-y: auto;
}

.mobile-nav-overlay[data-open="true"],
.mobile-nav-overlay[aria-hidden="false"] {
  display: block;
}

.mobile-nav-inner {
  max-width: 32rem;
  margin: 0 auto;
  position: relative;
}

.mobile-nav-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(217, 166, 83, 0.35);
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-close span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: #D9A653;
  transform-origin: center;
}

.mobile-nav-close span:first-child { transform: rotate(45deg); }
.mobile-nav-close span:last-child { transform: rotate(-45deg); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-family: "EB Garamond", Georgia, serif;
}

.mobile-nav-links a {
  color: #faf5e8;
  text-decoration: none;
  font-size: 1.75rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(217, 166, 83, 0.12);
  padding-bottom: 1rem;
}

.mobile-nav-links .nav-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: #D9A653;
  font-weight: 600;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(250, 245, 232, 0.9);
    border: 1px solid rgba(26, 24, 21, 0.12);
    border-radius: 999px;
    cursor: pointer;
    position: fixed !important;
    top: 1.1rem !important;
    right: 1.1rem !important;
    left: auto !important;
    z-index: 100 !important;
    backdrop-filter: blur(8px);
  }

  .mobile-nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #1a1815;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Hide the desktop top-right nav on mobile */
  .threshold__nav {
    display: none;
  }
}
