/* ============================================
   GLOBAL CSS — RESET, VARIABLES, TYPOGRAPHY, PANELS
   ============================================ */

/* 1. Reset / Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. Root Variables */
:root {
  --mint: #dcece1;
  --mint-pale: #eef7f0;
  --green-deep: #2f4c39;
  --green-mid: #5c8a67;
  --pink-light: #f3b9c8;
  --pink-deep: #c24e78;
  --ink: #10201a;
  --coral: #ff5b35;
  --coral-deep: #e0421e;
  --light-neutral: #d3dee0;
  --glass-bg: rgba(13, 26, 18, 0.42);
  --glass-bg-soft: rgba(13, 26, 18, 0.28);
  --glass-border: rgba(238, 247, 240, 0.28);
  --font-display: 'Krona One', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

/* Font Awesome font-display optimization */
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-brands-400.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-brands-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

/* 3. Base Body */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--mint-pale);
  background: var(--ink);
  overflow-x: hidden;
}

/* 4. Common Containers */
.scene {
  position: relative;
  z-index: 1;
  perspective: 1400px;
}

.section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.section.pos-tl {
  justify-content: flex-start;
}

.section.pos-br {
  justify-content: flex-end;
}

.panel-wrap {
  width: 100%;
  display: flex;
  padding: 0 6vw;
}

.section.pos-tl .panel-wrap {
  justify-content: flex-start;
}

.section.pos-br .panel-wrap {
  justify-content: flex-end;
}

#hero.section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

#hero.section .panel-wrap {
  width: 100%;
  max-width: 1200px;
  padding-left: 6vw;
  padding-right: 6vw;
  padding-top: 120px;
  justify-content: flex-start;
}

#hero.section .panel {
  max-width: 600px;
  margin-top: 0;
  align-items: flex-start;
  text-align: left;
}

/* 5. Universal Panel / Card Styles
   (Applies to .panel AND .hero-panel — fixes wrapping everywhere) */
.panel,
.hero-panel {
  width: 100%;
  max-width: 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 38px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: normal;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.section.pos-tl .panel {
  align-items: flex-start;
  text-align: left;
  margin-top: -8vh;
}

.section.pos-br .panel {
  align-items: flex-end;
  text-align: right;
  margin-top: 8vh;
}

.eo-hero .hero-panel {
  max-width: 680px;
}

/* 6. Typography */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink-light);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.28;
  color: var(--mint-pale);
  letter-spacing: -0.015em;
  max-width: 100%;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: var(--mint-pale);
  letter-spacing: -0.01em;
}

.lorem {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(238, 247, 240, 0.82);
  max-width: 48ch;
}

.section.pos-br .lorem {
  margin-left: auto;
}

/* 7. Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: inherit;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -8px rgba(255, 91, 53, 0.55), 0 0 0 1px rgba(16, 32, 26, 0.06) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(255, 91, 53, 0.65);
}

.cta:focus-visible {
  outline: 3px solid var(--mint-pale);
  outline-offset: 3px;
}

.cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.cta:hover svg {
  transform: translateX(3px);
}

/* 8. Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.mobile-menu-toggle .hamburger {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  height: 24px;
  pointer-events: none;
}

.mobile-menu-toggle .hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--mint-pale);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-toggle.active .hamburger span:first-child {
  transform: translateY(13px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:last-child {
  transform: translateY(-13px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--ink);
  border-left: 1px solid var(--glass-border);
  z-index: 40;
  flex-direction: column;
  padding-top: 100px;
  padding-left: 6vw;
  padding-right: 6vw;
  gap: 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.mobile-menu-link {
  display: block;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mint-pale);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  transition: color 0.3s ease;
}

.mobile-menu-link:hover {
  color: var(--coral);
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

/* Mobile menu responsive behavior */
@media (min-width: 721px) {
  .mobile-menu-toggle {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) {

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu.active {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}