/* ═══════════════════════════════════════════════════════
   AUMANANTA DEVELOPERS LLP — Global Stylesheet v2
   Font: Glacial Indifference | Warm Luxury Palette
═══════════════════════════════════════════════════════ */

@import url('https://fonts.cdnfonts.com/css/glacial-indifference-2');

:root {
  --gradient: linear-gradient(90deg, #ff3131, #ff914d);
  --gradient-135: linear-gradient(135deg, #ff3131, #ff914d);
  /* Dark section palette — warm charcoal, NOT pure black */
  --dark1: #131110;
  --dark2: #1c1916;
  --dark3: #242018;
  --dark-card: #201d1a;
  --dark-card2: #2a2622;
  /* Light section palette — warm cream */
  --light1: #faf7f3;
  --light2: #f3ede5;
  --light3: #ede5db;
  --light-card: #ffffff;
  /* Text on dark */
  --text-d: #f5f0ea;
  --text-d-muted: rgba(245, 240, 234, 0.55);
  --text-d-dim: rgba(245, 240, 234, 0.3);
  /* Text on light */
  --text-l: #1a1714;
  --text-l-muted: #4a4340;
  --text-l-dim: #8a807a;
  /* Shared */
  --red: #ff3131;
  --orange: #ff914d;
  --gold: #c9a84c;
  --border-d: rgba(255, 255, 255, 0.07);
  --border-l: rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --tr: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Glacial Indifference', 'Inter', system-ui, sans-serif;
  font-size: 1.0625rem;
  background: var(--dark1);
  color: var(--text-d);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark1); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 2px; }

/* ── Typography ── */
.display {
  font-size: clamp(2rem, 3.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
#hero-content {
  padding-bottom: 3rem;
}
.heading-xl {
  font-size: clamp(2.25rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.heading-lg {
  font-size: clamp(1.75rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.heading-md {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* ── Gradient utilities ── */
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-bg { background: var(--gradient); }
.grad-border {
  border: 1px solid transparent;
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
              var(--gradient) border-box;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: var(--radius);
  cursor: pointer; transition: var(--tr); white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,49,49,0.3); }

.btn-ghost-dark {
  background: transparent; color: var(--text-d);
  border: 1px solid rgba(245,240,234,0.22);
}
.btn-ghost-dark:hover { border-color: var(--red); background: rgba(255,49,49,0.08); transform: translateY(-2px); }

.btn-ghost-light {
  background: transparent; color: var(--text-l);
  border: 1px solid rgba(26,23,20,0.2);
}
.btn-ghost-light:hover { border-color: var(--red); background: rgba(255,49,49,0.06); transform: translateY(-2px); }

/* ── Section label ── */
.section-label {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.section-label::before {
  content: ''; display: block; width: 2rem; height: 1px;
  background: var(--gradient); flex-shrink: 0;
}
.on-dark .section-label { color: var(--text-d-muted); }
.on-light .section-label { color: var(--text-l-muted); }

/* ── Dark section cards ── */
.card-dark {
  background: var(--dark-card);
  border: 1px solid var(--border-d);
  border-radius: var(--radius);
  transition: border-color var(--tr), transform var(--tr);
}
.card-dark:hover { border-color: rgba(255,49,49,0.35); transform: translateY(-4px); }

/* ── Light section cards ── */
.card-light {
  background: var(--light-card);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr);
}
.card-light:hover {
  border-color: rgba(255,49,49,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255,49,49,0.08);
}

/* ── Generic card (picks up section context) ── */
.card { border-radius: var(--radius); }
.on-dark .card { background: var(--dark-card); border: 1px solid var(--border-d); transition: border-color var(--tr), transform var(--tr); }
.on-dark .card:hover { border-color: rgba(255,49,49,0.35); transform: translateY(-4px); }
.on-light .card { background: #fff; border: 1px solid var(--border-l); box-shadow: 0 1px 8px rgba(0,0,0,0.05); transition: border-color var(--tr), transform var(--tr), box-shadow var(--tr); }
.on-light .card:hover { border-color: rgba(255,49,49,0.25); transform: translateY(-4px); box-shadow: 0 6px 24px rgba(255,49,49,0.07); }

/* ── Ghost number ── */
.ghost-num {
  font-size: clamp(6rem, 18vw, 16rem); font-weight: 700;
  line-height: 1; pointer-events: none; user-select: none;
  position: absolute; letter-spacing: -0.05em;
}
.on-dark .ghost-num { color: rgba(255,255,255,0.025); }
.on-light .ghost-num { color: rgba(0,0,0,0.04); }

/* ── Reveal states ── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-left { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }
.reveal-scale { opacity: 0; transform: scale(0.94); }

/* ── Dividers ── */
.divider-d { height: 1px; background: var(--border-d); }
.divider-l { height: 1px; background: var(--border-l); }

/* ── Page loader ── */
#page-loader {
  position: fixed; top: 0; left: 0; width: 0; height: 2px;
  background: var(--gradient); z-index: 9999;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Navbar ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease, padding 0.3s ease;
}
#navbar.scrolled {
  background: rgba(19, 17, 16, 0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-d); padding: 0.75rem 0;
}
.nav-link {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,240,234,0.65); transition: color 0.2s ease; cursor: pointer;
}
.nav-link:hover { color: #f5f0ea; }

/* ── Mobile menu ── */
#mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 320px;
  background: rgba(19,17,16,0.98); backdrop-filter: blur(24px);
  z-index: 200; border-left: 1px solid var(--border-d);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-menu.open { transform: translateX(0); }
#mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 190; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
#mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ── Hero ── */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
#hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(19,17,16,0.18) 0%,
    rgba(19,17,16,0.45) 40%,
    rgba(19,17,16,0.88) 80%,
    rgba(19,17,16,0.97) 100%
  );
}
/* Left vignette for text contrast */
.hero-vignette-left {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(19,17,16,0.7) 0%, transparent 55%);
}

/* ── Hero progress bar (scroll scrub) ── */
#hero-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%; z-index: 20;
  background: var(--gradient);
  transition: none;
}

/* ── Service icon ── */
.service-icon-wrap {
  width: 3.25rem; height: 3.25rem;
  background: linear-gradient(135deg, rgba(255,49,49,0.12), rgba(255,145,77,0.08));
  border: 1px solid rgba(255,49,49,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--orange);
  transition: background var(--tr), border-color var(--tr);
}
.on-light .service-icon-wrap {
  background: linear-gradient(135deg, rgba(255,49,49,0.08), rgba(255,145,77,0.06));
}

/* ── Services grid ── */
.services-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; overflow: hidden; border-radius: var(--radius);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-item {
  padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1.25rem;
  transition: background var(--tr); cursor: default;
}
.on-dark .services-grid { background: var(--border-d); border: 1px solid var(--border-d); }
.on-dark .service-item { background: var(--dark-card); }
.on-dark .service-item:hover { background: var(--dark-card2); }
.on-light .services-grid { background: var(--border-l); border: 1px solid var(--border-l); }
.on-light .service-item { background: #fff; }
.on-light .service-item:hover { background: var(--light1); }

/* ── Project card ── */
.project-card { overflow: hidden; }
.project-img-wrap { overflow: hidden; }
.project-img-wrap img { width:100%; height:100%; object-fit:contain; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease; filter: brightness(0.9); }
.project-card:hover .project-img-wrap img { transform: scale(1.04); filter: brightness(1); }

/* ── Leader card ── */
.leader-card {
  overflow: hidden; position: relative; border-radius: var(--radius);
  transition: border-color var(--tr), transform var(--tr);
}
.on-dark .leader-card { background: var(--dark-card); border: 1px solid var(--border-d); }
.on-light .leader-card { background: #fff; border: 1px solid var(--border-l); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.leader-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.leader-card:hover { transform: translateY(-4px); }
.leader-card:hover::after { transform: scaleX(1); }
.on-dark .leader-card:hover { border-color: rgba(255,49,49,0.25); }
.on-light .leader-card:hover { border-color: rgba(255,49,49,0.2); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

/* ── Process step ── */
.process-step { position: relative; }
.process-connector {
  position: absolute; top: 2.5rem; left: 1.25rem;
  bottom: -1.5rem; width: 1px;
  background: linear-gradient(to bottom, rgba(255,49,49,0.35), transparent);
}

/* ── Step number ── */
.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--orange); flex-shrink: 0;
}
.on-dark .step-num { background: linear-gradient(135deg, rgba(255,49,49,0.15), rgba(255,145,77,0.1)); border: 1px solid rgba(255,49,49,0.25); }
.on-light .step-num { background: linear-gradient(135deg, rgba(255,49,49,0.1), rgba(255,145,77,0.07)); border: 1px solid rgba(255,49,49,0.2); }

/* ── Stat number ── */
.stat-num {
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; line-height: 1;
}

/* ── Tag/Badge ── */
.tag {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(255,49,49,0.1); border: 1px solid rgba(255,49,49,0.25);
  border-radius: 2rem; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange);
}

/* ── Partner logo ── */
.partner-logo {
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1.5rem; min-height: 4rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; transition: border-color var(--tr), color var(--tr);
}
.on-dark .partner-logo { background: var(--dark-card); border: 1px solid var(--border-d); color: var(--text-d-muted); }
.on-dark .partner-logo:hover { border-color: rgba(255,49,49,0.3); color: var(--text-d); }
.on-light .partner-logo { background: #fff; border: 1px solid var(--border-l); color: var(--text-l-muted); box-shadow: 0 1px 6px rgba(0,0,0,0.04); }
.on-light .partner-logo:hover { border-color: rgba(255,49,49,0.3); color: var(--text-l); }

/* ── Doc item ── */
.doc-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem; transition: background var(--tr); }
.on-dark .doc-item { border-bottom: 1px solid var(--border-d); }
.on-light .doc-item { border-bottom: 1px solid var(--border-l); }
.doc-item:last-child { border-bottom: none !important; }
.on-dark .doc-item:hover { background: rgba(255,255,255,0.02); }
.on-light .doc-item:hover { background: rgba(255,49,49,0.02); }

.doc-bullet {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.15rem;
  background: linear-gradient(135deg,rgba(255,49,49,0.15),rgba(255,145,77,0.1));
  border: 1px solid rgba(255,49,49,0.25);
}

/* ── Form ── */
.form-input {
  width: 100%; border-radius: var(--radius);
  padding: 0.875rem 1.25rem;
  font-family: inherit; font-size: 0.9rem; outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.on-dark .form-input { background: var(--dark-card); border: 1px solid var(--border-d); color: var(--text-d); }
.on-dark .form-input::placeholder { color: var(--text-d-dim); }
.on-dark .form-input:focus { border-color: rgba(255,49,49,0.5); box-shadow: 0 0 0 3px rgba(255,49,49,0.08); }
.on-light .form-input { background: #fff; border: 1px solid var(--border-l); color: var(--text-l); }
.on-light .form-input::placeholder { color: var(--text-l-dim); }
.on-light .form-input:focus { border-color: rgba(255,49,49,0.5); box-shadow: 0 0 0 3px rgba(255,49,49,0.06); }
.form-label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.on-dark .form-label { color: var(--text-d-muted); }
.on-light .form-label { color: var(--text-l-muted); }

/* ── Team grid ── */
.team-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; overflow: hidden; border-radius: var(--radius);
}
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4,1fr); } }

