/* Coach Michele Design: the inner pages' shared blocks (engine phase; inc/pages.php).
   The scroll scene (cm-scroll-scene), the inner-page hero (cm-page-hero), the breadcrumbs
   (cm-breadcrumbs) and the call-to-action band without its form (cm-cta-band). Composed
   from the design's own parts: the gold thread's scene, overlay, rail and list
   (styles.css "7. the gold thread"), the hero's night ground, light and proof line, labels,
   Italiana headings, the gold double frame, gold hairlines. Every colour, font, size step
   and easing is a token or a literal of styles.css: no new hues, fonts or radii.
   Loaded after styles.css, only on pages that hold one of these widgets (and in the editor). */

/* ------------------------------------------------------------------ the scroll scene */
.cms { position: relative; padding: var(--sec-y) 0 0; background: var(--night); color: var(--on-dark); }
.cms__head .h2 { max-width: 14em; }
.cms__intro { margin-top: 28px; max-width: 34em; color: var(--on-dark-2); }
.cms__scene { position: relative; height: 100vh; height: 100svh; overflow: hidden; margin-top: clamp(40px, 5vw, 72px); background: radial-gradient(80% 70% at 60% 50%, var(--night-3), var(--night) 70%); }
.cms__scene[hidden] { display: none; }
.cms__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.cms--ready .cms__gl { opacity: 1; }
.cms__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 14, 11, .92) 0%, rgba(18, 14, 11, .8) 30%, rgba(18, 14, 11, .45) 42%, rgba(18, 14, 11, 0) 56%), linear-gradient(180deg, var(--night) 0%, rgba(18, 14, 11, 0) 14%, rgba(18, 14, 11, 0) 86%, var(--night) 100%); }
.cms__overlay { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); width: min(38vw, 540px); pointer-events: none; }
.cms__no { font-family: var(--f-label); font-weight: 500; font-size: 16px; letter-spacing: .24em; color: var(--gold-lt); }
.cms__of { color: var(--on-dark-3); }
.cms__card { margin-top: 28px; min-height: 340px; }
.cms__label { font-family: var(--f-label); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.25; color: var(--gold-lt); }
.cms__title { font-family: var(--f-display); font-size: clamp(44px, 4vw, 64px); line-height: 1.05; margin-top: 16px; color: var(--on-dark); text-wrap: balance; }
.cms__line { margin-top: 22px; font-size: 20px; line-height: 1.6; color: var(--on-dark-2); max-width: 26em; }
.cms__line[hidden], .cms__link[hidden] { display: none; }
.cms__link { margin-top: 18px; pointer-events: auto; }
.cms__link.is-focus { outline: 2px solid var(--gold-lt); outline-offset: 4px; border-radius: 2px; }
.cms__rail { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); height: min(62vh, 560px); width: 64px; }
.cms__track { position: absolute; right: 21px; top: 0; bottom: 0; width: 1px; background: rgba(217, 179, 106, .22); }
.cms__fill { position: absolute; inset: 0; background: linear-gradient(var(--gold-lt), var(--gold)); transform-origin: top; transform: scaleY(0); }
.cms__ticks { list-style: none; position: absolute; inset: 0; }
.cms__ticks li { position: absolute; right: 0; transform: translateY(-50%); }
.cms__tick { display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.cms__tick::before { content: ''; width: 9px; height: 9px; margin-right: 17px; border-radius: 50%; border: 1px solid var(--gold-lt); background: var(--night); transition: background-color .4s, transform .4s var(--ease-out), box-shadow .4s; }
.cms__tick.is-past::before { background: var(--gold); border-color: var(--gold); }
.cms__tick.is-on::before { background: var(--on-dark); transform: scale(1.5); box-shadow: 0 0 14px 3px rgba(228, 198, 138, .55); }
.cms__tick span { position: absolute; right: 54px; white-space: nowrap; font-family: var(--f-label); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .4s var(--ease-out); pointer-events: none; background: rgba(18, 14, 11, .85); padding: 6px 12px; }
.cms__tick:hover span, .cms__tick:focus-visible span { opacity: 1; transform: none; }
/* 26 Nov 2026 (client audit): the words above the dots ("Tap or click a gold dot ..."), and on the dial the
   active step's label stays visible next to its dot */
.cms__railhint { position: absolute; right: 0; bottom: calc(100% + 22px); width: 230px; margin: 0; text-align: right; font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; color: var(--gold-lt); }
.cms--dial .cms__tick.is-on span { opacity: 1; transform: none; }
.cms__skip { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 28px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 16px; font-weight: 600; color: var(--on-dark-2); text-decoration: none; }
.cms__skip:hover { color: var(--gold-lt); }
.cms__hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; font-family: var(--f-label); font-size: 15px; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-3); pointer-events: none; }
.cms__hint i { width: 1px; height: 30px; background: linear-gradient(var(--gold-lt), transparent); animation: cue 2.6s var(--ease-io) infinite; }
.cms__end { display: block; height: 0; outline: none; }

