/* ============================================
   DESIGN SYSTEM — SAMUEL MENDES · PORTFOLIO
   Editorial Monochromatic · Inter Only
   ============================================ */

:root {
  /* Colors */
  --font-serif: 'DM Serif Display', serif;
  --text-primary: #F2F0EB;
  --text-secondary: #C8C4BC;
  /* bumped up from B8 */
  --text-muted: #8A8680;
  /* bumped up from 6B */
  --surface-page: #0D0D0C;
  --surface-card: #141312;
  --surface-alt: #111110;
  --surface-elevated: #1C1A18;

  /* Accent — electric purple (contrast color) */
  --accent-warm: #6617FF;
  --accent-warm-dim: rgba(102, 23, 255, 0.12);

  /* Neutral UI accents */
  --accent: #C8C4BC;
  --accent-bright: #E0DDD8;
  --accent-dim: rgba(200, 196, 188, 0.15);

  /* Gradients */
  --grad-accent: linear-gradient(90deg, #A8A29A, #D8D4CE);
  --grad-accent-135: linear-gradient(135deg, #A8A29A, #D8D4CE);

  /* Borders */
  --border-default: #2A2826;
  --border-subtle: #201F1D;
  --border-focus: #6617FF;

  /* Legacy tokens */
  --action-primary: #E0DDD8;
  --action-primary-hover: #F2F0EB;

  /* Core brand fonts */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'DM Serif Display', serif;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-full: 9999px;

  /* Transitions */
  --t-fast: 200ms ease;
  --t-med: 300ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--surface-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* em: default styling — used for non-title accents */
em {
  font-style: italic;
  color: var(--text-primary);
  font-family: var(--font);
}

/* Titles: no italic, pure white only */
h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--text-primary);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
  border-top: 1px solid var(--border-subtle);
}

.section--dark {
  background: var(--surface-card);
}

.section--alt {
  background: var(--surface-alt);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

.section__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(102, 23, 255, 0.2);
  border: 1.5px solid var(--accent-warm);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-6);
  font-family: var(--font);
  display: inline-block;
}

.section__label--gold {
  background: transparent;
  border-color: #C9A84C;
  color: #C9A84C;
}

.section__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.section__body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-weight: 500;
  border: none;
  cursor: pointer;
  border-radius: var(--r-full);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary — light fill, dark text */
.btn--primary {
  background: var(--accent-bright);
  color: #0D0D0C;
  padding: var(--sp-3) var(--sp-8);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(200, 196, 188, 0.12);
}

.btn--primary:hover {
  background: #F0EEE9;
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 0 36px rgba(200, 196, 188, 0.22);
}

.btn--primary:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Secondary — gray border */
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  padding: var(--sp-3) var(--sp-8);
  font-size: 0.95rem;
  border: 1px solid var(--border-default);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.9rem;
}

.btn--ghost:hover {
  color: var(--text-primary);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-6);
  font-size: 0.85rem;
}

.btn--lg {
  padding: var(--sp-4) var(--sp-12);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-3) 0;
  background: rgba(13, 13, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t-med);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.nav__logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--t-fast);
}

.nav__logo-link:hover .nav__logo-img {
  opacity: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--t-fast);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text-primary);
}

.btn--nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0D0D0C;
  background: var(--accent-bright);
  border-radius: var(--r-full);
  padding: 8px var(--sp-6);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(200, 196, 188, 0.1);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.btn--nav-cta:hover {
  transform: scale(1.03) translateY(-1px);
  background: #F0EEE9;
  box-shadow: 0 0 28px rgba(200, 196, 188, 0.2);
  color: #0D0D0C;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  padding: calc(var(--sp-24) + 80px) 0 var(--sp-24);
  text-align: center;
  position: relative;
}

/* ── Hero Photo Split (portfolio variant) ── */
.hero--split {
  text-align: left;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% top;
  transform-origin: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg,
      rgba(13, 13, 12, 0.97) 0%,
      rgba(13, 13, 12, 0.90) 42%,
      rgba(13, 13, 12, 0.45) 68%,
      rgba(13, 13, 12, 0.08) 100%);
}

.hero--split .container {
  position: relative;
  z-index: 2;
}

.hero--split .hero__content {
  max-width: 560px;
  padding: calc(var(--sp-24) + 80px) 0 var(--sp-24);
}

@media (max-width: 768px) {
  .hero--split {
    min-height: 100svh;
  }

  .hero__overlay {
    background: rgba(13, 13, 12, 0.88);
  }

  .hero--split .hero__content {
    max-width: 100%;
  }
}

.hero__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(102, 23, 255, 0.2);
  border: 2px solid var(--accent-warm);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-6);
  margin-bottom: var(--sp-8);
}

.hero__headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero--split .hero__headline {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.6;
}

