/* ── MadeByMo · Mobile-First Design System ──────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wdth,wght@0,75..125,200..900;1,75..125,200..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-base);
  font-feature-settings: "cv01" 1,"cv05" 1,"cv09" 1,"cv11" 1,"ss03" 1,"ss07" 1,"dlig" 1;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ── TOKENS ── */
:root {
  --canvas:      #0E0E10;
  --surface-1:   #18181B;
  --surface-2:   #232326;
  --surface-3:   #2E2E33;
  --ink:         #FFFFFF;
  --ink-muted:   #888892;
  --ink-faint:   #3A3A42;
  --accent:      #CF1111;
  --accent-dim:  rgba(207,17,17,0.12);
  --accent-glow: rgba(207,17,17,0.35);
  --hairline:    rgba(255,255,255,0.07);
  --hairline-soft: rgba(255,255,255,0.04);
  --success:     #22C55E;

  --font-display: 'Mona Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Type scale — mobile first */
  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 16px;
  --fs-md:   17px;
  --fs-lg:   19px;

  /* Spacing */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-7:  28px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Layout */
  --max-w:  1200px;
  --gutter: 20px;
  --nav-h:  60px;

  /* Radii */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-pill: 100px;

  /* Transitions */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --nav-h: 76px;
  }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --nav-h: 84px; }
}
@media (min-width: 1400px) {
  :root {
    --max-w:  1360px;
    --gutter: 60px;
    --nav-h:  90px;
  }
}
@media (min-width: 1800px) {
  :root {
    --max-w:  1600px;
    --gutter: 80px;
  }
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(20px, 3vw, 40px);
}

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 108px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: clamp(-1.5px, -0.03em, -5px);
  color: var(--ink);
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: clamp(-1px, -0.025em, -2.5px);
  color: var(--ink);
}
.heading-md {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.8px;
  color: var(--ink);
  line-height: 1.1;
}
.lead {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--ink-muted);
  line-height: 1.65;
  letter-spacing: -0.2px;
  max-width: 540px;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Aligns with .container at all viewport widths — grows past --gutter once
     the viewport exceeds max-w so the logo/CTA edge matches the content edge */
  padding-inline: max(var(--gutter), calc((100vw - var(--max-w)) / 2));
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(14,14,16,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--hairline);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1100;
  margin-left: -4px;
}
.nav-logo img { height: 40px; width: auto; object-fit: contain; }
@media (min-width: 1024px) { .nav-logo img { height: 46px; } }
@media (min-width: 1400px) { .nav-logo img { height: 52px; } }

/* Desktop links */
.nav-links {
  display: none;
  gap: 4px;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  letter-spacing: -0.1px;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-link { font-size: 16px; padding: 10px 20px; } }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); background: var(--surface-1); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  height: 34px;
  align-self: center;
}
@media (min-width: 1024px) { .nav-cta { font-size: 14px; padding: 0 22px; height: 38px; } }
@media (min-width: 1400px) { .nav-cta { font-size: 15px; padding: 0 26px; height: 42px; } }
.nav-cta:hover { opacity: 0.9; box-shadow: 0 0 24px var(--accent-glow); }
.nav-cta:active { transform: scale(0.97); }
/* ID selector wins over .btn's display:inline-flex regardless of order */
#nav .nav-cta { display: none; }
@media (min-width: 768px) { #nav .nav-cta { display: inline-flex; align-items: center; } }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  cursor: pointer;
  z-index: 1100;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { border-color: rgba(255,255,255,0.16); background: var(--surface-2); }
.nav-hamburger.open { border-color: rgba(207,17,17,0.3); box-shadow: 0 0 14px rgba(207,17,17,0.12); }
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.32s var(--ease), opacity 0.2s, width 0.2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 768px) { .nav-hamburger { display: none; } }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,12,0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 8px) var(--gutter) var(--sp-12);
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
/* Red accent bar at the top */
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s 0.1s;
}
/* Glow orb behind content */
.mobile-menu::after {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw; height: 60vw;
  max-width: 300px; max-height: 300px;
  background: radial-gradient(circle, rgba(207,17,17,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu.open::before { opacity: 1; }

/* Links — hidden until menu opens, then stagger in */
.mobile-menu .nav-link {
  font-size: clamp(28px, 8vw, 38px);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -1px;
  padding: 9px 0;
  width: 100%;
  max-width: 300px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  position: relative;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.25s, opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu.open .nav-link:nth-child(1) { opacity:1; transform:none; transition-delay:0.04s; }
.mobile-menu.open .nav-link:nth-child(2) { opacity:1; transform:none; transition-delay:0.09s; }
.mobile-menu.open .nav-link:nth-child(3) { opacity:1; transform:none; transition-delay:0.14s; }
.mobile-menu.open .nav-link:nth-child(4) { opacity:1; transform:none; transition-delay:0.19s; }
.mobile-menu.open .nav-link:nth-child(5) { opacity:1; transform:none; transition-delay:0.24s; }

.mobile-menu .nav-link:hover { color: rgba(255,255,255,0.75); }
.mobile-menu .nav-link.active { color: var(--ink); }
/* Dot indicator for active link */
.mobile-menu .nav-link.active::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 10px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--accent);
  position: relative; top: -2px;
}

/* Divider before CTA */
.mobile-menu .nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 6vw, 36px);
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 700;
  padding: 18px clamp(40px, 12vw, 64px);
  min-height: 56px;
  width: min(300px, 76vw);
  border-radius: var(--r-pill);
  box-shadow: 0 0 40px rgba(207,17,17,0.35), 0 8px 32px rgba(207,17,17,0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.2s;
}
.mobile-menu.open .nav-cta { opacity:1; transform:none; transition-delay:0.30s; }
.mobile-menu .nav-cta:hover { box-shadow: 0 0 56px rgba(207,17,17,0.5), 0 12px 40px rgba(207,17,17,0.25); }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}
.btn-primary:hover { opacity: 0.88; }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { opacity: 0.9; box-shadow: 0 0 24px var(--accent-glow); }

