/* ==========================================================================
   Y Not You — ynotyoumedia.com recreation
   Design tokens extracted from the live Squarespace site (site.css)
   ========================================================================== */

:root {
  /* Core palette (from Squarespace :root HSL variables) */
  --white: #fdfdfd;        /* hsl(0 0% 99.22%) */
  --black: #0a0a0a;        /* hsl(0 0% 3.92%)  */
  --accent: #990000;       /* hsl(0 100% 30%)  */
  --gray: #e5e5e5;         /* hsl(0 0% 89.8%)  */
  --blush: #f8dfdb;        /* hsl(8.28 67.44% 91.57%) */

  --heading-font: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --heading-weight: 500;

  /* Squarespace fluid heading scale: (value - 1) * 1.2vw + 1rem, capped */
  --h1-size: clamp(2.2rem, 2.2vw + 1rem, 3.2rem);
  --h2-size: clamp(1.7rem, 1.44vw + 1rem, 2.2rem);
  --h3-size: clamp(1.45rem, 0.96vw + 1rem, 1.8rem);
  --h4-size: clamp(1.2rem, 0.48vw + 1rem, 1.4rem);

  --site-max-width: 1500px;
  --site-gutter: 4vw;
  --header-height: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: 1.3;
  margin: 0 0 0.6em;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.text-large { font-size: 1.15rem; font-style: italic; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

.page-section { position: relative; padding: 6vmax var(--site-gutter); }
.page-section--tight { padding: 3vmax var(--site-gutter); }
@media (max-width: 900px) {
  .page-section { padding: 3vmax var(--site-gutter); }
  .page-section--tight { padding: 1.5vmax var(--site-gutter); }
  /* .divider-v sets its own padding-bottom (clearance for the diagonal
     V-cut) that isn't touched by the halving above — on the stat band
     that left a ~78px gap below the numbers against ~13px above them.
     Halve the same way, keeping only the divider-height clearance itself
     unhalved since that's the actual notch depth, not general padding. */
  .page-section--tight.divider-v { padding-bottom: calc(1.5vmax + var(--divider-h)); }
}
.page-section > .section-inner { max-width: var(--site-max-width); margin: 0 auto; }

/* Section color themes (mirror Squarespace data-section-theme values) */
.theme-white      { background: var(--white); color: var(--black); }
.theme-white h1, .theme-white h2, .theme-white h3, .theme-white h4 { color: var(--black); }

.theme-white-bold { background: var(--white); color: var(--black); }
.theme-white-bold h1, .theme-white-bold h2, .theme-white-bold h3, .theme-white-bold h4 { color: var(--accent); }

.theme-black      { background: var(--black); color: var(--white); }
.theme-black h1, .theme-black h2, .theme-black h3, .theme-black h4 { color: var(--white); }

.theme-gray       { background: var(--gray); color: var(--black); }   /* sqs "dark" */
.theme-gray h1, .theme-gray h2, .theme-gray h3, .theme-gray h4 { color: var(--black); }

.theme-red        { background: var(--accent); color: var(--white); } /* sqs "bright" */
.theme-red h1, .theme-red h2, .theme-red h3, .theme-red h4 { color: var(--white); }

.theme-blush      { background: var(--blush); color: var(--black); }  /* sqs "light" */
.theme-blush h1, .theme-blush h2, .theme-blush h3, .theme-blush h4 { color: var(--accent); }

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  padding: 1em 1.7em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn:hover { opacity: 0.9; }

.btn--primary { background: var(--accent); color: var(--white); }

/* On red sections the primary button inverts (Squarespace safe-accent) */
.theme-red .btn--primary { background: var(--white); color: var(--accent); }

.btn--small { padding: 0.7em 1.3em; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: none;
  padding: 0 2.5vw;
  display: flex;
  align-items: center;
  min-height: var(--header-height);
  gap: 2.2rem;
}

.site-header__logo img { width: 70px; height: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 1.05rem;
}

.site-nav a {
  position: relative;
  color: var(--black);
  text-decoration: none;
}

/* Red underline slide-in (from the site's custom.css) */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after { width: 100%; }
.site-nav .is-active > a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; }

/* Services dropdown */
.nav-folder { position: relative; }
.nav-folder > a { cursor: pointer; }
/* Invisible hover bridge over the 10px visual gap below the trigger link.
   An absolutely-positioned pseudo-element doesn't add to .nav-folder's own
   flex-item height (unlike padding, which shifted "Services" out of line
   with its sibling links) — so it closes the dead zone without breaking
   the nav's vertical alignment. */
.nav-folder::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 10px;
}
.nav-folder__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  min-width: 210px;
  padding: 0.6rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 110;
}
.nav-folder:hover .nav-folder__menu,
.nav-folder:focus-within .nav-folder__menu { opacity: 1; visibility: visible; }
.nav-folder__menu a {
  display: block;
  padding: 0.45rem 1.3rem;
  white-space: nowrap;
}
.nav-folder__menu a::after { display: none; }

