/* Coach Michele Design: what builder [pages-a]'s four pages share (About, Results, Speaking & Media, Contact),
   and the styles of its three widgets (cm-contact-routes, cm-contact-map, cm-speaking-form). Loaded by
   inc/page-css.php (wp_head 10001, after styles.css and pages.css) on those pages, or wherever a cm-contact-*
   widget sits. Composed from Design C's own parts: Italiana headings, Cinzel labels, Albert Sans reading text,
   gold hairlines and double frames, the night / ivory / cream grounds, the homepage's entrances (data-r).
   Every colour, font, size step and easing is a token or a literal of styles.css; no new hues, fonts or radii.
   Classes: pa-* (bands and parts), routes / route__* (cm-contact-routes), omap* (cm-contact-map),
   form--speak / form__grid (cm-speaking-form). */

/* the page H1's small first line (.h1-small) and .phero--long live in assets/pages.css (one rule for all eight pages) */

/* ------------------------------------------------------------------ the closing call, centred (cm-cta-band without the form) */
.cta--center { background: radial-gradient(70% 70% at 50% 18%, var(--night-3), var(--night) 70%); }
.cta--center .cta__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.cta--center .cta__copy { max-width: 980px; }
.cta--center .cta__copy::before { content: ''; display: block; width: 1px; height: clamp(48px, 5vw, 72px); margin: 0 auto clamp(28px, 3vw, 40px); background: linear-gradient(transparent, var(--gold)); }
.cta--center .h2 { max-width: 14em; margin-inline: auto; }
.cta--center .cta__body { margin-inline: auto; max-width: 34em; }
.cta--center .cta__actions { justify-content: center; }
@media (max-width: 599px) { .cta--center .cta__grid { text-align: left; justify-items: start; } .cta--center .cta__copy::before { margin-left: 0; } .cta--center .cta__actions { justify-content: flex-start; } .cta--center .cta__actions .btn { flex: 1 1 260px; } }

/* ------------------------------------------------------------------ the FAQ band's heading: the inner pages' questions run longer than
   the homepage's "Frequently asked questions", so the heading steps down a size beside the list */
.faq__head .h2 { font-size: clamp(40px, 3.9vw, 60px); line-height: 1.06; }

/* ------------------------------------------------------------------ small shared parts */
.pa-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
/* a dark-ground animated icon on a light band: the icon in a night medallion with a gold ring */
.pa-medal, .route__ic { display: grid; place-items: center; width: 80px; height: 80px; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 30%, var(--night-3), var(--night) 72%); box-shadow: inset 0 0 0 1px rgba(217, 179, 106, .5); outline: 1px solid rgba(192, 144, 45, .38); outline-offset: 5px; }
.pa-medal > .lottie, .route__ic > .lottie { width: 64%; height: 64%; }
.lottie.pa-medal { padding: 11px; }
/* a photograph's caption under its gold frame (cm-frame-photo) */
.frame__cap { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line-lt); font-size: 16px; line-height: 1.5; color: var(--brown-2); max-width: 30em; }
.night .frame__cap { border-color: var(--line-dk); color: var(--on-dark-3); }
/* gold-numbered rows (cm-numbered-list, class pa-numlist): the homepage's fit list, two columns */
.pa-numlist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 3vw, 48px); border-top: 1px solid var(--line-lt); }
.pa-numlist li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-lt); font-size: 19px; line-height: 1.45; color: var(--brown); }
.pa-numlist li::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.pa-numlist li:hover::after { transform: scaleX(1); }
.pa-numlist__n { font-family: var(--f-label); font-weight: 600; font-size: 15px; letter-spacing: .1em; color: var(--gold-dk); }
@media (max-width: 699px) { .pa-numlist { grid-template-columns: minmax(0, 1fr); } .pa-numlist li { font-size: 18px; } }

/* ------------------------------------------------------------------ contact routes (cm-contact-routes) */
.routes { list-style: none; }
.route { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.route__h { font-family: var(--f-label); font-weight: 600; font-size: 15px; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dk); }
.route__v { margin: 12px 0 22px; font-family: var(--f-display); font-size: clamp(28px, 2.2vw, 34px); line-height: 1.16; color: var(--brown) !important; overflow-wrap: break-word; }
.route__t { margin: 14px 0 22px; font-size: 18px; line-height: 1.58; max-width: 30em; }
.route__go { margin-top: auto; font-size: 17px; }
/* ledger: columns divided by gold hairlines */
.routes--ledger { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, 1.3fr); border-top: 1px solid var(--line-lt); border-bottom: 1px solid var(--line-lt); }
.routes--ledger .route { padding: 44px clamp(24px, 3vw, 48px) 40px; }
.routes--ledger .route:first-child { padding-left: 0; }
.routes--ledger .route:last-child { padding-right: 0; }
.routes--ledger .route + .route { border-left: 1px solid var(--line-lt); }
.routes--ledger .route__ic { margin-bottom: 28px; }
@media (max-width: 1099px) {
  .routes--ledger { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .routes--ledger .route { display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-areas: "ic h" "ic v" "ic go"; column-gap: 32px; padding: 32px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-lt); }
  .routes--ledger .route__ic { grid-area: ic; margin: 6px 0 0 6px; }
  .routes--ledger .route__h { grid-area: h; }
  .routes--ledger .route__v { grid-area: v; margin-bottom: 10px; }
  .routes--ledger .route__go { grid-area: go; justify-self: start; }
}
@media (max-width: 499px) {
  .routes--ledger .route { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "ic h" "v v" "go go"; column-gap: 22px; align-items: center; }
  .routes--ledger .route__ic { width: 64px; height: 64px; margin: 0 0 0 6px; }
  .routes--ledger .route__v { margin: 18px 0 8px; font-size: 27px; }
}
/* grid: two by two */
.routes--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-lt); }
.routes--grid .route { padding: 40px clamp(24px, 3vw, 48px) 44px 0; border-bottom: 1px solid var(--line-lt); }
.routes--grid .route:nth-child(odd) { border-right: 1px solid var(--line-lt); }
.routes--grid .route:nth-child(even) { padding-left: clamp(24px, 3vw, 48px); padding-right: 0; }
.routes--grid .route__h { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.3vw, 36px); line-height: 1.14; letter-spacing: 0; text-transform: none; color: var(--brown); text-wrap: balance; }
@media (max-width: 699px) { .routes--grid { grid-template-columns: minmax(0, 1fr); } .routes--grid .route:nth-child(n) { border-right: 0; padding: 32px 0 36px; } }