.hero__body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-12);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero--split .hero__cta {
  justify-content: flex-start;
}

.hero__video-wrap {
  width: 100%;
  max-width: 360px;
  margin: 0 auto var(--sp-8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__video {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  animation: videoFadeIn 1.2s ease forwards;
}

@keyframes videoFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__line {
  width: 1px;
  height: 80px;
  background: var(--border-default);
  margin: var(--sp-16) auto 0;
}

/* ============================================
   ABOUT ME — MANIFESTO
   ============================================ */

.about-me__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-16);
  align-items: start;
}

.about-me__photo-wrap {
  position: sticky;
  top: 120px;
}

.about-me__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-lg);
  opacity: 0.95;
  transition: opacity var(--t-med);
}

.about-me__photo:hover {
  opacity: 1;
}

.about-me__content {
  padding-top: var(--sp-4);
}

.about-me__body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
}

.about-me__manifesto {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* ============================================
   EXPERTISE GRID
   ============================================ */

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.expertise__item {
  background: var(--surface-card);
  border: 1px solid rgba(102, 23, 255, 0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  transition: transform var(--t-med), box-shadow var(--t-med);
  position: relative;
}

.expertise__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(102, 23, 255, 0.2);
}

.expertise__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--accent-warm-dim);
  color: var(--accent-warm);
  margin-bottom: var(--sp-6);
}

.expertise__num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.expertise__item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
  color: var(--text-primary);
}

.expertise__item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   APPROACH / DIFERENCIAL
   ============================================ */

.approach__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}


.approach__lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.approach__secondary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.approach__list {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.approach__list-item {
  display: flex;
  align-items: stretch;
  gap: var(--sp-6);
}

.approach__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 12px;
}

.approach__step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-warm);
  z-index: 2;
  margin-top: 4px;
}

.approach__step-line {
  width: 2px;
  flex: 1;
  background: var(--border-default);
  margin-top: 4px;
  margin-bottom: -16px;
  /* Connects with next padding */
}

.approach__content {
  display: flex;
  flex-direction: column;
  padding-bottom: var(--sp-8);
}

.approach__list-item:last-child .approach__content {
  padding-bottom: 0;
}

.approach__list-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.approach__list-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   CASES — BEFORE / AFTER SLIDER
   ============================================ */

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding: 0 var(--sp-6);
  margin-top: var(--sp-12);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--surface-bg);
}

.case__item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-card);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-slider__after {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.ba-slider__line {
  width: 2px;
  height: 100%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px rgba(200, 196, 188, 0.3);
}

.ba-slider__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #0D0D0C;
  box-shadow: 0 0 20px rgba(200, 196, 188, 0.25), 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.ba-slider__label {
  position: absolute;
  bottom: var(--sp-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  background: rgba(13, 13, 12, 0.7);
  backdrop-filter: blur(6px);
  color: var(--text-muted);
  z-index: 4;
}

.ba-slider__label--before {
  left: var(--sp-3);
}

.ba-slider__label--after {
  right: var(--sp-3);
  background: rgba(200, 196, 188, 0.12);
  color: var(--accent-bright);
  z-index: 5;
}

.case__caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
  padding: var(--sp-4) var(--sp-3);
  background: var(--surface-card);
}

.case__caption strong {
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cases__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .case__item {
    border: 1px solid var(--border-subtle);
  }
}

/* Expand button */
.ba-slider__expand {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  z-index: 10;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(13, 13, 12, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}

.ba-slider:hover .ba-slider__expand {
  opacity: 1;
  transform: scale(1);
}

.ba-slider__expand:hover {
  background: rgba(200, 196, 188, 0.1);
  border-color: var(--accent);
  color: var(--text-primary);
}

/* Lightbox Modal */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  pointer-events: none;
  visibility: hidden;
}

.case-modal.is-open {
  pointer-events: all;
  visibility: visible;
}

.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 4, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-modal.is-open .case-modal__backdrop {
  opacity: 1;
}

.case-modal__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  transform: scale(0.93) translateY(16px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.case-modal.is-open .case-modal__inner {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.case-modal__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-card);
  position: relative;
  z-index: 10;
}

.case-modal__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.case-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.case-modal__close:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.ba-slider--modal {
  flex: 1;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  min-height: 0;
  border-radius: 0;
  border: none;
  cursor: col-resize;
}

@media (max-width: 600px) {
  .ba-slider--modal {
    aspect-ratio: 4 / 3;
  }
}

/* ============================================
   SNAPSHOTS MARQUEE — Infinite Fullwidth Loop
   ============================================ */

.marquee-container {
  margin-top: var(--sp-20);
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--surface-bg);
}

.marquee-track {
  display: flex;
  gap: var(--sp-4);
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-track:hover {
    animation-play-state: paused;
  }
}

