.hero {
  position: relative;
  overflow: hidden;
  background: var(--background);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hero__container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 3rem;
  min-width: 0;
}

/*
  -- TEXT SIDE
*/
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.375rem 0.375rem 0.375rem 1rem;
  font-size: 0.8125rem;
  width: fit-content;
  background: var(--card);
}

.hero__badge-text {
  color: var(--muted-foreground);
}

.hero__badge-pill {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero__h1 {
  font-size: clamp(1.875rem, 3.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.hero__h1-accent {
  color: var(--primary);
}

.hero__ticker {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: min(900px, 90vw);
}

.hero__ticker-scroll {
  overflow: hidden;
  padding-block: 0.75rem;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 24s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

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

.ticker-item {
  padding-inline: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.hero__ticker-footer {
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ticker-serve-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker-serve-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.ticker-serve-badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}

.hero__sub {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 900px;
}

/*
  -- VIDEO SECTION
*/
.hero__visual {
  position: relative;
  max-width: 900px;
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  overflow: visible;
  border-radius: var(--radius);
}

/*
  -- DOODLE ANNOTATION
*/
.doodle-annotation {
  display: flex;
  flex-direction: column;
  padding-right: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  position: absolute;
  top: -70px;
  left: -50px;
  z-index: 5;
}

.doodle-text {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  line-height: 1em;
  color: var(--secondary);
  text-align: left;
  max-width: none;
}

.doodle-text strong {
  color: var(--primary);
}

.doodle-arrow {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  fill: var(--secondary);
  opacity: 0.75;
  /* arrow tip naturally points lower-right; slight rotate aims it at the video */
  transform: rotate(20deg);
}

/*
 -- MACOS WINDOW
*/
.macos-window {
  background: var(--card);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px hsl(0 0% 0% / 0.08),
    0 8px 32px hsl(0 0% 0% / 0.08),
    0 24px 64px hsl(0 0% 0% / 0.1);
}

.macos-bar {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  background: hsl(220 14% 96%);
  border-bottom: 1px solid var(--border);
  user-select: none;
  gap: 0.75rem;
}

.macos-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.macos-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: none;
  padding: 0;
  cursor: default;
}

.macos-dot--red {
  background: #ff5f57;
  box-shadow: inset 0 0 0 0.5px hsl(4 90% 40% / 0.4);
}
.macos-dot--yellow {
  background: #febc2e;
  box-shadow: inset 0 0 0 0.5px hsl(38 90% 35% / 0.4);
}
.macos-dot--green {
  background: #28c840;
  box-shadow: inset 0 0 0 0.5px hsl(130 65% 28% / 0.4);
}

button.macos-dot {
  cursor: pointer;
}
button.macos-dot--red:hover {
  background: #ff3b30;
}

.macos-bar__title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.macos-bar__spacer {
  width: 52px;
  flex-shrink: 0;
}

/* Video thumbnail */
.video-thumb-btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: none;
  line-height: 0;
}

.video-thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.video-thumb-btn:hover .video-thumb-img {
  transform: scale(1.04);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: hsl(217 46% 15% / 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-thumb-btn:hover .video-overlay {
  background: hsl(217 46% 15% / 0.15);
}

.play-btn {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: hsl(350 87% 42% / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 24px hsl(350 87% 42% / 0.5);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-thumb-btn:hover .play-btn {
  transform: scale(1.14);
}

.play-btn i {
  margin-left: 0.2rem;
}

/* ── Video Caption Bar (desktop, below thumbnail) ── */
.video-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  background: hsl(220 14% 96%);
  padding: 0.625rem 1rem;
  gap: 0.75rem;
}

.video-caption-bar__left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}

.video-caption-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.625rem;
  flex-shrink: 0;
  padding-left: 0.1rem; /* optical centre for play triangle */
}

.video-caption-bar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.video-caption-bar__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  white-space: nowrap;
}

.video-caption-bar__subtitle {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  line-height: 1.2;
  white-space: nowrap;
}

.video-caption-bar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.video-caption-bar__google-logo {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.video-caption-bar__review-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.video-caption-bar__stars {
  display: flex;
  gap: 1px;
  color: #fbbc05;
  font-size: 0.625rem;
}

.video-caption-bar__review-count {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  font-weight: 500;
  white-space: nowrap;
}

/* ── Google Reviews Widget ── */
.g-reviews {
  border-top: 1px solid var(--border);
  background: hsl(220 14% 96%); /* matches .macos-bar exactly */
  padding: 0.625rem 1rem; /* matches .macos-bar padding */
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.g-reviews__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.g-reviews__logo {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.g-reviews__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.g-reviews__score {
  font-size: 1rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1;
}

.g-reviews__stars {
  display: flex;
  gap: 1px;
  color: #fbbc05;
  font-size: 0.6875rem;
}

.g-reviews__count {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.g-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* borderless rows separated by thin dividers */
.g-review-card {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.g-review-card:last-child {
  border-bottom: none;
}

.g-review-card__avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 1px;
}

.g-review-card__body {
  flex: 1;
  min-width: 0;
}

.g-review-card__name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.g-review-card__stars {
  display: flex;
  gap: 1px;
  color: #fbbc05;
  font-size: 0.5rem;
  margin-block: 0.1rem;
}

.g-review-card__text {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

/*
  -- VIDEO MODAL
*/

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.video-modal--open {
  opacity: 1;
  pointer-events: all;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: hsl(217 46% 10% / 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  transform: scale(0.9) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal--open .video-modal__frame {
  transform: scale(1) translateY(0);
}

.video-modal__iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: none;
}

/* ══════════════════════════════════════════════════════════
   ABOUT + EVENTS SECTION
══════════════════════════════════════════════════════════ */
.split-section #about {
  padding-block: 5rem 5rem;
}
#about {
  background: var(--background);
}

/* ── About (left) ── */
.section-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.stat-list {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-item__num {
  font-family: var(--font-manrope);
  font-optical-sizing: auto;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-item__label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.event-stack-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.event-stack {
  position: relative;
  width: 100%;
  height: 560px;
}

.event-stack__card {
  position: absolute;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 4px solid #fff;
  background: var(--card);
  box-shadow: 0 8px 32px hsl(217 46% 15% / 0.16);
  transition:
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.55s ease,
    top 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    left 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  top: 35%;
  left: 20%;
  width: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.event-stack__card.pos-active {
  top: 6%;
  left: 5%;
  width: 63%;
  transform: rotate(-5deg);
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
}

/* Center-left */
.event-stack__card.pos-cl {
  top: 28%;
  left: 54%;
  width: 44%;
  transform: rotate(-10deg);
  z-index: 3;
  opacity: 1;
}

/* Top-right */
.event-stack__card.pos-tr {
  top: 0;
  left: 54%;
  width: 44%;
  transform: rotate(9deg);
  z-index: 2;
  opacity: 1;
}

/* Bottom-right */
.event-stack__card.pos-br {
  top: 54%;
  left: 57%;
  width: 37%;
  transform: rotate(14deg);
  z-index: 1;
  opacity: 1;
}

/* Hidden (5th card cycles through) */
.event-stack__card.pos-hidden {
  top: 30%;
  left: 20%;
  width: 50%;
  transform: rotate(0deg) scale(0.65);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

/* Image: square-ish ratio on all cards */
.event-stack__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.event-stack__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.event-stack__card.pos-active:hover .event-stack__img-wrap img {
  transform: scale(1.04);
}

/* Body text: only on active card */
.event-stack__body {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
}

.event-stack__card.pos-active .event-stack__body {
  display: flex;
}

.event-stack__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  border: 1px solid transparent;
}

.event-tag--blue {
  background: hsl(217 91% 93%);
  color: hsl(217 91% 35%);
  border-color: hsl(217 60% 80%);
}

.event-tag--rose {
  background: hsl(338 80% 91%);
  color: hsl(338 80% 36%);
  border-color: hsl(338 55% 78%);
}

.event-tag--amber {
  background: hsl(35 100% 88%);
  color: hsl(35 100% 28%);
  border-color: hsl(35 80% 72%);
}

.event-tag--green {
  background: hsl(142 72% 88%);
  color: hsl(142 72% 26%);
  border-color: hsl(142 50% 70%);
}

.event-tag--purple {
  background: hsl(270 80% 92%);
  color: hsl(270 80% 36%);
  border-color: hsl(270 55% 76%);
}

.event-stack__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.event-stack__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.event-stack__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.event-stack__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s,
    width 0.3s;
}

.event-dot.is-active {
  background: var(--primary);
  width: 22px;
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO — Resources & Insights
══════════════════════════════════════════════════════════ */
.portfolio-section {
  padding: 5rem 0 6rem;
  background: #fff;
  --doodle-top: 0px;
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.portfolio-header__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-pill {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: #f1f5f0;
  color: #3d5a3e;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
  width: fit-content;
}

.portfolio-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #111;
  margin: 0;
}

.portfolio-cat {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.8px;
}

.portfolio-cat--green {
  background: rgb(0, 71, 30);
  color: var(--primary-foreground);
}
.portfolio-cat--blue {
  background: #7ea6ca;
  color: var(--primary-foreground);
}
.portfolio-cat--purple {
  background: #987eaf;
  color: var(--primary-foreground);
}
.portfolio-cat--gray {
  background: #909090;
  color: var(--primary-foreground);
}

.portfolio-date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.portfolio-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.portfolio-featured__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0;
}

.portfolio-featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-featured__title {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  margin: 0;
}

.portfolio-featured__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

.portfolio-featured__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-featured__img-wrap:hover .portfolio-featured__img {
  transform: scale(1.06);
}

.portfolio-featured__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.portfolio-featured__overlay-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-featured__overlay-meta .portfolio-date {
  color: rgba(255, 255, 255, 0.8);
}

.portfolio-featured__overlay-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.portfolio-featured__overlay-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 3rem;
  column-gap: 2.5rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 2rem;
  grid-column: span 2;
}

.portfolio-card:first-child {
  flex-direction: column-reverse;
}

.portfolio-card:nth-child(1),
.portfolio-card:nth-child(2) {
  grid-column: span 3;
}

.portfolio-card__img-wrap {
  overflow: hidden;
  border-radius: 0.75rem;
  aspect-ratio: 4 / 3;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card__img {
  transform: scale(1.06);
}

.portfolio-card__body {
  padding: 1rem 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.portfolio-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.portfolio-card__title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.portfolio-card:nth-child(1) .portfolio-card__title,
.portfolio-card:nth-child(2) .portfolio-card__title {
  font-size: 1.75rem;
}

.portfolio-card .section-desc {
  text-align: left;
}

/* ══════════════════════════════════════════════════════════
   SERVICES — Sticky left + Accordion right
══════════════════════════════════════════════════════════ */
.services-section {
  padding-block: 5rem;
  background: var(--muted);
}

.services-section .section-doodle {
  top: -30px;
  left: min(80%, 240px);
}

.services-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ── Left sticky panel ── */
.services-section__left {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.services-section__left .description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.services-section__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svc-accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: box-shadow 0.3s ease;
  margin-bottom: 0.625rem;
}

.svc-accordion--open {
  box-shadow: 0 4px 20px hsla(217, 46%, 15%, 0.08);
}

.svc-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.svc-accordion__trigger:hover {
  background: var(--muted);
}

.svc-accordion--open .svc-accordion__trigger {
  background: var(--muted);
}

.svc-accordion__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 1.75rem;
  flex-shrink: 0;
}

.svc-accordion__title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.svc-accordion__trigger-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.svc-btn--outline {
  border: 1.5px solid var(--border);
  color: var(--foreground);
  background: var(--background);
}

.svc-btn--outline:hover {
  border-color: var(--foreground);
}

.svc-btn--ghost {
  border: 1.5px solid transparent;
  color: var(--muted-foreground);
  background: transparent;
}

.svc-btn--ghost:hover {
  background: var(--border);
  color: var(--foreground);
}

.svc-accordion__chevron {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.svc-accordion--open .svc-accordion__chevron {
  transform: rotate(0deg);
}

.svc-accordion__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    padding 0.35s ease;
  padding: 0 1.25rem;
}

.svc-accordion--open .svc-accordion__body {
  padding-bottom: 1.375rem;
  padding-top: 0.125rem;
}

.svc-accordion__body .description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.svc-accordion__body ul.description {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.375rem 1.5rem;
  margin-top: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--muted);
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
}

.svc-accordion__body ul.description li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

.svc-accordion__body ul.description li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.svc-accordion__body-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   WHO WE OFFER — image column
══════════════════════════════════════════════════════════ */

.split-section .section-doodle {
  right: auto;
  left: min(80%, 250px);
  top: -10px;
}

.wwo-image-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 2rem;
}

.wwo-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(350 87% 42% / 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.wwo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1.25rem;
}

/* ══════════════════════════════════════════════════════════
   ESTIMATOR PLANS
══════════════════════════════════════════════════════════ */
.estimator-plans {
  padding-block: 5rem;
  background: var(--muted);
}

.estimator-plans__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.plan-card:hover {
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.08);
  transform: translateY(-3px);
}

.plan-card--featured {
  background: hsl(217 46% 15%);
  border-color: hsl(217 46% 22%);
  color: hsl(0 0% 100%);
}

.plan-card--featured:hover {
  box-shadow: 0 16px 48px hsl(217 46% 10% / 0.4);
}

.plan-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: hsl(0 0% 100%);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(350 87% 42% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.plan-card--featured .plan-card__icon {
  background: hsl(0 0% 100% / 0.12);
  color: hsl(0 0% 100%);
}

.plan-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.plan-card--featured .plan-card__name {
  color: hsl(0 0% 100%);
}

.plan-card__tagline {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: -0.5rem 0 0;
}

.plan-card--featured .plan-card__tagline {
  color: hsl(157 65% 60%);
}

.plan-card__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

.plan-card--featured .plan-card__desc {
  color: hsl(0 0% 100% / 0.68);
}

.plan-card__divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

.plan-card--featured .plan-card__divider {
  background: hsl(0 0% 100% / 0.12);
}

.plan-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  flex: 1;
}

.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.5;
}

.plan-card--featured .plan-card__features li {
  color: hsl(0 0% 100% / 0.85);
}

.plan-card__features li i {
  color: hsl(157 65% 42%);
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.8rem;
}

.plan-card--featured .plan-card__features li i {
  color: hsl(157 65% 70%);
}

.plan-card--featured .btn--outline {
  border-color: hsl(0 0% 100% / 0.4);
  color: hsl(0 0% 100%);
}

.plan-card--featured .btn--outline .btn-arrow {
  background: hsl(0 0% 100%);
  color: var(--foreground);
}

.plan-card--featured .btn--outline:hover {
  background: hsl(0 0% 100% / 0.12);
  border-color: hsl(0 0% 100% / 0.7);
}

/* ══════════════════════════════════════════════════════════
   ESTIMATOR SERVICES
══════════════════════════════════════════════════════════ */
.estimator-services {
  padding-block: 5rem;
  background: var(--muted);
}

.estimator-services__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.est-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.est-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.est-card:hover {
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.07);
  transform: translateY(-3px);
  border-color: hsl(350 87% 42% / 0.3);
}

.est-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: hsl(350 87% 42% / 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.est-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  margin: 0;
}

.est-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   END CTA — PARALLAX BG
══════════════════════════════════════════════════════════ */

.end-cta {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.end-cta__parallax {
  position: absolute;
  inset: -80px 0;
  will-change: transform;
  z-index: 0;
}

.end-cta__parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.end-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    hsl(217 46% 10% / 0.93) 0%,
    hsl(217 46% 12% / 0.82) 60%,
    hsl(350 60% 20% / 0.75) 100%
  );
}

.end-cta__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("/public/noise.png");
  background-size: 160px;
  opacity: 0.07;
  pointer-events: none;
}

.end-cta__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding-block: 5.5rem;
}

.end-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.end-cta__badge i {
  color: hsl(45 90% 60%);
}

.end-cta__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 16ch;
}