/* the chapter list: the page itself below 1024px, without WebGL2, with reduced motion and in the
   editor (the gold thread's vertical timeline: a gold line that draws with the scroll) */
.cms__list { list-style: none; position: relative; width: min(1120px, 100% - var(--gutter) * 2); margin: clamp(56px, 7vw, 96px) auto 0; padding: 0 0 var(--sec-y) 72px; }
.cms__list::before, .cms__list::after { content: ''; position: absolute; left: 24px; top: 0; bottom: var(--sec-y); width: 1px; }
.cms__list::before { background: rgba(217, 179, 106, .16); }
.cms__list::after { background: linear-gradient(var(--gold-lt), var(--gold)); transform-origin: top; transform: scaleY(var(--cms-p, 1)); }
.cms__item { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; }
.cms__item::before { content: ''; position: absolute; left: -53px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--on-dark); box-shadow: 0 0 0 5px rgba(228, 198, 138, .12), 0 0 18px 4px rgba(228, 198, 138, .45); }
.cms__item-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-3); }
.cms__item-media::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(217, 179, 106, .55); pointer-events: none; }
.cms__item-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cms__item--type { grid-template-columns: minmax(0, 2fr) minmax(0, 9fr); }
.cms__item-media--type { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, rgba(192, 144, 45, .28), transparent 70%), var(--night-3); }
.cms__item-media--type span { font-family: var(--f-display); font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--gold-lt); }
.cms__item-label { font-family: var(--f-label); font-weight: 500; font-size: 17px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lt); }
.cms__item-title { font-family: var(--f-display); font-size: clamp(36px, 3.6vw, 54px); line-height: 1.06; margin-top: 12px; color: var(--on-dark); text-wrap: balance; }
.cms__item-line { margin-top: 18px; color: var(--on-dark-2); max-width: 28em; }
.cms__item-link { margin-top: 14px; }
/* gallery: the rows are quotations */
.cms--gallery .cms__item-line { order: -1; margin-top: 0; font-family: var(--f-display); font-size: clamp(28px, 2.4vw, 38px); line-height: 1.22; color: var(--on-dark); max-width: 24em; }
.cms--gallery .cms__item-txt { display: flex; flex-direction: column; }
.cms--gallery .cms__item-title { order: 1; margin-top: 22px; font-family: var(--f-label); font-weight: 500; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); }
.cms--gallery .cms__item-label { order: 2; margin-top: 6px; font-family: var(--f-text); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--on-dark-3); }
.cms--gallery .cms__item-link { order: 3; }
/* a quotation needs no numeral beside it */
.cms--gallery .cms__item--type { grid-template-columns: minmax(0, 1fr); }
.cms--gallery .cms__item-media--type { display: none; }
/* live: the scene replaces the list on screen; screen readers keep the list */
.cms--live .cms__list { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.cms--live { padding-bottom: 0; }
@media (max-width: 899px) {
  .cms__list { padding-left: 40px; }
  .cms__list::before, .cms__list::after { left: 8px; }
  .cms__item, .cms__item--type { grid-template-columns: 1fr; gap: 24px; }
  .cms__item::before { left: -37px; top: 28px; margin: 0; }
  .cms__item-media { max-width: 420px; aspect-ratio: 4 / 4.4; }
  .cms__item-media--type { width: 88px; aspect-ratio: 1; }
  .cms__item-media--type span { font-size: 40px; }
}

/* ------------------------------------------------------------------ the inner-page hero */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-dark); padding: calc(var(--mast) + clamp(56px, 7vw, 112px)) 0 clamp(72px, 8vw, 128px); }
.phero--screen { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.phero--screen > .phero__grid { flex: 1 1 auto; }
/* the homepage hero's ground: its two pools of gold light over the night gradient */
.phero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(50% 60% at 72% 34%, rgba(192, 144, 45, .16), transparent 64%),
    radial-gradient(40% 40% at 12% 20%, rgba(138, 100, 24, .14), transparent 70%),
    linear-gradient(180deg, var(--foot) 0%, var(--night) 40%, var(--night-2) 100%);
}
.phero__pool { position: absolute; left: 72%; top: 6%; width: 64vw; height: 70vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(192, 144, 45, .1), rgba(192, 144, 45, .03) 60%, transparent); }
.phero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, rgba(192, 144, 45, 0), rgba(192, 144, 45, .55) 50%, rgba(192, 144, 45, 0)); }
.phero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.phero__motes { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.phero__motes i { position: absolute; bottom: 0; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; background: var(--on-dark); box-shadow: 0 0 6px 1px rgba(228, 198, 138, .7); left: var(--x); opacity: 0; animation: dust var(--d, 9s) linear var(--dl, 0s) infinite; }
.phero--gl .phero__motes, .rm .phero__motes { display: none; }
/* the opening's starting state (main.js plays it; never without JavaScript, with reduced motion or in the editor) */
.js:not(.rv-off):not(.rm) [data-ph] { opacity: 0; }
.phero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.phero--none .phero__grid { grid-template-columns: minmax(0, 1fr); }
.phero__copy { position: relative; }
.phero__kicker { margin-bottom: 26px; }
.phero__h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(50px, 6vw, 96px); line-height: 1.02; letter-spacing: .005em; color: var(--on-dark); text-wrap: balance; max-width: 11.5em; }
.phero__h1 .hl { display: block; }
.phero--none .phero__h1 { max-width: 14em; }
/* the H1's small first line (the page's keyword line, inside the same <h1>, above the display line): ONE rule for
   all eight inner pages (was defined twice, in pages/offers.css and pages/pages-a.css; unified by [final-qa]) */