.marquee-item {
  width: 400px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.marquee-item img,
.marquee-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.marquee-item:hover img,
.marquee-item:hover video {
  transform: scale(1.03);
}

.marquee-modal__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-bg);
  width: 100%;
  height: 100%;
  min-height: 50vh;
}

.marquee-modal__content img,
.marquee-modal__content video {
  max-width: 100%;
  max-height: 95vh;
  object-fit: contain;
  display: block;
  border-radius: var(--r-md);
}

.marquee-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-elevated);
  color: var(--border-default);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    /* 
      100% of the entire track. 
      Since we duplicated 6 items -> 12 items.
      We want to shift by exactly half the track width (the 6 original items)
    */
    transform: translateX(calc(-50% - (var(--sp-4) / 2)));
  }
}

@media (max-width: 768px) {
  .marquee-item {
    width: 180px;
  }

  .marquee-container {
    margin-top: var(--sp-12);
    padding: var(--sp-6) 0;
  }
}

/* ============================================
   WHO IT'S FOR
   ============================================ */

.for__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

.for__col {
  border-radius: var(--r-lg);
  padding: var(--sp-8);
}

.for__col--yes {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.for__col--no {
  background: transparent;
  border: 1px solid var(--border-subtle);
  opacity: 0.65;
}

.for__col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

.for__col--yes .for__col-label {
  color: var(--text-primary);
  background: rgba(102, 23, 255, 0.2);
  border: 2px solid var(--accent-warm);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  display: inline-block;
}

.for__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.for__list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: var(--sp-6);
  position: relative;
  line-height: 1.5;
}

.for__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-warm);
  font-weight: 700;
}

.for__list--no li::before {
  content: '✕';
  color: var(--text-muted);
}

/* ============================================
   FEATURED SERVICE — REBRAND SPRINT 15D
   ============================================ */

.service__card {
  max-width: 760px;
  margin: var(--sp-12) auto 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-12);
  align-items: center;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}

.service__card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 60px rgba(200, 196, 188, 0.04);
}

.service__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.service__name {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--sp-6);
}

.service__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 480px;
}

.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.service__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 4px 12px;
}

.service__price-block {
  text-align: center;
  flex-shrink: 0;
  padding: var(--sp-8);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  min-width: 180px;
}

.service__price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}

.service__price {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}

.service__price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.5;
}

.service__deadline {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
}

/* ============================================
   PERSONAL INSIGHT / QUOTE
   ============================================ */

.insight__inner {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
}

.insight__quote {
  font-size: 8rem;
  line-height: 0.6;
  color: var(--border-default);
  font-family: Georgia, serif;
  flex-shrink: 0;
  opacity: 0.6;
}

.insight__text {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.insight__body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.insight__author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  text-align: center;
}

/* ============================================
   CONTACT FORM — multi-step
   ============================================ */

.cta-form__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: start;
  text-align: left;
  margin-top: var(--sp-12);
}

.cta-form__intro {
  /* left column — stays sticky */
  position: sticky;
  top: 100px;
}

.form-wrapper {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
}

.form-progress {
  height: 2px;
  background: var(--border-default);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
  overflow: hidden;
}

.form-progress__bar {
  height: 100%;
  background: var(--accent-warm);
  border-radius: var(--r-full);
  width: 25%;
  transition: width 0.4s ease;
}

.form-progress__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
}

.form-step {
  display: none;
  animation: fadeSlide 0.3s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step__question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-primary);
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.form-option {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Form option hover / selected — purple accent */
.form-option:hover {
  border-color: rgba(102, 23, 255, 0.35);
  color: var(--text-primary);
  background: rgba(102, 23, 255, 0.05);
}

.form-option input[type="radio"] {
  display: none;
}

.form-option.selected {
  border-color: rgba(102, 23, 255, 0.55);
  background: rgba(102, 23, 255, 0.08);
  color: var(--text-primary);
}

.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
  outline: none;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(102, 23, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(102, 23, 255, 0.08);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-12) 0;
  animation: fadeSlide 0.4s ease;
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(102, 23, 255, 0.1);
  border: 1px solid rgba(102, 23, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto var(--sp-6);
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .cta-form__layout {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .cta-form__intro {
    position: static;
  }
}

.final-cta__video-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto var(--sp-8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.final-cta__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

.final-cta__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-8);
  line-height: 1.7;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.final-cta__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__brand {
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */

.wa-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-full);
  padding: var(--sp-3) var(--sp-4);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  backdrop-filter: blur(8px);
}

.wa-float:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.wa-float__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #65B96C;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service__card {
    grid-template-columns: 1fr;
  }

  .service__price-block {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero__bg img {
    object-position: 56% top;
  }

  .about-me__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .about-me__photo-wrap {
    position: static;
    max-width: 320px;
    margin: 0 auto;
  }

  .approach__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .for__grid {
    grid-template-columns: 1fr;
  }

  .expertise__grid {
    grid-template-columns: 1fr;
  }

  .hero__cta {
    flex-direction: column;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  #portfolio.section {
    padding-bottom: var(--sp-8);
  }

  #insight.section {
    padding: var(--sp-12) 0;
  }

  .insight__inner {
    flex-direction: column;
    gap: 0;
  }

  .insight__quote {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: -1rem;
  }
}