.end-cta__heading em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary) 0%, hsl(350 87% 60%) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.end-cta__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 52ch;
}

.end-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 0.25rem;
}

.end-cta__btn-primary {
  font-size: 1rem;
  padding: 0.375rem 0.625rem;
  box-shadow: 0 6px 28px hsl(350 87% 42% / 0.45);
}

.end-cta__btn-primary .btn-arrow {
  width: 2.25rem;
  height: 2.25rem;
}

.end-cta__btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 30px;
  padding: 0.375rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.end-cta__btn-outline .btn-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.end-cta__btn-outline .btn-label {
  padding-right: 1rem;
}

.end-cta__btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.07);
}

.end-cta__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.end-cta__trust-item {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.end-cta__trust-item i {
  color: hsl(160 50% 55%);
  font-size: 0.75rem;
}

.end-cta__trust-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.1rem;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   MEDIA QUERIES
══════════════════════════════════════════════════════════ */

/* ── min-width: 640px ── */
@media (min-width: 640px) {
  .hero__visual {
    order: 99;
  }

  .hide-desktop {
    display: none;
  }
}

/* ── max-width: 1024px ── */
@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 720px;
  }

  .plan-card {
    padding: 1.5rem;
  }

  .why-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .bento-card {
    padding: 1.5rem 2rem;
  }

  .est-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-btn,
  .svc-btn--outline {
    display: none;
  }

  .hero__container {
    gap: 2rem;
    padding-block: 2.5rem 2rem;
  }

  .hero__visual {
    order: unset;
  }

  .hero__h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    max-width: none;
  }

  .hero__sub {
    max-width: none;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .event-stack {
    height: 480px;
  }
}