.phero__h1 .h1-small { display: block; max-width: 40em; margin-bottom: 20px; font-family: var(--f-text); font-weight: 500; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; letter-spacing: .01em; color: var(--on-dark-2); text-wrap: balance; }
/* long display lines: the headline steps down a size so it keeps to two or three lines */
.phero--long .phero__h1 { font-size: clamp(44px, 4.9vw, 78px); line-height: 1.04; max-width: 12.5em; }
.phero__lead { margin-top: 30px; max-width: 34em; color: var(--on-dark-2); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.phero__proof { list-style: none; display: flex; flex-wrap: wrap; margin-top: 46px; max-width: 760px; border-top: 1px solid var(--line-dk); }
.phero__proof li { position: relative; flex: 1 1 0; min-width: 180px; padding: 16px 22px 0 0; font-size: 16px; line-height: 1.45; color: var(--on-dark-2); }
.phero__proof li + li { padding-left: 22px; border-left: 1px solid var(--line-dk); }
.phero__media { position: relative; justify-self: end; width: 100%; max-width: 470px; }
.phero--cut .phero__media { align-self: end; max-width: 560px; margin-bottom: calc(clamp(72px, 8vw, 128px) * -1); }
.phero__cut { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(8, 5, 3, .5)); -webkit-mask-image: linear-gradient(180deg, #fff 82%, transparent 100%); mask-image: linear-gradient(180deg, #fff 82%, transparent 100%); }
.phero__halo { position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217, 179, 106, .3), rgba(192, 144, 45, .15) 38%, rgba(138, 100, 24, .06) 66%, rgba(138, 100, 24, 0)); pointer-events: none; }
@media (max-width: 1199px) { .phero__proof { display: grid; grid-template-columns: 1fr; border-top: 0; } .phero__proof li, .phero__proof li + li { padding: 12px 0 12px 22px; border-left: 0; border-top: 1px solid var(--line-dk); } .phero__proof .spark { position: absolute; left: 0; top: 22px; margin: 0; } }
@media (max-width: 899px) {
  .phero { padding-top: calc(var(--mast) + 44px); }
  .phero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .phero__h1 { font-size: clamp(44px, 11.6vw, 72px); }
  .phero--long .phero__h1 { font-size: clamp(40px, 10.6vw, 64px); }
  .phero__h1 .h1-small { margin-bottom: 16px; }
  .phero__actions .btn { flex: 1 1 260px; }
  .phero__media { justify-self: start; max-width: 420px; }
  .phero--cut .phero__media { justify-self: center; max-width: 440px; }
  .phero__pool { left: 50%; top: 4%; width: 120vw; height: 60vh; }
}

