/* Deep pages: one topic, one long calm scroll. A small in-page menu under the
   header jumps between its sections, questions open in place, and every page
   ends in the same quiet invitation. Each page adds its own centrepiece. */

/* ---------- opening: words beside a photograph window ---------- */
.deep-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding-top: calc(var(--head-h) + clamp(28px, 4vw, 64px)); padding-bottom: clamp(40px, 5vw, 72px); }
.deep-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 5.6vw, 5.6rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.deep-hero .lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.08rem, 1.3vw, 1.22rem); color: var(--cream-2); }
.deep-hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.promise { margin-top: 26px; padding-top: 16px; max-width: 48ch; font-size: .96rem; color: var(--cream-3); background: linear-gradient(90deg, rgba(227, 161, 90, .55), rgba(227, 161, 90, 0)) no-repeat 0 0 / 100% 1px; }
.deep-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 1px rgba(244, 233, 218, .06), 0 60px 120px -60px rgba(0, 0, 0, .9); }
.deep-photo img { width: 100%; height: 100%; object-fit: cover; scale: 1.07; animation: drift-a 30s ease-in-out infinite alternate; }
.deep-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 12, 9, .35), rgba(18, 12, 9, 0) 40%); }

/* three quick answers straight under the opening */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); margin: 0; padding: 0 var(--wrap) clamp(36px, 4vw, 56px); list-style: none; }
.trio li { padding-top: 20px; background: linear-gradient(90deg, rgba(227, 161, 90, .55), rgba(227, 161, 90, 0)) no-repeat 0 0 / 100% 1px; }
.trio h2 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; color: var(--ember-hi); }
.trio p { margin-top: 8px; color: var(--cream-2); }

/* ---------- the in-page menu ---------- */
.subnav { position: sticky; top: var(--head-h); z-index: 20; padding: 0 var(--wrap); background: rgba(26, 19, 15, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(244, 233, 218, .07); }
.admin-bar .subnav { top: calc(var(--head-h) + 32px); }
.subnav ul { display: flex; gap: 6px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--cream-2); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.subnav a:hover { color: var(--cream); background: rgba(244, 233, 218, .06); }
.subnav a.is-here { color: var(--esp-0); background: var(--ember); }
.deep-sec { scroll-margin-top: calc(var(--head-h) + 70px); }
/* two padded sections in a row read as one long gap; let neighbours share it */
.deep-sec + .deep-sec { padding-top: clamp(24px, 3vw, 48px); }
.deep-sec + .deep-sec.cta-band { padding-top: clamp(56px, 6vw, 96px); }

/* ---------- reading ---------- */
.deep-sec h2 { max-width: 20ch; }
.prose { max-width: 62ch; }
.prose p { margin-top: 1.05em; font-size: 1.1rem; line-height: 1.75; color: var(--cream-2); }
.prose p:first-child { margin-top: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); margin-top: 34px; }
.two h3, .expect h3, .careful h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.15; }
.two p { margin-top: 12px; color: var(--cream-2); }

/* a sentence from Janni, set apart */
.pull { max-width: 760px; margin: 0 auto; text-align: center; }
.pull blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.2; color: var(--cream); text-wrap: balance; }
.pull figcaption { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--latte); font-weight: 600; }
.pull figcaption .av { width: 36px; height: 36px; }

/* "Is this you?": the way clients put it */
.voices-wall { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.voices-wall li { max-width: 34ch; padding: 16px 20px; border-radius: 22px 22px 22px 8px; background: var(--esp-3); font-family: var(--serif); font-size: 1.12rem; line-height: 1.4; box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .18); }
.voices-wall li:nth-child(even) { border-radius: 22px 22px 8px 22px; background: var(--cream); color: var(--ink); }
.after-voices { margin-top: 26px; max-width: 62ch; color: var(--cream-2); font-size: 1.08rem; }

/* the hour, as a path */
.path { position: relative; margin: 36px 0 0; padding: 0 0 0 34px; list-style: none; display: grid; gap: 28px; }
.path::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: linear-gradient(180deg, var(--ember), rgba(227, 161, 90, .15)); }
.path li { position: relative; }
.path li::before { content: ''; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--esp-1); box-shadow: inset 0 0 0 2px var(--ember); }
.path h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.path p { margin-top: 6px; max-width: 58ch; color: var(--cream-2); }

