/* =========================================================
   INNER PAGES (Oct 27): coaching, about, quiz
   Loaded after warm.css + heroes.css, so it uses the final palette tokens.
   ========================================================= */

/* page hero: Rich Mahogany band with the ring texture, type left, photo right */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--mahogany); color: var(--cream); padding: calc(var(--bar-h, 40px) + 140px) 0 clamp(64px, 9vw, 120px); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lines); opacity: .9; }
.phero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.phero .kicker { color: var(--peach); margin-bottom: 18px; }
.phero__title { font: 400 var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem))/1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.phero__title em { font-style: italic; color: var(--peach); }
.phero__sub { max-width: 34em; margin-top: 24px; font-size: 17px; line-height: 1.7; color: rgba(251, 245, 239, .86); }
.phero .btn-row { margin-top: 34px; }
.phero__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 16px 16px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; }
.phero--center .phero__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.phero--center .phero__sub { margin-inline: auto; }
.phero--center .btn-row { justify-content: center; }
@media (max-width: 860px) {
  .phero { padding-top: calc(var(--bar-h, 40px) + 110px); }
  .phero__inner { grid-template-columns: 1fr; }
  .phero__photo { max-width: 420px; }
}

/* shared heading block for light sections */
.phead { max-width: 46em; margin-bottom: clamp(36px, 5vw, 56px); }
.phead .kicker { color: var(--sienna); margin-bottom: 14px; }
.phead p:not(.kicker) { margin-top: 16px; font-size: 17px; line-height: 1.7; }
.phead--center { margin-inline: auto; text-align: center; }

/* side-by-side comparison of the three programs */
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(21, 12, 12, .14); border-radius: 16px; background: #fff; }
.compare__table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare__table th, .compare__table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(21, 12, 12, .1); vertical-align: top; }
.compare__table thead th { font: 400 22px/1.15 var(--display); background: var(--cream); }
.compare__table thead th small { display: block; margin-top: 6px; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sienna); }
.compare__table tbody th { font-weight: 600; width: 34%; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table .is-pick { background: rgba(211, 152, 88, .12); }
.compare__yes { color: var(--sienna); font-weight: 700; }
.compare__no { color: rgba(21, 12, 12, .4); }

/* numbered steps from first call to graduation */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 24px 30px; border-top: 1.5px solid currentColor; }
.steps li::before { content: "0" counter(step); display: block; font: 400 44px/1 var(--display); color: var(--peach); margin-bottom: 18px; }
.steps h3 { font: 400 26px/1.1 var(--display); margin-bottom: 10px; }
.steps p { font-size: 15px; line-height: 1.65; opacity: .86; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* The Alumni Table panel */
.alumni { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 20px; background: #F3E8DD; }
.alumni .kicker { color: var(--sienna); margin-bottom: 14px; }
.alumni__price { margin-top: 12px; font: 400 28px/1.1 var(--display); }
.alumni__price span { font: 500 14px/1 var(--sans); color: rgba(21, 12, 12, .7); }
.alumni p:not(.kicker):not(.alumni__price) { margin-top: 16px; line-height: 1.7; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--sienna) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23FBF5EF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 860px) { .alumni { grid-template-columns: 1fr; } }

/* about: beliefs in three columns */
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.beliefs article { padding-top: 26px; border-top: 1.5px solid currentColor; }
.beliefs h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.1 var(--display); margin-bottom: 12px; }
.beliefs p { line-height: 1.7; opacity: .88; }
@media (max-width: 860px) { .beliefs { grid-template-columns: 1fr; } }

/* about: two sides story (photo + text) */
.sides { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.sides__photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.sides__photo img { width: 100%; height: 100%; object-fit: cover; }
.sides .kicker { color: var(--peach); margin-bottom: 14px; }
.sides p:not(.kicker) { margin-top: 18px; font-size: 17px; line-height: 1.75; color: rgba(251, 245, 239, .88); }
.sides .dfacts { margin-top: 30px; }
@media (max-width: 860px) { .sides { grid-template-columns: 1fr; } .sides__photo { max-width: 460px; } }

/* about: who it's for / not for */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.fit__col { padding: clamp(28px, 4vw, 44px); border-radius: 18px; border: 1px solid rgba(21, 12, 12, .14); background: #fff; }
.fit__col h3 { font: 400 clamp(26px, 2.4vw, 32px)/1.1 var(--display); margin-bottom: 22px; }
.fit__col--no { background: transparent; }
.fit__col--no .ticks li::before { background: transparent; border: 1.5px solid var(--rose); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%238C6961' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 11px; background-position: center; background-repeat: no-repeat; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }


.beliefs--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1060px) { .beliefs--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .beliefs--4 { grid-template-columns: 1fr; } }

/* legal pages: one readable column */
.prose { max-width: 46em; }
.prose h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--display); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--sienna); }
.prose__note { padding: 16px 20px; border-radius: 12px; background: #F3E8DD; font-size: 14.5px !important; }
.prose ul { list-style: disc; }
.prose ul li::marker { color: var(--sienna); }
.prose ul + p { margin-top: 18px; }

/* =========================================================
   Folder tabs, ported from the home page's How it works (nourysh-wander, Oct 27)
   so Coaching walks the same path in the same design, with a fourth tab.
   ========================================================= */
.process { --t-taupe: #D39858; --t-burg: #8C3420; --t-coffee: #150C0C; --t-rose: #8C6961; --t-snow: #FBF5EF; --t-blush: #F3E8DD;
  --t-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5v21M2.9 6.75l18.2 10.5M2.9 17.25l18.2-10.5' stroke='black' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --t-ease: cubic-bezier(.23, 1, .32, 1);
  padding-block: 120px; background: #F7EFE6; }
.process__head { text-align: center; margin-bottom: 54px; }
.process__head .kicker { color: var(--sienna); margin-bottom: 14px; }
.process__head h2 { font: 400 clamp(2.15rem, 4.35vw, 3.85rem)/1.06 var(--display); letter-spacing: -.015em; }
.tabs { max-width: 980px; margin: 0 auto; --tab: var(--t-taupe); }
.tabs__list { display: flex; gap: 6px; }
.tabs__btn { appearance: none; border: 0; cursor: pointer; font: 700 12px var(--sans, "Montserrat", sans-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--t-snow); padding: 14px 26px 12px; border-radius: 12px 12px 0 0; transition: transform .2s var(--t-ease), filter .2s ease; transform: translateY(8px); filter: brightness(.94) saturate(.8); }
.tabs__btn[aria-selected="true"] { transform: none; filter: none; }
.tabs__btn:hover { transform: translateY(3px); filter: none; }
.tabs__btn[aria-selected="true"]:hover { transform: none; }
.tabs__btn:active { transform: scale(.97); }
.tabs__btn:nth-child(1) { background: var(--t-taupe); color: var(--t-coffee); }
.tabs__btn:nth-child(2) { background: var(--t-burg); }
.tabs__btn:nth-child(3) { background: var(--t-rose); }
.tabs__btn:nth-child(4) { background: var(--t-coffee); }
.tabs:has([role="tab"]:nth-child(2)[aria-selected="true"]) { --tab: var(--t-burg); }
.tabs:has([role="tab"]:nth-child(3)[aria-selected="true"]) { --tab: var(--t-rose); }
.tabs:has([role="tab"]:nth-child(4)[aria-selected="true"]) { --tab: var(--t-coffee); }
.tabs__panel { position: relative; background: var(--t-snow); border-top: 6px solid var(--tab); border-radius: 0 12px 12px 12px; box-shadow: 0 30px 60px -36px rgba(21, 12, 12, .55); padding: 52px 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; min-height: 300px; align-items: center; transition: border-color .25s ease; }
.tabs__panel:not([hidden]) { animation: panelIn .35s var(--t-ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.12 var(--display); letter-spacing: -.01em; margin-bottom: 16px; color: var(--t-coffee); }
.tabs__panel p { font-size: 1rem; line-height: 1.7; }
.tabs__panel .tabs__go { display: inline-block; margin-top: 22px; font: 700 12px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--t-coffee); text-decoration: underline; text-underline-offset: 6px; }
.tabs__panel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.tabs__panel li { padding: 12px 0; border-bottom: 1px solid var(--t-blush); display: flex; gap: 14px; align-items: baseline; }
.tabs__panel li::before { content: ""; flex: none; width: 10px; height: 10px; transform: translateY(1px); background: var(--t-taupe); -webkit-mask: var(--t-star) center / contain no-repeat; mask: var(--t-star) center / contain no-repeat; }
.tabs__arrows { display: flex; justify-content: flex-end; gap: 10px; max-width: 980px; margin: 22px auto 0; }
.tabs__arrows button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--t-coffee); background: transparent; cursor: pointer; color: var(--t-coffee); transition: background-color .2s ease, color .2s ease, transform .16s var(--t-ease); }
.tabs__arrows button:hover { background: var(--t-coffee); color: var(--t-snow); }
.tabs__arrows button:active { transform: scale(.97); }
.tabs__arrows svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* a handwritten note pinned to the last tab: the one moment of the section */
@media (max-width: 860px) {
  .process { padding-block: 80px; }
  .tabs__list { gap: 4px; }
  .tabs__btn { padding: 12px 6px 10px; flex: 1 1 0; text-align: center; }
  .tabs__panel { grid-template-columns: 1fr; padding: 30px 24px; gap: 20px; }
  .tabs__note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tabs__panel:not([hidden]) { animation: none; } }

/* The Alumni Table reuses the home page's POV layout; the price sits as a quiet line under the list */
.alumni-f .ticks { margin: 22px 0 6px; }
.alumni-f .alumni__price { margin: 18px 0 26px; font: 400 30px/1 var(--display); }
.alumni-f .alumni__price span { font: 500 14px/1 var(--sans, "Montserrat", sans-serif); color: rgba(21, 12, 12, .68); }