@media (max-width: 480px) {
  .hero__tag {
    max-width: 60%;
  }

  .hero__headline {
    font-size: 2.4rem;
  }

  .section__headline {
    font-size: 1.8rem;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 12, 0.98);
    backdrop-filter: blur(16px);
    padding: var(--sp-6) 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav__links.is-open {
    display: flex;
  }

  .wa-float__text {
    display: none;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

@media (pointer: fine) {

  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent-bright);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, opacity 0.2s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(200, 196, 188, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.2s;
}

body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-bright);
}

body.cursor-hover .cursor-ring {
  width: 44px;
  height: 44px;
  border-color: rgba(200, 196, 188, 0.25);
}

body.cursor-text .cursor-dot {
  width: 2px;
  height: 20px;
  border-radius: 2px;
  background: var(--accent-bright);
}

body.cursor-text .cursor-ring {
  opacity: 0;
}

body.cursor-click .cursor-dot {
  transform: translate(-50%, -50%) scale(0.7);
}

body.cursor-click .cursor-ring {
  transform: translate(-50%, -50%) scale(0.85);
  border-color: rgba(200, 196, 188, 0.6);
}

/* ============================================
   NAV MOBILE HAMBURGER
   ============================================ */

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-muted);
  transition: background var(--t-fast);
}

.nav__hamburger:hover span {
  background: var(--text-primary);
}

@media (max-width: 480px) {
  .nav__hamburger {
    display: flex;
  }
}

/* ============================================
   INVESTMENT CARD (REBRAND SPRINT IDENTITY)
   ============================================ */

/* Sprint Section Two-Column Layout */
.sprint-headline em {
  font-family: var(--font-serif) !important;
  background: linear-gradient(90deg, #C9A84C, #E8C96A) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

.sprint-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-12);
  align-items: start;
}

.sprint-layout__intro {
  position: sticky;
  top: 100px;
}

.sprint-layout__video {
  margin-top: var(--sp-8);
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.sprint-layout__video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

@media (max-width: 900px) {
  .sprint-layout {
    grid-template-columns: 1fr;
  }

  .sprint-layout__intro {
    position: static;
  }

  .sprint-layout__video {
    margin: var(--sp-8) auto 0;
  }
}

.invest__card {
  --accent-gold: #C9A84C;
  --accent-gold-light: #E8C96A;
  --accent-gold-dim: rgba(201, 168, 76, 0.15);
  --grad-accent-gold: linear-gradient(90deg, #C9A84C, #E8C96A);

  width: 100%;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  padding: var(--sp-12);
  text-align: left;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .invest__card {
    padding: var(--sp-8);
  }
}

.invest__card:hover {
  border-color: rgba(201, 168, 76, 0.2);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.07), 0 0 30px rgba(201, 168, 76, 0.04);
}

.invest__card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.invest__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-accent-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-6);
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 0;
}

.invest__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  padding: 1px;
  background: var(--grad-accent-gold);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  z-index: -1;
}

.invest__value-compare {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-left: 2px solid var(--accent-gold-dim);
  padding-left: var(--sp-4);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.invest__value-compare strong {
  color: var(--accent-gold-light);
}

.invest__includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  text-align: left;
}

@media (max-width: 600px) {
  .invest__includes {
    grid-template-columns: 1fr;
  }
}

.invest__include {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-card);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.invest__include-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

/* BONUS block */
.invest__bonus {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  text-align: left;
}

.invest__bonus-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.invest__bonus-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-accent-gold);
  color: #0A0906;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  padding: 3px 10px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}

.invest__bonus-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2) var(--sp-4);
}

@media (max-width: 600px) {
  .invest__bonus-list {
    grid-template-columns: 1fr;
  }
}

.invest__bonus-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.invest__bonus-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--accent-gold);
}

.invest__cta {
  width: 100%;
  margin-bottom: var(--sp-4);
  /* Override default btn--primary to match index.html gold button */
  background: var(--grad-accent-gold) !important;
  color: #0A0906 !important;
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.3), 0 0 48px rgba(201, 168, 76, 0.1) !important;
}

.invest__cta:hover {
  background: linear-gradient(90deg, #E8C96A, #F2DFA0) !important;
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 0 36px rgba(201, 168, 76, 0.5), 0 0 72px rgba(201, 168, 76, 0.15) !important;
  filter: brightness(1.05);
}

.invest__disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}