/* ==========================================================================
   NASLABSS — Premium Editorial / Brutalist Architecture (1:1 abhxy.com)
   ========================================================================== */

:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-light-bg: #f5f5f7;
  --color-dark-bg: #000000;
  --color-gold: #c5a059;
  --color-coral: #ff6347;
  --color-emerald: #10b981;
  
  --text-dark-muted: rgba(0, 0, 0, 0.6);
  --text-light-muted: rgba(255, 255, 255, 0.6);
  --border-light-mode: rgba(0, 0, 0, 0.15);
  --border-dark-mode: rgba(255, 255, 255, 0.2);
  
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-light-bg);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-color: var(--color-light-bg);
}

/* ==========================================================================
   FLOATING CORNER PILL (Top Left - abhxy 1:1)
   ========================================================================== */
.corner-pill-badge {
  position: fixed;
  top: 1.25rem;
  left: 1.5rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  background: rgba(0, 0, 0, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.corner-pill-badge:hover {
  transform: scale(1.05);
  background: #000000;
  border-color: rgba(255, 255, 255, 0.4);
}

.pill-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  background: var(--color-coral);
  border-radius: 50%;
}

.pill-ping {
  position: absolute;
  inset: 0;
  background: var(--color-coral);
  border-radius: 50%;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.pill-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-coral);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   ROUND HAMBURGER TOGGLE (Top Right - abhxy 1:1)
   ========================================================================== */
.menu-toggle-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.menu-toggle-btn:hover {
  transform: scale(1.06);
}

.menu-toggle-btn .bar {
  width: 28px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease-editorial), opacity 0.3s ease;
  transform-origin: center;
}

.menu-toggle-btn.open .bar-top {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle-btn.open .bar-bot {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ==========================================================================
   RIGHT-HALF NAVIGATION DRAWER (abhxy 1:1)
   ========================================================================== */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-editorial), opacity 0.4s ease;
}

.nav-drawer.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}

.drawer-content {
  width: 100%;
  max-width: 650px;
  height: 100%;
  padding: 6rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

.drawer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-link {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  display: inline-block;
}

.drawer-link:hover {
  color: #ffffff;
  transform: translateX(15px);
}

.drawer-featured-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.badge-accent {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--color-coral);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-top: 0.35rem;
}

.btn-drawer-cta {
  background: #ffffff;
  color: #000000;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-drawer-cta:hover {
  background: var(--color-coral);
  color: #ffffff;
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 600px) {
  .drawer-footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.drawer-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
}

.drawer-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #ffffff;
}

.drawer-social-links {
  display: flex;
  gap: 0.75rem;
}

.drawer-social-links a {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-social-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   SECTION 1: HERO (LIGHT THEME + 3D THREE.JS CANVAS)
   ========================================================================== */
.hero-light-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--color-light-bg);
  overflow: hidden;
}

#canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-inner-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 2.5rem 3rem;
  max-width: 1500px;
  margin: 0 auto;
}

.editorial-eyebrow {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #000000;
}

.editorial-eyebrow.text-white {
  color: #ffffff;
}

.editorial-eyebrow.text-black {
  color: #000000;
}

.hero-massive-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 2rem;
}

.hero-massive-title.text-white {
  color: #ffffff;
}

.hero-massive-title.text-black {
  color: #000000;
}

.hero-middle-line {
  width: 100%;
  border-top: 2px solid #000000;
  margin: 2rem 0;
}

.hero-bottom-block {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem 0 3rem;
  text-align: right;
}

.hero-editorial-statement {
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.04em;
}

.line-block {
  display: block;
}

/* ==========================================================================
   STAGGERED KINETIC TICKER (ABHXY STYLE WITH GOLD BARS)
   ========================================================================== */
.staggered-ticker-section {
  padding: 4rem 1.5rem 8rem;
  overflow: hidden;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.35;
  text-align: center;
  color: #000000;
  background-color: var(--color-light-bg);
}

.gold-separator {
  display: inline-block;
  width: clamp(40px, 8vw, 120px);
  height: 4px;
  background-color: var(--color-gold);
  border-radius: 2px;
  vertical-align: middle;
  margin: 0 1rem;
}

.ticker-row-1, .ticker-row-2, .ticker-row-3, .ticker-row-4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  white-space: nowrap;
  transition: transform 0.2s ease-out;
}

.ticker-row-2 {
  transform: translateX(3rem);
}

.ticker-row-3 {
  transform: translateX(-6rem);
}

.ticker-row-4 {
  transform: translateX(4rem);
}

.font-bold {
  font-weight: 700;
}

.font-italic {
  font-style: italic;
}

/* ==========================================================================
   SECTION 2: SERVICES (PITCH BLACK + ROUNDED TOP 48px)
   ========================================================================== */