/* ------------------------------------------------------------------ the office map (cm-contact-map) */
.omap { position: relative; margin-top: clamp(48px, 5vw, 72px); }
.omap__frame { position: relative; padding: 14px; }
.omap__frame::before { content: ''; position: absolute; left: -14px; right: -14px; top: -16px; height: 8px; border-top: 1px solid var(--gold); border-bottom: 1px solid rgba(192, 144, 45, .55); }
.omap__svg { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 640; background: radial-gradient(62% 72% at 50% 46%, var(--night-3), var(--night-2) 55%, var(--night)); }
.omap__svg--tall { display: none; aspect-ratio: 640 / 800; }
@media (max-width: 699px) { .omap__svg--wide { display: none; } .omap__svg--tall { display: block; } }
.omap text { font-family: var(--f-label); font-weight: 500; fill: var(--gold-lt); }
.omap__roadname { font-size: 19px; letter-spacing: .26em; text-transform: uppercase; }
.omap__badge text { font-size: 18px; font-weight: 600; letter-spacing: .08em; fill: var(--on-dark); }
.omap .omap__place { font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; fill: var(--on-dark); }
.omap__east text { font-size: 17px; letter-spacing: .24em; text-transform: uppercase; fill: var(--on-dark-2); }
.omap__north text { font-size: 17px; letter-spacing: .1em; fill: var(--on-dark-3); }
.omap__svg--tall .omap__roadname { font-size: 17px; letter-spacing: .1em; }
.omap__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 30px; }
.omap__cap { flex: 1 1 30em; max-width: 52em; font-size: 18px; line-height: 1.5; color: var(--on-dark-2); }
.omap__pulse { transform-box: fill-box; transform-origin: center; animation: omap-pulse 3.4s var(--ease-out) infinite; }
.omap__pulse--2 { animation-delay: 1.7s; }
@keyframes omap-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(4.4); opacity: 0; } }
/* the roads draw in and the pin settles once the map is in view (pages-a.js adds is-in); still and complete without JS or with reduced motion */
.js:not(.rv-off):not(.rm) .omap .omap__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease-io); }
.js:not(.rv-off):not(.rm) .omap .omap__road { transition-delay: .4s; }
.js:not(.rv-off):not(.rm) .omap .omap__words { opacity: 0; transition: opacity 1.4s var(--ease-out) 1.8s; }
.js:not(.rv-off):not(.rm) .omap .omap__drop { opacity: 0; transform: translateY(-30px); transition: opacity 1s var(--ease-out) 1.5s, transform 1.4s var(--ease-out) 1.5s; }
.js:not(.rv-off):not(.rm) .omap.is-in .omap__line { stroke-dashoffset: 0; }
.js:not(.rv-off):not(.rm) .omap.is-in .omap__words, .js:not(.rv-off):not(.rm) .omap.is-in .omap__drop { opacity: 1; transform: none; }
@media (max-width: 599px) { .omap__foot .btn { flex: 1 1 260px; } .omap__frame { padding: 10px; } .omap__frame::before { left: -10px; right: -10px; } }

/* ------------------------------------------------------------------ the speaking request form (cm-speaking-form) */
.form--speak .form__intro { font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--brown) !important; max-width: 32em; }
.form--speak .form__req { margin-top: 10px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.form__grid .field--wide { grid-column: 1 / -1; }
.form--speak .field input::placeholder, .form--speak .field textarea::placeholder { color: var(--brown-2); opacity: .8; }
@media (max-width: 599px) { .form__grid { grid-template-columns: minmax(0, 1fr); } .form--speak .form__btn { padding: 0 16px; gap: 10px; } }
.pa-request__alt { margin-top: 34px; font-size: 16px; line-height: 1.6; color: var(--on-dark-3); }
.pa-request__alt a { color: var(--on-dark); text-decoration-color: rgba(228, 198, 138, .5); }
.pa-request__alt a:hover { color: var(--gold-lt); }
@media (max-width: 599px) { .pa-request__alt { margin-left: 4px; } }