.site-header__cta { margin-left: auto; }

/* Mobile nav */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .site-header__inner { gap: 1rem; }
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--site-gutter);
    gap: 1.2rem;
    font-size: 1.3rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-folder__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0.4rem 0 0 1rem;
    display: none;
  }
  .nav-folder.open .nav-folder__menu { display: block; }
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  z-index: 2;
}

.hero__logo { width: min(420px, 60vw); margin-left: 6vw; }

/* Diagonal V divider — section's bottom edge cuts into the section below */
.divider-v {
  --divider-h: 7vw;
  padding-bottom: calc(6vmax + var(--divider-h));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--divider-h)), 50% 100%, 0 calc(100% - var(--divider-h)));
  margin-bottom: calc(-1 * var(--divider-h));
}
.hero.divider-v { padding-bottom: var(--divider-h); }

/* stack dividered sections above what follows them */
.divider-v { z-index: 2; }
.divider-v + .page-section { z-index: 1; }

/* --------------------------------------------------------------------------
   Checkerboard service rows (home)
   -------------------------------------------------------------------------- */
.checker { display: grid; gap: 0; }
.checker__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0;
}
.checker__row--flip .checker__media { order: 2; }
.checker__row--flip .checker__copy { order: 1; }
.checker__copy { text-align: center; max-width: 560px; justify-self: center; }
.checker__copy .btn { margin-top: 1rem; }

@media (max-width: 820px) {
  .checker__row { grid-template-columns: 1fr; gap: 1.5rem; }
  .checker__row--flip .checker__media { order: 0; }
}

/* --------------------------------------------------------------------------
   Logo carousel / logo grids
   -------------------------------------------------------------------------- */
