/* Stitch UI system: add this stylesheet via $pageStyles and wrap page content in .stitch-ui. */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

.stitch-ui {
  --stitch-bg: #eceaea;
  --stitch-ink: #1a1c1c;
  --stitch-muted: #4d4635;
  --stitch-line: #d0c5af;
  --stitch-gold: #735c00;
  --stitch-gold-soft: #e9c349;
  --stitch-surface: #ffffff;
  --stitch-surface-low: #f3f3f4;
  --stitch-max: 1440px;
  --stitch-gap: clamp(1rem, 2vw, 1.5rem);
  background: var(--stitch-bg);
  color: var(--stitch-ink);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  margin: -1.5rem calc(50% - 50vw) 0;
  overflow: hidden;
}

.stitch-ui *,
.stitch-ui *::before,
.stitch-ui *::after {
  box-sizing: border-box;
}

.stitch-ui img {
  display: block;
  max-width: 100%;
}

.stitch-ui h1,
.stitch-ui h2,
.stitch-ui h3,
.stitch-ui blockquote {
  font-family: "Bodoni Moda", Georgia, serif;
  letter-spacing: 0;
}

.stitch-ui p {
  color: var(--stitch-muted);
  line-height: 1.8;
}

.stitch-ui .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

.stitch-kicker {
  color: var(--stitch-gold);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.stitch-hero {
  align-items: center;
  display: flex;
  isolation: isolate;
  justify-content: center;
  min-height: clamp(620px, 88vh, 860px);
  padding: clamp(2rem, 7vw, 5rem);
  position: relative;
  text-align: center;
}

.stitch-hero-media,
.stitch-hero-media::after {
  inset: 0;
  position: absolute;
}

.stitch-hero-media {
  z-index: -1;
}

.stitch-hero-media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(115, 92, 0, 0.16) 52%, rgba(0, 0, 0, 0.72));
  content: "";
}

.stitch-hero-media img,
.stitch-cta > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.stitch-hero-content {
  color: #fff;
  max-width: 54rem;
}

.stitch-hero .stitch-kicker,
.stitch-hero p {
  color: rgba(255, 255, 255, 0.9);
}

.stitch-hero h1 {
  font-size: clamp(3.1rem, 7vw, 6.5rem);
  line-height: 0.98;
  margin: 0 0 1.5rem;
}

.stitch-hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 auto 2.25rem;
  max-width: 42rem;
}

.stitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.stitch-btn {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.15em;
  min-height: 3.5rem;
  padding: 1rem 1.8rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.stitch-btn:hover {
  transform: translateY(-2px);
}

.stitch-btn-primary {
  background: var(--stitch-gold);
  color: #fff;
}

.stitch-btn-primary:hover {
  background: #d4af37;
  color: #fff;
}

.stitch-btn-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.stitch-btn-light:hover {
  background: #fff;
  color: #111;
}

.stitch-section,
.stitch-quote,
.stitch-cta {
  margin: 0 auto;
  max-width: var(--stitch-max);
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 5rem);
}

.stitch-split {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.stitch-portrait {
  min-height: 520px;
  position: relative;
}

.stitch-portrait img {
  filter: grayscale(1);
  height: min(72vh, 660px);
  object-fit: cover;
  transition: filter 0.6s ease, transform 0.6s ease;
  width: 100%;
}

.stitch-portrait:hover img {
  filter: grayscale(0);
  transform: scale(1.015);
}

.stitch-badge {
  background: var(--stitch-gold-soft);
  bottom: -2rem;
  color: #241a00;
  padding: 1.5rem;
  position: absolute;
  right: -1rem;
  width: min(16rem, 78%);
}

.stitch-badge strong {
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
}

.stitch-badge span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.stitch-copy h2,
.stitch-section-head h2,
.stitch-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  margin: 0 0 1.5rem;
}

.stitch-copy p {
  font-size: 1.05rem;
  max-width: 42rem;
}

.stitch-section-head {
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  text-align: center;
}

.stitch-section-head::after {
  background: var(--stitch-gold);
  content: "";
  display: block;
  height: 3px;
  margin: 1.2rem auto 0;
  width: 6rem;
}

