/* ============================================================
   SOUL WAVES: Homepage Styles — Option B (Dark/Light Rhythm)
   Warm dark sections (#1A0A0A) + light cream sections
   ============================================================ */

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sw-copper), var(--sw-red));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- Section header color override for homepage ---- */
.section-header__display {
  color: var(--sw-red);
}

.soulwaves-section .section-header__display {
  display: inline-block;
  padding: 0.2em 0.08em;
  line-height: 1.3;
  background: linear-gradient(115deg, #BF953F 20%, #FCF6BA 48%, #B38728 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 12s ease-in-out infinite;
  text-shadow: 0 2px 4px rgba(68, 20, 13, 0.1);
  filter: drop-shadow(0 2px 6px rgba(68, 20, 13, 0.2));
}

/* ---- Nav: Fixed transparent → glass pill on scroll ---- */
.sw-nav--hero-dark {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding-top: 15px;
}

.sw-nav--hero-dark .sw-nav__inner {
  height: 100px;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sw-nav--hero-dark .sw-nav__logo img {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}

.sw-nav--hero-dark .sw-nav__links a {
  color: rgba(255, 248, 236, 0.82);
}

.sw-nav--hero-dark .sw-nav__links a::after {
  background: var(--sw-copper);
}

.sw-nav--hero-dark .sw-nav__lang a {
  color: rgba(255, 248, 236, 0.65);
}

.sw-nav--hero-dark .sw-nav__lang-sep {
  color: rgba(255, 248, 236, 0.3);
}

.sw-nav--hero-dark .sw-nav__hamburger span {
  background: rgba(255, 248, 236, 0.85);
}

/* Scrolled pill state */
.sw-nav--hero-dark.sw-nav--scrolled {
  padding-top: 0;
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__inner {
  max-width: 920px;
  height: 54px;
  background: rgba(255, 248, 236, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 120, 60, 0.2) !important;
  border-radius: 100px;
  margin: 15px auto;
  padding: 0 1.25rem;
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__logo img {
  width: 100px;
  max-height: 34px;
  height: auto;
  filter: none;
  object-fit: contain;
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__links a {
  color: var(--sw-brown);
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__links {
  gap: 1.25rem;
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__lang {
  flex-shrink: 0;
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__lang a {
  color: var(--sw-brown);
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__lang a.active {
  color: var(--sw-copper);
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__lang-sep {
  color: rgba(68, 20, 13, 0.35);
}

.sw-nav--hero-dark.sw-nav--scrolled .sw-nav__hamburger span {
  background: var(--sw-brown);
}

.sw-nav--hero-dark.sw-nav--scrolled .btn-primary {
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
}

/* ============================================================
   HERO — Dark Section
   ============================================================ */
main .hero {
  padding-top: 210px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--sw-cream);
  margin: 0 !important;
  border: none !important;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
  background: rgba(255, 248, 236, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.45rem 2.2rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-br { display: none; }
@media (max-width: 480px) {
  .mobile-br { display: inline; }
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 5.5vw, 5rem);
  line-height: 1.25;
  padding-top: 0.1em;
  margin-bottom: 0.1rem;
  text-transform: none;
  letter-spacing: 0;
  background: linear-gradient(90deg, #B38728 0%, #B38728 15%, #FCF6BA 32%, #FFFCE8 44%, #FFFCE8 56%, #FCF6BA 68%, #B38728 85%, #B38728 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hero-shimmer 10s linear infinite;
  filter: drop-shadow(0 0 12px rgba(252, 246, 186, 0.7)) drop-shadow(0 0 4px rgba(191, 149, 63, 0.5));
  margin-top: 0;
}

.hero__headline {
  font-family: var(--font-headline);
  font-weight: 300 !important;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 0.95rem;
  text-shadow:
    0 0 20px rgba(26, 10, 10, 0.4),
    0 2px 4px rgba(26, 10, 10, 0.5);
}

.hero__subline {
  font-family: var(--font-body);
  font-weight: 300 !important;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  color: #1A0A0A;
  line-height: 1.62;
  margin-bottom: 1.65rem;
}

.hero__tags {
  display: inline;
  white-space: nowrap;
  font-size: min(0.86rem, calc((100vw - 3.8rem) / 26.1));
}

.hero__cta-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero__cta-link {
  font-size: 0.875rem;
  color: rgba(255, 248, 236, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.hero__cta-link:hover {
  color: var(--sw-copper);
}

.hero__photo-col {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
  z-index: 1;
}

.hero__photo-wrap {
  position: relative;
  will-change: transform;
  max-width: 420px;
  width: 100%;
  height: 100%;
  display: flex;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__photo-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-height: 520px;
  min-height: 420px;
  box-shadow:
    0 20px 50px rgba(68, 20, 13, 0.15),
    0 0 0 1px rgba(197, 120, 60, 0.1);
  z-index: 5;
}

.hero__photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  transform: scaleX(-1);
  filter: sepia(0.4) contrast(1.05) brightness(1.05) saturate(1.1);
}

.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(197, 120, 60, 0.22);
  z-index: 1;
  pointer-events: none;
}

.hero__eyebrow,
.hero__headline,
.hero__subline,
.hero__cta-wrap,
.hero__photo-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Float animation controls all transforms — only fade the photo in */
.hero__photo-wrap {
  transform: none;
  transition: opacity 0.6s ease;
}

.hero__eyebrow.visible,
.hero__headline.visible,
.hero__subline.visible,
.hero__cta-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__photo-wrap.visible {
  opacity: 1;
}

@media (max-width: 900px) {
  main .hero {
    padding-top: 145px;
    padding-bottom: 3rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-width: 0;
  }

  .hero__content {
    padding: 0.75rem 0 1.5rem;
    max-width: 100%;
    max-height: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border: none;
    border-radius: 0;
    align-items: stretch;
    text-align: center;
    margin: 0;
    min-width: 0;
  }

  .hero__subline {
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 248, 236, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    text-align: center;
  }

  .hero__cta-wrap {
    justify-content: center;
  }

  .hero__photo-col {
    padding: 0 0 2rem;
    justify-content: center;
  }

  .hero__photo-wrap {
    max-width: 300px;
    will-change: auto;
    animation: none;
  }

  .hero__photo-container {
    min-height: 260px;
    max-height: 340px;
  }

  .hero {
    overflow: hidden;
  }

  .hero__video-bg {
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
}

@media (max-width: 480px) {
  .hero__photo-wrap {
    max-width: min(260px, 100%);
  }

  .hero__eyebrow {
    font-size: clamp(3.1rem, 15vw, 3.9rem);
    filter:
      drop-shadow(0 0 20px rgba(252, 246, 186, 0.9))
      drop-shadow(0 0 8px rgba(191, 149, 63, 0.8));
  }

  .hero__headline {
    margin-bottom: 1.4rem;
  }

  .hero__subline {
    font-size: 0.86rem;
    line-height: 1.58;
    margin-bottom: 1.4rem;
    padding: 1.1rem 0.4rem;
  }
}

@media (max-width: 380px) {
  .hero .btn-primary {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   SERVICES SECTION — Light
   ============================================================ */
.services-section {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  position: relative;
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

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

.service-visual-card {
  position: relative;
  cursor: pointer;
  background: rgba(255, 248, 236, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(197, 120, 60, 0.15);
  box-shadow:
    0 8px 40px rgba(68, 20, 13, 0.1),
    0 0 0 1px rgba(197, 120, 60, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 48px rgba(68, 20, 13, 0.12);
}

.service-visual-card__img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

.service-visual-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-visual-card:hover .service-visual-card__img img {
  transform: scale(1.04);
}

.service-visual-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 10, 10, 0.88) 0%, rgba(26, 10, 10, 0.2) 55%, transparent 100%);
  pointer-events: none;
}

.service-visual-card__gv-name {
  position: absolute;
  bottom: 0.875rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--sw-cream);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

.service-visual-card__body {
  padding: 1.25rem 1.375rem 1.375rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-visual-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  flex: 1;
}

.service-visual-card__list li {
  font-size: 0.875rem;
  color: var(--sw-brown);
  padding: 0.28rem 0 0.28rem 1.3rem;
  position: relative;
  line-height: 1.5;
  opacity: 0.85;
}

.service-visual-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.63rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sw-copper);
  opacity: 0.65;
}

.service-visual-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid rgba(197, 120, 60, 0.14);
}

.service-visual-card__price {
  font-size: 0.875rem;
  color: var(--sw-copper);
  font-weight: 500;
}

.service-visual-card__cta {
  font-size: 0.82rem;
  color: var(--sw-copper);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s, gap 0.2s;
}


.service-visual-card__cta:hover {
  color: var(--sw-red);
  gap: 0.45rem;
}

@media (max-width: 1024px) {
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

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

/* ============================================================
   PROCESS SECTION — Light Tint
   ============================================================ */
.process-section {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  position: relative;
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.process-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  width: 100%;
}

.process-step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.1;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  letter-spacing: 0.15em;
  background: linear-gradient(105deg, #8C1C13 40%, #C5783C 50%, #8C1C13 60%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 8s ease-in-out infinite;
}

.process-step__content h3 {
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--sw-brown);
  margin-bottom: 0.35rem;
}

.process-step__content p {
  font-size: 0.95rem;
  color: var(--sw-brown);
  opacity: 0.75;
  line-height: 1.65;
}

.process-connector {
  width: 1px;
  height: 80px;
  margin: 2.5rem auto;
  background: linear-gradient(to bottom, transparent, var(--sw-sand) 30%, var(--sw-sand) 70%, transparent);
  position: relative;
  overflow: hidden;
}

.process-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #ffd700, transparent);
  animation: shimmer-drop 2.5s linear infinite;
}

@keyframes shimmer-drop {
  0% {
    transform: translateY(-28px);
  }

  100% {
    transform: translateY(76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-connector::after {
    animation: none;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
  }
}

.process-step__content {
  width: 100%;
}

.process-step__actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.btn-step {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid var(--sw-red);
  color: var(--sw-red);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  line-height: 1;
  z-index: 50 !important;
}

.btn-step:hover {
  background: linear-gradient(105deg, #8C1C13 40%, #C5783C 50%, #8C1C13 60%);
  background-size: 300% 100%;
  animation: text-shimmer 8s ease-in-out infinite;
  color: var(--sw-cream);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(140, 28, 19, 0.3);
  transform: scale(1.02);
}


/* ============================================================
   ABOUT SECTION — Dark
   ============================================================ */
.about-section {
  position: relative;
  overflow: hidden;
  background-color: var(--sw-dark);
  color: var(--sw-cream);
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 35%, rgba(191, 149, 63, 0.15) 50%, transparent 65%);
  filter: blur(50px);
  will-change: transform;
  transform: translateY(var(--spotlight-offset, 0px));
}

.about-section .section-header__display {
  display: inline-block;
  padding: 0.2em 0.08em;
  line-height: 1.3;
  background: linear-gradient(115deg, #BF953F 20%, #FCF6BA 48%, #B38728 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 12s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(68, 20, 13, 0.2));
}

.contact-section .section-header__display {
  display: inline-block;
  padding: 0.2em 0.08em;
  line-height: 1.3;
  background: linear-gradient(115deg, #BF953F 20%, #FCF6BA 48%, #B38728 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 12s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(68, 20, 13, 0.2));
}

.about-section .section-header__sub {
  color: rgba(255, 248, 236, 0.65);
  opacity: 1;
}

.about-inline__hook {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  color: var(--sw-cream);
  line-height: 1.25;
  margin-bottom: 3rem;
  max-width: 640px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-inline__before {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.about-inline__photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  align-self: stretch;
}

.about-inline__prisonguard {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 4%;
  display: block;
  filter: grayscale(70%);
  transition: filter 1.2s ease;
}

.about-inline__caption {
  display: none;
}

.about-inline__story {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 2.25rem;
  background: rgba(26, 10, 10, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 149, 63, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.about-inline__story p {
  font-size: 1.08rem;
  color: rgba(255, 248, 236, 0.95);
  line-height: 1.8;
}

.about-inline__now {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.about-inline__now-label {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--sw-copper);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.about-inline__now-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.25rem;
}

.about-inline__now-text p {
  font-size: 1rem;
  color: rgba(255, 248, 236, 0.78);
  line-height: 1.8;
}

.about-inline__now-photo {
  position: relative;
}

.about-inline__now-photo img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.about-inline__now-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: rgba(197, 120, 60, 0.12);
  pointer-events: none;
}

.about-section .pull-quote {
  background: transparent;
  padding: 2.5rem 0 0.5rem;
}

.about-section .pull-quote__text {
  font-family: var(--font-headline);
  color: rgba(255, 248, 236, 0.88);
}

.about-section .pull-quote__name {
  font-family: var(--font-headline);
  color: rgba(255, 248, 236, 0.7);
}

.about-section .pull-quote__rule,
.about-section .pull-quote__rule-bottom {
  background: rgba(197, 120, 60, 0.4);
}

.testimonial-carousel {
  position: relative;
  max-width: 796px;
  margin: 0 auto;
  padding: 0 48px;
}

.testimonial-carousel__track {
  position: relative;
  min-height: 280px;
}

.pull-quote--inline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid rgba(191, 149, 63, 0.3);
  color: rgba(191, 149, 63, 0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.testimonial-carousel:hover .carousel-prev,
.testimonial-carousel:hover .carousel-next {
  opacity: 1;
}

.carousel-prev:hover,
.carousel-next:hover {
  border-color: rgba(191, 149, 63, 0.7);
  color: var(--sw-copper);
  background: rgba(191, 149, 63, 0.08);
}

.carousel-prev:focus-visible,
.carousel-next:focus-visible {
  opacity: 1;
  outline: 2px solid var(--sw-copper);
  outline-offset: 3px;
}

.btn-step:focus-visible {
  outline: 2px solid var(--sw-copper);
  outline-offset: 3px;
  border-color: var(--sw-copper);
}

@media (max-width: 600px) {
  .testimonial-carousel {
    padding: 0 36px;
  }

  .testimonial-carousel:hover .carousel-prev,
  .testimonial-carousel:hover .carousel-next {
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .about-inline__before {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-inline__photo {
    height: 460px;
  }

  .about-inline__now {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-inline__now-photo {
    order: -1;
  }
}

/* Tablet 1-column (phablets + small tablets): explicit height + constrained width */
@media (min-width: 600px) and (max-width: 768px) {
  .about-inline__photo {
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
    align-self: start;
  }

  .about-inline__prisonguard {
    object-position: center top;
  }
}

/* Tablet 2-column (medium tablets): just fix object-position, let stretch do its job */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-inline__prisonguard {
    object-position: center top;
  }
}

/* ============================================================
   WORK SECTION — Light
   ============================================================ */
.work-section {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  position: relative;
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

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

.work-section .portfolio-card {
  background: rgba(255, 248, 236, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 120, 60, 0.15);
  box-shadow: 0 4px 24px rgba(68, 20, 13, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-section .portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(68, 20, 13, 0.12);
}

.portfolio-card--soon {
  opacity: 0.65;
}

.portfolio-card__screenshot--placeholder {
  background: linear-gradient(135deg, var(--sw-sand) 0%, rgba(197, 120, 60, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}

.portfolio-card__screenshot--placeholder span {
  font-size: 0.75rem;
  color: var(--sw-brown);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
  padding: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .portfolio-strip__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   CONTACT SECTION — Dark
   ============================================================ */
.contact-section {
  position: relative;
  overflow: hidden;
  background-color: var(--sw-dark);
  color: var(--sw-cream);
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 4rem;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, transparent 35%, rgba(191, 149, 63, 0.15) 50%, transparent 65%);
  filter: blur(50px);
  will-change: transform;
  transform: translateY(var(--spotlight-offset, 0px));
}

.contact-section .section-header__display {
  display: inline-block;
  padding: 0.2em 0.08em;
  line-height: 1.3;
  background: linear-gradient(115deg, #BF953F 20%, #FCF6BA 48%, #B38728 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 12s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(68, 20, 13, 0.2));
}

.contact-section .section-header__sub {
  color: rgba(255, 248, 236, 0.65);
  opacity: 1;
}

.contact-inline__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-inline__primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-inline__label {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--sw-copper);
  display: block;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
}

.contact-inline__desc {
  font-size: 0.95rem;
  color: rgba(255, 248, 236, 0.7);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-inline__photo {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  max-height: 320px;
}

.contact-inline__photo img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center 75%;
  display: block;
  opacity: 0.85;
  border-radius: 12px;
}

.contact-inline__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(197, 120, 60, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

/* Contact form — dark styling */
.contact-inline__form {
  background: rgba(26, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(191, 149, 63, 0.1);
  border-radius: 10px;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-section .contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-section .form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 248, 236, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section .form-field input,
.contact-section .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--sw-cream);
  background: rgba(255, 248, 236, 0.03);
  border: 1px solid rgba(191, 149, 63, 0.15);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  outline: none;
}

.contact-section .form-field input:focus,
.contact-section .form-field textarea:focus {
  border-color: var(--sw-copper);
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.25);
}

.contact-section .form-field input::placeholder,
.contact-section .form-field textarea::placeholder {
  color: rgba(255, 248, 236, 0.3);
}

.contact-form .btn-primary {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-inline__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   DESIGN ENHANCEMENT LAYER
   ============================================================ */
@keyframes text-shimmer {

  0%,
  100% {
    background-position: 200% center;
  }

  50% {
    background-position: -100% center;
  }
}

.services-section .section-header__display,
.process-section .section-header__display,
.work-section .section-header__display,
.retainer-section .section-header__display,
.faq-section .section-header__display {
  display: inline-block;
  padding: 0.5em 0.12em 0.2em;
  line-height: 1.3;
  background: linear-gradient(105deg, #8C1C13 40%, #C5783C 50%, #8C1C13 60%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 8s ease-in-out infinite;
}

.section-divider {
  display: none;
}

/* ============================================================
   SURGICAL SEAMS — standalone transition divs between sections
   ============================================================ */

/* ============================================================
   SUPER-LIFT SHIELD — content above shimmer, images fully protected
   ============================================================ */
.hero__layout,
.container,
.service-visual-card,
.portfolio-card,
.about-inline__story {
  position: relative !important;
  z-index: 10 !important;
  transform: translateZ(0);
  will-change: transform;
}

img,
.hero__photo-container {
  position: relative !important;
  z-index: 20 !important;
}

/* ---- Mobile: neutralise SUPER-LIFT SHIELD compositor layers ----
   The SUPER-LIFT SHIELD above applies transform: translateZ(0) + will-change: transform
   to all listed elements globally. On iOS WebKit and Android Chrome, these GPU compositor
   layers get mis-positioned on narrow viewports, causing the entire page to shift
   horizontally. This rule MUST appear after the SUPER-LIFT SHIELD to win by source order. */
@media (max-width: 900px) {
  .hero__layout,
  .container,
  .service-visual-card,
  .portfolio-card,
  .about-inline__story {
    transform: none;
    will-change: auto;
  }
}

@keyframes gold-sweep {
  to {
    background-position: 200% center;
  }
}

/* Single left-to-right sweep — one bright pass per cycle, no reversal double-flash */
@keyframes hero-shimmer {
  from { background-position: 200% center; }
  to   { background-position: -100% center; }
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 236, 0.05)  0%,
    rgba(255, 248, 236, 0.08) 42%,
    rgba(255, 248, 236, 0.42) 64%,
    rgba(255, 248, 236, 0.85) 83%,
    rgba(255, 248, 236, 1.00) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* ---- Mobile: prevent hero__video-bg GPU layer from promoting .hero as compositor ----
   The base rule above sets transform:translateZ(0) for smooth desktop compositing.
   On mobile, this forces overflow:hidden on .hero to implicitly promote .hero itself
   to a compositor layer — which lands at a slightly wrong position on narrow phones
   (360-393px), shifting all hero text content to the right.
   This block MUST appear after the base rule to win by source order. */
@media (max-width: 900px) {
  .hero__video-bg {
    transform: none;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }
}

/* ============================================================
   RETAINER SECTION — Light
   ============================================================ */
.retainer-section {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  position: relative;
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.retainer-section__intro {
  font-size: 1rem;
  color: var(--sw-brown);
  opacity: 0.7;
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
}

.retainer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.retainer-card {
  background: rgba(255, 248, 236, 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(197, 120, 60, 0.15);
  box-shadow:
    0 8px 40px rgba(68, 20, 13, 0.08),
    0 0 0 1px rgba(197, 120, 60, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.retainer-card--featured {
  border-color: rgba(197, 120, 60, 0.35);
  box-shadow:
    0 8px 40px rgba(68, 20, 13, 0.12),
    0 0 0 1px rgba(197, 120, 60, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.retainer-card__header {
  margin-bottom: 1.25rem;
}

.retainer-card__tier {
  display: block;
  margin-bottom: 0.5rem;
}

.retainer-card__price {
  font-family: var(--font-headline);
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--sw-brown);
  line-height: 1;
}

.retainer-card__period {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--sw-brown);
  opacity: 0.6;
}

.retainer-card__list {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0 0 1.25rem;
  flex: 1;
  border-top: 1px solid rgba(197, 120, 60, 0.14);
}

.retainer-card__list li {
  font-size: 0.875rem;
  color: var(--sw-brown);
  padding: 0.3rem 0 0.3rem 1.3rem;
  position: relative;
  line-height: 1.55;
  opacity: 0.85;
}

.retainer-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sw-copper);
  opacity: 0.65;
}

.retainer-card__fit {
  font-size: 0.8rem;
  color: var(--sw-brown);
  opacity: 0.55;
  font-style: italic;
  line-height: 1.5;
  margin-top: 1rem;
  padding-top: 0;
}

.retainer-addon {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.75rem;
  background: rgba(197, 120, 60, 0.06);
  border: 1px solid rgba(197, 120, 60, 0.18);
  border-radius: 10px;
}

.retainer-addon__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sw-copper);
  margin-bottom: 0.5rem;
}

.retainer-addon__desc {
  font-size: 0.875rem;
  color: var(--sw-brown);
  opacity: 0.75;
  line-height: 1.65;
  margin: 0;
}

.retainer-terms {
  font-size: 0.875rem;
  color: var(--sw-brown);
  opacity: 0.6;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  line-height: 1.65;
}

.retainer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.retainer-cta__link {
  font-size: 0.875rem;
  color: var(--sw-copper);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.retainer-cta__link:hover {
  color: var(--sw-red);
}

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

/* ============================================================
   FAQ SECTION — Light
   ============================================================ */
.faq-section {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  position: relative;
  margin: 0 !important;
  border: none !important;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(197, 120, 60, 0.14);
}

.faq-item:first-child {
  border-top: 1px solid rgba(197, 120, 60, 0.14);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--sw-brown);
  line-height: 1.45;
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sw-copper);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.35s ease, color 0.2s ease;
  display: inline-block;
}

.accord-item.is-open .faq-item__question::after {
  transform: rotate(45deg);
  color: var(--sw-red);
}

.faq-item__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.accord-item.is-open .faq-item__body {
  max-height: 320px;
}

.faq-item__answer {
  font-size: 0.95rem;
  color: var(--sw-brown);
  opacity: 0.72;
  line-height: 1.75;
  margin: 0;
  padding: 0.75rem 0 0.5rem;
}

.retainer-card,
.retainer-addon,
.faq-item {
  position: relative !important;
  z-index: 10 !important;
  transform: translateZ(0);
}

.service-visual-card__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--sw-brown);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .contact-inline__form { padding: 1.5rem 1.25rem; }
  .testimonial-carousel__track { min-height: 220px; }
}

/* ---- Mobile: reduce section vertical padding ---- */
@media (max-width: 768px) {
  .services-section,
  .process-section,
  .about-section,
  .work-section,
  .retainer-section,
  .faq-section,
  .contact-section,
  .soulwaves-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
}

/* ---- Parallax rise: dark section content slides up into view ---- */
.about-section.will-rise > .container,
.contact-section.will-rise > .container {
  opacity: 0;
  transform: translateY(80px);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.about-section.is-risen > .container,
.contact-section.is-risen > .container {
  opacity: 1;
  transform: translateY(0);
}