.logo-carousel { position: relative; overflow: hidden; padding: 0 3.5rem; }
.logo-carousel__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  transition: transform 0.45s ease;
}
.logo-carousel__track img {
  flex: 0 0 auto;
  width: 220px;
  height: auto;
}
.logo-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.logo-carousel__btn--prev { left: 0.4rem; }
.logo-carousel__btn--next { right: 0.4rem; }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  align-items: center;
}
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.yny-form { max-width: 640px; }
.yny-form .field { margin-bottom: 1.3rem; }
.yny-form label {
  display: block;
  font-family: var(--body-font);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.yny-form label .req {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 0.3rem;
}
.yny-form input[type="text"],
.yny-form input[type="email"],
.yny-form input[type="tel"],
.yny-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cccccc;
  border-radius: 2px;
}
.yny-form textarea { min-height: 120px; resize: vertical; }
.yny-form .field--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.yny-form .sub-label { font-size: 0.8rem; opacity: 0.75; margin-top: 0.3rem; }
.yny-form .checkbox-row { display: flex; align-items: center; gap: 0.6rem; margin: 0.35rem 0; }
.yny-form .checkbox-row input { width: 16px; height: 16px; accent-color: var(--accent); }
.yny-form button[type="submit"] { margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   Google reviews block ("Why Clients Keep Coming Back")
   -------------------------------------------------------------------------- */
.reviews-header { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.reviews-header .score { font-weight: 700; }
.reviews-header .stars { color: #f5a623; letter-spacing: 2px; }
.reviews-header a { color: #1a73e8; text-decoration: none; font-size: 0.95rem; }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 700px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.2rem 1.3rem;
  font-size: 0.92rem;
  line-height: 1.6;
}
.review-card__head { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.7rem; }
.review-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.review-card__name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.review-card__meta { font-size: 0.78rem; opacity: 0.65; }
.review-card__stars { color: #f5a623; font-size: 0.85rem; letter-spacing: 1px; }
.reviews-powered { font-size: 0.75rem; opacity: 0.6; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   Video galleries (projects)
   -------------------------------------------------------------------------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.video-grid--wide { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) { .video-grid, .video-grid--wide { grid-template-columns: repeat(2, 1fr); } }

.video-thumb {
  position: relative;
  display: block;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--black);
}
.video-thumb img { width: 100%; object-fit: cover; }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle, rgba(0,0,0,0.55) 60%, transparent 61%),
    none;
  border-radius: 50%;
}
.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(3px);
  z-index: 2;
}
.video-thumb .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  font-size: 1.05rem;
  padding: 0 0.5rem;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox__frame { width: min(1100px, 92vw); aspect-ratio: 16 / 9; background: #000; }
.lightbox__frame--vertical { width: min(420px, 90vw); aspect-ratio: 9 / 16; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   CTA band (red)
   -------------------------------------------------------------------------- */
.cta-band__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2rem;
}
.cta-band__inner .btn { justify-self: center; }
@media (max-width: 760px) {
  .cta-band__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-band__inner .btn { justify-self: center; }
}

/* --------------------------------------------------------------------------
   Content split grids (service pages)
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 6rem;
  row-gap: 3.5rem;
  max-width: 1360px;
  margin: 0 auto;
}
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; row-gap: 2rem; } }
.info-grid h4 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem var(--site-gutter) 3rem;
  font-size: 0.92rem;
  line-height: 1.7;
}
.site-footer__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1.2fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}
.site-footer a { color: var(--white); }
.site-footer .brand-name { font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.footer-social { display: flex; gap: 0.9rem; margin-bottom: 2rem; }
.footer-social a { display: inline-flex; }
.footer-social svg { width: 22px; height: 22px; fill: var(--white); }
.footer-legal { margin-top: 0; }

/* --------------------------------------------------------------------------
   Misc shared
   -------------------------------------------------------------------------- */
.page-hero { padding: 5rem var(--site-gutter); text-align: center; }
.page-hero p { max-width: 720px; margin-left: auto; margin-right: auto; }

.rte h2, .rte h3 { margin-top: 2rem; }
.rte ul { padding-left: 1.4rem; }

hr.rule {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin: 2.5rem 0;
}

/* --------------------------------------------------------------------------
   Google reviews widget (grv-*) — styles from the live site's embed block
   -------------------------------------------------------------------------- */
#g-reviews { font-family: inherit; max-width: 860px; margin: 0 auto; }
.grv-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.grv-score { font-size: 1.25rem; font-weight: 700; }
.grv-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grv-item { background: #fafafa; border: none; box-shadow: 0 4px 8px rgba(0,0,0,.08); padding: 20px; border-radius: 16px; }
.grv-meta { display: flex; gap: .75rem; align-items: center; margin-bottom: .5rem; }
.grv-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #f2f2f2; }
.grv-author { font-weight: 600; line-height: 1.2; font-size: 1.1rem; color: #333; }
.grv-author a { text-decoration: none; color: inherit; }
.grv-stars { font-size: .95rem; letter-spacing: 1px; color: #ffb400; }
.grv-time { font-size: 0.8rem; color: #777; }
.grv-text { margin-top: .35rem; font-size: 0.95rem; }
.grv-attr { margin-top: 10px; font-size: .85rem; color: #666; }
.grv-error { padding: 12px; border-radius: 8px; background: #fff3f3; border: 1px solid #ffd6d6; color: #a40000; margin: 10px 0; }
@media (min-width: 700px) { .grv-list { grid-template-columns: repeat(2, 1fr); } }
.grv-link { color: #990000; text-decoration: none; }
.grv-link:hover { color: #800000; text-decoration: underline; }
.grv-text-content.truncated { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.grv-read-more { color: #990000; cursor: pointer; font-size: .9rem; margin-top: .25rem; display: inline-block; }
.grv-read-more:hover { color: #800000; text-decoration: underline; }

/* ==========================================================================
   Homepage makeover components
   ========================================================================== */

/* Eyebrow label (brand: Poppins bold, uppercase, tracked) */
.eyebrow {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.8em;
}
.theme-black .eyebrow, .theme-red .eyebrow { color: var(--white); opacity: 0.85; }

/* --------------------------------------------------------------------------
   Logo tickers (infinite marquee, pause on hover)
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: ticker-scroll var(--ticker-speed, 60s) linear infinite;
}
.ticker--reverse .ticker__track { animation-direction: reverse; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 92px;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ticker__item:hover {
  border-color: rgba(10, 10, 10, 0.28);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.1);
}
.ticker__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ticker + .ticker { margin-top: 1rem; }

/* Press band variant (on black) */
.theme-black .ticker__item { border-color: rgba(253, 253, 253, 0.12); }
.theme-black .ticker__item:hover { border-color: rgba(253, 253, 253, 0.4); box-shadow: none; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Services — expanding panels
   -------------------------------------------------------------------------- */
.svc-panels {
  display: flex;
  gap: 0.6rem;
  height: 620px;
  margin-top: 2.5rem;
}
.svc-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.33, 1, 0.4, 1);
  outline-offset: 3px;
}
.svc-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.18) 0%, rgba(10,10,10,0.42) 55%, rgba(10,10,10,0.88) 100%);
  transition: background 0.4s ease;
}
.svc-panel::after {                       /* red baseline accent */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease 0.15s;
}
.svc-panel.open { flex: 3.4; }
.svc-panel.open::after { transform: scaleX(1); }

.svc-panel__num {
  position: absolute;
  top: 1.4rem;
  left: 1.5rem;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--white);
  opacity: 0.75;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
.svc-panel__num::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8px;
  background: var(--accent);
}

/* collapsed: vertical title along the bottom-left */
.svc-panel .svc-panel__title {
  position: absolute;
  left: 1.1rem;
  bottom: 1.4rem;
  z-index: 2;
  margin: 0;
  font-size: 1.5rem;
  color: var(--white);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  transition: opacity 0.3s ease;
  /* belt-and-suspenders legibility — the gradient overlay is the main
     defense, this catches bright/busy photos the gradient alone won't */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.55);
}
.svc-panel.open .svc-panel__title { opacity: 0; }
.theme-white-bold .svc-panel__title { color: var(--white); }

/* expanded copy */
.svc-panel__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 2rem 2.2rem 2.4rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.svc-panel.open .svc-panel__body {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
  pointer-events: auto;
}
.svc-panel__body h3 {
  color: var(--white);
  font-size: var(--h3-size);
  margin-bottom: 0.3em;
}
.svc-panel__body .tagline {
  color: var(--white);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.7em;
}
.svc-panel__body p:not(.tagline) {
  color: rgba(253, 253, 253, 0.88);
  font-size: 0.95rem;
  max-width: 560px;
  margin-bottom: 1.2em;
}

@media (max-width: 900px) {
  .svc-panels { flex-direction: column; height: auto; }
  .svc-panel { min-height: 88px; flex: none; transition: min-height 0.5s cubic-bezier(0.33,1,0.4,1); }
  .svc-panel.open { min-height: 470px; flex: none; }
  /* Collapsed rows are short, so the title/number sit up near the top of
     the photo — the tallest gradient stop (0.18 opacity) is meant for a
     full-height panel and isn't enough on a short bar. Flatten it to a
     uniform, stronger darken so the row reads regardless of the photo. */
  .svc-panel:not(.open)::before {
    background: rgba(10, 10, 10, 0.5);
  }
  .svc-panel .svc-panel__title {
    writing-mode: horizontal-tb;
    transform: none;
    left: 6.4rem;
    right: 1.4rem;
    bottom: auto;
    top: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .svc-panel__num { top: 1.2rem; }
  .svc-panel__num::after { display: inline-block; width: 22px; margin-left: 10px; vertical-align: middle; }
}

/* --------------------------------------------------------------------------
   Forbes timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 4.5rem 0 1.5rem;
}
.timeline__line {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(10, 10, 10, 0.1);
}
.timeline__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.3, 0.9, 0.3, 1);
}
.timeline.in-view .timeline__line::after { transform: scaleX(1); }

.timeline__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
/* CTA is a grid child so it can never overlap milestone text: full-width
   row below the four columns on desktop, own lane beside them on mobile */
.timeline-cta { grid-column: 1 / -1; }
.timeline__item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline.in-view .timeline__item { opacity: 1; transform: none; }
.timeline.in-view .timeline__item:nth-child(1) { transition-delay: 0.15s; }
.timeline.in-view .timeline__item:nth-child(2) { transition-delay: 0.45s; }
.timeline.in-view .timeline__item:nth-child(3) { transition-delay: 0.75s; }
.timeline.in-view .timeline__item:nth-child(4) { transition-delay: 1.05s; }

.timeline__dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
  margin-bottom: 1.1rem;
}
.timeline__dot--hollow { border-color: rgba(10, 10, 10, 0.25); }
.timeline__year {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.timeline__label {
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 260px;
}

@media (max-width: 800px) {
  .timeline__line { top: 0; bottom: 0; left: 9px; right: auto; width: 3px; height: auto; }
  .timeline__line::after { transform: scaleY(0); transform-origin: top; }
  .timeline.in-view .timeline__line::after { transform: scaleY(1); }

  .timeline__items { grid-template-columns: 1fr; gap: 2rem; max-width: none; }
  .timeline__item { grid-column: 1; display: grid; grid-template-columns: 21px 1fr; column-gap: 1.2rem; }
  .timeline__dot { margin-bottom: 0; }
  .timeline__year, .timeline__label { grid-column: 2; }
  .timeline__label { max-width: none; }
  /* CTA stays the same full-width row centered below the rail as on
     desktop — grid-column:1/-1 from the base rule already does this. */
}

/* --------------------------------------------------------------------------
   Review wall
   -------------------------------------------------------------------------- */
.rw-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 2.6rem;
}
.rw-header__score {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--black);
}
.rw-header__stars { color: #f6b400; font-size: 1.25rem; letter-spacing: 3px; }
.rw-header__meta { font-size: 0.95rem; color: #5c5c5c; }
.rw-header__meta a { color: var(--accent); font-weight: 600; text-decoration: none; }
.rw-header__meta a:hover { text-decoration: underline; }

.rw-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}
@media (max-width: 1100px) { .rw-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .rw-wall {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 6vw;
    gap: 0.9rem;
    padding-bottom: 0.8rem;
    margin: 0 -6vw;
    padding-left: 6vw;
    padding-right: 6vw;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .rw-wall::-webkit-scrollbar { display: none; }
  .rw-card { flex: 0 0 84%; scroll-snap-align: center; }
}
.rw-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  padding: 1.6rem 1.6rem 1.3rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 3px 14px rgba(10, 10, 10, 0.07);
  border-top: 4px solid var(--accent);
  position: relative;
}
.rw-card__quote {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.25;
  display: block;
  margin-bottom: 0.9rem;
}
.rw-card__text { font-size: 0.93rem; line-height: 1.7; margin-bottom: 1.1rem; }
.rw-card__text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rw-card__more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-block;
  margin: -0.6rem 0 1rem;
}
.rw-card__more:hover { text-decoration: underline; }
.rw-card__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}
.rw-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.rw-card__who { min-width: 0; }
.rw-card__name { font-family: var(--heading-font); font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.rw-card__sub { font-size: 0.78rem; color: #5c5c5c; display: flex; align-items: center; gap: 0.35rem; }
.rw-card__stars { color: #f6b400; font-size: 0.85rem; letter-spacing: 1.5px; }
.rw-card__g { width: 15px; height: 15px; flex: 0 0 auto; }
.rw-card--story { border-top-color: var(--black); }
.rw-card--story .rw-card__quote { color: var(--black); }
.rw-card--story .rw-card__avatar { background: var(--black); }
.rw-attr { text-align: center; font-size: 0.8rem; color: #5c5c5c; margin-top: 1.6rem; }

/* ==========================================================================
   Makeover round 2
   ========================================================================== */

/* Hero content */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.86) 0%, rgba(10,10,10,0.55) 48%, rgba(10,10,10,0.18) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  /* bottom padding clears the V divider (7vw) that clips this section */
  padding: 4.5rem 0 calc(7vw + 3rem);
  margin-left: 6vw;
}
.hero__wordmark { width: 170px; margin-bottom: 1.6rem; }
.hero__content h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 3.4vw + 0.5rem, 3.6rem);
  line-height: 1.15;
  margin-bottom: 0.45em;
}
.hero__sub {
  color: rgba(253, 253, 253, 0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(253, 253, 253, 0.65);
}
.btn--ghost:hover { border-color: var(--white); opacity: 1; background: rgba(253,253,253,0.08); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
@media (max-width: 700px) {
  .hero__content { padding: 3rem 0 calc(7vw + 2.5rem); margin-right: 6vw; }
}

/* Stat band */
.stat-band {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(1.5rem, 5vw, 5.5rem);
  flex-wrap: wrap;
  text-align: center;
  /* clear the hero's V-notch, which overlaps this band by 7vw at center */
  padding: calc(7vw + 0.5rem) 0 2.2rem;
}
.stat b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  line-height: 1.1;
  white-space: nowrap;
}
.stat span {
  display: block;
  font-family: var(--heading-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.35rem;
  max-width: 180px;
}

/* Stack vertically on mobile — the alternative (shrinking "$75,000,000+"
   to fit three across) needs the font so small it stops reading as a stat. */
@media (max-width: 640px) {
  .stat-band { flex-direction: column; align-items: center; gap: 1.5rem; }
  .stat { width: 100%; }
  .stat b { font-size: clamp(1.7rem, 9vw, 2.3rem); }
  .stat span { max-width: none; }
}

/* Blush ticker tiles */
.theme-blush .ticker__item { border-color: rgba(153, 0, 0, 0.14); }
.theme-blush .ticker__item:hover { border-color: rgba(153, 0, 0, 0.35); }

/* Bare press strip (no tiles, monochrome logos) */
.press-strip { border-top: 1px solid rgba(10,10,10,0.08); border-bottom: 1px solid rgba(10,10,10,0.08); }
.ticker--bare .ticker__item {
  background: none;
  border: none;
  border-radius: 0;
  width: auto;
  height: 84px;
  padding: 0 2.6rem;
  box-shadow: none;
  text-decoration: none;
}
.ticker--bare .ticker__item:hover { box-shadow: none; }
.ticker--bare .ticker__item img {
  max-height: 68px;
  max-width: 220px;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.ticker--bare .ticker__item:hover img { filter: none; opacity: 1; }

/* Timeline on gray */
.timeline-section .timeline__line { background: rgba(10, 10, 10, 0.14); }
.timeline-section .timeline__dot { background: var(--gray); }
.timeline-section .timeline__dot:not(.timeline__dot--hollow) { background: var(--white); }

/* Review wall: compact */

.rw-card { padding: 1.3rem 1.35rem 1.1rem; }
.rw-card__quote { font-size: 2.4rem; margin-bottom: 0.7rem; }
.rw-card__text { font-size: 0.9rem; line-height: 1.65; }
.rw-cta-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Scroll dots (mobile review carousel only) */
.rw-dots { display: none; justify-content: center; gap: 0.4rem; margin-top: 0.9rem; }
.rw-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(153, 0, 0, 0.25);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.rw-dot.is-active { background: var(--accent); transform: scale(1.35); }
@media (max-width: 640px) { .rw-dots { display: flex; } }

/* Apply form */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4.5rem;
  align-items: start;
}
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.apply-steps { list-style: none; counter-reset: step; margin: 2rem 0; padding: 0; }
.apply-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.6rem 3.4rem;
}
.apply-steps li:last-child { padding-bottom: 0; }
.apply-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.apply-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.12rem;
  top: 2.6rem;
  bottom: 0.2rem;
  width: 2px;
  background: rgba(153, 0, 0, 0.18);
}
.apply-steps b { display: block; font-family: var(--heading-font); font-weight: 600; font-size: 0.98rem; }
.apply-steps span { display: block; font-size: 0.88rem; color: #5c5c5c; }

.apply-form {
  background: var(--white);
  border: 1px solid rgba(10, 10, 10, 0.09);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 10px 34px rgba(10, 10, 10, 0.07);
  max-width: none;
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form textarea {
  border-radius: 7px;
  border: 1px solid rgba(10, 10, 10, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.apply-form input:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.12);
}
.apply-form label { font-weight: 600; font-size: 0.88rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 0.5em 1.1em;
  border: 1.5px solid rgba(10, 10, 10, 0.22);
  border-radius: 100px;
  font-family: var(--heading-font);
  font-size: 0.85rem;
  transition: all 0.18s ease;
  user-select: none;
}
.chip:hover span { border-color: var(--accent); color: var(--accent); }
.chip input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.25); }


/* --------------------------------------------------------------------------
   The Business Collective hero callout
   -------------------------------------------------------------------------- */
.tbc-callout {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 560px;
  background: rgba(253, 253, 253, 0.07);
  border: 1px solid rgba(253, 253, 253, 0.18);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tbc-callout__badge {
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: 100px;
  margin-top: 0.25rem;
}
.tbc-callout__title {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin: 0 0 0.25em;
}
.tbc-callout__text {
  color: rgba(253, 253, 253, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.tbc-callout .btn { font-size: 0.9rem; }
@media (max-width: 700px) {
  .tbc-callout { flex-direction: column; gap: 0.6rem; }
}


/* ==========================================================================
   Service pages — mini-pitch template (sp-*)
   ========================================================================== */

/* Anchored sections clear the sticky header */
.sp-step, #how-it-works, #apply { scroll-margin-top: calc(var(--header-height) + 1.5rem); }

/* --------------------------------------------------------------------------
   Hero — copy only, watermark number
   -------------------------------------------------------------------------- */
.sp-hero {
  position: relative;
  padding: 4.5rem var(--site-gutter);
  overflow: hidden;
}
.sp-hero__num {
  position: absolute;
  top: -2.5rem;
  right: 2vw;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(11rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(253, 253, 253, 0.09);
  user-select: none;
  pointer-events: none;
}
.sp-hero__inner {
  position: relative;
  max-width: var(--site-max-width);
  margin: 0 auto;
}
.sp-hero__inner h1 {
  font-size: clamp(2.2rem, 3vw + 0.5rem, 3.3rem);
  line-height: 1.15;
  max-width: 880px;
  margin-bottom: 0.45em;
}
.sp-hero__sub {
  color: rgba(253, 253, 253, 0.85);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 2rem;
}
.sp-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.sp-hero__proof {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: rgba(253, 253, 253, 0.75);
}
.sp-hero__proof a { color: var(--white); }
.sp-stars { color: #f6b400; letter-spacing: 2px; }

@media (max-width: 900px) {
  .sp-hero { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .sp-hero__num { font-size: 9rem; top: -1.5rem; }
}

/* --------------------------------------------------------------------------
   Service switcher — the four services as chapters
   -------------------------------------------------------------------------- */
.sp-switch {
  display: flex;
  background: var(--black);
  border-top: 1px solid rgba(253, 253, 253, 0.14);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sp-switch a {
  flex: 1 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.05rem 1.6rem 0.95rem;
  font-family: var(--heading-font);
  font-size: 0.88rem;
  color: rgba(253, 253, 253, 0.55);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.sp-switch a b { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; }
.sp-switch a:hover { color: var(--white); }
.sp-switch a.is-current {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Diagnostic — "Sound familiar?"
   -------------------------------------------------------------------------- */
.sp-diag__list { display: grid; gap: 0.7rem; }
.sp-diag__item {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: var(--white);
  border: 1.5px solid rgba(10, 10, 10, 0.12);
  border-radius: 10px;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  user-select: none;
}
.sp-diag__item:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(153, 0, 0, 0.1);
}
.sp-diag__item input { position: absolute; opacity: 0; pointer-events: none; }
.sp-diag__item i {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-radius: 6px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.sp-diag__item i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}
.sp-diag__item span { font-size: 0.97rem; line-height: 1.5; }
.sp-diag__item:has(input:checked) {
  border-color: var(--accent);
  background: #fff6f4;
}
.sp-diag__item:has(input:checked) i {
  background: var(--accent);
  border-color: var(--accent);
}
.sp-diag__item:has(input:checked) i::after { transform: rotate(45deg) scale(1); }
.sp-diag__item input:focus-visible ~ i { box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.25); }

.sp-diag__result {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  min-height: 2.6rem;
}
.sp-diag__cta { display: none; }
.sp-diag--hot .sp-diag__result span { color: var(--accent); }
.sp-diag--hot .sp-diag__cta { display: inline-block; }

/* --------------------------------------------------------------------------
   Journey — sticky rail + steps
   -------------------------------------------------------------------------- */
.sp-journey__grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 2.1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  max-width: 1360px;
}
.sp-rail {
  position: sticky;
  top: calc(var(--header-height) + 2.5rem);
}
.sp-rail h2 { color: var(--black); font-size: var(--h2-size); }
.sp-rail__steps { margin-top: 2rem; display: grid; }
.sp-rail__steps a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.7rem 0 0.7rem 1.3rem;
  border-left: 3px solid rgba(10, 10, 10, 0.12);
  font-family: var(--heading-font);
  font-size: 0.95rem;
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.sp-rail__steps a b { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; }
.sp-rail__steps a:hover { color: var(--black); }
.sp-rail__steps a.is-current {
  border-left-color: var(--accent);
  color: var(--black);
  font-weight: 600;
}
.sp-rail__steps a.is-current b { color: var(--accent); }

.sp-step { position: relative; padding: 0.5rem 0 4.5rem; }
.sp-steps .sp-step:last-child { padding-bottom: 0.5rem; }
.sp-step__num {
  position: absolute;
  top: -2.2rem;
  left: -0.4rem;
  z-index: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 7rem;
  line-height: 1;
  color: rgba(153, 0, 0, 0.07);
  user-select: none;
  pointer-events: none;
}
.sp-step > *:not(.sp-step__num) { position: relative; z-index: 1; }
.sp-step__kicker {
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7em;
}
.sp-step h3 { color: var(--black); font-size: clamp(1.5rem, 1.2vw + 1rem, 1.95rem); }
.sp-step.sp-anim { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.sp-step.sp-anim.in-view { opacity: 1; transform: none; }

/* Deliverables checklist */
.sp-checks {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.6rem;
}
.sp-checks li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: var(--heading-font);
  font-weight: 500;
}
.sp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
}
.sp-checks li::after {
  content: "";
  position: absolute;
  left: 0.44rem;
  top: 0.36rem;
  width: 0.32rem;
  height: 0.6rem;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Compare cards */
.sp-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.sp-compare__card {
  position: relative;
  border: 1.5px solid rgba(10, 10, 10, 0.12);
  border-radius: 10px;
  padding: 1.4rem 1.3rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
}
.sp-compare__card b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.sp-compare__card em {
  display: block;
  font-style: normal;
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 0.7rem;
}
.sp-compare__card p { margin: 0; color: #5c5c5c; }
.sp-compare__card--hot {
  border-color: var(--accent);
  background: #fff6f4;
  box-shadow: 0 10px 28px rgba(153, 0, 0, 0.1);
}
.sp-compare__card--hot em { color: var(--accent); }
.sp-compare__card--hot p { color: var(--black); }
.sp-compare__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.1rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25em 0.9em;
  border-radius: 100px;
}

/* Stat row + press logos (operators step) */
.sp-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  margin: 1.8rem 0 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}
.sp-stats b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--accent);
}
.sp-stats span {
  display: block;
  font-family: var(--heading-font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c5c5c;
  margin-top: 0.3rem;
}
.sp-press__label {
  font-family: var(--heading-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin-bottom: 0.9rem;
}
.sp-press { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.sp-press img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.sp-press img:hover { filter: none; opacity: 1; }

/* Fit panels */
.sp-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.sp-fit__card {
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  border: 1.5px solid rgba(10, 10, 10, 0.12);
}
.sp-fit__card--yes {
  border-color: var(--accent);
  background: #fff6f4;
}
.sp-fit__head {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.sp-fit__card--no .sp-fit__head { color: #8a8a8a; }
.sp-fit__card--yes .sp-fit__head { color: var(--accent); }
.sp-fit__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.sp-fit__card li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
.sp-fit__card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--heading-font);
  font-weight: 700;
}
.sp-fit__card--no li { color: #5c5c5c; }
.sp-fit__card--no li::before { content: "\2715"; color: #b0b0b0; font-size: 0.85rem; }
.sp-fit__card--yes li::before { content: "\2713"; color: var(--accent); }

@media (max-width: 900px) {
  .sp-journey__grid { grid-template-columns: 1fr; }
  .sp-rail { position: static; }
  .sp-rail__steps { display: none; }
  .sp-checks, .sp-compare, .sp-fit { grid-template-columns: 1fr; }
  .sp-compare__card--hot { order: -1; margin-top: 0.6rem; }
  .sp-step__num { font-size: 5rem; top: -1.4rem; }
}

/* --------------------------------------------------------------------------
   Proof quote (black band)
   -------------------------------------------------------------------------- */
.sp-quote { margin: 0 auto; max-width: 880px; text-align: center; }
.sp-quote blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(1.15rem, 1vw + 0.8rem, 1.55rem);
  line-height: 1.55;
  color: var(--white);
}
.sp-quote figcaption { font-size: 0.92rem; color: rgba(253, 253, 253, 0.75); }
.sp-quote figcaption b { color: var(--white); font-family: var(--heading-font); font-weight: 600; }
.sp-quote .sp-stars { display: block; margin-bottom: 0.5rem; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Apply band on red
   -------------------------------------------------------------------------- */
.theme-red .apply-steps li::before { background: var(--white); color: var(--accent); }
.theme-red .apply-steps li:not(:last-child)::after { background: rgba(253, 253, 253, 0.3); }
.theme-red .apply-steps span { color: rgba(253, 253, 253, 0.8); }
.apply-form { color: var(--black); }
.theme-red .apply-form .btn--primary { background: var(--accent); color: var(--white); }

/* --------------------------------------------------------------------------
   Up-next pager card
   -------------------------------------------------------------------------- */
.sp-pager {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 210px;
  padding: 2.2rem 2.6rem;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}
.sp-pager::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.35) 100%);
  transition: background 0.25s ease;
}
.sp-pager__body { position: relative; z-index: 1; max-width: 560px; }
.sp-pager__body .eyebrow { color: var(--white); opacity: 0.85; margin-bottom: 0.5em; }
.sp-pager__body h3 { color: var(--white); margin-bottom: 0.25em; }
.sp-pager__body p { margin: 0; color: rgba(253, 253, 253, 0.85); font-size: 0.95rem; }
.sp-pager__arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 253, 253, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}
.sp-pager:hover .sp-pager__arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateX(6px);
}
@media (max-width: 700px) {
  .sp-pager { flex-direction: column; align-items: flex-start; padding: 1.8rem 1.6rem; }
}

/* Leave-a-review bar under the wall */


/* --------------------------------------------------------------------------
   The Business Collective (homepage section)
   Black + gold — pulled from the Skool community's own banner, so this
   reads as its own brand moment rather than another red YNY section.
   -------------------------------------------------------------------------- */
.tbc-section {
  --tbc-gold: #f0c87e;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.tbc-section::before {
  /* faint gold glow, echoes the banner's backlit arrow */
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(240, 200, 126, 0.16), transparent 70%);
  pointer-events: none;
}
.tbc-content { position: relative; max-width: 720px; margin: 0 auto; }
.tbc-badge {
  display: inline-block;
  background: var(--tbc-gold);
  color: var(--black);
  font-family: var(--heading-font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.tbc-section .eyebrow { color: var(--tbc-gold); opacity: 1; }
.tbc-section h2 { color: var(--tbc-gold); }
.tbc-lede { font-size: 1.02rem; line-height: 1.7; color: rgba(253, 253, 253, 0.85); margin: 0 auto 2rem; max-width: 600px; }
.tbc-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.tbc-tags span {
  border: 1px solid rgba(240, 200, 126, 0.45);
  color: var(--tbc-gold);
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45em 1em;
  border-radius: 100px;
}
.btn--gold {
  background: var(--tbc-gold);
  color: var(--black);
}
.btn--gold:hover { background: #f5d69a; opacity: 1; }