.stitch-webinar-grid,
.stitch-discipline-grid {
  display: grid;
  gap: var(--stitch-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stitch-webinar-card,
.stitch-discipline-card {
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  min-width: 0;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stitch-webinar-card:hover,
.stitch-discipline-card:hover {
  border-color: var(--stitch-gold);
  box-shadow: 0 20px 48px rgba(26, 28, 28, 0.12);
  transform: translateY(-5px);
}

.stitch-webinar-card img,
.stitch-discipline-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.stitch-webinar-card div,
.stitch-discipline-card {
  padding: 1.5rem;
}

.stitch-webinar-card span {
  color: var(--stitch-gold);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.stitch-webinar-card h3,
.stitch-discipline-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.16;
  margin: 0 0 0.75rem;
}

.stitch-webinar-card p,
.stitch-discipline-card p {
  font-size: 0.95rem;
  margin: 0;
}

.stitch-discipline-card {
  padding: 0;
}

.stitch-showcase {
  max-width: none;
}

.stitch-showcase-grid {
  display: grid;
  gap: var(--stitch-gap);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr);
  grid-template-rows: repeat(2, minmax(260px, 1fr));
  margin: 0 auto;
  max-width: var(--stitch-max);
}

.stitch-showcase-grid figure {
  background: var(--stitch-surface-low);
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.stitch-showcase-large {
  grid-row: span 2;
}

.stitch-showcase-grid img {
  filter: grayscale(1);
  height: 100%;
  object-fit: cover;
  transition: filter 0.7s ease, transform 0.7s ease;
  width: 100%;
}

.stitch-showcase-grid figure:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.stitch-showcase-grid figcaption {
  bottom: 2rem;
  color: #fff;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-style: italic;
  left: 2rem;
  position: absolute;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.stitch-quote {
  background: #e2e2e2;
  max-width: none;
  text-align: center;
}

.stitch-quote > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 58rem;
}

.stitch-quote .material-symbols-outlined {
  color: #d4af37;
  display: block;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.stitch-quote blockquote {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.stitch-quote p {
  color: var(--stitch-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stitch-cta {
  color: #fff;
  display: grid;
  isolation: isolate;
  min-height: 560px;
  place-items: center;
  position: relative;
  text-align: center;
}

.stitch-cta::after {
  background: rgba(0, 0, 0, 0.62);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.stitch-cta > img {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.stitch-cta > div {
  max-width: 48rem;
}

.stitch-cta .stitch-kicker,
.stitch-cta p {
  color: rgba(255, 255, 255, 0.88);
}

.stitch-cta p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.stitch-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.stitch-trust-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.55rem 0.9rem;
  text-transform: uppercase;
}

.stitch-benefits-grid {
  display: grid;
  gap: var(--stitch-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stitch-benefit-card {
  background: var(--stitch-surface);
  border: 1px solid var(--stitch-line);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stitch-benefit-card:hover {
  border-color: var(--stitch-gold);
  box-shadow: 0 18px 40px rgba(26, 28, 28, 0.1);
  transform: translateY(-4px);
}

.stitch-benefit-card .material-symbols-outlined {
  color: var(--stitch-orange, #e8680d);
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.stitch-benefit-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.stitch-benefit-card p {
  font-size: 0.92rem;
  margin: 0;
}

.stitch-service-preview-grid {
  display: grid;
  gap: var(--stitch-gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stitch-service-preview {
  background: linear-gradient(160deg, #fff, var(--stitch-surface-low));
  border: 1px solid var(--stitch-line);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stitch-service-preview:hover {
  border-color: var(--stitch-gold);
  transform: translateY(-4px);
}

.stitch-service-preview h3 {
  color: var(--stitch-ink);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.stitch-service-preview span {
  color: var(--stitch-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stitch-faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.stitch-faq-item {
  background: #fff;
  border: 1px solid var(--stitch-line);
}

.stitch-faq-item button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--stitch-ink);
  display: flex;
  font-size: 1rem;
  font-weight: 600;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  text-align: left;
  width: 100%;
}

.stitch-faq-item .stitch-faq-body {
  display: none;
  padding: 0 1.25rem 1.1rem;
}

.stitch-faq-item.is-open .stitch-faq-body,
.stitch-faq-item.is-open p.stitch-faq-body {
  display: block;
}

.stitch-faq-item p.stitch-faq-body {
  color: var(--stitch-muted);
  line-height: 1.7;
}

.stitch-faq-item.is-open button .material-symbols-outlined {
  transform: rotate(180deg);
}

.stitch-testimonial-swiper,
.stitch-ba-swiper {
  padding-bottom: 2.5rem;
}

.stitch-testimonial-card {
  background: #fff;
  border: 1px solid var(--stitch-line);
  height: auto;
  padding: 1.75rem;
}

.stitch-testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.stitch-testimonial-card strong {
  color: var(--stitch-gold);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stitch-ba-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.stitch-ba-card figcaption {
  background: var(--stitch-ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.65rem 0.9rem;
  text-transform: uppercase;
}

.stitch-home-contact {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.stitch-map-embed {
  border: 1px solid var(--stitch-line);
  min-height: 280px;
  overflow: hidden;
}

.stitch-map-embed iframe {
  border: 0;
  height: 100%;
  min-height: 280px;
  width: 100%;
}

.stitch-contact-strip {
  background: #fff;
  border: 1px solid var(--stitch-line);
  padding: 1.5rem;
}

.stitch-contact-strip a {
  color: var(--stitch-gold);
  font-weight: 600;
  text-decoration: none;
}

.stitch-pricing-grid {
  display: grid;
  gap: var(--stitch-gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stitch-price-card {
  background: #fff;
  border: 1px solid var(--stitch-line);
  padding: 2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.stitch-price-card.is-featured {
  border-color: var(--stitch-gold);
  box-shadow: 0 24px 60px rgba(232, 104, 13, 0.12);
  transform: translateY(-6px);
}

.stitch-price-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.stitch-price-card .stitch-price {
  color: var(--stitch-orange, #e8680d);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 1rem;
}

.stitch-process-steps {
  counter-reset: stitch-step;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stitch-process-step {
  background: #fff;
  border: 1px solid var(--stitch-line);
  padding: 1.5rem;
  position: relative;
}

.stitch-process-step::before {
  color: var(--stitch-gold);
  content: counter(stitch-step, decimal-leading-zero);
  counter-increment: stitch-step;
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.stitch-auth-page {
  margin: -1.5rem calc(50% - 50vw) 0;
  min-height: calc(100vh - 80px);
  background:
    linear-gradient(120deg, rgba(26, 28, 28, 0.9), rgba(184, 134, 11, 0.35)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1800&q=80") center / cover;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
}

.stitch-auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
  max-width: 460px;
  padding: 2.5rem;
  width: 100%;
}

.stitch-auth-card h1 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.stitch-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stitch-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .stitch-webinar-grid,
  .stitch-discipline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .stitch-ui {
    margin-top: -1rem;
  }

  .stitch-hero {
    min-height: 620px;
    padding: 2rem 1.25rem;
  }

  .stitch-actions,
  .stitch-btn {
    width: 100%;
  }

  .stitch-split,
  .stitch-showcase-grid {
    grid-template-columns: 1fr;
  }

  .stitch-showcase-large {
    grid-row: auto;
  }

  .stitch-portrait {
    min-height: auto;
  }

  .stitch-portrait img {
    height: auto;
    min-height: 420px;
  }

  .stitch-badge {
    bottom: 1rem;
    right: 1rem;
  }

  .stitch-webinar-grid,
  .stitch-discipline-grid,
  .stitch-benefits-grid,
  .stitch-service-preview-grid,
  .stitch-pricing-grid,
  .stitch-process-steps {
    grid-template-columns: 1fr;
  }

  .stitch-home-contact {
    grid-template-columns: 1fr;
  }

  .stitch-section,
  .stitch-quote,
  .stitch-cta {
    padding: 4rem 1.25rem;
  }
}