/* the four results as taped notes, like the home page's client stories */
.notes4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); padding-top: 14px; }
.note { position: relative; padding: 38px 24px 28px; background: #fff; border-radius: 4px; box-shadow: 0 22px 40px -26px rgba(21, 12, 12, .45); rotate: var(--r, -1.5deg); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.note:nth-child(2) { --r: 1.2deg; } .note:nth-child(3) { --r: -.6deg; } .note:nth-child(4) { --r: 1.8deg; }
.note:hover { rotate: 0deg; translate: 0 -4px; }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; translate: -50% 0; rotate: -3deg; width: 92px; height: 26px; background: rgba(211, 152, 88, .55); }
.note__tag { font: 400 20px/1 "Nothing You Could Do", cursive; color: var(--sienna); }
.note h3 { margin: 10px 0 10px; font: 400 26px/1.08 var(--display); }
.note p { font-size: 15px; line-height: 1.6; color: rgba(21, 12, 12, .78); }
@media (max-width: 1000px) { .notes4 { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 560px) { .notes4 { grid-template-columns: 1fr; } }

/* =========================================================
   APPLICATION (Oct 29): the home page's contact section (photo under a dark
   wash, ivory form card) turned into a four-step application.
   ========================================================= */
.apply { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); padding: calc(var(--bar-h, 40px) + 120px) 0 clamp(64px, 8vw, 110px); }
.apply__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.apply::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(21, 12, 12, .92) 0%, rgba(36, 16, 11, .84) 45%, rgba(36, 16, 11, .55) 100%); }
.apply__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply .kicker { color: var(--peach); margin-bottom: 18px; }
.apply__title { font: 400 var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem))/1 var(--display); letter-spacing: -.015em; }
.apply__title em { font-style: italic; color: var(--peach); }
.apply__sub { max-width: 30em; margin-top: 22px; font-size: 17px; line-height: 1.7; color: rgba(251, 245, 239, .86); }
.apply__path { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; max-width: 26em; counter-reset: ap; }
.apply__path li { counter-increment: ap; display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; padding: 18px 0; border-top: 1px solid rgba(251, 245, 239, .18); }
.apply__path li::before { content: counter(ap); grid-row: span 2; font: 400 40px/1 var(--display); color: var(--peach); }
.apply__path b { font: 400 22px/1.15 var(--display); }
.apply__path span { font-size: 14px; color: rgba(251, 245, 239, .75); }

.acard { background: var(--cream); color: var(--coffee); border-radius: 14px; padding: clamp(26px, 3.6vw, 44px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9); }
.acard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 700 11px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--sienna); }
.acard__segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 28px; }
.acard__segs i { height: 4px; border-radius: 4px; background: rgba(21, 12, 12, .1); transition: background-color .4s var(--ease); }
.acard__segs i.on { background: var(--sienna); }
.astep { display: grid; gap: 20px; animation: qsIn .45s var(--ease-out, ease) both; }
@keyframes qsIn { from { opacity: 0; transform: translateX(14px); } }
.astep[hidden] { display: none; }
.astep h2 { font: 400 clamp(28px, 2.8vw, 36px)/1.08 var(--display); outline: none; }
.afield { display: grid; gap: 8px; }
.afield > span, .afield legend { font: 600 13px/1.4 var(--sans, "Montserrat", sans-serif); padding: 0; }
.afield em { font-style: normal; font-weight: 400; color: rgba(21, 12, 12, .6); }
fieldset.afield { border: 0; margin: 0; padding: 0; min-width: 0; }
.afield input[type="text"], .afield input[type="email"], .afield textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(21, 12, 12, .18); background: #fff; color: var(--coffee); font: 400 15px/1.5 var(--sans, "Montserrat", sans-serif); resize: vertical; }
.afield input:focus, .afield textarea:focus { outline: none; border-color: var(--sienna); box-shadow: 0 0 0 3px rgba(140, 52, 32, .14); }
.afield [aria-invalid="true"] { border-color: #B3261E !important; }
.arow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(21, 12, 12, .2); background: #fff; font: 500 14px/1.2 var(--sans, "Montserrat", sans-serif); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip:hover span { border-color: var(--sienna); }
.chip input:checked + span { background: var(--sienna); border-color: var(--sienna); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--peach); outline-offset: 2px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale .chip span { justify-content: center; width: 100%; font: 400 22px/1 var(--display); min-height: 52px; border-radius: 12px; }
.scale__ends { display: flex; justify-content: space-between; font-size: 12px; color: rgba(21, 12, 12, .6); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plans .chip span { display: grid; gap: 4px; justify-items: start; min-height: 74px; padding: 14px 16px; border-radius: 12px; width: 100%; }
.plans .chip b { font: 400 21px/1.1 var(--display); }
.plans .chip small { font-size: 13px; opacity: .75; }
.anav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.anav .aback { width: auto; padding: 0 16px; height: 46px; font: 600 13px/1 var(--sans, "Montserrat", sans-serif); gap: 6px; display: inline-flex; align-items: center; }
.anav .aback[hidden] { visibility: hidden; }
.aerr { font-size: 13px; color: #B3261E; min-height: 1em; }
.adone { display: grid; gap: 16px; animation: qsIn .45s var(--ease-out, ease) both; }
.adone h2 { font: 400 clamp(30px, 3vw, 40px)/1.06 var(--display); outline: none; }
.adone h2 em { font-style: italic; color: var(--sienna); }
.adone p { line-height: 1.7; }
.acal { display: grid; place-items: center; min-height: 260px; padding: 24px; border: 1.5px dashed rgba(140, 52, 32, .4); border-radius: 12px; text-align: center; font-size: 14px; color: rgba(21, 12, 12, .65); background: #fff; }
@media (max-width: 900px) {
  .apply__inner { grid-template-columns: 1fr; }
  .arow, .plans { grid-template-columns: 1fr; }
}
.astep h2:focus, .adone h2:focus, .tq h2:focus { outline: none; }
.apply::before { background: linear-gradient(100deg, rgba(21, 12, 12, .95) 0%, rgba(30, 14, 10, .9) 48%, rgba(36, 16, 11, .72) 100%); }
.apply__bg { filter: blur(3px); scale: 1.04; }
.aback { appearance: none; border: 1px solid rgba(21, 12, 12, .14); border-radius: 12px; background: #fff; color: var(--coffee); cursor: pointer; }

/* =========================================================
   QUIZ LANDING (quiz.html): Shae's phone mockup on the right, one paragraph and
   the button on the left, like the home page's quiz section.
   ========================================================= */
.qland { position: relative; isolation: isolate; overflow: hidden; background: var(--mahogany); color: var(--cream); padding: calc(var(--bar-h, 40px) + 110px) 0 clamp(64px, 8vw, 110px); }
.qland::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lines); opacity: .9; }
.qland__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.qland .kicker { color: var(--peach); margin-bottom: 18px; }
.qland__title { font: 400 var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem))/1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.qland__title em { font-style: italic; color: var(--peach); }
.qland__body { max-width: 32em; margin-top: 22px; font-size: 17px; line-height: 1.7; color: rgba(251, 245, 239, .86); }
.qland .btn-row { margin-top: 34px; }
.qland__mock { margin: 0; justify-self: center; width: min(340px, 72vw); rotate: 3deg; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .5)); }
.qland__mock img { width: 100%; height: auto; }
@media (max-width: 900px) { .qland__inner { grid-template-columns: 1fr; } .qland__mock { width: min(260px, 64vw); rotate: 0deg; } }

/* =========================================================
   TAKE THE QUIZ (take-quiz.html): its own page. A quiet header with the
   progress across the top, the question large on the left, answers on the right.
   ========================================================= */