@media (max-width: 900px) {
  .portfolio-featured {
    grid-template-columns: 1fr;
  }

  .portfolio-card:not(:first-child) {
    flex-direction: column-reverse;
  }

  .portfolio-header__left {
    align-items: center;
  }

  .portfolio-card {
    grid-column: span 3;
  }

  .portfolio-featured__text {
    order: 2;
  }

  .portfolio-featured__img-wrap {
    order: 1;
  }

  .services-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-section__left {
    position: static;
    align-items: center;
  }

  .section-heading,
  .section-label {
    text-align: center;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding-block: 4rem;
  }

  .section-doodle {
    display: none;
  }

  .faq-section__heading {
    font-size: 1.625rem;
  }
}

@media (max-width: 640px) {
  .portfolio-cards {
    grid-template-columns: 1fr;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: center;
  }

  .hide-mobile {
    display: none;
  }

  .hero__container {
    gap: 1.25rem;
    padding-block: 1.25rem 1rem;
  }

  .hero__visual {
    order: unset;
  }

  .hero__ticker-scroll {
    display: none;
  }

  .doodle-annotation {
    padding-right: 0.75rem;
    gap: 0.5rem;
  }

  .doodle-text {
    font-size: 0.9375rem;
  }

  .doodle-arrow {
    width: 38px;
    height: 38px;
  }

  .hero__h1 {
    font-size: clamp(1.375rem, 7.5vw, 1.875rem);
    line-height: 1.4;
  }

  .hero__badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.25rem 0.25rem 0.75rem;
  }

  .hero__badge-pill {
    font-size: 0.6875rem;
  }

  .hero__sub {
    font-size: 0.875rem;
    line-height: 1.65;
  }

  .hero__ctas .btn,
  .section_cta .btn {
    width: 80%;
    margin-inline: auto;
    justify-content: center;
  }

  .hero__ticker {
    border-radius: 0.5rem;
  }

  .ticker-item {
    font-size: 0.75rem;
    padding-inline: 0.625rem;
  }

  .hero__ticker-footer {
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-top: none;
    flex-direction: column;
    align-items: center;
  }

  .ticker-serve-label {
    font-size: 0.625rem;
  }

  .ticker-serve-badges {
    gap: 0.375rem;
    justify-content: center;
  }

  .ticker-serve-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--border);
    background-color: var(--muted);
    font-weight: 400;
    color: var(--foreground);
  }

  .macos-bar {
    padding: 0.5rem 0.75rem;
  }

  .macos-bar__title {
    font-size: 0.75rem;
  }

  .macos-dot {
    width: 10px;
    height: 10px;
  }

  .g-reviews {
    padding: 0.5rem 0.75rem;
  }

  .play-btn {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1rem;
  }

  .hero__actionbar-inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 1.25rem;
    gap: 1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero__actionbar-inner::-webkit-scrollbar {
    display: none;
  }

  .hero__actionbar-link {
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .video-modal {
    padding: 0.75rem;
  }

  .site-header__logo-img {
    height: 1.875rem;
  }

  .mobile-menu__actions .btn {
    font-size: 0.8125rem;
  }

  .split-grid {
    gap: 2.5rem;
  }

  .section-heading {
    font-size: 1.625rem;
  }

  .section_cta {
    flex-direction: column;
    align-items: center;
  }

  .stat-list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .stat-item__num {
    font-size: 1.5rem;
  }

  .section-content > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section-content > div .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .event-stack {
    height: auto;
    min-height: 480px;
  }

  .event-stack__card {
    position: relative !important;
    display: none;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .event-stack__card.pos-active {
    display: block;
  }

  .event-stack__body {
    display: flex;
    padding: 1rem 1.125rem 1.25rem;
  }

  .event-stack__title {
    font-size: 1rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .end-cta {
    min-height: 520px;
  }

  .end-cta__inner {
    padding-block: 4rem;
  }

  .end-cta__trust-sep {
    display: none;
  }

  .end-cta__trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .estimator-plans {
    padding-block: 3rem;
  }

  .portfolio-section {
    padding: 3rem 0 4rem;
  }

  .why-section {
    padding: 2.5rem 0;
  }

  .estimator-services {
    padding-block: 3rem;
  }

  .split-section {
    padding-block: 2.5rem;
  }

  .faq-section {
    padding-block: 3rem;
  }

  .section-heading,
  .section-label,
  .section-desc {
    text-align: center;
  }

  .process__header,
  .why-section__header,
  .portfolio-header {
    align-items: center;
    text-align: center;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: center;
  }

  .est-card {
    padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  .services-section {
    padding-block: 3.5rem;
  }

  .svc-accordion__trigger {
    padding: 1rem;
  }

  .est-services-grid {
    grid-template-columns: 1fr;
  }

  .estimator-services__header,
  .estimator-plans__header {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .section-content {
    align-items: center;
  }
}
