@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&family=KoHo:wght@400;500;600;700&display=swap');

/* ===================================================================
   Emma Studio — High-Converting Landing Page Design System
   Aesthetic: Warm Editorial Luxury + Modern Interactive WebGPU Shapes
   =================================================================== */

:root {
  /* Warm Editorial Color Palette (Matching Lovable Sample) */
  --bg-main: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-warm-light: #F4EFE6;
  --bg-warm-pill: #ECE5D8;
  --bg-dark-section: #1B1715;
  --bg-dark-card: #27221F;
  --bg-dark-card-border: rgba(255, 255, 255, 0.08);

  --text-main: #181412;
  --text-muted: #6C645C;
  --text-light-muted: #9C948B;
  --text-on-dark: #F5F2EB;
  --text-on-dark-muted: #A39B92;

  /* Terracotta & Editorial Accent Colors */
  --accent-terracotta: #C85A2D;
  --accent-terracotta-hover: #B04B22;
  --accent-warm-gold: #C97E4A;
  --accent-green-active: #2E9E5B;

  /* Borders & Shadows */
  --border-subtle: #E8E1D5;
  --border-card: rgba(24, 20, 18, 0.07);
  --shadow-sm: 0 2px 8px rgba(24, 20, 18, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 20, 18, 0.06);
  --shadow-lg: 0 16px 40px rgba(24, 20, 18, 0.08);
  --shadow-dark: 0 16px 40px rgba(0, 0, 0, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

  /* Layout */
  --max-w-container: 1140px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-smooth: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-main);
  /*Adjust font smoothing*/
  -webkit-font-smoothing: antialiased;
  /* or subpixel-antialiased */
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

/* Background Canvas Layer */
#shapeWavesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.82;
  transition: opacity 0.8s ease;
}

/* Main Content Wrapper (Above Canvas) */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--max-w-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ===================================================================
   Typography Utilities
   =================================================================== */

.editorial-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-terracotta);
}

.editorial-italic-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-warm-gold);
}

/* ===================================================================
   Navigation Header
   =================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-monogram {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-1px);
}

.brand-name-top {
  font-family: 'KoHo', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.1;
  display: block;
}

.brand-name-bottom {
  font-family: 'KoHo', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 0.8;
  padding-left: 0.1em;
  display: block;
}

.brand-name {
  font-size: 20px;
  letter-spacing: -0.3px;
  font-family: 'KoHo', sans-serif;
}

.nav-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  background-color: var(--accent-terracotta);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(200, 90, 45, 0.2);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 90, 45, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(200, 90, 45, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(200, 90, 45, 0);
  }
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--text-main);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav-cta:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}


/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero-section {
  padding-top: 60px;
  padding-bottom: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  background-color: var(--bg-warm-pill);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-headline {
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--text-main);
}

.hero-subhead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 500px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-primary-terracotta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-terracotta);
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(200, 90, 45, 0.28);
}

.btn-primary-terracotta:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 90, 45, 0.36);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-main);
  padding: 13px 22px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.hero-availability-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.beacon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.beacon-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  z-index: 2;
  position: relative;
}

.beacon-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.6);
  transform: translate(-50%, -50%);
  animation: beacon-radar 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: 1;
}

@keyframes beacon-radar {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0.9;
  }

  70%,
  100% {
    width: 24px;
    height: 24px;
    opacity: 0;
  }
}

.proof-text {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual / Laptop Mockup */
.hero-visual {
  position: relative;
}

.mockup-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #000;
  transition: transform 0.4s ease;
}

.mockup-container:hover {
  transform: translateY(-4px);
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
}

.lift-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.lift-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-terracotta);
  line-height: 1;
}

.lift-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: lowercase;
  margin-top: 3px;
}

/* ===================================================================
   PROBLEM SECTION (Dark Chocolate Section)
   =================================================================== */

.problem-section {
  background-color: var(--bg-dark-section);
  color: var(--text-on-dark);
  padding: 96px 0;
  position: relative;
}

.problem-header {
  margin-bottom: 48px;
}

.problem-eyebrow {
  font-size: 16px;
  margin-bottom: 12px;
  display: block;
}