/* honest expectations: a heading and its truth */
.expect { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 72px); }
.expect li { padding: 24px 0; background: linear-gradient(90deg, rgba(227, 161, 90, .5), rgba(227, 161, 90, 0)) no-repeat 0 0 / 100% 1px; }
.expect p { margin-top: 8px; color: var(--cream-2); }

/* a cream card for the careful things: research, doctor first */
.careful { max-width: 860px; padding: clamp(26px, 4vw, 48px); border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 50px 100px -56px rgba(0, 0, 0, .9); }
.careful p { margin-top: 12px; color: rgba(42, 29, 21, .82); line-height: 1.7; }
.careful ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.careful li { position: relative; padding-left: 26px; color: rgba(42, 29, 21, .85); }
.careful li::before { content: ''; position: absolute; left: 0; top: .78em; width: 14px; height: 1.5px; background: #b7773a; }
.careful.dark { background: var(--esp-2); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .22); }
.careful.dark p, .careful.dark li { color: var(--cream-2); }

/* a short word from Janni beside the text */
.jnote { display: flex; align-items: flex-start; gap: 16px; max-width: 640px; margin: 34px 0 0; padding: 20px 24px; border-radius: 22px; background: var(--esp-2); box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .2); }
.jnote .av { flex: none; width: 44px; height: 44px; }
.jnote p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.45; color: var(--cream); }
.jnote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: .9rem; font-weight: 600; color: var(--latte); }

/* other pages that may fit better */
.see-also { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--cream-3); }

/* a door to a related page: photo beside words, the whole card one link */
.also-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 30px; overflow: hidden; background: var(--esp-2); color: var(--cream); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(227, 161, 90, .16), 0 50px 100px -56px rgba(0, 0, 0, .9); transition: box-shadow .5s var(--ease); }
.ac-img { position: relative; display: block; min-height: 340px; overflow: hidden; }
/* the photo fills the card; the words decide how tall it is */
.ac-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform 1.4s var(--ease); }
.ac-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(26px, 4vw, 56px); }
.ac-kicker { font-size: .9rem; font-weight: 600; color: var(--latte); }
.ac-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.ac-text { max-width: 52ch; color: var(--cream-2); }
.ac-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--ember-hi); }
.ac-more::after { content: ''; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: translate .3s var(--ease); }
.also-card:hover { box-shadow: 0 0 0 1.5px rgba(227, 161, 90, .55), 0 50px 100px -40px rgba(227, 161, 90, .4); }
.also-card:hover .ac-img img { transform: scale(1.04); }
.also-card:hover .ac-more::after { translate: 4px 0; }

/* questions that open in place */
.faq { max-width: 860px; margin: 30px 0 0; padding: 0; list-style: none; }
.faq li { background: linear-gradient(90deg, rgba(227, 161, 90, .5), rgba(227, 161, 90, 0)) no-repeat 0 0 / 100% 1px; }
.faq h3 { margin: 0; font: inherit; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; border: 0; background: none; color: var(--cream); font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.25; text-align: left; cursor: pointer; }
.faq-q .chev { color: var(--ember); }
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--ember-hi); }
.faq-a { padding: 0 0 24px; max-width: 64ch; }
.faq-a p { color: var(--cream-2); line-height: 1.7; }
.faq-a p + p { margin-top: .8em; }

/* credentials, quietly */
.creds-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.creds-line li { padding: 7px 15px; border-radius: 999px; font-weight: 600; font-size: .86rem; color: var(--cream-2); box-shadow: inset 0 0 0 1.5px rgba(227, 161, 90, .38); }

/* the same quiet invitation at the end of every deep page */
.cta-band { position: relative; text-align: center; background: radial-gradient(closest-side at 50% 60%, rgba(227, 161, 90, .16), rgba(227, 161, 90, 0)); }
.cta-band h2 { max-width: 18ch; margin: 0 auto; }
.cta-band > p { max-width: 54ch; margin: 18px auto 0; color: var(--cream-2); font-size: 1.1rem; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.cta-band .small { margin-top: 22px; font-size: .94rem; color: var(--cream-3); }
.cta-band .small a { color: var(--cream-2); }

@media (max-width: 860px) {
  .deep-hero { grid-template-columns: 1fr; padding-top: calc(var(--head-h) + 18px); }
  .deep-photo { order: -1; aspect-ratio: 4 / 3; border-radius: 24px; }
  .deep-hero h1 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
  .two, .expect, .trio, .also-card { grid-template-columns: 1fr; }
  .ac-img { min-height: 0; aspect-ratio: 16 / 10; }
  .trio { gap: 4px; }
  .pull { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .deep-photo img { animation: none; }
}