.services-dark-section {
  background: var(--color-dark-bg);
  border-radius: 48px 48px 0 0;
  color: #ffffff;
  padding: 6rem 2.5rem 0;
  position: relative;
  z-index: 10;
}

.dark-section-header, .light-section-header {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.dark-middle-line {
  width: 100%;
  border-top: 2px solid #ffffff;
  margin: 2rem 0;
}

.light-middle-line {
  width: 100%;
  border-top: 2px solid #000000;
  margin: 2rem 0;
}

.dark-lead-block, .light-lead-block {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem 0 4rem;
  text-align: right;
}

.editorial-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sticky-cards-wrapper {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.sticky-service-item {
  position: sticky;
  top: 0;
  background: #000000;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  padding: 4rem 0 6rem;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.7;
  color: var(--text-light-muted);
  letter-spacing: 0.08em;
  max-width: 1100px;
}

.service-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.breakdown-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.row-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.35);
  margin-right: 2rem;
}

.row-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-top: 0.75rem;
}

/* ==========================================================================
   SECTION 3: ABOUT (DARK CONTAINER + ROUNDED BOTTOM 48px)
   ========================================================================== */
.about-dark-section {
  background: var(--color-dark-bg);
  border-radius: 0 0 48px 48px;
  color: #ffffff;
  padding: 4rem 2.5rem 6rem;
  position: relative;
  z-index: 10;
}

.about-content-split {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 3rem;
}

@media (min-width: 900px) {
  .about-content-split {
    grid-template-columns: 420px 1fr;
  }
}

.monogram-art-card {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.mono-symbol {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: #000000;
  border: 2px solid var(--color-emerald);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.25);
}

.char-n { color: #ffffff; }
.char-l { color: var(--color-emerald); }

.mono-meta h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.mono-meta p {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  margin-top: 0.25rem;
}

.pill-highlight {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

.about-bio-statement {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.about-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bullet-entry {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.bullet-icon {
  font-size: 1.3rem;
}

.bullet-entry strong {
  color: #ffffff;
}

/* ==========================================================================
   SECTION 4: WORKS (LIGHT THEME + HOVER EXPANSION - ABHXY 1:1)
   ========================================================================== */
.works-light-section {
  background: var(--color-light-bg);
  padding: 6rem 2.5rem;
}

.project-rows-table {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.project-interactive-row {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.8);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-editorial);
  z-index: 1;
}

.row-slide-bg {
  position: absolute;
  inset: 0;
  background: #000000;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-editorial);
}

.project-interactive-row:hover .row-slide-bg {
  transform: scaleY(1);
}

.row-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s var(--ease-editorial);
}

.row-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.row-indicator {
  font-size: 2rem;
  color: #000000;
  transition: transform 0.4s ease, color 0.3s ease;
}

.row-divider-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.8);
  margin: 1rem 0;
  transition: background 0.3s ease;
}

.row-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

/* Hover active state (Abhxy style: text shifts to right, turns pure white) */
.project-interactive-row:hover .row-top-info {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.project-interactive-row:hover .row-title {
  color: #ffffff;
}

.project-interactive-row:hover .row-indicator {
  color: #ffffff;
  transform: translateX(10px);
}

.project-interactive-row:hover .row-divider-line {
  background: rgba(255, 255, 255, 0.8);
}

.project-interactive-row:hover .row-tags-list {
  color: #ffffff;
  padding-left: 1.25rem;
}

/* ==========================================================================
   SECTION 5: CONTACT & FOOTER (DARK THEME)
   ========================================================================== */
.footer-dark-section {
  background: #000000;
  color: #ffffff;
  padding: 6rem 2.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner-box {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.footer-huge-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 1rem 0 1.5rem;
}

.footer-subtext {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--text-light-muted);
  max-width: 750px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.footer-header-block {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

/* Giant Display Email Showcase (abhxy style) */
.footer-email-showcase {
  margin: 2.5rem 0 3.5rem;
  display: flex;
  justify-content: center;
}

.footer-display-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.35s var(--ease-editorial);
}

.footer-display-email:hover {
  color: var(--color-coral);
  border-bottom-color: var(--color-coral);
  transform: translateY(-3px);
}

.footer-display-email .email-arrow {
  font-size: 0.85em;
  transition: transform 0.35s var(--ease-editorial);
}

.footer-display-email:hover .email-arrow {
  transform: translateX(8px);
}

/* Minimalist Editorial CTA Pill Actions */
.footer-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 5.5rem;
}

.btn-white-pill {
  background: #ffffff;
  color: #000000;
  padding: 1.1rem 2.5rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-white-pill:hover {
  background: var(--color-coral);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 99, 71, 0.3);
}

.btn-outline-pill {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.1rem 2.5rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline-pill:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: left;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .footer-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.col-heading {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col li, .footer-col a {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-copyright-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer-copyright-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-emerald);
}
