/* Colorfish / Arpeggio Creative Agency Styles */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Syne:wght@700;800&display=swap');

:root {
  --color-brand-primary: rgb(32, 52, 102);
  --color-brand-primary-hover: #142244;
  --color-brand-orange: rgb(32, 52, 102);
  --color-brand-teal: #1e3a5f;
  --color-bg-light: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-text-main: #0c1424;
  --color-text-muted: #475569;
  --color-border: rgba(32, 52, 102, 0.12);
}

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

::selection {
  background-color: rgb(32, 52, 102);
  color: #ffffff;
}

html {
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  overflow-x: clip;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  overflow-x: clip;
  cursor: default;
}

/* Locomotive / Lenis smooth scroll container */
[data-scroll-container] {
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

/* Typography styles */
.font-display {
  font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Precision Crosshairs (+) styling */
.crosshairs-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.crosshair {
  position: absolute;
  font-family: 'Plus Jakarta Sans', monospace, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
  color: rgba(32, 52, 102, 0.45);
  user-select: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Header Social Links with Interactive underline */
.nav-link {
  position: relative;
  letter-spacing: 0.12em;
  display: inline-block;
  color: var(--color-brand-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-brand-primary);
  transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger button animation */
#menu-toggle-btn:hover span:first-child {
  transform: translateY(1px);
}
#menu-toggle-btn:hover span:last-child {
  transform: translateY(-1px);
}

/* Single Unified Brand Container */
/* Single Unified Brand Container - Anchored strictly at bottom of viewport initially */
#hero-brand-container {
  position: fixed;
  left: 50%;
  bottom: 0px;
  top: auto;
  transform: translate(-50%, 0) scale(1);
  transform-origin: center bottom;
  z-index: 45;
  width: 96vw;
  max-width: 100vw;
  pointer-events: auto;
  will-change: transform;
}

/* Big Brand Logotype styling */
#brand-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 800;
  white-space: nowrap;
  transform-origin: bottom left;
  color: var(--color-brand-primary);
}

#brand-title .char {
  display: inline-block;
  letter-spacing: inherit;
  color: var(--color-brand-primary);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

#brand-title:hover .char {
  filter: brightness(0.9);
}

/* Menu item styling matching template */
.menu-item {
  position: relative;
  transition: color 0.2s ease, transform 0.25s ease;
  user-select: none;
  cursor: pointer;
  color: var(--color-text-main);
}
.menu-item:hover {
  color: var(--color-brand-primary);
}

/* Custom Cursor States */
body.is-hovering #cursor-follower {
  width: 60px;
  height: 60px;
  background-color: rgba(32, 52, 102, 0.12);
  border-color: rgba(32, 52, 102, 0.85);
}

body.is-hovering #custom-cursor {
  transform: translate(-50%, -50%) scale(1.6);
}

/* Statement Section & Dual Vertical Moving Cards */
#statement-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg-secondary);
}

#statement-pin-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 20;
}

#statement-center-container {
  width: 72vw;
  max-width: 72vw;
  height: 100vh;
  position: relative;
  z-index: 20;
}

#statement-bg-card {
  transform-origin: center center;
  will-change: transform;
  opacity: 1 !important;
  transition: none !important;
}

#statement-cards-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

#cards-col-left,
#cards-col-right {
  will-change: transform;
  pointer-events: auto;
  position: relative;
  z-index: 40;
}

/* Stacking Full-Width Cards Styling */
#stacking-cards-section {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-light);
  margin-top: -100vh;
  z-index: 40;
}

.stack-card {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  border-radius: 0px !important;
  border: none !important;
  box-shadow: none !important;
  transform-origin: center top;
  will-change: transform;
  opacity: 1 !important;
}

.stack-card:nth-child(1) { z-index: 41; }
.stack-card:nth-child(2) { z-index: 42; }
.stack-card:nth-child(3) { z-index: 43; }
.stack-card:nth-child(4) { z-index: 44; }

.stack-card-img {
  will-change: transform;
  transform-origin: center center;
}

.visit-badge {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.visit-badge:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

/* Card styling: strictly 0 border-radius, no borders, and no shadows across all sections */
.vertical-card,
.stack-card,
#statement-bg-card,
#hero-banner-card,
#hero-bg-container,
#services .grid > div,
#work .group > div:first-child {
  border-radius: 0px !important;
  border: none !important;
  box-shadow: none !important;
}

.vertical-card {
  position: relative;
  z-index: 40;
  will-change: transform;
  opacity: 1 !important;
  box-shadow: none !important;
  border-radius: 0px !important;
  border: none !important;
}

.vertical-card:hover {
  box-shadow: none !important;
  border: none !important;
}

/* Mobile responsiveness refinements */
@media (max-width: 768px) {
  #brand-title {
    font-size: 13vw;
  }
  .crosshair {
    font-size: 12px;
  }
  #statement-pin-wrapper {
    padding: 0 1rem;
  }
}

/* Our Achievements Section Styles */
#achievements {
  position: relative;
  background-color: #050507;
  color: #ffffff;
}

#achievements .metric-counter {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

#open-reel-btn {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* What We Do Circle Reveal */
#what-we-do {
  position: relative;
  background-color: #050507;
}

#what-we-do-mask {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  clip-path: circle(0% at 50% 100%);
  -webkit-clip-path: circle(0% at 50% 100%);
}

.what-we-do-title {
  letter-spacing: -0.045em;
}