.team-item { padding: 1.75rem 1.5rem; transition: background var(--tr); }
.on-dark .team-grid { background: var(--border-d); border: 1px solid var(--border-d); }
.on-dark .team-item { background: var(--dark-card); }
.on-dark .team-item:hover { background: var(--dark-card2); }
.on-light .team-grid { background: var(--border-l); border: 1px solid var(--border-l); }
.on-light .team-item { background: #fff; }
.on-light .team-item:hover { background: var(--light1); }

/* ── Sep line ── */
.sep-line {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.sep-line::before, .sep-line::after { content: ''; flex: 1; height: 1px; }
.on-dark .sep-line { color: var(--text-d-dim); }
.on-dark .sep-line::before, .on-dark .sep-line::after { background: var(--border-d); }
.on-light .sep-line { color: var(--text-l-dim); }
.on-light .sep-line::before, .on-light .sep-line::after { background: var(--border-l); }

/* ── Back to top ── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 1.5rem;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 50;
  box-shadow: 0 4px 20px rgba(255,49,49,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }

/* ── Hamburger ── */
.bar { display: block; width: 1.5rem; height: 1.5px; background: #f5f0ea; transition: all 0.3s ease; }
.bar:nth-child(2) { width: 1rem; }
#menu-btn.active .bar:nth-child(1) { transform: rotate(45deg) translate(2px, 6px); width: 1.5rem; }
#menu-btn.active .bar:nth-child(2) { opacity: 0; }
#menu-btn.active .bar:nth-child(3) { transform: rotate(-45deg) translate(2px, -6px); width: 1.5rem; }

/* ── Container + Spacing ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }
.section-py { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-py { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .section-py { padding-top: 9rem; padding-bottom: 9rem; } }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* ── Navbar logo responsive size ── */
.navbar-logo { height: 56px; }
@media (min-width: 768px) { .navbar-logo { height: 80px; } }
@media (min-width: 1024px) { .navbar-logo { height: 84px; } }

/* ── Hero content top offset — matches navbar height per breakpoint ── */
/* mobile: 56px logo + 32px padding = ~88px */
@media (max-width: 767px)  { #hero-content { top: 5.5rem !important; } }
/* tablet: 60px logo + 32px padding = ~92px */
@media (min-width: 768px) and (max-width: 1023px) { #hero-content { top: 5.75rem !important; } }
/* desktop: 64px logo + 32px padding = ~96px */
@media (min-width: 1024px) { #hero-content { top: 6rem !important; } }

/* ── Scroll line animation ── */
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}
.scroll-pulse { animation: scrollPulse 2s ease-in-out infinite; }
