/* Layout, type and motion for the static rebuild of Melissa's Squarespace site.
   Colors come from theme.css (generated); per-page grid placement comes from the
   <style> block build.py writes into each page. */

:root {
  --sqs-site-gutter: 2vw;
  --sqs-mobile-site-gutter: 6vw;
  --sqs-site-max-width: 1400px;
  --maxPageWidth: 1400px;
  --heading-font: 'Red Hat Display', 'Helvetica Neue', Arial, sans-serif;
  --body-font: 'Crimson Pro', Georgia, serif;
  --heading-scale: 0.95;
  --heading-weight: 350;
  --h1v: 4.3; --h2v: 3.3; --h3v: 2.3; --h4v: 1.5;
  --pv: 1.1; --plv: 1.3; --psv: 0.9;
  --header-height: 150px;
  --ease: ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 450;
  line-height: 1.5em;
  background: var(--siteBackgroundColor);
  color: var(--paragraphMediumColor);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: var(--paragraphLinkColor); text-decoration: none; transition: opacity 0.1s linear; }

.skip-link {
  position: absolute; left: -9999px; top: 10px; z-index: 100;
  background: var(--secondaryButtonBackgroundColor); color: var(--secondaryButtonTextColor);
  padding: 0.6rem 1.2rem; border-radius: 300px;
}
.skip-link:focus { left: 10px; }

/* ---------- Type scale (Squarespace formula: fluid on desktop, vh-based on phones) ---------- */

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: -0.012em;
  margin: 2rem 0;
}
/* line-height divides out --heading-scale so line spacing matches the original font's */
h1 { color: var(--headingExtraLargeColor); line-height: calc(1.4em * (1 + (1 - var(--h1v)) / 25) / var(--heading-scale)); }
h2 { color: var(--headingLargeColor); line-height: calc(1.4em * (1 + (1 - var(--h2v)) / 25) / var(--heading-scale)); }
h3 { color: var(--headingMediumColor); line-height: calc(1.4em * (1 + (1 - var(--h3v)) / 25) / var(--heading-scale)); }
h4 { color: var(--headingSmallColor); line-height: calc(1.4em * (1 + (1 - var(--h4v)) / 25) / var(--heading-scale)); }
h1 a, h2 a, h3 a, h4 a { color: var(--headingLinkColor); }

p { margin: 1rem 0; }
.sqsrte-large { color: var(--paragraphLargeColor); }
.sqsrte-small { color: var(--paragraphSmallColor); }