.problem-headline {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #FFFFFF;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.problem-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.problem-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

/* ===================================================================
   SOLUTION SECTION ("THE FIX")
   =================================================================== */

.solution-section {
  padding: 100px 0 80px 0;
  text-align: center;
}

.solution-header {
  max-width: 680px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pill-badge {
  display: inline-block;
  padding: 5px 14px;
  background-color: var(--bg-warm-pill);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.solution-headline {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1px;
}

.solution-headline .headline-phrase {
  display: inline-block;
  white-space: nowrap;
}

.solution-subhead {
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  background-color: var(--bg-warm-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.solution-metric {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-terracotta);
  margin-bottom: 8px;
}

.solution-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===================================================================
   SELECTED WORK (Case Studies)
   =================================================================== */

.portfolio-section {
  padding: 40px 0 90px 0;
}

.section-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.link-action {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.link-action:hover {
  color: var(--accent-terracotta-hover);
  transform: translateX(3px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-warm-light);
}

.portfolio-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb-wrap img {
  transform: scale(1.04);
}

.portfolio-info {
  padding: 20px 22px;
}

.portfolio-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.portfolio-tag {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ===================================================================
   TECH STACK RIBBON & INFINITE MARQUEE SLIDER
   =================================================================== */

.trust-ribbon-section {
  padding: 44px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(250, 247, 242, 0.65);
  text-align: center;
  overflow: hidden;
}

.ribbon-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-light-muted);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.marquee-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 32s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  white-space: nowrap;
  user-select: none;
}

.tool-pill svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.tool-pill:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 90, 45, 0.12);
}

.tool-pill:hover svg {
  color: var(--accent-terracotta);
  transform: scale(1.12);
}

/* ===================================================================
   ABOUT FOUNDER SECTION ("WHO YOU'RE WORKING WITH")
   =================================================================== */

.about-section {
  padding: 96px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.founder-portrait-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background-color: var(--bg-warm-light);
}

.founder-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-headline {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
}

.about-bio {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
}

.checkpoints-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.checkpoint-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
}

.check-circle {
  width: 22px;
  height: 22px;
  background-color: rgba(200, 90, 45, 0.12);
  color: var(--accent-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 2px;
}

/* ===================================================================
   SERVICES SECTION ("What I can build for you")
   =================================================================== */

.services-section {
  padding: 40px 0 96px 0;
}

.services-section .section-title {
  margin-bottom: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-warm-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  background-color: #EDE6DC;
}

.service-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-terracotta);
  background-color: rgba(200, 90, 45, 0.1);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.service-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

.service-card .link-action {
  margin-top: 6px;
}

/* ===================================================================
   FINAL CTA CARD SECTION
   =================================================================== */

.final-cta-section {
  padding: 40px 0 100px 0;
}

.final-cta-card {
  background: radial-gradient(circle at 80% 30%, #302620, var(--bg-dark-section));
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 90, 45, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  max-width: 700px;
}

.cta-subhead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  max-width: 560px;
}

.final-cta-card .btn-primary-terracotta {
  margin-top: 14px;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 36px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-terracotta);
}

/* ===================================================================
   CONTACT MODAL ("Get in Touch")
   =================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-warm-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--bg-warm-pill);
  color: var(--text-main);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background-color: var(--bg-warm-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.contact-tile:hover {
  background-color: #ECE5D8;
  transform: translateX(4px);
}

.tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.tile-info {
  display: flex;
  flex-direction: column;
}

.tile-name {
  font-weight: 700;
  font-size: 15px;
}

.tile-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .problem-grid,
  .solution-grid,
  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .final-cta-card {
    padding: 48px 24px;
  }
}

@media (max-width: 768px) {
  #heroPrimaryCta svg {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }

  .brand-wrap {
    gap: 6px;
    flex-shrink: 0;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  /*.brand-name-top,
  .brand-name-bottom {
    font-size: 11.5px;
  }*/

  .brand-name {
    font-size: 14px;
    line-height: 1.15;
  }

  .nav-status-badge {
    font-size: 11px;
    line-height: 1.2;
    gap: 6px;
  }

  .btn-nav-cta {
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .btn-nav-cta svg {
    display: none;
  }

  .hero-headline {
    font-size: 34px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-availability-alert {
    align-items: flex-start;
    gap: 9px;
  }

  .beacon-wrapper {
    margin-top: 4px;
  }

  .proof-text {
    font-size: 13px;
    line-height: 1.45;
    max-width: 300px;
  }

  .hero-cta-row .btn-primary-terracotta,
  .hero-cta-row .btn-secondary-outline {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}