.btn-ghost {
  background: var(--surface-1);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.14); }

.btn-sm {
  font-size: 14px;
  padding: 11px 22px;
  min-height: 44px;
}
@media (min-width: 1024px) { .btn-sm { font-size: 15px; padding: 13px 28px; min-height: 50px; } }
.btn-lg {
  font-size: 15px;
  padding: 15px 32px;
  min-height: 52px;
}

/* ── CARDS ── */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: transform 0.3s var(--ease-spring), border-color 0.2s, box-shadow 0.3s;
}
@media (min-width: 768px) {
  .card { padding: var(--sp-8); border-radius: var(--r-2xl); }
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }

/* ── SCROLL REVEAL ── */
/* spring easing — slight overshoot like Framer Motion */
:root { --spring: cubic-bezier(0.34, 1.3, 0.64, 1); }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--spring), transform 0.75s var(--spring);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  transform: translateX(-28px) !important;
}
.reveal-left.visible { transform: translateX(0) !important; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.17s; }
.reveal-d3 { transition-delay: 0.26s; }
.reveal-d4 { transition-delay: 0.35s; }
.reveal-d5 { transition-delay: 0.44s; }

/* ── SPLIT TEXT ── */
.sw  { display: inline-block; overflow: hidden; vertical-align: bottom; }
.sw-i {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 0.9s var(--spring), opacity 0.5s ease;
}
.sw-i.sw-visible { transform: translateY(0); opacity: 1; }
.sw-i.accent     { color: var(--accent); }

/* ── PAGE TRANSITION ── */
.pt-overlay {
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 9990;
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.pt-overlay.pt-out {
  transform: scaleY(0);
  transform-origin: bottom;
}

/* ── CURSOR STATES ── */
.cursor { transition: width 0.25s var(--spring), height 0.25s var(--spring), opacity 0.2s; }
.cursor.cursor-grow  { width: 6px; height: 6px; opacity: 0.4; }
.cursor.cursor-click { transform: translate(-50%,-50%) scale(0.5); }
.cursor-ring { transition: width 0.35s var(--spring), height 0.35s var(--spring), border-color 0.3s, background 0.3s; }
.cursor-ring.ring-grow {
  width: 54px; height: 54px;
  border-color: rgba(207,17,17,0.7);
  background: rgba(207,17,17,0.06);
}
.cursor-ring.ring-click { transform: translate(-50%,-50%) scale(0.85); }

/* ── SCROLL PROGRESS ── */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 1001;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(207,17,17,0.6);
  pointer-events: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(207,17,17,0.45);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}
@media (hover: none), (max-width: 1023px) {
  .cursor, .cursor-ring { display: none; }
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--hairline-soft); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--r-pill);
  padding: 3px 10px;
}
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── SOCIAL ICONS ── */
.social-icons {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease-spring), box-shadow .2s;
  flex-shrink: 0;
}
.social-icon:hover {
  background: var(--accent-dim); border-color: rgba(207,17,17,.4);
  color: var(--accent); transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(207,17,17,.15);
}
.social-icon svg { width: 16px; height: 16px; flex-shrink: 0; }

/* hero variant — slightly larger */
.hero-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--sp-6); }
.hero-socials .social-icon { width: 44px; height: 44px; background: var(--surface-1); }
.hero-socials .social-icon svg { width: 17px; height: 17px; }

/* footer variant */
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--sp-4); }

/* ── FOOTER ── */
footer {
  background: var(--surface-1);
  border-top: 1px solid var(--hairline-soft);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-block: var(--sp-12);
}
@media (min-width: 540px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: var(--sp-3); }
.footer-tagline {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 220px;
  margin-bottom: var(--sp-5);
}
.footer-contact { font-size: var(--fs-sm); color: var(--ink-muted); margin-bottom: 6px; }
.footer-col-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
}
.footer-link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  margin-bottom: var(--sp-2);
  transition: color 0.2s;
  padding-block: 2px;
  min-height: 32px;
  display: flex;
  align-items: center;
}
.footer-link:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--hairline-soft);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}

/* ── MARQUEE ── */
.marquee-wrap {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: var(--surface-1);
  border-block: 1px solid var(--hairline-soft);
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--surface-1), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--surface-1), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-item {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: -0.1px;
  transition: color 0.2s;
}
.marquee-item:hover { color: var(--ink); }
.marquee-dot { color: var(--accent); font-size: 10px; }

/* ── BG CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── BOOKING CTA ── */
.booking-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.booking-cta-text { flex: 1; min-width: 260px; }
.booking-cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); flex-shrink: 0; }
.booking-note { font-size: var(--fs-sm); color: var(--ink-muted); letter-spacing: .02em; }
@media (max-width: 640px) {
  .booking-cta { flex-direction: column; }
  .booking-cta-action { align-items: flex-start; }
}

/* ── UTILITY ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
