@import './fonts.css';

:root {
  --color-dark: #171717;
  --color-light: #f0eee9;
  --color-card: #282828;
  --color-card-alt: #1a1a1a;
  --color-border: rgba(0, 0, 0, 0.12);
  --color-border-light: rgba(240, 238, 233, 0.15);
  --font-pangram: 'PPPangramSans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-neue: 'PPNeue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--color-dark);
  color: var(--color-light);
  font-family: var(--font-neue);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  background-color: var(--color-dark);
  color: var(--color-light);
  overflow-x: hidden;
  position: relative;
  width: 100vw;
  min-height: 100vh;
}

/* Typography Utilities */
.font-pangram {
  font-family: var(--font-pangram);
}

.font-neue {
  font-family: var(--font-neue);
}

.hero-copy {
  font-family: var(--font-pangram);
  font-size: clamp(2.75rem, 6.5vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-subcopy {
  font-family: var(--font-neue);
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.js-category-title {
  font-family: var(--font-pangram);
  font-size: clamp(3rem, 8vw, 8.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

/* Word-by-word reveal wrapper */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}

.word-inner {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  will-change: transform, opacity;
  line-height: inherit;
}

a, button {
  color: inherit;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Preloader / Lumos Intro */
.lumos-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-dark);
  color: var(--color-light);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.lumos-text {
  font-family: var(--font-pangram);
  font-size: 18vw;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--color-light);
  display: flex;
  overflow: hidden;
  padding: 0 1.5rem;
}

.lumos-char {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform, opacity;
}

/* Header & Nav */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  color: #ffffff;
  mix-blend-mode: difference;
  z-index: 70;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .main-header {
    padding: 2rem 4rem;
  }
}

.main-nav {
  display: flex;
  width: 100%;
  align-items: center;
}

.nav-left {
  flex: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
  color: inherit;
}

.brand-logo-svg {
  height: 28px;
  width: auto;
  display: block;
  fill: currentColor;
}

@media (min-width: 768px) {
  .brand-logo-svg {
    height: 32px;
  }
}

.logo:hover {
  transform: scale(1.04);
}

.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-links {
  display: none;
  gap: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link-btn {
  opacity: 0;
  transform: translateY(10px);
  position: relative;
  padding-bottom: 2px;
  text-transform: capitalize;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.nav-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: currentColor;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link-btn:hover::after {
  width: 100%;
}

.btn-book-call {
  opacity: 0;
  transform: translateY(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid currentColor;
  font-family: var(--font-neue);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  margin-left: 0.5rem;
}

.btn-book-call:hover {
  background-color: #ffffff;
  color: #171717;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Fullscreen Menu Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-dark);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.mobile-menu-link {
  font-family: var(--font-pangram);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--color-light);
  letter-spacing: -0.03em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-link:hover {
  transform: scale(1.05);
  color: #ffffff;
}

/* Main Content Layer */
.content-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--color-dark);
  margin-bottom: 100vh; /* Space to reveal fixed footer underneath */
  border-radius: 0 0 1.5rem 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  background-color: var(--color-dark);
  z-index: 20;
}

.hero-stage-1 {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  will-change: transform;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 4rem;
  }
}

.hero-title {
  color: #ffffff;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

/* Red Highlighter Stroke Highlight */
.highlight-wrap {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.highlight-word {
  position: relative;
  z-index: 3;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.highlighter-stroke {
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  bottom: 0.04em;
  width: calc(100% + 0.24em);
  height: 0.65em;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}

.highlighter-stroke path {
  stroke: #ff2a4b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
  opacity: 0.88;
  filter: drop-shadow(0 2px 8px rgba(255, 42, 75, 0.4));
}

.hero-subrow {
  display: flex;
  width: 100%;
  margin-top: 1.5rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-subtitle {
  color: #ffffff;
  max-width: 32ch;
  line-height: 1.15;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  text-align: left;
}

.hero-cta-wrap {
  display: flex;
  margin-top: 2.25rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-get-in-touch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.4rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #171717;
  font-family: var(--font-pangram);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  opacity: 1;
  position: relative;
  z-index: 20;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-get-in-touch-btn .hero-btn-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.15em;
  line-height: 1;
  font-weight: 800;
}

.hero-get-in-touch-btn:hover {
  background: #f0eee9;
  color: #000000;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-get-in-touch-btn:hover .hero-btn-arrow {
  transform: translate(3px, -3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  color: #ffffff;
  font-family: var(--font-neue);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  z-index: 10;
}

@media (min-width: 768px) {
  .scroll-indicator {
    bottom: 3rem;
    right: 4rem;
  }
}

/* Hero Stage 2 - Narrative & Pillars */
.hero-stage-2 {
  min-height: 100vh;
  min-height: 100lvh;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .hero-stage-2 {
    padding: 5rem 4rem 4rem;
  }
}

.narrative-text {
  width: 100%;
  max-width: none;
  line-height: 1.15;
  font-weight: 500;
  color: var(--color-light);
  text-align: left;
}

.narrative-indent {
  display: none !important;
}

.hero-divider {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  border: none;
  border-top: 1px solid rgba(240, 238, 233, 0.15);
  width: 100%;
}

.pillars-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .pillars-row {
    flex-direction: row;
  }
}

.pillars-spacer {
  flex: 1;
}

.pillars-content {
  flex: 1;
  max-width: 50ch;
}

.pillar-item {
  margin-bottom: 2.5rem;
}

.pillar-title {
  font-family: var(--font-pangram);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--color-light);
}

.pillar-desc {
  font-family: var(--font-neue);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(240, 238, 233, 0.8);
}

/* Full Bleed Media Section */
.full-bleed-media {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.full-bleed-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

/* Selected Works Section */
.work-section {
  background-color: var(--color-light);
  color: var(--color-dark);
  min-height: 100vh;
  padding-top: 6rem;
  position: relative;
  z-index: 10;
}

.work-header-row {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .work-header-row {
    flex-direction: row;
    padding: 0 4rem;
  }
}

.work-header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-down-arrow {
  display: none;
  font-size: 6.5rem;
  line-height: 1;
  margin-top: auto;
  user-select: none;
}

@media (min-width: 768px) {
  .work-down-arrow {
    display: block;
  }
}

.work-header-right {
  flex: 1;
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .work-header-right {
    padding-top: 0;
  }
}

.work-subcopy {
  margin-bottom: 1.25rem;
}

.work-tagline {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.work-body-p {
  max-width: 45ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(23, 23, 23, 0.8);
}

/* Project List & Accordion Rows */
.projects-container {
  margin-top: 6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
  background-color: var(--color-dark);
}

.project-row {
  position: relative;
  width: 100%;
  height: 5.5rem;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(240, 238, 233, 0.15);
  background-color: var(--color-light);
  cursor: pointer;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-row:last-child {
  border-bottom: none;
}

.project-row-base {
  position: absolute;
  inset: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: var(--color-light);
  z-index: 1;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .project-row-base {
    padding: 0 4rem;
  }
}

.project-name {
  font-family: var(--font-neue);
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.project-tags {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .project-tags {
    display: flex;
  }
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(0, 0, 0, 0.08);
  color: #000000;
  border-radius: 2px;
}

.project-row-hover {
  position: absolute;
  inset: 0;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: var(--color-card-alt);
  color: #ffffff;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .project-row-hover {
    padding: 0 4rem;
  }
}

.project-row-hover.bg-alt {
  background-color: var(--color-card);
}

.project-row-hover .project-name-hover {
  font-family: var(--font-pangram);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.project-row-hover .tag-badge {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.project-row:hover .project-row-hover {
  transform: translateY(0%);
}

@media (min-width: 768px) {
  .project-row:hover {
    height: 7rem;
  }
}

/* Floating Project Flair Preview */
.project-flair {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 32vw;
  max-width: 460px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transform: scale(0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-flair.active {
  opacity: 1;
  transform: scale(1);
}

.project-flair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Straight Infinite Marquee Transition Section */
.marquee-transition-section {
  position: relative;
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: 4.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .marquee-transition-section {
    padding: 6rem 0;
  }
}

.straight-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  display: flex;
}

.straight-marquee-wrapper:active {
  cursor: grabbing;
}

.straight-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
  animation: marqueeRightToLeft 25s linear infinite;
  will-change: transform;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-pangram);
  font-size: clamp(2.5rem, 5vw, 4.85rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  flex-shrink: 0;
}

.marquee-item::after {
  content: '—';
  font-weight: 400;
  color: rgba(23, 23, 23, 0.35);
}

@keyframes marqueeRightToLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-100% - 3.5rem), 0, 0);
  }
}

/* Services Section */
.services-section {
  min-height: 100vh;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 6rem 1.5rem 5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .services-section {
    padding: 7rem 4rem 6rem;
  }
}

.services-top-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-top-row {
    flex-direction: row;
    gap: 4rem;
  }
}

.services-title-col {
  flex: 1;
}

.services-intro-col {
  flex: 1;
  max-width: 50ch;
}

.services-reel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 5rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .services-reel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-reel {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  position: relative;
  height: 100%;
  min-height: 400px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(4rem, 6.5vw, 5.5rem);
  line-height: 1;
  color: rgba(240, 238, 233, 0.04);
  pointer-events: none;
  user-select: none;
}

.service-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
  min-height: 3rem;
  display: flex;
  align-items: flex-start;
}

.service-card-tagline {
  font-family: var(--font-neue);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(240, 238, 233, 0.75);
  line-height: 1.4;
  min-height: 2.75rem;
}

.service-card-list {
  position: relative;
  z-index: 2;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: auto;
}

.service-card-list li {
  font-family: var(--font-neue);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(240, 238, 233, 0.85);
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Call to Action ("Ready to Start?") */
.cta-section {
  min-height: 75vh;
  min-height: 75dvh;
  background-color: var(--color-light);
  color: var(--color-dark);
  padding: 6rem 1.5rem 4rem;
  border-radius: 0 0 1.5rem 1.5rem;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 7rem 4rem 6rem;
  }
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .cta-row {
    flex-direction: row;
    gap: 0;
  }
}

.cta-left {
  flex: 1;
}

.cta-right {
  flex: 1;
  align-self: flex-end;
}

.cta-text {
  font-size: clamp(2.25rem, 3.2vw, 4.5rem);
  max-width: 32ch;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: rgba(0, 0, 0, 0.22);
}

.cta-text-bold {
  color: #000000;
  font-weight: 700;
}

/* Fixed Parallax Footer */
.fixed-footer {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-dark);
  color: var(--color-light);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .fixed-footer {
    padding: 3rem 4rem;
  }
}

.footer-top-spacer {
  flex: 1;
}

.footer-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-email-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.footer-book-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-light);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.footer-book-call-btn .footer-btn-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1em;
  line-height: 1;
}

.footer-book-call-btn:hover {
  background: #ffffff;
  color: #171717;
  border-color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.2);
}

.footer-book-call-btn:hover .footer-btn-arrow {
  transform: translate(2px, -2px);
}

.footer-email {
  font-family: var(--font-pangram);
  font-size: clamp(2.5rem, 5.8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-light);
  display: inline-block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.footer-email:hover {
  color: #ffffff;
  transform: scale(1.02);
}

.footer-social-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1.5rem;
}

.footer-social-link {
  font-family: var(--font-pangram);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-light);
  position: relative;
  padding-bottom: 2px;
}

.footer-social-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-social-link:hover::after {
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-family: var(--font-pangram);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  font-family: var(--font-pangram);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

/* Appearing Text Word Animation */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word-inner {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(240, 238, 233, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 238, 233, 0.4);
}
