/* Tokyo Joe’s homepage — reference-led visual theme. */
@font-face {
  font-family: "Anton";
  src: url("/_assets/fonts/anton-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/_assets/fonts/barlow-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/_assets/fonts/barlow-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/_assets/fonts/barlow-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("/_assets/fonts/barlow-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-page: #ffffff;
  --color-section-alt: #f4f4f2;
  --color-surface: #ffffff;
  --color-surface-2: #f3f3f1;
  --color-ink: #0c0f10;
  --color-muted: #50565d;
  --color-line: #dedfdf;
  --color-brand: #ff102b;
  --color-brand-hover: #d70621;
  --color-brand-dark: #090c0d;
  --color-accent: #e50924;
  --color-accent-soft: rgb(255 16 43 / 8%);
  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --site-width: 1280px;
  --gutter: clamp(22px, 5vw, 72px);
  --section-space: 96px;
  --radius: 2px;
  --button-radius: 2px;
}

html { scroll-padding-top: 28px; }
body { font-size: 18px; line-height: 1.55; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a, input, select, textarea { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--color-brand); }
::selection { background: var(--color-brand); color: white; }

.hero h1, .section h2, .service-item h3, .lead-modal-panel h2 {
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.section h2 { font-size: clamp(40px, 4.6vw, 66px); }
.section p { line-height: 1.6; }
.section p + p { margin-top: 18px; }
.section + .section { border: 0; }
.section .section-eyebrow, .hero .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
}

.section-eyebrow::before {
  content: "";
  width: 48px;
  height: 3px;
  flex: 0 0 auto;
  background: var(--color-brand);
}

/* The navigation sits over the hero, as in the reference. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 24px;
  padding-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav { align-items: flex-start; gap: 38px; }
.brand { flex: 0 0 auto; margin-right: auto; }
.brand-logo { display: block; width: 130px; height: 130px; object-fit: contain; }
.nav-links { gap: 34px; margin-top: 6px; }
.nav-links a {
  position: relative;
  min-height: 46px;
  color: white;
  font: 400 15px/1 var(--font-display);
  letter-spacing: 0.03em;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.nav-action .button { padding: 19px 25px; font-size: 16px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
  min-height: 58px;
  padding: 18px 28px;
  margin-top: 28px;
  font: 600 18px/1.2 var(--font-body);
  letter-spacing: 0.085em;
  text-transform: lowercase;
  box-shadow: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

main .button::after {
  content: "";
  width: 27px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
  clip-path: polygon(0 46%, 82% 46%, 56% 10%, 62% 3%, 100% 50%, 62% 97%, 56% 90%, 82% 54%, 0 54%);
  transition: transform 180ms ease;
}

.button:hover, .button:focus-visible {
  background: var(--color-brand-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgb(255 16 43 / 20%);
}

.button:hover::after, .button:focus-visible::after { transform: translateX(5px); }
.button:active { transform: translateY(0); }

/* Hero */
.home-hero.hero-image-ready.hero-with-image {
  display: block;
  min-height: 920px;
  padding-top: 196px;
  padding-bottom: 36px;
  background: #090c0d;
}

.home-hero .hero-background-image {
  right: 0;
  left: auto;
  width: 72%;
  filter: brightness(0.85);
  mask-image: linear-gradient(90deg, transparent, #000 20%);
}

.home-hero.hero-slideshow .hero-background-image {
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.home-hero.hero-slideshow .hero-background-image.is-active {
  opacity: var(--hero-slide-opacity, 1);
}

.hero-slideshow-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 34px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: rgb(9 12 13 / 55%);
  color: white;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.hero-slideshow-toggle[hidden] { display: none; }
.hero-slideshow-toggle svg { width: 18px; height: 18px; }
.hero-slideshow-toggle:hover { background: var(--color-brand); border-color: var(--color-brand); }

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, #090c0d 0%, transparent 27%, transparent 78%, rgb(9 12 13 / 30%) 100%);
  pointer-events: none;
}

.home-hero .inner { padding: 0; }
.home-hero .hero-eyebrow { font-size: 14px; letter-spacing: 0.25em; }
.hero-eyebrow::before { display: none; }
.hero-eyebrow::after { content: ""; width: 100px; height: 3px; background: var(--color-brand); }
.home-hero h1 { max-width: 720px; margin-bottom: 23px; font-size: clamp(72px, 7.1vw, 104px); line-height: 1.02; }
.home-hero .hero-title-line { white-space: normal; }
.home-hero.hero-with-image .text-accent { color: var(--color-brand); }
.home-hero p:not(.section-eyebrow) { max-width: 540px; font-size: 17px; line-height: 1.5; }
.home-hero.hero-with-image .hero-subtitle { max-width: 530px; margin-bottom: 15px; font-size: 23px; line-height: 1.3; font-weight: 500; color: white; }
.hero-location { display: inline-block; }
.home-hero.hero-with-image p { color: #dedfe1; }
.home-hero .hero-actions .button { min-width: 310px; margin-top: 26px; }
.hero-proof { display: flex; align-items: center; gap: 0; margin: 52px 0 0; padding: 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 18px; padding: 0 30px; border-left: 1px solid var(--color-brand); font-size: 17px; font-weight: 500; line-height: 1.3; }
.hero-proof li:first-child { padding-left: 0; border: 0; }
.hero-proof svg { width: 44px; height: 44px; flex: 0 0 auto; color: var(--color-brand); }

/* Coaching: photograph left, editorial copy right. */
.home-intro.section { background: #fff; padding-top: 72px; padding-bottom: 72px; }
.home-intro .split-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.home-intro .split-copy { order: 2; }
.home-intro .media-collage { order: 1; overflow: hidden; border-bottom: 4px solid var(--color-brand); }
.home-intro .media-collage img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 40% center; border: 0; border-radius: 0; box-shadow: none; transition: transform 700ms ease; }
.home-intro .media-collage:hover img { transform: scale(1.035); }
.home-intro h2 { margin-bottom: 24px; font-size: clamp(36px, 3.6vw, 52px); }
.home-intro p:not(.section-eyebrow) { font-size: 17px; }
.home-intro strong { color: var(--color-ink); }

/* Programs */
.home-services.section { background: #090c0d; color: white; }
.home-services .service-list { gap: 44px 30px; margin-top: 38px; }
.home-services .program-card {
  position: relative;
  padding: 0 0 25px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #303435;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: border-color 250ms ease, background 250ms ease;
}

.home-services .program-card:hover, .home-services .program-card:focus-within { border-color: var(--color-brand); transform: none; }
.program-card .service-card-media { margin: 0 0 22px; overflow: hidden; border-radius: 2px; }
.program-card .service-card-image { display: block; width: 100%; aspect-ratio: 1.8; object-position: center 35%; filter: saturate(0.8); transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 450ms ease; }
.program-card:hover .service-card-image, .program-card:focus-within .service-card-image { transform: scale(1.055); filter: saturate(1.08); }
.program-heading { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; align-items: start; gap: 15px; margin-bottom: 12px; }
.program-icon { width: 42px; height: 42px; color: var(--color-brand); }
.home-services .service-item h3 { margin: 0; color: white; font-size: clamp(23px, 2.05vw, 29px); line-height: 1.18; letter-spacing: -0.01em; }
.program-age { display: block; margin-top: 6px; color: #a8aeb0; font: 500 13px/1.3 var(--font-body); letter-spacing: 0.05em; }
.home-services .service-item p { margin: 0 0 0 59px; color: #bfc3c5; font-size: 16px; line-height: 1.55; }
.home-services .service-item p + p { margin-top: 14px; }
.home-services .service-item strong { color: #e8e9ea; font-weight: 500; }
.program-cta { display: grid; place-items: center; width: 36px; height: 36px; margin-top: -2px; padding: 6px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--color-brand); cursor: pointer; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.program-cta svg { width: 24px; height: 24px; }
.program-cta:hover, .program-cta:focus-visible { background: var(--color-brand); color: white; transform: translateX(3px); }
.home-services > .inner > .button { margin-top: 42px; }

/* The remaining sections carry the same contrast and restrained red accents. */
.final-cta.section { min-height: 520px; padding-top: 100px; padding-bottom: 100px; background: #16191a; }
.final-cta::before { background: rgb(7 10 11 / 65%); }
.final-cta .section-eyebrow { justify-content: center; }
.final-cta h2 { max-width: 850px; margin-bottom: 25px; font-size: clamp(42px, 5vw, 72px); }
.final-cta p { max-width: 660px; }
.final-cta .hero-background-image { object-position: center 40%; }
.reviews.section { background: #f4f4f2; }
.reviews h2 { max-width: 750px; font-size: clamp(40px, 4.6vw, 66px); }
.review-grid { gap: 30px; margin-top: 40px; }
.review-card { position: relative; padding: 36px; border: 0; border-top: 3px solid var(--color-brand); border-radius: 0; transition: transform 250ms ease, box-shadow 250ms ease; }
.review-card::before { content: "“"; display: block; height: 55px; color: var(--color-brand); font: 72px/1 var(--font-display); }
.review-card blockquote { margin-bottom: 24px; }
.review-card blockquote p { color: var(--color-ink); font-size: 23px; line-height: 1.4; }
.review-card figcaption { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgb(9 12 13 / 7%); }
.reviews > .inner > p:last-child { font-size: 14px; }
.location-contact.section { background: white; }
.location-contact h2 { max-width: 560px; margin-bottom: 24px; font-size: clamp(42px, 4.6vw, 66px); }
.contact-card { margin-top: 30px; padding: 0 0 0 22px; border: 0; border-left: 3px solid var(--color-brand); border-radius: 0; }
.contact-details { gap: 13px; font-size: 17px; }
.contact-details > strong { max-width: 360px; color: var(--color-ink); }
.contact-details a { width: fit-content; text-decoration: none; font-size: 26px; transition: color 200ms ease; }
.contact-details a:hover { color: #960017; }
.map-placeholder { min-width: 0; min-height: 480px; border: 0; border-radius: 0; background: #e6e6e3; }
.map-placeholder iframe { display: block; min-height: 480px; border-radius: 0; filter: grayscale(1); transition: filter 350ms ease; }
.map-placeholder:hover iframe { filter: grayscale(0); }
.site-footer { background: #090c0d; color: white; border: 0; padding-top: 64px; }
.footer-content { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr); gap: 60px; padding-bottom: 56px; }
.footer-logo { width: 88px; height: 88px; object-fit: contain; }
.footer-lockup { color: white; gap: 18px; }
.footer-lockup strong { font-size: 25px; font-weight: 400; letter-spacing: 0; }
.footer-lockup em { margin-top: 8px; font: 500 12px/1 var(--font-body); color: #9ca3a6; }
.footer-brand p, .footer-links a, .footer-visit address, .footer-visit a { color: #aeb4b7; font-size: 16px; }
.footer-column h2 { margin-bottom: 14px; color: white; font-size: 12px; letter-spacing: 0.15em; }
.footer-links a { width: fit-content; transition: color 180ms ease, transform 180ms ease; }
.footer-links a:hover { color: white; transform: translateX(4px); }
.footer-bottom-wrap { border-color: #272c2e; }
.footer-bottom { min-height: 76px; color: #858d91; }
.lead-modal-panel { border-top: 4px solid var(--color-brand); border-radius: 2px; }
.lead-capture-placeholder:has(.lead-capture-form) { border-style: solid; }
.form-field :is(input, select, textarea):focus { border-color: var(--color-brand); }
.lead-modal-close { transition: color 180ms ease, border-color 180ms ease; }
.lead-modal-close:hover { color: var(--color-brand); border-color: var(--color-brand); }

/* JavaScript adds reveal classes only when IntersectionObserver is available. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms); }
.home-services .program-card.reveal { transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1) var(--reveal-delay, 0ms), border-color 250ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.home-hero .hero-eyebrow, .home-hero h1, .home-hero p:not(.hero-eyebrow), .home-hero .hero-actions, .hero-proof { animation: hero-arrive 800ms both cubic-bezier(0.2, 0.65, 0.3, 1); }
.home-hero h1 { animation-delay: 80ms; }
.home-hero p:not(.hero-eyebrow) { animation-delay: 160ms; }
.home-hero .hero-actions { animation-delay: 240ms; }
.hero-proof { animation-delay: 320ms; }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .nav { gap: 25px; }
  .nav-links { gap: 24px; }
  .brand-logo { width: 110px; height: 110px; }
  .nav-action .button { padding: 17px 20px; font-size: 15px; }
  .home-hero.hero-image-ready.hero-with-image { padding-top: 170px; min-height: 880px; }
  .home-hero h1 { font-size: 82px; }
  .home-intro .split-section { gap: 36px; }
  .home-intro h2 { font-size: 40px; }
  .home-services .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
  .program-heading { grid-template-columns: 32px minmax(0, 1fr) 30px; gap: 10px; }
  .program-icon { width: 30px; height: 34px; }
  .program-cta { width: 30px; height: 34px; }
  .home-services .service-item p { margin-left: 42px; }
  .home-services .service-item h3 { font-size: 24px; }
  .footer-content { gap: 32px; }
}

@media (max-width: 900px) {
  .home-hero { --hero-slide-opacity: 0.75; }
  .hero-slideshow-toggle { bottom: 20px; }
  :root { --section-space: 76px; }
  .site-header { padding-top: 18px; }
  .nav { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; }
  .brand { grid-row: 1; grid-column: 1; }
  .brand-logo { width: 90px; height: 90px; }
  .nav-action { display: block; grid-row: 1; grid-column: 2; }
  .nav-toggle { display: grid; grid-row: 1; grid-column: 3; width: 44px; height: 44px; color: white; border-color: #5e6467; }
  .nav-links { position: absolute; top: calc(100% + 14px); right: 0; left: 0; display: none; width: 100%; margin: 0; padding: 16px 24px; background: #121718; border: 1px solid #303638; box-shadow: 0 18px 40px rgb(0 0 0 / 35%); text-align: left; }
  .nav.nav-open .nav-links { display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 0; }
  .nav-links a { justify-content: flex-start; min-height: 50px; font-size: 17px; }
  .nav-links a::after { right: auto; width: 36px; }
  .home-hero.hero-image-ready.hero-with-image { min-height: 880px; padding-top: 160px; }
  .home-hero h1 { font-size: 76px; }
  .home-hero .hero-background-image { width: 100%; object-position: 65% center; opacity: 0.75; }
  .home-hero.hero-image-ready.hero-with-image::before { background: linear-gradient(90deg, rgb(9 12 13 / 93%), rgb(9 12 13 / 60%) 55%, rgb(9 12 13 / 25%)); }
  .hero-proof li { padding: 0 20px; gap: 12px; font-size: 15px; }
  .hero-proof svg { width: 36px; height: 36px; }
  .home-intro .split-section { grid-template-columns: 1fr; gap: 36px; }
  .home-intro .split-copy { order: 2; }
  .home-intro .media-collage { order: 1; }
  .home-intro .media-collage img { aspect-ratio: 1.65; object-position: center 40%; }
  .home-intro h2 { max-width: 680px; font-size: 46px; }
  .home-intro p:not(.section-eyebrow) { max-width: none; font-size: 18px; }
  .home-services .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .home-services .service-item h3 { font-size: 26px; }
  .home-services .service-item p { font-size: 16px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { max-width: 620px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .home-hero { --hero-slide-opacity: 0.48; }
  .hero-slideshow-toggle { top: 100px; bottom: auto; width: 32px; height: 32px; padding: 6px; }
  :root { --gutter: 22px; --section-space: 64px; }
  .site-header { padding-top: 16px; }
  .nav { gap: 12px; }
  .brand-logo { width: 72px; height: 72px; }
  .nav-action .button { min-height: 44px; padding: 12px 14px; font-size: 13px; letter-spacing: 0.035em; }
  .nav-toggle { width: 40px; height: 44px; }
  .home-hero.hero-image-ready.hero-with-image { min-height: auto; padding-top: 135px; padding-bottom: 30px; }
  .home-hero h1 { max-width: 100%; font-size: clamp(54px, 12.6vw, 76px); line-height: 1.06; margin-bottom: 22px; }
  .home-hero .hero-title-line.text-accent { font-size: 1em; }
  .home-hero .hero-eyebrow { gap: 12px; margin-bottom: 20px; font-size: 10px; letter-spacing: 0.16em; }
  .hero-eyebrow::after { width: 36px; height: 2px; }
  .home-hero.hero-with-image .hero-subtitle { font-size: 21px; }
  .home-hero p:not(.section-eyebrow) { font-size: 16px; }
  .home-hero .hero-background-image { object-position: 58% center; opacity: 0.48; }
  .home-hero.hero-image-ready.hero-with-image::before { background: linear-gradient(90deg, rgb(9 12 13 / 85%), rgb(9 12 13 / 38%)); }
  .home-hero .hero-actions .button { min-width: 0; width: 100%; justify-content: space-between; }
  .button { min-height: 56px; padding: 17px 23px; font-size: 17px; gap: 26px; }
  .hero-proof { justify-content: space-between; align-items: stretch; gap: 10px; margin-top: 36px; }
  .hero-proof li { flex: 1; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0 8px; font-size: 13px; text-align: center; }
  .hero-proof li:first-child { padding-left: 0; }
  .hero-proof li:last-child { padding-right: 0; }
  .hero-proof svg { width: 32px; height: 32px; }
  .section .section-eyebrow { font-size: 10px; margin-bottom: 18px; }
  .section-eyebrow::before { width: 36px; height: 2px; }
  .section h2, .home-intro h2, .location-contact h2, .reviews h2 { font-size: clamp(36px, 9.6vw, 46px); }
  .home-intro.section { padding-top: 36px; padding-bottom: 56px; }
  .home-intro .media-collage img { aspect-ratio: 1.2; object-position: 40% center; }
  .home-intro .split-section { gap: 30px; }
  .home-intro p:not(.section-eyebrow) { font-size: 17px; }
  .home-services .service-list { grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
  .program-card .service-card-image { aspect-ratio: 1.6; }
  .program-heading { grid-template-columns: 38px minmax(0, 1fr) 36px; gap: 13px; }
  .program-icon { width: 36px; height: 40px; }
  .program-cta { width: 36px; height: 36px; }
  .home-services .service-item h3 { font-size: 28px; }
  .home-services .service-item p { margin-left: 51px; }
  .final-cta.section { min-height: 500px; padding-top: 70px; padding-bottom: 70px; }
  .final-cta h2 { font-size: 44px; }
  .final-cta p { font-size: 17px; }
  .review-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 28px; }
  .review-card { padding: 28px; }
  .review-card blockquote p { font-size: 22px; }
  .map-placeholder, .map-placeholder iframe { min-height: 340px; }
  .footer-content { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-logo { width: 80px; height: 80px; }
  .footer-bottom { min-height: 70px; font-size: 13px; }
  .lead-modal { padding: 14px; }
  .lead-modal-panel { padding: 24px 16px; max-height: calc(100dvh - 28px); }
  .lead-capture-placeholder:has(.lead-capture-form) { padding: 16px; }
}

@media (max-width: 360px) {
  .brand-logo { width: 58px; height: 58px; }
  .nav { gap: 8px; }
  .nav-action .button { font-size: 12px; padding-right: 10px; padding-left: 10px; }
  .home-hero h1 { font-size: 49px; }
  .hero-proof li { font-size: 12px; padding: 0 5px; }
}

/* Google review carousel. Native scrolling also supports touch and trackpads. */
.reviews-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.reviews-heading h2 { margin-bottom: 0; }
.reviews-source { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 2px; padding-bottom: 5px; color: #606569; font-size: 14px; }
.google-wordmark { font: 500 30px/1.2 Arial, sans-serif; letter-spacing: -1.5px; }
.google-wordmark span:nth-child(1), .google-wordmark span:nth-child(4) { color: #4285f4; }
.google-wordmark span:nth-child(2), .google-wordmark span:nth-child(6) { color: #ea4335; }
.google-wordmark span:nth-child(3) { color: #fbbc05; }
.google-wordmark span:nth-child(5) { color: #34a853; }
.reviews-carousel { min-width: 0; margin-top: 36px; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); align-items: stretch; gap: 24px; padding: 8px 0 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline-offset: 3px; }
.google-review-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 366px; padding: 26px; border: 1px solid #e1e4e5; border-radius: 8px; background: white; scroll-snap-align: start; transition: border-color 220ms ease, box-shadow 220ms ease; }
.google-review-card:hover, .google-review-card:focus-within { border-color: #b9bec1; box-shadow: 0 7px 15px rgb(9 12 13 / 6%); }
.google-review-author { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.review-avatar { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--avatar-color); color: white; font: 500 21px/1 var(--font-body); }
.review-author-details { min-width: 0; }
.review-author-details h3 { margin: 0 0 3px; color: #23272a; font: 600 17px/1.2 var(--font-body); overflow-wrap: anywhere; }
.review-author-details p { color: #757b7e; font-size: 12px; line-height: 1.3; }
.google-review-mark { margin-left: auto; align-self: flex-start; background: conic-gradient(#4285f4 0deg 110deg, #34a853 110deg 195deg, #fbbc05 195deg 240deg, #ea4335 240deg 300deg, #4285f4 300deg); background-clip: text; color: transparent; font: 700 23px/1.2 Arial, sans-serif; }
.review-stars { margin: 20px 0 12px; color: #f9ab00; font-size: 20px; line-height: 1; letter-spacing: 2px; }
.google-review-copy { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; margin: 0; }
.google-review-copy.is-expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
.google-review-copy p { color: #3c4043; font-size: 16px; line-height: 1.5; }
.google-review-copy p + p { margin-top: 14px; }
.review-read-more { align-self: flex-start; padding: 5px 0; margin: 8px 0 0; border: 0; background: transparent; color: #60666a; font: 500 14px/1.4 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.review-read-more[hidden] { display: none; }
.review-read-more:hover { color: var(--color-accent); }
.google-review-card .google-review-attribution { margin-top: auto; padding-top: 24px; color: #858b8f; font-size: 12px; }
.reviews-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 14px; }
.reviews-controls .reviews-position { color: #676e72; font-size: 14px; }
.reviews-pagination { display: flex; align-items: center; gap: 3px; }
.review-dot { display: grid; place-items: center; width: 28px; height: 36px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.review-dot::before { content: ""; width: 7px; height: 7px; border-radius: 10px; background: #bdc1c3; transition: background 200ms ease, width 200ms ease; }
.review-dot[aria-current="true"]::before { width: 20px; background: var(--color-brand); }
.review-dot:hover::before { background: var(--color-accent); }
.reviews-arrows { display: flex; justify-content: flex-end; gap: 10px; }
.review-arrow { display: grid; place-items: center; width: 46px; height: 46px; padding: 10px; border: 1px solid #c9cdcf; border-radius: 50%; background: transparent; color: var(--color-ink); cursor: pointer; transition: color 200ms ease, border-color 200ms ease, background 200ms ease; }
.review-arrow svg { width: 24px; height: 24px; }
.review-arrow:hover:not(:disabled) { background: var(--color-brand); border-color: var(--color-brand); color: white; }
.review-arrow:disabled { opacity: 0.3; cursor: default; }
.reviews .reviews-preview-note { margin-top: 24px; color: #7a8084; font-size: 12px; }
@media (max-width: 1100px) {
  .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .reviews-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .reviews-source { align-items: center; flex-direction: row; gap: 9px; padding: 0; }
  .google-wordmark { font-size: 25px; }
  .reviews-carousel { margin-top: 22px; }
  .reviews-track { grid-auto-columns: 100%; gap: 18px; }
  .google-review-card { min-height: 350px; padding: 23px; }
  .reviews-controls { grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 6px; }
  .reviews-pagination { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
  .reviews-arrows { grid-column: 2; grid-row: 1; }
}

/* Local demo form and chat */
.mock-lead-panel { width: min(480px, 100%); padding: 38px; }
.mock-lead-panel .mock-form-kicker { margin: 0 35px 12px 0; color: var(--color-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mock-lead-panel h2 { margin-bottom: 12px; font-size: 40px; }
.mock-lead-panel .mock-form-intro { font-size: 17px; line-height: 1.45; }
.mock-lead-panel .mock-program-context { margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--color-brand); color: var(--color-ink); font-size: 14px; }
.mock-lead-panel .lead-capture-placeholder { display: block; min-height: 0; margin-top: 26px; padding: 0; background: transparent; border: 0; }
.mock-lead-form { gap: 18px; }
.mock-lead-form .form-field { gap: 7px; font-weight: 600; }
.mock-lead-form .form-field input { min-height: 48px; padding: 12px 14px; font-size: 16px; font-weight: 400; }
.mock-lead-form .button { width: 100%; margin-top: 5px; }
.mock-lead-panel .mock-form-note { font-size: 12px; line-height: 1.4; text-align: center; }
.mock-lead-panel .lead-form-status[data-status="success"] { background: #fff1f3; border-color: #f4b1bc; color: var(--color-ink); }
.mock-chat { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; font-family: var(--font-body); }
body.modal-open .mock-chat { visibility: hidden; }
.mock-chat-launcher { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 15px 22px; background: var(--color-brand); border: 1px solid rgb(255 255 255 / 18%); border-radius: 30px; color: white; font: 600 16px/1.2 var(--font-body); cursor: pointer; box-shadow: 0 6px 28px rgb(0 0 0 / 25%); transition: background 180ms ease, transform 180ms ease; }
.mock-chat-launcher svg { width: 24px; height: 24px; }
.mock-chat-launcher:hover { transform: translateY(-3px); background: var(--color-brand-hover); }
.mock-chat-panel { position: absolute; bottom: calc(100% + 14px); right: 0; display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); max-height: calc(100dvh - 115px); overflow: auto; background: white; border: 1px solid #d7d9da; border-radius: 12px; color: var(--color-ink); box-shadow: 0 16px 60px rgb(0 0 0 / 28%); animation: chat-open 200ms ease-out; }
.mock-chat-panel[hidden] { display: none; }
.mock-chat-header { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 18px; background: #0c1011; color: white; }
.mock-chat-header img { flex: 0 0 auto; }
.mock-chat-header h2 { margin: 0; font: 400 22px/1.2 var(--font-display); }
.mock-chat-header p { margin: 5px 0 0; color: #b5bcbe; font-size: 12px; line-height: 1.2; }
.mock-chat-close { width: 36px; height: 36px; margin-left: auto; padding: 0; border: 1px solid #41494c; border-radius: 50%; background: transparent; color: white; font: 24px/1 var(--font-body); cursor: pointer; transition: background 180ms ease; }
.mock-chat-close:hover { background: #303638; }
.mock-chat-conversation { flex: 1 1 auto; min-height: 0; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; padding: 20px 18px 12px; }
.mock-chat-messages { display: flex; flex-direction: column; gap: 12px; }
.mock-chat-message { max-width: 92%; margin: 0; padding: 12px 14px; border-radius: 0 12px 12px 12px; background: #f0f1f1; color: #333a3d; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.mock-chat-message-user { align-self: flex-end; border-radius: 12px 0 12px 12px; background: #111718; color: white; }
.mock-chat-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.mock-chat-options button { min-height: 36px; padding: 7px 10px; border: 1px solid #e0a7af; border-radius: 18px; background: white; color: #bd0921; font: 500 13px/1.2 var(--font-body); cursor: pointer; transition: background 180ms ease; }
.mock-chat-options button:hover { background: #fff0f2; }
.mock-chat-footer { flex: 0 0 auto; padding: 0 18px 14px; }
.mock-chat-footer .button { width: 100%; min-height: 42px; margin: 12px 0; padding: 12px; font-size: 14px; letter-spacing: 0.06em; }
.mock-chat-form { display: flex; align-items: center; gap: 8px; padding: 6px; border: 1px solid #d8dcdd; border-radius: 6px; }
.mock-chat-form:focus-within { border-color: var(--color-brand); }
.mock-chat-form input { width: 100%; min-width: 0; min-height: 38px; padding: 6px 8px; border: 0; outline: 0; background: white; color: var(--color-ink); font: 400 16px/1.3 var(--font-body); }
.mock-chat-form button { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 4px; background: #111718; color: white; cursor: pointer; transition: background 180ms ease; }
.mock-chat-form button:hover { background: var(--color-brand); }
.mock-chat-form svg { width: 22px; height: 22px; }
.mock-chat-note { margin: 9px 0 0; color: #6b7276; font-size: 11px; line-height: 1.4; text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes chat-open { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 600px) {
  .mock-lead-panel { padding: 30px 22px; }
  .mock-lead-panel h2 { font-size: 34px; }
  .mock-lead-panel .lead-capture-placeholder { padding: 0; }
  .mock-chat { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .mock-chat-launcher { min-height: 52px; padding: 13px 18px; font-size: 14px; }
  .mock-chat-panel { max-height: calc(100dvh - 100px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .button:hover, .review-card:hover, .program-cta:hover, .footer-links a:hover { transform: none; }
  .program-card:hover .service-card-image, .program-card:focus-within .service-card-image, .home-intro .media-collage:hover img { transform: none; }
}