.tq-page { min-height: 100svh; display: flex; flex-direction: column; background: #FBF5EF url("img/rings-on-light.svg?v=3") 0 0 / 1200px; color: var(--coffee); }
.tq-head { display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; align-items: center; gap: 24px; padding: 22px var(--gutter, 24px); }
.tq-head__logo svg { display: block; width: 40px; height: 37px; fill: var(--coffee); }
.tq-prog { display: grid; gap: 10px; }
.tq-prog__label { text-align: center; font: 700 11px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .18em; text-transform: uppercase; color: var(--sienna); }
.tq-prog__segs { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.tq-prog__segs i { height: 4px; border-radius: 4px; background: rgba(21, 12, 12, .12); transition: background-color .4s var(--ease); }
.tq-prog__segs i.on { background: var(--sienna); }
.tq-head__exit { justify-self: end; font: 600 12px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--coffee); text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px; padding-bottom: 5px; transition: background-size .35s var(--ease); }
.tq-head__exit:hover { background-size: 100% 1px; }
.tq-main { flex: 1; display: grid; align-items: center; padding: clamp(24px, 4vw, 56px) var(--gutter, 24px) clamp(40px, 6vw, 80px); }
.tq { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; animation: qsIn .5s var(--ease-out, ease) both; }
.tq__n { font: 400 clamp(64px, 8vw, 120px)/.8 var(--display); color: var(--peach); letter-spacing: -.03em; }
.tq h2 { margin-top: 18px; font: 400 clamp(2.4rem, 4.4vw, 4rem)/1.02 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.tq h2 em { font-style: italic; color: var(--sienna); }
.tq__body { margin-top: 18px; max-width: 30em; font-size: 16px; line-height: 1.7; color: rgba(21, 12, 12, .75); }
.tq__opts { display: grid; gap: 12px; }
.topt { appearance: none; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 14px 20px 14px 14px; text-align: left; border-radius: 14px; border: 1px solid rgba(21, 12, 12, .14); background: #fff; color: var(--coffee); font: 500 16px/1.4 var(--sans, "Montserrat", sans-serif); cursor: pointer; box-shadow: 0 14px 30px -26px rgba(21, 12, 12, .5); transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .15s var(--ease); }
.topt__l { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #F3E8DD; font: 400 22px/1 var(--display); transition: inherit; }
.topt__t { flex: 1; }
.topt__r { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(21, 12, 12, .3); transition: inherit; }
.topt:hover { border-color: var(--sienna); }
.topt:active { transform: scale(.99); }
.topt[aria-pressed="true"] { background: var(--sienna); border-color: var(--sienna); color: var(--cream); }
.topt[aria-pressed="true"] .topt__l { background: var(--cream); color: var(--sienna); }
.topt[aria-pressed="true"] .topt__r { border-color: var(--cream); box-shadow: inset 0 0 0 4px var(--sienna), inset 0 0 0 10px var(--cream); }
.tq__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.tq__nav .aback { display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 18px; font: 600 13px/1 var(--sans, "Montserrat", sans-serif); }
.tq__nav .aback[hidden] { visibility: hidden; display: inline-flex; }
.tq__nav .btn:disabled { opacity: .4; cursor: not-allowed; }
.tq .qform { display: grid; gap: 14px; }
.tq .qform label { display: grid; gap: 8px; font: 600 13px/1.3 var(--sans, "Montserrat", sans-serif); }
.tq .qform input { min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(21, 12, 12, .18); background: #fff; color: var(--coffee); font: 400 16px/1.4 var(--sans, "Montserrat", sans-serif); }
.tq .qform input:focus { outline: none; border-color: var(--sienna); box-shadow: 0 0 0 3px rgba(140, 52, 32, .14); }
.tq .qform input[aria-invalid="true"] { border-color: #B3261E; }
.tq--done { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 640px; }
.tq--done .tq__body { margin-inline: auto; }
.tq--done .btn-row { justify-content: center; margin-top: 28px; }
.tq__burst { position: relative; width: 190px; height: 190px; }
.tq__burst .rbadge { position: absolute; inset: 20px; width: auto; height: auto; }
.tq__burst svg.sp { position: absolute; width: 26px; height: 26px; fill: var(--peach); animation: spPop .7s var(--ease-out, ease) both; }
.tq__burst svg.sp:nth-of-type(2n) { fill: var(--sienna); width: 18px; height: 18px; }
@keyframes spPop { from { opacity: 0; scale: .2; rotate: -40deg; } }
.tq-foot { padding: 0 var(--gutter, 24px) 22px; text-align: center; font-size: 12px; color: rgba(21, 12, 12, .55); }
@media (max-width: 860px) {
  .tq-head { grid-template-columns: auto 1fr auto; }
  .tq { grid-template-columns: 1fr; }
  .tq__n { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { .tq, .tq__burst svg.sp { animation: none; } }

/* About beliefs: a list inside the home page's POV layout, one text style */
.believe__list { list-style: none; margin: 8px 0 30px; padding: 0; display: grid; gap: 18px; max-width: 34em; }
.believe__list li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.7; }
.believe__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--peach); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5v21M2.9 6.75l18.2 10.5M2.9 17.25l18.2-10.5' stroke='black' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5v21M2.9 6.75l18.2 10.5M2.9 17.25l18.2-10.5' stroke='black' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.believe__list b { font-weight: 600; }
.tq--done { row-gap: 0; } .tq--done h2 { margin-top: 28px; }

/* =========================================================
   PAGE HERO (Option B, Oct 29): one full photo, type low on the left.
   A little shorter than the screen so the next section peeks in.
   ========================================================= */
.hx { position: relative; isolation: isolate; overflow: hidden; color: var(--cream); background: var(--mahogany); }
.hx .kicker { color: var(--peach); margin-bottom: 18px; }
.hx__title { font: 400 var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem))/1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.hx__title em { font-style: italic; color: var(--peach); }
.hx__sub { max-width: 34em; margin-top: 22px; font-size: 17px; line-height: 1.7; color: rgba(251, 245, 239, .86); }
.hx .btn-row { margin-top: 32px; }
.hxB { display: grid; align-items: end; min-height: 86svh; }
.hxB__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hxB::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21, 12, 12, .9) 0%, rgba(21, 12, 12, .6) 45%, rgba(21, 12, 12, .1) 100%), linear-gradient(0deg, rgba(21, 12, 12, .6), transparent 40%); }
.hxB__copy { padding: 160px 0 clamp(48px, 7vw, 96px); }

/* =========================================================
   Final call section: the home page's centred one (nourysh-mbw .final), on every page
   ========================================================= */
.final { position: relative; color: var(--cream); padding: 128px 40px; text-align: center; background: linear-gradient(rgba(36, 16, 11, .72), rgba(21, 12, 12, .8)), url("img/cta-hands.jpg") center 40% / cover; }
.final .kicker { color: var(--peach); margin-bottom: 18px; letter-spacing: .26em; }
.final h2 { font: 400 clamp(2.15rem, 4.35vw, 3.85rem)/1.06 var(--display); letter-spacing: -.015em; max-width: 900px; margin: 0 auto 22px; text-wrap: balance; }
.final h2 em { font-style: italic; }
.final p:not(.kicker) { font-size: 1.125rem; line-height: 1.8; color: rgba(251, 245, 239, .86); max-width: 34em; margin: 0 auto 40px; }
.final__btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.final .btn--secondary { color: var(--cream); border-color: currentColor; }
@media (max-width: 700px) { .final { padding: 96px 20px; } }

/* quiz landing hero matches the other page heroes in height */
.qland { padding: calc(var(--bar-h, 40px) + 140px) 0 clamp(64px, 9vw, 120px); }
.qland__mock { width: min(250px, 60vw); }

.note__tag { font-size: 17px; line-height: 1.2; }

/* quiz landing hero: same height as the page heroes */
.qland { min-height: 86svh; display: grid; align-items: center; padding: calc(var(--bar-h, 40px) + 100px) 0 clamp(48px, 7vw, 80px); }
.qland__mock { width: min(230px, 56vw); }
.qland { padding: calc(var(--bar-h, 40px) + 84px) 0 48px; } .qland__mock { width: min(200px, 52vw); }
/* quiz mockup: a touch bigger and more tilted, lifted off the page by a soft bronze glow
   (negative margins keep the hero the same height) */
.qland__mock { position: relative; width: min(240px, 58vw); margin-block: -40px; rotate: 6deg; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.qland__mock::before { content: ""; position: absolute; z-index: -1; inset: -18% -45%; background: radial-gradient(closest-side, rgba(211, 152, 88, .38), rgba(140, 52, 32, .16) 55%, transparent 100%); filter: blur(20px); pointer-events: none; }
@media (max-width: 900px) { .qland__mock { margin-block: 0; rotate: 4deg; } }
.qland__mock::before { inset: -22% -60%; background: radial-gradient(closest-side, rgba(211, 152, 88, .62), rgba(191, 71, 44, .28) 50%, transparent 100%); filter: blur(28px); }

/* =========================================================
   How coaching works, photo version (Oct 29): each step has its own taped
   photo breaking out of the top of the card, a handwritten caption, a big faint
   step number and named tabs. Same folder-tab idea as the home page.
   ========================================================= */
.process--photo { padding-block: clamp(96px, 10vw, 140px); }
.process--photo .tabs { max-width: 1120px; }
.process--photo .tabs__btn { display: inline-flex; align-items: baseline; gap: 10px; padding: 16px 24px 14px; font-size: 12px; letter-spacing: .14em; }
.process--photo .tabs__btn b { font: 400 18px/1 var(--display); letter-spacing: 0; }
.process--photo .tabs__panel.tp { grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 0; align-items: center; min-height: 500px; padding: 0; overflow: visible;
  background: #FBF5EF url("img/rings-on-light.svg?v=3") 0 0 / 900px; }
.tp__photo { position: relative; z-index: 2; align-self: start; margin: -46px 0 44px 48px; padding: 12px 12px 58px; background: #fff; rotate: -3deg; box-shadow: 0 34px 50px -26px rgba(21, 12, 12, .55); transition: rotate .5s var(--t-ease); }
.tp__photo::before { content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; translate: -50% 0; rotate: 3deg; width: 96px; height: 26px; background: rgba(211, 152, 88, .62); }
.tp__photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tp__note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 400 21px/1 "Nothing You Could Do", cursive; color: var(--t-burg); }
.tabs__panel.tp:hover .tp__photo { rotate: -1deg; }
.tabs__panel.tp:not([hidden]) .tp__photo :is(img, video) { animation: tpWipe .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes tpWipe { from { opacity: 0; } }   /* photos fade in, no wipe (Shae, Nov 2) */
.tp__body { position: relative; padding: 64px 72px 64px 64px; }
.tp__n { position: absolute; right: 52px; top: 22px; font: 400 clamp(110px, 12vw, 180px)/1 var(--display); letter-spacing: -.04em; color: rgba(211, 152, 88, .22); pointer-events: none; }
.process--photo .tabs__panel h3 { position: relative; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.04; margin-bottom: 18px; max-width: 12em; }
.process--photo .tabs__panel p { position: relative; max-width: 34em; font-size: 1.0625rem; line-height: 1.75; }
.process--photo .tabs__panel ul { position: relative; flex-direction: row; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 6px; }
.process--photo .tabs__panel li { padding: 6px 0; border: 0; font-size: 15px; }
.process--photo .tabs__panel .tabs__go { position: relative; margin-top: 18px; }
@media (max-width: 860px) {
  .process--photo .tabs__btn { flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; font-size: 9.5px; letter-spacing: .08em; }
  .process--photo .tabs__panel.tp { grid-template-columns: 1fr; min-height: 0; }
  .tp__photo { margin: -30px auto 0; width: min(260px, 80%); }
  .tp__body { padding: 28px 24px 34px; }
  .tp__n { right: 18px; top: -6px; font-size: 96px; }
}
@media (prefers-reduced-motion: reduce) { .tabs__panel.tp:not([hidden]) .tp__photo img { animation: none; } }
/* photo sits inside the card's height and hangs off the left edge instead of covering the tabs */
.tp__photo { align-self: center; margin: 40px 0 40px -28px; }
.tp__n { top: 6px; right: 40px; }
@media (max-width: 860px) { .tp__photo { margin: 28px auto 0; } }

/* =========================================================
   Quiz section on the quiz page (Oct 29): the quiz runs right on the page
   ========================================================= */
.tqs { background: #F7EFE6; }
.tqbox { max-width: 1120px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: #FBF5EF url("img/rings-on-light.svg?v=3") 0 0 / 1000px; box-shadow: 0 40px 80px -46px rgba(21, 12, 12, .55); scroll-margin-top: 110px; }
.tqbox__head { display: grid; gap: 10px; justify-items: center; padding: 26px 24px 0; }
.tqbox__head .tq-prog { width: min(520px, 100%); }
.tqbox .tq-main { padding: clamp(28px, 4vw, 56px) clamp(22px, 5vw, 64px) clamp(32px, 4vw, 52px); min-height: 460px; }
.tqbox .tq-foot { padding: 0 24px 20px; }
/* How coaching works, fixed (Oct 29): the photo is a set size inside the card, the step number
   sits above the title instead of behind the text, nothing overlaps */
.process--photo .tabs__panel.tp { grid-template-columns: 380px 1fr; min-height: 0; align-items: center; }
.tp__photo { width: 290px; margin: 52px 0 52px 56px; align-self: center; }
.tp__body { padding: 52px 72px 52px 40px; }
.tp__n { position: static; display: block; margin-bottom: 10px; font-size: 64px; line-height: .8; color: var(--peach); letter-spacing: -.03em; }
@media (max-width: 1000px) { .process--photo .tabs__panel.tp { grid-template-columns: 300px 1fr; } .tp__photo { width: 230px; margin-left: 40px; } .tp__body { padding: 40px 36px 40px 24px; } }
@media (max-width: 860px) { .process--photo .tabs__panel.tp { grid-template-columns: 1fr; } .tp__photo { width: min(250px, 78%); margin: 30px auto 0; } .tp__body { padding: 24px 24px 32px; } .tp__n { font-size: 48px; } }

/* =========================================================
   Quiz hero (Oct 29): the quiz is the hero. Dark, ring texture, a bronze glow
   behind the card, ivory type, answers as dark tiles that light up chestnut.
   ========================================================= */
.qhero { position: relative; isolation: isolate; overflow: hidden; background: var(--mahogany); color: var(--cream); padding: calc(var(--bar-h, 40px) + 116px) 0 clamp(64px, 8vw, 104px); min-height: 100svh; }
.qhero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--lines); opacity: .9; }
.qhero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -180px; top: 50%; translate: 0 -50%; background: radial-gradient(closest-side, rgba(211, 152, 88, .3), rgba(140, 52, 32, .16) 45%, transparent 75%); filter: blur(10px); pointer-events: none; }
.qhero__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.qhero .kicker { color: var(--peach); margin-bottom: 18px; }
.qhero__title { font: 400 var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem))/1 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.qhero__title em { font-style: italic; color: var(--peach); }
.qhero__body { max-width: 30em; margin-top: 22px; font-size: 17px; line-height: 1.7; color: rgba(251, 245, 239, .82); }
.qhero__sign { margin-top: 30px; font: 400 26px/1 "Nothing You Could Do", cursive; color: var(--peach); rotate: -3deg; }

.tqbox--dark { background: linear-gradient(160deg, rgba(251, 245, 239, .07), rgba(251, 245, 239, .02)); border: 1px solid rgba(211, 152, 88, .3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(251, 245, 239, .08); color: var(--cream); }
.tqbox--dark .tq-prog__label { color: var(--peach); }
.tqbox--dark .tq-prog__segs i { background: rgba(251, 245, 239, .14); }
.tqbox--dark .tq-prog__segs i.on { background: var(--peach); }
.tqbox--dark .tq-main { min-height: 520px; padding: clamp(24px, 3vw, 40px) clamp(22px, 3.4vw, 44px) clamp(28px, 3vw, 40px); align-items: start; }
.tqbox--dark .tq { grid-template-columns: 1fr; gap: 24px; }
.tqbox--dark .tq__n { font-size: 56px; }
.tqbox--dark .tq h2 { margin-top: 10px; font-size: clamp(1.9rem, 2.6vw, 2.5rem); color: var(--cream); }
.tqbox--dark .tq h2 em { color: var(--peach); }
.tqbox--dark .tq__body { color: rgba(251, 245, 239, .78); }
.tqbox--dark .tq__opts { grid-template-columns: 1fr 1fr; gap: 10px; }
.tqbox--dark .topt { min-height: 78px; background: rgba(251, 245, 239, .05); border-color: rgba(251, 245, 239, .14); color: var(--cream); box-shadow: none; font-size: 15px; }
.tqbox--dark .topt:hover { border-color: var(--peach); background: rgba(251, 245, 239, .08); }
.tqbox--dark .topt__l { background: rgba(211, 152, 88, .18); color: var(--peach); }
.tqbox--dark .topt__r { border-color: rgba(251, 245, 239, .35); }
.tqbox--dark .topt[aria-pressed="true"] { background: var(--sienna); border-color: var(--peach); color: var(--cream); box-shadow: 0 18px 40px -20px rgba(140, 52, 32, .9); }
.tqbox--dark .topt[aria-pressed="true"] .topt__l { background: var(--cream); color: var(--sienna); }
.tqbox--dark .aback { background: transparent; color: var(--cream); border-color: rgba(251, 245, 239, .3); }
.tqbox--dark .qform label { color: var(--cream); }
.tqbox--dark .qform input { background: rgba(251, 245, 239, .06); border-color: rgba(251, 245, 239, .2); color: var(--cream); }
.tqbox--dark .qform input:focus { border-color: var(--peach); box-shadow: 0 0 0 3px rgba(211, 152, 88, .2); }
.tqbox--dark .tq--done { max-width: none; }
.tqbox--dark .tq-foot { color: rgba(251, 245, 239, .5); }
.tqbox--dark .btn--secondary { color: var(--cream); border-color: currentColor; }
@media (max-width: 1000px) { .qhero__inner { grid-template-columns: 1fr; } .qhero { min-height: 0; } }
@media (max-width: 600px) { .tqbox--dark .tq__opts { grid-template-columns: 1fr; } }
.qhero__inner { grid-template-columns: .75fr 1.25fr; }

/* Quiz hero, centred (Oct 29, after Shae's reference): dark band with centred type; the light
   quiz card sits centred below, half on the dark and half on the light page under it */
.qhero { --overlap: 300px; min-height: 0; text-align: center; padding: calc(var(--bar-h, 40px) + 130px) 0 64px;
  background: linear-gradient(to bottom, var(--mahogany) calc(100% - var(--overlap)), #FBF5EF calc(100% - var(--overlap))); }
.qhero::before { bottom: var(--overlap); }
.qhero::after { width: 1100px; height: 700px; right: auto; left: 50%; top: 42%; translate: -50% -50%; background: radial-gradient(closest-side, rgba(211, 152, 88, .26), rgba(140, 52, 32, .12) 50%, transparent 78%); }
.qhero__inner { grid-template-columns: 1fr; gap: clamp(48px, 6vw, 72px); justify-items: center; }
.qhero__head { max-width: 760px; }
.qhero__title { font-size: clamp(3rem, 6.4vw, 5.8rem); }
.qhero__body { margin-inline: auto; }
.qhero .tqbox { width: 100%; text-align: left; }
.qhero + .section { padding-top: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) { .qhero { --overlap: 160px; } }
.qhero .tqbox { color: var(--coffee); }
/* the quiz itself shows on first view: a tighter band above the card */
.qhero { padding-top: calc(var(--bar-h, 40px) + 84px); }
.qhero__inner { gap: clamp(28px, 4svh, 44px); }
.qhero .kicker { margin-bottom: 12px; }
.qhero__title { font-size: clamp(2.4rem, min(5.4vw, 8.4svh), 5.2rem); }
.qhero__body { margin-top: 14px; font-size: 16px; }
.qhero .tqbox .tq-main { min-height: 0; padding-top: clamp(18px, 2.6svh, 32px); }
.qhero .tqbox .tq__n { font-size: clamp(40px, 6svh, 72px); }
.qhero .tqbox .tq h2 { font-size: clamp(1.8rem, min(3.4vw, 5.4svh), 3.2rem); margin-top: 10px; }
.qhero .tqbox .topt { min-height: 60px; }
.qhero .tqbox .tqbox__head { padding-top: 18px; }
/* the quiz is the centrepiece: one centred column, question on top, answers 2×2 below */
.qhero .tqbox { max-width: 920px; }
.qhero .tqbox .tq { grid-template-columns: 1fr; gap: 26px; justify-items: center; text-align: center; }
.qhero .tqbox .tq > div { width: 100%; }
.qhero .tqbox .tq h2 { margin-inline: auto; max-width: 18em; }
.qhero .tqbox .tq__body { margin-inline: auto; }
.qhero .tqbox .tq__opts { grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.qhero .tqbox .tq__nav { justify-content: space-between; }
.qhero .tqbox .qform { width: min(520px, 100%); margin-inline: auto; text-align: left; }
@media (max-width: 640px) { .qhero .tqbox .tq__opts { grid-template-columns: 1fr; } }

/* Quiz card, split (Oct 29, after Shae's Crescite / Needed references): two album photos on the
   left in the site's arch + rectangle shapes, changing with each question; question on the right */
.qhero .tqbox.tqbox--split { max-width: 1160px; display: grid; grid-template-columns: .95fr 1.05fr; }
.tqbox__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; padding: clamp(22px, 3vw, 36px); background: #F3E8DD; }
.tqbox__media img { width: 100%; object-fit: cover; box-shadow: 0 24px 40px -26px rgba(21, 12, 12, .55); }
.tqbox__media img:first-child { aspect-ratio: 3 / 4.4; border-radius: 999px 999px 14px 14px; }
.tqbox__media img:last-child { aspect-ratio: 3 / 4; border-radius: 14px; margin-top: 18%; }
.tqbox__side { display: flex; flex-direction: column; min-width: 0; }
.qhero .tqbox--split .tqbox__head { justify-items: start; padding: 30px clamp(24px, 3.4vw, 48px) 0; }
.qhero .tqbox--split .tq-prog { width: 100%; }
.qhero .tqbox--split .tq-prog__label { text-align: left; }
.qhero .tqbox--split .tq-main { flex: 1; padding: 22px clamp(24px, 3.4vw, 48px) 26px; }
.qhero .tqbox--split .tq { justify-items: stretch; text-align: left; gap: 18px; }
.qhero .tqbox--split .tq h2 { margin-inline: 0; font-size: clamp(1.7rem, min(2.6vw, 4.6svh), 2.5rem); }
.qhero .tqbox--split .tq__n { font-size: clamp(36px, 5svh, 56px); }
.qhero .tqbox--split .tq__opts { grid-template-columns: 1fr; gap: 10px; }
.qhero .tqbox--split .topt { min-height: 56px; padding-block: 10px; }
.qhero .tqbox--split .tq__body { margin-inline: 0; }
.qhero .tqbox--split .qform { margin-inline: 0; }
.qhero .tqbox--split .tq--done { justify-items: center; text-align: center; }
.qhero .tqbox--split .tq-foot { text-align: left; padding: 0 clamp(24px, 3.4vw, 48px) 22px; }
@media (max-width: 900px) {
  .qhero .tqbox.tqbox--split { grid-template-columns: 1fr; }
  .tqbox__media { grid-template-columns: 1fr 1fr; padding: 18px; max-height: 260px; overflow: hidden; }
  .tqbox__media img:last-child { margin-top: 12%; }
}

/* Quiz as the centrepiece (Oct 29): the brown runs the full hero, the card sits in the middle,
   the page title lives inside the card and each question reads as a subtitle under it */
.qhero { --overlap: 0px; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--bar-h, 40px) + 96px) 0 clamp(48px, 7svh, 80px); background: var(--mahogany); }
.qhero::before { bottom: 0; }
.qhero::after { top: 55%; }
.qhero + .section { padding-top: clamp(80px, 9vw, 120px); }
.tqbox__title { padding: clamp(26px, 3.4svh, 38px) clamp(24px, 3.4vw, 48px) 0; }
.tqbox__title .kicker { color: var(--sienna); margin-bottom: 10px; }
.tqbox__title h1 { font: 400 clamp(2.2rem, min(3.6vw, 6.4svh), 3.4rem)/1.02 var(--display); letter-spacing: -.015em; color: var(--coffee); text-wrap: balance; }
.tqbox__title h1 em { font-style: italic; color: var(--sienna); }
.qhero .tqbox--split .tqbox__head { padding-top: 22px; }
.qhero .tqbox--split .tq__n { display: none; }
.qhero .tqbox--split .tq h2 { margin-top: 0; font: 600 clamp(17px, 1.3vw, 19px)/1.45 var(--sans, "Montserrat", sans-serif); letter-spacing: 0; color: var(--coffee); }
.qhero .tqbox--split .tq--done h2, .qhero .tqbox--split .tq h2:has(em) { font: 400 clamp(1.8rem, 2.4vw, 2.3rem)/1.06 var(--display); }
.qhero .tqbox--split .tq-main { padding-top: 16px; }
/* one photo fills the left half of the card */
.qhero .tqbox.tqbox--split { grid-template-columns: .85fr 1.15fr; }
.tqbox__media { display: block; padding: 0; background: none; }
.tqbox__media img, .tqbox__media img:first-child { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; box-shadow: none; object-fit: cover; object-position: 50% 30%; }
.tqbox__title h1 { font-size: clamp(2rem, min(3vw, 5.6svh), 3rem); }
.qhero .tqbox--split .topt { min-height: 52px; padding-block: 8px; }
@media (max-width: 900px) { .tqbox__media { height: 240px; max-height: none; } }

/* =========================================================
   Header matches the home page (Oct 29): edge-to-edge bar, transparent over the hero,
   logo at the page edge, small bold uppercase links, plain "Book a free call" button.
   Turns solid brown once you scroll (main.js hides/shows it).
   ========================================================= */
html:not(#x) body header.nav { left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; margin: 0 !important; height: 66px; padding: 0 clamp(20px, 4vw, 64px) !important; border-radius: 0 !important; border: 0 !important; transform: none; }
html:not(#x) body header.nav.at-top { background: transparent !important; backdrop-filter: none !important; }
html:not(#x) body header.nav:not(.at-top) { background: rgba(21, 12, 12, .94) !important; }
html:not(#x) body header.nav .nav__mark { width: 38px !important; height: 35px !important; }
html:not(#x) body header.nav .nav__links a:not(.btn) { font: 600 11px/1 var(--sans, "Montserrat", sans-serif) !important; letter-spacing: .2em !important; opacity: .88; }
html:not(#x) body header.nav .nav__links a:not(.btn):hover, html:not(#x) body header.nav .nav__links a[aria-current] { opacity: 1; }
html:not(#x) body header.nav .nav__cta { min-height: 42px !important; height: 42px; padding: 0 20px !important; font: 600 13px/1 var(--sans, "Montserrat", sans-serif) !important; letter-spacing: 0 !important; border-color: rgba(251, 245, 239, .6) !important; }
html:not(#x) body header.nav .nav__chev { display: none !important; }

/* Quiz section is exactly one screen tall; the card fits inside it */
.qhero { --navh: 66px; height: 100svh; min-height: 620px; padding: calc(var(--bar-h, 40px) + var(--navh) + 22px) 0 22px; }
.qhero__inner { height: 100%; }
.qhero .tqbox.tqbox--split { height: 100%; max-height: 640px; align-self: center; }
.qhero .tqbox--split .tqbox__side { min-height: 0; }
.qhero .tqbox--split .tq-main { min-height: 0; overflow-y: auto; padding-top: 10px; padding-bottom: 14px; }
.tqbox__title { padding-top: clamp(18px, 2.6svh, 30px); }
.tqbox__title .kicker { margin-bottom: 6px; }
.tqbox__title h1 { font-size: clamp(1.8rem, min(2.6vw, 4.6svh), 2.7rem); }
.qhero .tqbox--split .tqbox__head { padding-top: clamp(10px, 1.8svh, 18px); }
.qhero .tqbox--split .tq { gap: 12px; }
.qhero .tqbox--split .tq__opts { gap: 8px; }
.qhero .tqbox--split .topt { min-height: 46px; padding-block: 6px; font-size: 15px; }
.qhero .tqbox--split .topt__l { width: 34px; height: 34px; font-size: 19px; }
.qhero .tqbox--split .tq__nav { margin-top: 10px; }
.qhero .tqbox--split .tq-foot { padding-bottom: 14px; }
@media (max-width: 900px) { .qhero { height: auto; } .qhero .tqbox.tqbox--split { height: auto; max-height: none; } }
/* header: brand left, links centred, button (and menu toggle on small screens) right, like home */
html:not(#x) body header.nav { display: grid !important; grid-template-columns: 1fr auto 1fr !important; }
html:not(#x) body header.nav .nav__cta { justify-self: end; grid-column: 3; grid-row: 1; }
html:not(#x) body header.nav .nav__toggle { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 1100px) { html:not(#x) body header.nav .nav__toggle:not([hidden]) ~ * { } }

/* quiz card: the photo fills its half without setting the card's height; the question starts under the progress bar */
.tqbox__media { position: relative; overflow: hidden; }
.tqbox__media img, .tqbox__media img:first-child { position: absolute; inset: 0; }
.qhero .tqbox--split .tq-main { align-content: start; align-items: start; }
.qhero .tqbox.tqbox--split { max-height: min(640px, 100%); }
/* small screens: the menu toggle sits at the far right, the button just left of it */
@media (max-width: 1020px) { html:not(#x) body header.nav .nav__cta { margin-right: 56px; } }
@media (max-width: 860px) { html:not(#x) body header.nav .nav__cta { margin-right: 0; } }
/* the quiz card is sized from the screen height, so the section never runs past the screen */
.qhero { align-items: center; padding: calc(var(--bar-h, 40px) + var(--navh)) 0 0; }
.qhero__inner { height: auto; }
.qhero .tqbox.tqbox--split { height: min(620px, calc(100svh - var(--bar-h, 40px) - var(--navh) - 60px)); max-height: none; }
@media (max-width: 900px) { .qhero { padding: calc(var(--bar-h, 40px) + var(--navh) + 20px) 0 40px; } .qhero .tqbox.tqbox--split { height: auto; } }
.tqbox__title p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: rgba(21, 12, 12, .72); max-width: 34em; }
.qhero { min-height: 0; }
.qhero .tqbox.tqbox--split { height: min(620px, calc(100svh - var(--bar-h, 40px) - var(--navh) - 76px)); }
.qhero .tqbox.tqbox--split { height: min(600px, calc(100svh - 230px)); min-height: 380px; }
/* quiz title back outside the card: the site's h2 size, centred just above it */
.qhero__inner { gap: clamp(16px, 2.6svh, 28px); }
.qhero__head { text-align: center; max-width: 760px; margin-inline: auto; }
.qhero__h { font: 400 clamp(2.15rem, min(4.35vw, 6.6svh), 3.85rem)/1.06 var(--display); letter-spacing: -.015em; color: var(--cream); }
.qhero__h em { font-style: italic; color: var(--peach); }
.qhero__head .qhero__body { margin: 10px auto 0; font-size: 16px; line-height: 1.6; color: rgba(251, 245, 239, .8); max-width: 36em; }
.qhero .tqbox.tqbox--split { height: min(560px, calc(100svh - 360px)); min-height: 360px; }
.qhero .tqbox--split .tqbox__head { padding-top: clamp(20px, 3svh, 30px); }
/* progress, quietly: a hairline and a small count at the bottom of the card */
.qhero .tqbox--split .tq-main { padding-top: clamp(26px, 4svh, 40px); }
.tqbox__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 clamp(24px, 3.4vw, 48px) 18px; }
.tqbox__foot .tq-foot { padding: 0 !important; margin: 0; }
.tqbox__prog .tq-prog { display: flex; align-items: center; gap: 12px; width: auto; }
.tqbox__prog .tq-prog__label { font: 500 11px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .06em; text-transform: none; color: rgba(21, 12, 12, .5); white-space: nowrap; }
.tqbox__prog .tq-prog__segs { width: 120px; gap: 3px; }
.tqbox__prog .tq-prog__segs i { height: 2px; background: rgba(21, 12, 12, .1); }
.tqbox__prog .tq-prog__segs i.on { background: rgba(140, 52, 32, .55); }
.tqbox__foot .tq-foot { white-space: nowrap; font-size: 11px; color: rgba(21, 12, 12, .45); }
/* bigger, roomier quiz card; title closer to the header; disclaimer tucked under the progress line */
.qhero { padding-top: calc(var(--bar-h, 40px) + var(--navh) + 6px); }
.qhero__inner { gap: clamp(14px, 2.2svh, 24px); }
.qhero .tqbox.tqbox--split { max-width: 1220px; height: min(660px, calc(100svh - 290px)); min-height: 400px; }
.qhero .tqbox--split .tq-main { padding: clamp(34px, 5svh, 56px) clamp(32px, 4.4vw, 64px) 16px; }
.qhero .tqbox--split .tq { gap: 18px; }
.qhero .tqbox--split .tq__opts { gap: 12px; }
.qhero .tqbox--split .topt { min-height: 56px; padding-block: 10px; }
.qhero .tqbox--split .tq__nav { margin-top: 18px; }
.tqbox__foot { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 7px; padding: 0 clamp(32px, 4.4vw, 64px) clamp(18px, 3svh, 30px); }
.tqbox__foot .tq-foot { font-size: 10px; letter-spacing: .02em; color: rgba(21, 12, 12, .38); }
.qhero__head { max-width: 980px; }
.qhero__head .qhero__body { max-width: none; }
.qhero .tqbox.tqbox--split { height: min(660px, calc(100svh - 300px)); }
/* the card fills exactly the room left under the title, so the section is always one screen */
.qhero { display: block; padding: calc(var(--bar-h, 40px) + var(--navh) + 8px) 0 28px; }
.qhero__inner { display: flex; flex-direction: column; height: 100%; gap: clamp(14px, 2.2svh, 24px); }
.qhero__head { flex: none; }
.qhero .tqbox.tqbox--split { flex: 1 1 auto; height: auto; min-height: 0; max-height: 680px; width: 100%; }
@media (max-width: 900px) { .qhero { height: auto; } .qhero .tqbox.tqbox--split { max-height: none; } }
.qhero .tqbox.tqbox--split { grid-template-rows: minmax(0, 1fr); } .qhero .tqbox--split > * { min-height: 0; } .qhero .tqbox--split .tqbox__side { overflow: hidden; }
/* quiz section: exactly one screen (the announcement bar sits above it), everything centred */
.qhero { height: calc(100svh - var(--bar-h, 40px)); padding: calc(var(--navh) + 4px) 0 14px; }
.qhero__inner { justify-content: center; gap: clamp(12px, 2svh, 22px); }
.qhero .tqbox.tqbox--split { flex: 0 1 auto; height: min(600px, 100%); max-height: 600px; position: relative; }
.tqbox__count { position: absolute; z-index: 2; top: clamp(18px, 2.6svh, 26px); right: clamp(22px, 3vw, 34px); font: 600 11px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .14em; text-transform: uppercase; color: rgba(21, 12, 12, .45); }
.qhero .tqbox--split .tq-main { padding-top: clamp(36px, 6svh, 60px); padding-bottom: clamp(24px, 4svh, 40px); }
.qhero__disc { flex: none; text-align: center; font-size: 10.5px; letter-spacing: .02em; color: rgba(251, 245, 239, .42); }
@media (max-width: 900px) { .qhero { height: auto; } }
/* "1 of 9" sits on the same line as the question, at the right */
.tqbox__count { display: none; }
.tq__qrow { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.tq__qrow .tq__n { display: none; }
.tq__count { flex: none; font: 600 11px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .14em; text-transform: uppercase; color: rgba(21, 12, 12, .45); }
/* a little more air above and below the card */
.qhero__inner { gap: clamp(20px, 3.4svh, 34px); }
.qhero { padding-top: calc(var(--navh) + 14px); padding-bottom: 18px; }
/* About hero: dark, copy left, a rectangle photo of Derian right (same height as the other page heroes) */
.hxS { display: grid; align-items: center; min-height: 86svh; padding: 140px 0 clamp(48px, 7vw, 90px); }
.hxS::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lines); opacity: .9; }
.hxS__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.hxS__photo { margin: 0; justify-self: end; width: min(440px, 100%); aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75); }
.hxS__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 860px) { .hxS__inner { grid-template-columns: 1fr; } .hxS__photo { justify-self: start; width: min(360px, 100%); } }
.hxS { padding: 130px 0 56px; } .hxS__photo { width: min(380px, 100%); }
/* About: Derian's story, one body style across its three short paragraphs */
.story__body { display: grid; gap: 16px; max-width: 34em; margin-bottom: 30px; }
.story__body p { font-size: 17px; line-height: 1.75; }
/* About hero photo = same size and corners as the Meet your coach photo (508 × 540) */
.hxS__photo { width: min(508px, 100%); aspect-ratio: 508 / 540; border-radius: 10px; }
.hxS { padding: 120px 0 48px; }
.hxS__inner { grid-template-columns: 1fr minmax(0, 508px); }
.hxS .dfacts { margin-top: 26px; } .hxS .btn-row { margin-top: 30px; }
/* About quote: the home statement design, sized for one line */
html body section.statement.dark--statement.quote { min-height: 0; padding-block: clamp(110px, 12vw, 170px); }
.quote .statement__text { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.quote .statement__body { margin-top: 26px; font: 400 26px/1 "Nothing You Could Do", cursive; color: var(--peach) !important; }
.quote .statement__text em { font-style: italic; color: var(--peach); }
/* brown banner: the same moving band in Rich Mahogany, used to divide two light sections */
html:not(#x) body .sash--brown div.band, html:not(#x) body .sash--brown div.band.band--match { background: var(--mahogany) !important; border-block: 1px solid rgba(251, 245, 239, .12); }
html:not(#x) body .sash--brown .band__track span { color: var(--cream) !important; }
html:not(#x) body .sash--brown .band__track i, html:not(#x) body .sash--brown .band__icon, html:not(#x) body .sash--brown .band__star { color: var(--peach) !important; fill: var(--peach) !important; background-color: var(--peach) !important; }
/* About quote on the light background */
html body section.statement.quote { min-height: 0; padding-block: clamp(110px, 12vw, 170px); }
html body section.statement.light--statement.quote { background: var(--cream) url("img/rings-on-light.svg?v=3") 0 0 / 1200px !important; color: var(--coffee) !important; }
html body section.statement.light--statement.quote::before { background: none !important; }
html body .light--statement.quote .statement__text { color: var(--coffee) !important; }
html body .light--statement.quote .statement__text em { color: var(--sienna); }
html body .light--statement.quote .kicker { color: var(--sienna) !important; }
html body .light--statement.quote .statement__body { color: var(--sienna) !important; }
/* hero continuity (Oct 29): every page title the same size, the quiz title included */
.qhero__h { font-size: var(--fs-mega, clamp(2.5rem, 5vw, 5.2rem)); font-size: clamp(2.6rem, min(5vw, 7.2svh), 4.6rem); }
.hx__title { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.hxS__photo img { object-position: 50% 35%; }
.hxS__inner { gap: 64px; grid-template-columns: minmax(0, 508px) minmax(0, 508px); justify-content: space-between; } .hx__title, .qhero__h { font-size: clamp(2.6rem, min(4.6vw, 7svh), 4.3rem); } .hxS .btn-row { flex-wrap: nowrap; }

/* =========================================================
   HOME HERO (from nourysh-heroes .r2, the approved one): two album photos under a dark
   wash, the headline, one line and the button centred over the seam
   ========================================================= */
.r2 { position: relative; isolation: isolate; overflow: hidden; height: calc(100svh - var(--bar-h, 40px)); min-height: 580px; display: grid; grid-template-columns: 1fr 1fr; background: var(--mahogany); color: var(--cream); }
.r2__img { position: relative; overflow: hidden; }
.r2__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.9); animation: r2Settle 2.4s cubic-bezier(.16, 1, .3, 1) both; }
.r2__img + .r2__img img { animation-delay: .12s; }
.r2::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(48% 42% at 50% 50%, rgba(21, 12, 12, .82), rgba(21, 12, 12, .62) 65%, rgba(21, 12, 12, .58)); }
.r2__copy { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center; padding: 66px clamp(20px, 4vw, 64px) 30px; }
.r2__title { max-width: 13em; font: 400 clamp(2.75rem, min(5.4vw, 9svh), 5.75rem)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; color: var(--cream); text-shadow: 0 2px 24px rgba(21, 12, 12, .55); animation: r2Rise 1.2s cubic-bezier(.16, 1, .3, 1) .35s both; }
.r2__title em { display: block; font-style: italic; }
.r2__sub { max-width: 34em; margin-top: clamp(18px, 3svh, 30px); font-size: 1.125rem; line-height: 1.6; color: rgba(251, 245, 239, .86); text-shadow: 0 2px 24px rgba(21, 12, 12, .55); animation: r2Rise 1.1s cubic-bezier(.16, 1, .3, 1) .6s both; }
.r2 .btn-row { justify-content: center; margin-top: clamp(22px, 3.4svh, 34px); animation: r2Rise 1s cubic-bezier(.16, 1, .3, 1) .8s both; }
@keyframes r2Settle { from { transform: scale(1.12); } }
@keyframes r2Rise { from { opacity: 0; transform: translateY(28px); } }
@media (max-width: 760px) { .r2 { grid-template-columns: 1fr; } .r2__img:last-child { display: none; } }
@media (prefers-reduced-motion: reduce) { .r2__img img, .r2__title, .r2__sub, .r2 .btn-row { animation: none; } }
/* Contact page: the contact section sits right under the header */
.contact--page { padding-top: calc(66px + clamp(70px, 9vw, 120px)) !important; }
/* Contact page: one screen at most, like the other page tops (Oct 29, Shae: "contact page is huge") */
html body section.contact.contact--page { min-height: 0 !important; height: auto; padding-top: calc(66px + clamp(32px, 5svh, 56px)) !important; padding-bottom: clamp(40px, 6svh, 64px) !important; }
html body .contact--page .contact__form { gap: 14px; }
html body .contact--page .contact__field input, html body .contact--page .contact__field select { min-height: 46px; }
html body .contact--page .contact__field textarea { min-height: 96px; }
html body .contact--page .contact__inner { padding-block: 0 !important; align-items: center; }

/* =========================================================
   Quiz page hero as a slide (Oct 30): opens on the home page's quiz section
   (phone mockup, badge, copy); Start slides it off to the left and the quiz card
   comes in from the right. One screen tall throughout.
   ========================================================= */
.qflow { padding: 0 !important; overflow: hidden; }
.qflow__track { display: flex; width: 200%; height: 100%; transition: transform .95s cubic-bezier(.77, 0, .175, 1); }
.qflow__panel { width: 50%; height: 100%; flex: none; display: grid; align-items: center; padding: calc(var(--navh, 66px) + 14px) 0 18px; transition: opacity .6s ease .15s; }
.qflow.is-quiz .qflow__track { transform: translateX(-50%); }
.qflow:not(.is-quiz) .qflow__quiz, .qflow.is-quiz .qflow__intro { opacity: .25; }
.qflow__intro.qfeature { background: none !important; min-height: 0 !important; }
.qflow__intro .feature__inner { align-items: center; }
.qflow__intro .feature__photo { max-height: calc(100svh - 220px); }
.qflow__intro .feature__mock { max-height: calc(100svh - 230px); width: auto; margin-inline: auto; }
.qflow__quiz .qhero__inner { height: 100%; }
@media (prefers-reduced-motion: reduce) { .qflow__track { transition: none; } }
@media (max-width: 900px) { .qflow__panel { height: auto; } }
/* quiz page intro: its own take on the home quiz section — phone on the right, everything left-aligned,
   the same stats row as the other page heroes */
.qflow__intro, .qflow__intro .feature__copy, .qflow__intro .qtitle, .qflow__intro h1 { text-align: left !important; }
.qflow__intro .qtitle { margin-inline: 0 !important; }
.qflow__intro .feature__copy { justify-items: start; }
.qflow__facts { margin: 4px 0 28px; }
.qflow__intro .feature__inner { grid-template-columns: 1.1fr .9fr; }
.qflow__intro .feature__photo { order: 2; }
.qflow__intro .feature__copy { order: 1; }
.qflow__intro .qtitle .feature__badge { display: none !important; }
.qflow__facts li { color: rgba(251, 245, 239, .82); }
.qflow__facts b { color: var(--peach); }
/* quiz: one back arrow above the card, on the left, lined up with the card's edge */
.tq-toprow { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: end; width: 100%; max-width: 1220px !important; margin-inline: auto; }
.tq-toprow .qhero__h { grid-column: 2; }
.tq-backarrow { grid-column: 1; justify-self: start; align-self: center; display: inline-flex; align-items: center; gap: 8px; appearance: none; border: 0; background: none; padding: 8px 0; color: var(--cream); font: 600 12px/1 var(--sans, "Montserrat", sans-serif); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; opacity: .85; transition: opacity .25s var(--ease), gap .25s var(--ease); }
.tq-backarrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tq-backarrow:hover { opacity: 1; gap: 12px; }
.tq-backarrow[hidden] { visibility: hidden; display: inline-flex; }
/* grey banner: Smoky Rose */
html:not(#x) body .sash--grey div.band, html:not(#x) body .sash--grey div.band.band--match { background: var(--rose) !important; border-block: 1px solid rgba(251, 245, 239, .14); }
html:not(#x) body .sash--grey .band__track span { color: var(--cream) !important; }
html:not(#x) body .sash--grey .band__track i { background-color: var(--peach) !important; }
/* motion.js: word masks for headlines rising into place */
.mw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
.mw > span { display: inline-block; will-change: transform; }
/* Interaction polish: colors, borders and press all move together; one strong ease-out */
:root { --ui-ease: cubic-bezier(.23, 1, .32, 1); }
html body .btn, html body a.btn, html body button.btn, html body .pcard2__btn, html body .nav .nav__cta.nav__cta.nav__cta.nav__cta {
  transition: background-color .22s var(--ui-ease), border-color .22s var(--ui-ease), color .22s var(--ui-ease), box-shadow .22s var(--ui-ease), transform .16s var(--ui-ease) !important;
}
html body .btn:active, html body .pcard2__btn:active, html body .nav .nav__cta:active, html body .topt:active, html body .tq-backarrow:active { transform: scale(.97); }
.tabs__btn { transition: transform .22s var(--ui-ease), filter .22s var(--ui-ease) !important; }
.tabs__go, .rcard2__cta, .footer4__links a { transition: color .2s var(--ui-ease), opacity .2s var(--ui-ease), text-underline-offset .25s var(--ui-ease); }
@media (hover: hover) and (pointer: fine) { .tabs__go:hover { text-underline-offset: 7px; } }
.acc__a { transition-timing-function: var(--ui-ease) !important; }
@media (prefers-reduced-motion: reduce) { html body .btn:active, html body .pcard2__btn:active, html body .topt:active { transform: none; } }
/* footer: logo | links | back to top, evenly balanced */
html body .footer4__top { grid-template-columns: 1fr auto 1fr; }
html body .footer4__top .footer4__links { justify-content: center; }
.footer4__top-btn { justify-self: end; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--cream); transition: background-color .22s var(--ui-ease), color .22s var(--ui-ease), transform .16s var(--ui-ease); }
.footer4__top-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ui-ease); }
@media (hover: hover) and (pointer: fine) { .footer4__top-btn:hover { background: var(--cream); color: var(--coffee); } .footer4__top-btn:hover svg { transform: translateY(-3px); } }
.footer4__top-btn:active { transform: scale(.95); }
.footer4__top-btn:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
@media (max-width: 760px) { .footer4__top-btn { justify-self: center; } }
.footer4__end { justify-self: end; display: flex; align-items: center; gap: 14px; }
.footer4__end .footer4__top-btn { justify-self: auto; }
@media (max-width: 760px) { .footer4__end { justify-self: center; } }
/* floating back to top, bottom right, appears after the first screen */
.totop { position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 60; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--coffee); color: var(--cream); border: 1.5px solid var(--cream); box-shadow: 0 14px 30px -14px rgba(21, 12, 12, .6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ui-ease), transform .3s var(--ui-ease), visibility 0s linear .3s, background-color .22s var(--ui-ease), color .22s var(--ui-ease); }
.totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ui-ease), transform .3s var(--ui-ease), visibility 0s, background-color .22s var(--ui-ease), color .22s var(--ui-ease); }
.totop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ui-ease); }
@media (hover: hover) and (pointer: fine) { .totop:hover { background: var(--cream); color: var(--coffee); border-color: var(--coffee); } .totop:hover svg { transform: translateY(-3px); } }
.totop.is-on:active { transform: scale(.95); }
.totop:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
html body .footer4 .footer4__btn { min-width: 0 !important; padding: 10px 20px !important; gap: 8px; }
html body .footer4__top .footer4__links { padding-top: 4px !important; }   /* all-caps sit high in their line box; this centers them optically with the logo and button */
/* videos stand in for photos in the POV section and the third process tab */
.tp__photo video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
html:not(#x) body section.feature:not(.qfeature) .feature__photo video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
/* POV video: lighter warm grade (Shae, Nov 2) */
html body .feature.feature--goal .feature__photo video { filter: sepia(.15) saturate(1.02) hue-rotate(-4deg) !important; }
html body .feature.feature--goal .feature__photo::after { background: rgba(211, 152, 88, .1) !important; }
/* text fades in like the photos: no rise, no blur (Shae, Nov 2) */
html.js [data-reveal] { transform: none !important; filter: none !important; transition: none; }
/* Quiz page hero: warm light-trail texture behind both panels, and a bigger phone (Shae, Nov 2) */


@media (max-width: 860px) { html:not(#x) body .qflow__intro .feature__mock { height: 480px !important; } }

/* Quiz page, Nov 2: intro hero on its own (no slide), the quiz is the second section */
.qflow--single .qflow__track { width: 100%; transform: none !important; }
.qflow--single .qflow__panel { width: 100%; opacity: 1 !important; }
html:not(#x) body .qhero.qflow--single { background: var(--mahogany) !important; }
/* the light-trail photo glows behind the phone */
html:not(#x) body .qflow--single .feature__photo { position: relative; isolation: isolate; }
html:not(#x) body .qflow--single .feature__photo::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: url("img/album/texture-brown-blur.jpg") center / cover; -webkit-mask: radial-gradient(closest-side, #000 35%, transparent 100%); mask: radial-gradient(closest-side, #000 35%, transparent 100%); opacity: .95; filter: brightness(1.5) saturate(1.15); }
html:not(#x) body .qflow--single .feature__mock { height: min(calc(100svh - 270px), 600px) !important; max-height: none !important; }
/* the copy takes more of the width so the headline reads big */
html:not(#x) body .qflow--single .feature__inner { grid-template-columns: 1.25fr .85fr !important; column-gap: 64px !important; }
html:not(#x) body .qflow--single .feature__copy { max-width: none !important; }
html:not(#x) body .qflow--single h1.h2 { font-size: clamp(3rem, 6.4vw, 6rem) !important; line-height: .98 !important; max-width: none !important; }
html:not(#x) body .qflow--single .derian__lead { max-width: 600px; }
html:not(#x) body .qflow--single .btn-row { margin-top: 30px; }
@media (max-width: 900px) { html:not(#x) body .qflow--single .feature__inner { grid-template-columns: 1fr !important; } }
/* the quiz section: light, sized like a normal section */
html:not(#x) body .qhero.qtake { height: auto !important; min-height: 0 !important; display: block; padding: 120px 0 !important; background: var(--cream) !important; color: var(--coffee); }
html:not(#x) body .qtake .qhero__inner { height: auto !important; }
html:not(#x) body .qtake .tqbox.tqbox--split { height: 640px !important; max-height: none !important; box-shadow: 0 34px 70px -40px rgba(21, 12, 12, .55); }
html:not(#x) body .qtake :is(.qhero__h, .qhero__h em) { color: var(--coffee) !important; }
html:not(#x) body .qtake .tq-backarrow { color: var(--coffee); }
html:not(#x) body .qtake .qhero__disc { color: rgba(21, 12, 12, .6) !important; }
@media (max-width: 900px) { html:not(#x) body .qhero.qtake { padding: 80px 0 !important; } html:not(#x) body .qtake .tqbox.tqbox--split { height: auto !important; } }
html:not(#x) body .qflow--single .qtitle { max-width: none !important; width: auto !important; font-size: inherit; }
html:not(#x) body .qflow--single h1.h2 { font-size: clamp(3rem, 5.6vw, 5.4rem) !important; }
html:not(#x) body .qflow--single h1.h2 em { display: block; white-space: nowrap; }
html:not(#x) body .qflow--single .kicker { margin-bottom: 18px; }
html:not(#x) body .qflow--single .derian__lead { margin-top: 22px; }
html:not(#x) body .qflow--single .btn-row { margin-top: 34px !important; gap: 12px; }
html:not(#x) body .qflow--single .btn-row .btn { margin: 0 !important; }
html:not(#x) body .qflow--single .btn.btn--secondary { background: transparent !important; color: var(--cream) !important; border-color: var(--cream) !important; box-shadow: none !important; }
html:not(#x) body .qflow--single .btn.btn--secondary:hover { background: var(--cream) !important; color: var(--coffee) !important; border-color: var(--coffee) !important; }
html:not(#x) body .qflow--single .dfacts { margin-bottom: 0 !important; }
/* quiz intro is the same height as the About and Coaching heroes, so the quiz below peeks in */
html:not(#x) body .qhero.qflow--single { height: auto !important; min-height: 76svh !important; display: grid; align-items: center; }
html:not(#x) body .qflow--single .qflow__track, html:not(#x) body .qflow--single .qflow__panel { height: auto !important; }
html:not(#x) body .qflow--single .qflow__panel { padding: 104px 0 40px !important; }
html:not(#x) body .qflow--single .feature__mock { height: min(calc(76svh - 170px), 540px) !important; }
html:not(#x) body .qhero.qtake { padding-top: 56px !important; }
/* Quiz page depth (Nov 2): warm tinted backgrounds with the light tree-ring texture, so the quiz and the
   focus-area notes lift off the page instead of sitting on flat ivory */
html:not(#x) body .qhero.qtake { background: url("img/rings-on-light.svg") center / 900px, #F6EADF !important; }
html:not(#x) body .qtake .tqbox.tqbox--split { box-shadow: 0 40px 80px -36px rgba(21, 12, 12, .6), 0 2px 0 rgba(21, 12, 12, .04) !important; }
html:not(#x) body section.qresults { background: url("img/rings-on-light.svg") center / 900px, #F3E9E5 !important; }
html:not(#x) body .qresults .note { box-shadow: 0 30px 50px -28px rgba(21, 12, 12, .55) !important; }
/* quiz intro text matches the About and Coaching heroes exactly (Shae, Nov 2) */
html:not(#x) body .qflow--single h1.h2 { font-size: clamp(2.6rem, min(4.6vw, 7svh), 4.3rem) !important; line-height: 1 !important; letter-spacing: -.015em !important; }
html:not(#x) body .qflow--single .derian__lead { font-size: 17px !important; line-height: 1.7 !important; max-width: 578px !important; margin-top: 0 !important; }
html:not(#x) body .qflow--single .dfacts { margin-top: 26px !important; }
html:not(#x) body .qflow--single .btn-row { margin-top: 30px !important; }
html:not(#x) body .qflow--single .feature__inner { grid-template-columns: minmax(0, 508px) minmax(0, 508px) !important; justify-content: space-between; column-gap: 64px !important; }
html:not(#x) body .qflow--single .qtitle, html:not(#x) body .qflow--single h1.h2 { margin-bottom: 0 !important; }
html:not(#x) body .qflow--single .derian__lead { margin: 22px 0 0 !important; color: rgba(251, 245, 239, .86) !important; }
html:not(#x) body .qflow--single .feature__copy { display: block !important; } html:not(#x) body .qflow--single .feature__copy > * { margin-block-end: 0; }
html:not(#x) body .qflow--single .feature__copy > .kicker { margin-bottom: 18px !important; }
/* quiz card: plain ivory inside, lifted further off the textured section (Shae, Nov 2) */
html:not(#x) body .qtake .tqbox, html:not(#x) body .qtake .tqbox :is(.tqbox__side, [data-tq]) { background-image: none !important; }
html:not(#x) body .qtake .tqbox { background-color: #FFFCF8 !important; box-shadow: 0 60px 110px -40px rgba(21, 12, 12, .55), 0 18px 36px -18px rgba(21, 12, 12, .22), 0 0 0 1px rgba(21, 12, 12, .05) !important; translate: 0 -6px; }

/* =========================================================
   Phones and tablets (Nov 3): desktop untouched, everything below 860px stacks into one column.
   ========================================================= */
/* nav: the Work with me button and the menu button never collide */
@media (max-width: 1020px) { html:not(#x) body header.nav .nav__cta { margin-right: 56px !important; white-space: nowrap; } }
@media (max-width: 560px) { html:not(#x) body header.nav .nav__cta { min-height: 38px; padding: 0 14px !important; font-size: 11px !important; letter-spacing: .08em !important; } }

@media (max-width: 860px) {
  /* Coaching + About heroes: text first, full-width photo under it */
  html:not(#x) body .hxS__inner { grid-template-columns: 1fr !important; gap: 36px !important; }
  html:not(#x) body .hxS__photo { justify-self: stretch !important; width: 100% !important; aspect-ratio: 4 / 3.4 !important; }
  html:not(#x) body .hxS { min-height: 0 !important; padding: 112px 0 56px !important; }
  html:not(#x) body .hxS .btn-row { flex-wrap: wrap; }

  /* quiz page hero: one column, phone under the copy */
  html:not(#x) body .qflow--single .feature__inner { grid-template-columns: 1fr !important; row-gap: 40px !important; }
  html:not(#x) body .qflow--single .feature__copy { order: 1; }
  html:not(#x) body .qflow--single .feature__photo { order: 2; justify-self: center; }
  html:not(#x) body .qflow--single .feature__mock { height: 440px !important; }
  html:not(#x) body .qflow--single .qflow__panel { padding: 104px 0 56px !important; }
  html:not(#x) body .qflow--single h1.h2 em { white-space: normal; }

  /* quiz card: photo becomes a short band on top, questions get the full width */
  html:not(#x) body .qtake .tqbox.tqbox--split { grid-template-columns: 1fr !important; height: auto !important; }
  html:not(#x) body .qtake .tqbox__media { max-height: 180px !important; overflow: hidden; }
  html:not(#x) body .qtake .tqbox__media img { width: 100%; height: 180px !important; object-fit: cover; object-position: 50% 30%; border-radius: 0 !important; margin: 0 !important; aspect-ratio: auto !important; }
  html:not(#x) body .qtake .tqbox__side { padding: 26px 20px 28px !important; }

  /* footer: logo, links, Follow us! stacked and centered */
  html:not(#x) body .footer4__top { grid-template-columns: 1fr !important; justify-items: center !important; gap: 22px !important; }
  html:not(#x) body .footer4__top .footer4__links { justify-content: center; gap: 4px 22px !important; padding-top: 0 !important; }
  html:not(#x) body .footer4__top .footer4__links a { padding-block: 10px; }
  html:not(#x) body .footer4__top .footer4__btn, html:not(#x) body .footer4__top .footer4__logo { justify-self: center !important; }
  html:not(#x) body .footer4__disc { font-size: 11px !important; }

  /* text links inside the process tabs get a real tap area */
  html:not(#x) body .tabs__panel .tabs__go { display: inline-block; padding-block: 14px; margin-top: 8px !important; }
}

@media (max-width: 700px) {
  /* process tabs: one readable row you can swipe */
  html:not(#x) body .tabs__list { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  html:not(#x) body .tabs__list::-webkit-scrollbar { display: none; }
  html:not(#x) body .tabs__btn { flex: none; white-space: nowrap; font-size: 11px !important; letter-spacing: .14em !important; padding: 14px 16px 12px !important; }
  html:not(#x) body .tabs__btn br { display: none; }
}
/* application: optional "How did you hear about Nourysh?" dropdown matches the other fields */
.afield select { width: 100%; min-height: 52px; padding: 13px 44px 13px 15px; border-radius: 10px; border: 1px solid rgba(21, 12, 12, .18); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23150C0C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; color: var(--coffee); font: 400 15px/1.5 var(--sans, "Montserrat", sans-serif); appearance: none; cursor: pointer; }
.afield select:focus { outline: none; border-color: var(--sienna); box-shadow: 0 0 0 3px rgba(140, 52, 32, .14); }
/* contact: links in the intro, and the note that sends discovery calls to the application */
.contact__copy p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact__copy p a:hover { color: var(--peach); }
.contact__applynote { margin: -2px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(211, 152, 88, .16); border: 1px solid rgba(140, 52, 32, .22); color: var(--coffee); font-size: 14px; line-height: 1.5; }
.contact__applynote a { color: var(--sienna); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
