/* Adna Osman v1.0.29: content navigation and final presentation polish. */

/* Keep submenu navigation compact on desktop and explicit on phones. */
.nav-work-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-work-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-submenu {
  min-width: 238px;
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 30;
  padding: 8px;
  border: 1px solid rgba(216, 195, 165, 0.28);
  border-radius: 6px;
  background: #faf5ef;
  color: #33433a;
  box-shadow: 0 18px 44px rgba(33, 28, 24, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}

.nav-submenu a {
  display: block;
  padding: 11px 13px;
  border-radius: 4px;
  color: inherit !important;
  font-size: 0.76rem;
  line-height: 1.35;
  white-space: normal;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  background: rgba(216, 195, 165, 0.34);
}

.nav-work-group:hover .nav-submenu,
.nav-work-group:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* Familiar hamburger icon; the accessible Menu label remains screen-reader only. */
.nav-toggle {
  width: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  border-radius: 6px !important;
}

.nav-toggle-icon {
  width: 18px;
  height: 14px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  margin: auto !important;
}

.nav-toggle-icon i {
  width: 100%;
  height: 1.5px;
  display: block;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .nav-toggle-icon i:nth-child(1) {
  transform: translateY(6.25px) rotate(45deg);
}

.site-header.is-open .nav-toggle-icon i:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle-icon i:nth-child(3) {
  transform: translateY(-6.25px) rotate(-45deg);
}

/* The portrait now ends with the photograph, without a dark green caption block. */
.background-portrait {
  background: transparent !important;
  box-shadow: 0 24px 64px rgba(51, 67, 58, 0.14);
}

.background-portrait figcaption {
  display: none !important;
}

/* Calm beige quote bands are repeated consistently across the site. */
body .quote-band,
body .quote-band-soft,
.adna-page .quote-band {
  background: #d8c3a5;
  color: #33433a;
}

body .quote-band span,
.adna-page .quote-band span {
  color: rgba(51, 67, 58, 0.72);
}

/* Compact, clinic-like pricing rather than oversized retail cards. */
.pricing-showcase {
  gap: 22px;
}

.pricing-callout {
  padding-block: 20px;
}

.pricing-grid {
  gap: 0;
  border-top: 1px solid rgba(51, 67, 58, 0.18);
}

.pricing-card,
.pricing-card.featured,
.pricing-card:hover {
  min-height: 0;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid rgba(51, 67, 58, 0.18);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pricing-card::before {
  display: none;
}

.pricing-card .price-main {
  margin-top: 14px;
}

.price-amount strong {
  font-size: clamp(1.4rem, 2.2vw, 2.05rem);
  line-height: 1;
}

.price-amount small {
  font-size: 0.68rem;
}

/* Imported services keep all information inside a comfortable reading width. */
.service-details {
  max-width: 1320px;
}

.service-accordion summary {
  min-height: 82px;
}

.service-accordion summary strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.service-detail-body {
  width: min(100%, 1040px);
  max-width: none;
}

/* Meet Adna: keep the long copy readable without oversized vertical gaps. */
.about-personal,
.about-credentials,
.about-methods {
  padding-block: clamp(58px, 7vw, 96px);
}

.about-prose {
  line-height: 1.68;
}

.about-prose p {
  margin-bottom: 0.82em;
}

.about-method-list article {
  padding-block: 24px;
}

/* Free resources now reads as one extensible library. */
.resource-library {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 112px);
}

.resource-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.resource-library-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(51, 67, 58, 0.16);
  border-radius: 8px;
  background: rgba(250, 245, 239, 0.8);
  color: #211c18;
  box-shadow: 0 18px 42px rgba(51, 67, 58, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.resource-library-card:hover,
.resource-library-card:focus-visible {
  border-color: rgba(176, 149, 110, 0.7);
  color: #211c18;
  box-shadow: 0 24px 52px rgba(51, 67, 58, 0.11);
  transform: translateY(-3px);
}

.resource-library-card > span {
  color: #b0956e;
  font-size: 0.72rem;
  font-weight: 900;
}

.resource-library-card h3 {
  margin: 10px 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.08;
}

.resource-library-card > strong {
  margin-top: auto;
  padding-top: 24px;
  color: #33433a;
  font-size: 0.8rem;
}

/* Blog: three articles per view on desktop, one per view on mobile. */
.journal-carousel {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

body .journal-carousel .journal-grid {
  display: flex !important;
  grid-template-columns: none;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

body .journal-carousel .journal-grid::-webkit-scrollbar {
  display: none;
}

body .journal-carousel .journal-card {
  width: calc((100% - 36px) / 3);
  min-width: calc((100% - 36px) / 3);
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
}

.journal-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.journal-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #33433a;
  font-size: 0.76rem;
  font-weight: 900;
}

.journal-progress i {
  width: 56px;
  height: 1px;
  display: block;
  background: rgba(51, 67, 58, 0.28);
}

.journal-carousel-controls > div {
  display: flex;
  gap: 8px;
}

.journal-carousel-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(51, 67, 58, 0.38);
  border-radius: 50%;
  background: transparent;
  color: #33433a;
  cursor: pointer;
}

.journal-carousel-controls button:hover,
.journal-carousel-controls button:focus-visible {
  border-color: #33433a;
  background: transparent;
  color: #33433a;
}

.journal-carousel-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Breathe With Me has its own page, with calm editorial sections. */
.adna-page-breathwork .adna-page-grid,
.adna-page-andning .adna-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.adna-page-breathwork .adna-page-grid article,
.adna-page-andning .adna-page-grid article {
  min-height: 250px;
}

@media (max-width: 1100px) {
  .nav-work-group {
    width: 100%;
    display: block;
  }

  .nav-work-link {
    width: 100%;
  }

  .nav-work-link::after {
    display: none;
  }

  .nav-submenu {
    min-width: 0;
    position: static;
    padding: 0 0 8px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    padding: 10px 0;
    border-radius: 0;
    color: rgba(51, 67, 58, 0.72) !important;
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
  }
}

@media (max-width: 760px) {
  body .journal-carousel .journal-card {
    width: 100%;
    min-width: 100%;
    flex-basis: 100%;
  }

  .resource-library {
    width: calc(100% - 36px);
  }

  .resource-library-grid,
  .adna-page-breathwork .adna-page-grid,
  .adna-page-andning .adna-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-library-card {
    min-height: 250px;
  }

  .about-personal,
  .about-credentials,
  .about-methods {
    padding-block: 50px;
  }

  .service-accordion summary {
    min-height: 76px;
  }

  .service-detail-body {
    width: 100%;
    padding-left: 44px;
    padding-right: 0;
  }

  .journal-progress i {
    width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journal-grid,
  .nav-submenu,
  .nav-toggle-icon i {
    scroll-behavior: auto;
    transition: none;
  }
}