@media screen and (min-width: 768px), screen and (orientation: landscape) {
  h1 { font-size: calc(var(--heading-scale) * min(calc((var(--h1v) - 1) * 1.2vw + 1rem), max(calc((var(--h1v) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--h1v) * 1rem)))); }
  h2 { font-size: calc(var(--heading-scale) * min(calc((var(--h2v) - 1) * 1.2vw + 1rem), max(calc((var(--h2v) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--h2v) * 1rem)))); }
  h3 { font-size: calc(var(--heading-scale) * min(calc((var(--h3v) - 1) * 1.2vw + 1rem), max(calc((var(--h3v) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--h3v) * 1rem)))); }
  h4 { font-size: calc(var(--heading-scale) * min(calc((var(--h4v) - 1) * 1.2vw + 1rem), max(calc((var(--h4v) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--h4v) * 1rem)))); }
  body, p { font-size: min(calc((var(--pv) - 1) * 1.2vw + 1rem), max(calc((var(--pv) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--pv) * 1rem))); }
  .sqsrte-large { font-size: min(calc((var(--plv) - 1) * 1.2vw + 1rem), max(calc((var(--plv) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--plv) * 1rem))); }
  .sqsrte-small { font-size: min(calc((var(--psv) - 1) * 1.2vw + 1rem), max(calc((var(--psv) - 1) * 0.012 * var(--maxPageWidth) + 1rem), calc(var(--psv) * 1rem))); }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  h1 { font-size: calc(var(--heading-scale) * ((var(--h1v) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem)); }
  h2 { font-size: calc(var(--heading-scale) * ((var(--h2v) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem)); }
  h3 { font-size: calc(var(--heading-scale) * ((var(--h3v) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem)); }
  h4 { font-size: calc(var(--heading-scale) * ((var(--h4v) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem)); }
  body, p { font-size: calc((var(--pv) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem); }
  .sqsrte-large { font-size: calc((var(--plv) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem); }
  .sqsrte-small { font-size: calc((var(--psv) - 1) * calc(0.012 * min(100vh, 900px)) + 1rem); }
}

.sqsrte-text-color--white { color: hsl(var(--white-hsl)); }
.sqsrte-text-color--black { color: hsl(var(--black-hsl)); }
.sqsrte-text-color--accent { color: hsl(var(--accent-hsl)); }
.sqsrte-text-color--darkAccent { color: hsl(var(--darkAccent-hsl)); }
.sqsrte-text-color--lightAccent { color: hsl(var(--lightAccent-hsl)); }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: transparent;
  padding: 0.9vw 2vw;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.site-title {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  color: var(--siteTitleColor);
  letter-spacing: -0.012em;
  font-size: calc(var(--heading-scale) * min(calc(1.2vw + 1rem), max(calc(0.012 * var(--maxPageWidth) + 1rem), 2rem)));
  line-height: 1.4em;
  text-align: center;
  margin-bottom: 2.6vw;
}
.desktop-nav {
  width: 100%;
  border-top: 1px solid #c5c3c3;
  border-bottom: 1px solid #c5c3c3;
  padding: 10px 0;
}
.desktop-nav > ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.desktop-nav > ul > li { margin: 0 1.75vw; }
.desktop-nav li { position: relative; }
.desktop-nav a, .nav-folder-btn {
  color: var(--navigationLinkColor);
  font: inherit;
  font-size: min(calc((var(--pv) - 1) * 1.2vw + 1rem), 1.25rem);
  line-height: 1.5em;
  padding: 0.1em 0;
  background: none; border: 0; cursor: pointer;
  background-repeat: no-repeat;
}
.desktop-nav a:hover, .nav-folder-btn:hover { opacity: 0.5; font-style: italic; }
.desktop-nav a[aria-current="page"], .nav-folder.is-active > .nav-folder-btn {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 calc(100% - 0.1em);
}
.nav-dropdown {
  list-style: none;
  margin: 0;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  min-width: 14rem;
  padding: 0.5em 1em;
  background: var(--siteBackgroundColor);
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}
.nav-dropdown li { padding: 0.1em 0; }
.nav-dropdown a { white-space: nowrap; font-size: 1rem; }
.nav-folder:hover .nav-dropdown,
.nav-folder:focus-within .nav-dropdown,
.nav-folder-btn[aria-expanded="true"] + .nav-dropdown { opacity: 1; visibility: visible; }

.burger {
  display: none;
  position: absolute;
  right: 6vw; top: 50%;
  width: 36px; height: 24px;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.burger span {
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: var(--siteTitleColor);
  transition: transform 0.25s ease, top 0.25s ease;
}
.burger span:first-child { top: 7px; }
.burger span:last-child { top: 16px; }
body.menu-open .burger span:first-child { top: 12px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 12px; transform: rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 15;
  background: var(--menuOverlayBackgroundColor);
  padding: calc(var(--header-height) + 6vh) 6vw 6vh;
  opacity: 0; visibility: hidden;
  transition: visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { margin: 0 0 0.6em; }
.mobile-menu a, .mobile-menu button {
  font-family: var(--body-font);
  font-weight: 450;
  font-size: 8.5vw;
  line-height: 1.6;
  color: var(--menuOverlayNavigationLinkColor);
  background: none; border: 0; padding: 0; cursor: pointer;
  text-align: left;
  display: inline-flex; align-items: center; gap: 0.35em;
}
.mobile-menu a[aria-current="page"] { font-style: italic; }
.menu-back { font-size: 6vw !important; margin-bottom: 0.8em; opacity: 0.8; }
.chev {
  display: inline-block; width: 0.35em; height: 0.35em;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.chev--back { transform: rotate(-135deg); }
.menu-panel { transition: transform 0.4s ease, opacity 0.4s ease; }
.menu-panel[hidden] { display: none; }

@media (max-width: 799px) {
  .desktop-nav { display: none; }
  .burger { display: block; transform: translateY(-50%); }
  .site-header { padding: 6vw; }
  .header-inner { position: relative; padding: 0 16vw; }
  .burger { right: 0; }
  .site-title { font-size: calc(var(--heading-scale) * (calc(0.012 * min(100vh, 900px)) + 1rem)); margin: 0; }
}

/* ---------- Sections + Fluid Engine grid ---------- */

.page-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* two layers, as on Squarespace: a see-through theme color is painted twice */
  background: linear-gradient(var(--siteBackgroundColor), var(--siteBackgroundColor)), var(--siteBackgroundColor);
  color: var(--paragraphMediumColor);
}
.page-section > .content-wrapper { width: 100%; position: relative; display: flex; }
.page-section.section-height--small { min-height: 33vh; }
.page-section.section-height--small > .content-wrapper { padding-top: 3.3vmax; padding-bottom: 3.3vmax; }
.page-section.section-height--medium { min-height: 66vh; }
.page-section.section-height--medium > .content-wrapper { padding-top: 6.6vmax; padding-bottom: 6.6vmax; }
.page-section.section-height--large { min-height: 100vh; }
.page-section.section-height--large > .content-wrapper { padding-top: 10vmax; padding-bottom: 10vmax; }
main > .page-section:first-child { padding-top: var(--header-height); }

.fluid-engine { width: 100%; }
.fe-block { position: relative; min-width: 0; }
.sqs-block { display: flex; flex-direction: column; height: 100%; width: 100%; position: relative; }
.sqs-block-alignment-wrapper { display: flex; width: 100%; }

.html-content > :first-child { margin-top: 0; }
.html-content > :last-child { margin-bottom: 0; }
.html-content ul, .html-content ol { margin: 1rem 0; padding-left: 2.2em; }
.html-content li { margin: 0.5rem 0; }
.html-content li > p { margin: 0; }
.html-content li::marker { color: currentColor; }
.html-content a:hover { opacity: 0.5; }

/* image: positioned out of flow so the grid rows, not the photo, set the size */
.block-imageFluid > .img-wrap { position: absolute; inset: 0; }
.img-frame { position: relative; width: 100%; height: 100%; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; }
.img-overlay { position: absolute; inset: 0; pointer-events: none; }

/* line */
.rule-wrap { height: 100%; align-items: center; }
.rule-wrap hr { border: 0; margin: 0; }
.block-horizontalrule .rule-wrap { justify-content: inherit; }

/* shape */
.shape { position: absolute; inset: 0; box-shadow: 1.2px 1.6px 3px rgba(59, 48, 43, 0.18); }

/* ---------- Buttons ---------- */

.btn-wrap { display: flex; width: 100%; }
.btn-wrap--left { justify-content: flex-start; }
.btn-wrap--center { justify-content: center; }
.btn-wrap--right { justify-content: flex-end; }
.btn-wrap--fill { height: 100%; }
.btn-wrap--fill .btn { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding-top: 0; padding-bottom: 0; }
.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-weight: 450;
  line-height: 1.2em;
  text-align: center;
  border-radius: 300px;
  padding: 1.5rem 2.2rem;
  cursor: pointer;
}
span.btn { cursor: default; }
.btn--primary {
  background: var(--primaryButtonBackgroundColor);
  color: var(--primaryButtonTextColor);
  border: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.1s linear;
}
.btn--primary:hover { opacity: 0.8; }
.btn--secondary {
  background: transparent;
  color: var(--secondaryButtonBackgroundColor);
  border: 2px solid var(--secondaryButtonBackgroundColor);
  transition: background-color 0.1s linear, color 0.1s linear;
}
a.btn--secondary:hover { background: var(--secondaryButtonBackgroundColor); color: var(--secondaryButtonTextColor); }
.btn--tertiary {
  background: transparent;
  color: var(--tertiaryButtonBackgroundColor);
  border: 0; border-bottom: 2px solid var(--tertiaryButtonBackgroundColor);
  border-radius: 0;
  padding: 0 0 0.2em;
}
.btn--small { padding: 0.9rem 1.32rem; }
@media screen and (min-width: 768px), screen and (orientation: landscape) {
  .btn--secondary { font-size: min(calc(0.5 * 1.2vw + 1rem), max(calc(0.5 * 0.012 * var(--maxPageWidth) + 1rem), 1.5rem)); }
  .btn--tertiary { font-size: min(calc(-0.1 * 1.2vw + 1rem), 0.9rem); }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .btn--secondary { font-size: calc(0.5 * calc(0.012 * min(100vh, 900px)) + 1rem); }
  .btn--tertiary { font-size: calc(-0.1 * calc(0.012 * min(100vh, 900px)) + 1rem); }
}

/* ---------- Accordion ---------- */

.accordion { list-style: none; margin: 0; padding: 0; width: 100%; }
.acc-divider { height: var(--acc-divider-height, 1px); background: var(--acc-divider-color); }
.acc-title { margin: 0; }
h1.acc-title button, h2.acc-title button, h3.acc-title button, h4.acc-title button { font-family: var(--heading-font); font-weight: var(--heading-weight); }
.acc-title button {
  display: flex; align-items: center; width: 100%;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--acc-title-color);
  padding: 30px 0;
  text-align: var(--acc-title-align);
}
.acc-title-text { flex: 1; text-align: var(--acc-title-align); }
.acc-icon { position: relative; width: 14px; height: 14px; flex: none; margin-left: 12px; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; background: var(--acc-icon-color);
  transition: transform 0.3s ease;
}
.acc-icon::before { left: 0; right: 0; top: 50%; height: 1px; }
.acc-icon::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.acc-title button[aria-expanded="true"] .acc-icon::after { transform: rotate(90deg); }
.acc-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.acc-title button[aria-expanded="true"] ~ .acc-panel,
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-desc { overflow: hidden; text-align: var(--acc-desc-align); }
.acc-desc > :first-child { margin-top: 0; }
.acc-desc > :last-child { margin-bottom: 30px; }

/* ---------- Marquee ---------- */

.marquee {
  width: 100%; overflow: hidden; white-space: nowrap;
  padding: 3% 0;
  color: var(--marquee-color);
  font-family: var(--body-font);
  font-style: italic;
  font-weight: 450;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);
}
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-group { display: inline-flex; }
.marquee-item { margin-right: 1em; }
@media screen and (min-width: 768px), screen and (orientation: landscape) {
  .marquee { font-size: min(calc(0.8 * 1.2vw + 1rem), max(calc(0.8 * 0.012 * var(--maxPageWidth) + 1rem), 1.8rem)); line-height: 1.4em; }
}
@media screen and (max-width: 767px) and (orientation: portrait) {
  .marquee { font-size: calc(0.8 * calc(0.012 * min(100vh, 900px)) + 1rem); line-height: 1.4em; }
}

/* ---------- Her custom CSS (copied from the Squarespace site) ---------- */

.vertical-line { background: #000; width: 1px; height: 150px; margin: 0 auto; }
.vertical-path { background: #5e6c5b; width: 1px; height: 850px; margin: 0 auto; opacity: 0.5; }
.vertical-line-about { background: #fff; width: 1px; height: 150px; margin: 0 auto; }
#footer-sections .sqsrte-small { font-size: 0.8em; }
#footer-sections .sqsrte-small strong em { font-size: 0.9em; font-weight: 450; font-style: normal; }
#footer-sections p { font-size: 0.9em; }
@media only screen and (max-width: 767px) {
  main > .page-section:first-child :is(h1, h2, h3, h4, p) { text-align: center !important; }
  main > .page-section:first-child .btn-wrap, .btn-wrap--left { justify-content: center; }
  #footer-sections { text-align: center; }
  #footer-sections .btn-wrap { justify-content: center; }
}
@media only screen and (max-width: 768px) {
  .vertical-line, .vertical-line-about, .vertical-path { display: none; }
  [data-section-theme="light-bold"] * { text-align: center !important; }
}

/* ---------- Contact form ---------- */

:is(.contact-form, .consult-form) { width: 100%; font-size: 0.9em; }
:is(.contact-form, .consult-form) .form-item { margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
:is(.contact-form, .consult-form) legend, :is(.contact-form, .consult-form) label { display: block; padding: 0; margin-bottom: 0.3rem; color: var(--tweak-form-block-title-color); }
:is(.contact-form, .consult-form) .req { color: var(--tweak-form-block-caption-color); opacity: 0.6; font-size: 0.85em; }
:is(.contact-form, .consult-form) .caption { display: block; font-size: 0.8em; margin-bottom: 0.15rem; }
:is(.contact-form, .consult-form) .name-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
:is(.contact-form, .consult-form) .name-parts label { margin: 0; }
:is(.contact-form, .consult-form) input, :is(.contact-form, .consult-form) select, :is(.contact-form, .consult-form) textarea {
  width: 100%;
  font: inherit;
  color: var(--tweak-form-block-field-input-color);
  background-color: var(--tweak-form-block-field-fill-color);
  border: 1px solid var(--tweak-form-block-field-border-color);
  border-radius: 0;
  padding: 7px 10px;
}
:is(.contact-form, .consult-form) select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
:is(.contact-form, .consult-form) textarea { min-height: 100px; resize: vertical; }
:is(.contact-form, .consult-form) .form-note { font-size: 0.8em; opacity: 0.6; margin: 0 0 0.6rem; }
:is(.contact-form, .consult-form) .form-btn {
  background: var(--tweak-form-block-button-background-color);
  color: var(--tweak-form-block-button-text-color);
  border: 0;
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1rem 1.8rem;
}
:is(.contact-form, .consult-form) .form-btn:hover { opacity: 0.8; }
:is(.contact-form, .consult-form) .form-status { min-height: 1.5em; }
:is(.contact-form, .consult-form) .form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
:is(.contact-form, .consult-form) .form-turnstile:not(:empty) { margin: 0 0 1rem; }
:is(.contact-form, .consult-form) .form-btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Scroll reveal (her site's "fade" + "slide" global animation) ---------- */

html.js .rv { transition-property: opacity, transform; transition-duration: 0.8s; transition-timing-function: var(--ease); }
html.js .rv-fade { opacity: 0; }
html.js .rv-slide { opacity: 0; transform: translateY(40px); }
html.js .rv.is-in { opacity: 1; transform: none; }

html.js .hdr-el { opacity: 0; transform: translateY(-20px); transition: opacity 0.8s ease, transform 0.8s ease; }
html.js .hdr-el.is-in { opacity: 1; transform: none; }
html.js .site-title.hdr-el { transition-delay: 0.1s; }
html.js .desktop-nav.hdr-el { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .hdr-el { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { transform: none !important; }
}

/* News & Podcasts pages (written by the app from the back office, not from Squarespace). */
.news-section > .content-wrapper { padding: 6vmax 4vw; justify-content: center; }
.news-wrap { width: 100%; max-width: 760px; }
.news-card { padding: 1.6em 0; border-top: 1px solid hsl(var(--black-hsl), .15); }
.news-card h2 { margin: .2em 0 .3em; }
.news-card h2 a { text-decoration: none; }
.news-meta { font-size: .85em; letter-spacing: .04em; opacity: .75; margin: 0; }
.news-summary { font-style: italic; }
.news-player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 1.5em 0; }
.news-player--audio { aspect-ratio: auto; height: 232px; }
.news-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.news-body p { margin: 0 0 1em; }

/* Contact page: "Ready to work with Melissa?" and consultation booking (site/consult.js). */
.ready-section > .content-wrapper { padding: 5vmax 4vw; justify-content: center; }
.ready-wrap { width: 100%; max-width: 760px; }
.ready-title { text-align: center; }
.seg { display: flex; justify-content: center; margin: 1.2em auto 1.6em; width: max-content; max-width: 100%;
       border: 1px solid hsla(var(--black-hsl), .25); border-radius: 300px; padding: 4px; gap: 4px; }
.seg-btn { font: inherit; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; border: 0; border-radius: 300px;
           padding: .7em 1.6em; background: transparent; color: var(--paragraphMediumColor); cursor: pointer; }
.seg-btn[aria-selected="true"] { background: var(--primaryButtonBackgroundColor); color: var(--primaryButtonTextColor); }
.seg-btn:disabled { opacity: .4; cursor: not-allowed; }
.seg-pane .html-content + .html-content { margin-top: 1.4em; }
.ready-tldr { font-size: 1.1em; }
.ready-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.ready-video-frame.tall { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; }
.ready-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.consult { margin-top: 1.6em; }
.consult h3 { font-size: 1.1em; margin: 1.4em 0 .6em; }
.consult-suggested, .consult-days, .consult-slot-list { display: flex; flex-wrap: wrap; gap: 8px; }
.consult-slot, .consult-day { font: inherit; font-size: .95rem; padding: .6em 1.1em; border-radius: 300px; cursor: pointer;
                              border: 1px solid var(--primaryButtonBackgroundColor); background: transparent; color: var(--paragraphMediumColor); }
.consult-suggested .consult-slot { background: var(--primaryButtonBackgroundColor); color: var(--primaryButtonTextColor); }
.consult-slot:hover, .consult-day:hover { opacity: .8; }
.consult-day[aria-selected="true"] { background: hsla(var(--black-hsl), .08); font-weight: 600; }
.consult-day-title { margin: 1.2em 0 .5em; font-weight: 600; }
.consult-tz, .consult-none { font-size: .85em; opacity: .7; }
.consult-chosen { font-weight: 600; }
.consult-change { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--paragraphMediumColor); margin-left: 1em; }
.consult-done { padding: 1.4em; border-radius: 12px; background: hsla(var(--black-hsl), .05); }
.consult-cal { display: flex; flex-wrap: wrap; gap: 10px; }
.consult-cal .btn { padding: 1rem 1.6rem; }
.contact-other { margin-top: 3em; font-size: .8em; opacity: .75; text-align: center; }
.sessions-book { margin: 1.4em 0; text-align: center; }
.sessions-book .btn { padding: 1rem 2rem; }
.sessions-lists { margin-top: 1.4em; }
.sessions-stubs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sessions-stubs button:disabled { opacity: .45; cursor: not-allowed; }
.sp-dialog { padding: 0; border: 0; border-radius: 12px; width: min(520px, 100vw); height: min(820px, 92vh); max-width: 100vw; max-height: 100dvh; overflow: hidden; }
.sp-dialog[open] { display: flex; flex-direction: column; }
.sp-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.sp-bar { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .4em .6em .4em 1em; font-size: .85rem; }
.sp-close { font: inherit; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; padding: 0 .3em; }
.sp-frame { flex: 1; width: 100%; border: 0; }
@media (max-width: 600px) { .sp-dialog { width: 100vw; height: 100dvh; border-radius: 0; } }