/* ------------------------------------------------------------------ breadcrumbs */
.crumbs { position: relative; z-index: 5; font-family: var(--f-label); font-weight: 500; font-size: 15px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.crumbs li { display: flex; align-items: center; gap: 16px; }
.crumbs li + li::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .55; flex: none; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.crumbs a:hover { background-size: 100% 1px; }
.crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
/* over the top of the page: under the menu, on the hero's night ground */
.crumbs--top { position: absolute; left: 0; right: 0; top: calc(var(--mast) + 14px); color: var(--on-dark-3); }
/* a page with the breadcrumbs over its top: the hero's words start low enough never to meet them */
@media (max-width: 1199px) { body:has(.crumbs--top) .phero { padding-top: calc(var(--mast) + 88px); } }
.crumbs--top a:hover, .crumbs--night a:hover { color: var(--gold-lt); }
.crumbs--top [aria-current], .crumbs--night [aria-current] { color: var(--gold-lt); }
/* a slim band */
.crumbs--night { background: var(--night); color: var(--on-dark-3); border-bottom: 1px solid var(--line-dk); padding: 6px 0; }
.crumbs--ivory { background: var(--ivory); color: var(--brown-2); border-bottom: 1px solid var(--line-lt); padding: 6px 0; }
.crumbs--ivory a:hover { color: var(--brown); }
.crumbs--ivory [aria-current] { color: var(--gold-dk); }
.ivory .crumbs :focus-visible, .crumbs--ivory :focus-visible { outline-color: var(--gold-dk); }
@media (max-width: 899px) {
  .crumbs { font-size: 14px; letter-spacing: .12em; }
  .crumbs ol, .crumbs li { gap: 0 12px; }
  .crumbs li + li::before { width: 14px; }
  .crumbs--top { top: calc(var(--mast) + 6px); }
}

/* ------------------------------------------------------------------ the call-to-action band without its form */
.cta--solo .cta__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
.cta--solo .cta__aside .cta__contact { margin-top: 0; }
@media (max-width: 999px) { .cta--solo .cta__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ editor only: no widget boxes on the public site */
.elementor-editor-active .cms__scene, .elementor-editor-preview .cms__scene { display: none; }
