/* =====================================================
   INTRO ANIMATION OVERLAY
   ===================================================== */

#intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: introOverlayFadeOut 0.9s ease-in-out 2.5s forwards;
}

@keyframes introOverlayFadeOut {
  0%   { opacity: 1; pointer-events: all; }
  100% { opacity: 0; pointer-events: none; }
}

/* Scene wrapper */
.intro-scene {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: introSceneIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0s both;
}

@keyframes introSceneIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* Orbit rings */
.intro-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(195, 1, 1, 0.22);
  transform: translate(-50%, -50%);
}

.intro-ring-1 { width: 110px; height: 110px; animation: introSpin1 3s linear infinite; }
.intro-ring-2 { width: 165px; height: 165px; animation: introSpin2 4.5s linear infinite reverse; }
.intro-ring-3 { width: 220px; height: 220px; animation: introSpin3 6s linear infinite; }
.intro-ring-4 { width: 278px; height: 278px; animation: introSpin4 9s linear infinite reverse; }

@keyframes introSpin1 { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes introSpin2 { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes introSpin3 { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes introSpin4 { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Orbit dots */
.intro-dot {
  position: absolute;
  border-radius: 50%;
  background: #c30101;
  box-shadow: 0 0 10px rgba(195, 1, 1, 0.7);
  top: 50%;
  left: 50%;
}

.intro-ring-1 .intro-dot { width: 7px; height: 7px; margin-top: -55px; margin-left: -3.5px; }
.intro-ring-2 .intro-dot { width: 7px; height: 7px; margin-top: -82px; margin-left: -3.5px; }
.intro-ring-3 .intro-dot { width: 6px; height: 6px; margin-top: -110px; margin-left: -3px; }
.intro-ring-4 .intro-dot { width: 5px; height: 5px; margin-top: -139px; margin-left: -2.5px; }

/* Globe */
.intro-globe-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  animation: introGlobePulse 2.2s ease-in-out infinite;
}

@keyframes introGlobePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

.intro-globe-svg {
  width: 100%;
  height: 100%;
}

/* Brand name */
.intro-brand {
  margin-top: 28px;
  text-align: center;
  animation: introBrandReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

@keyframes introBrandReveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 12px;
  color: #ffffff;
  text-transform: uppercase;
}

.intro-brand-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 7px;
  color: rgba(195, 1, 1, 0.9);
  text-transform: uppercase;
  margin-top: 5px;
}

/* Tagline */
.intro-tagline {
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  animation: introBrandReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

/* Loading bar */
.intro-bar-wrap {
  margin-top: 44px;
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: introBrandReveal 0.6s ease 1.3s both;
}

.intro-bar-fill {
  height: 100%;
  width: 0%;
  background: #c30101;
  animation: introBarLoad 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) 1.3s forwards;
}

@keyframes introBarLoad {
  0%   { width: 0%; }
  50%  { width: 65%; }
  85%  { width: 90%; }
  100% { width: 100%; }
}

/* Mobile: scale down intro scene a little */
@media (max-width: 480px) {
  .intro-scene { width: 220px; height: 220px; }
  .intro-ring-1 { width: 88px;  height: 88px; }
  .intro-ring-2 { width: 132px; height: 132px; }
  .intro-ring-3 { width: 176px; height: 176px; }
  .intro-ring-4 { width: 220px; height: 220px; }
  .intro-globe-wrap { width: 88px; height: 88px; }
  .intro-ring-1 .intro-dot { margin-top: -44px; }
  .intro-ring-2 .intro-dot { margin-top: -66px; }
  .intro-ring-3 .intro-dot { margin-top: -88px; }
  .intro-ring-4 .intro-dot { margin-top: -110px; }
  .intro-brand-name { font-size: 24px; letter-spacing: 8px; }
  .intro-bar-wrap { width: 140px; }
}

/* =====================================================
   END INTRO ANIMATION
   ===================================================== */

:root {
  --red: #C8102E;
  --dark: #0a0a0a;
  --darker: #050505;
  --light: #ffffff;
  --gray: #cccccc;
  --border: rgba(200, 16, 46, 0.25);
}

/* ── BLUE THEME (dark mode toggle) ── */
body.theme-blue {
  --red: #1a6bcc;
  --dark: #0a0f1e;
  --darker: #060b16;
  --light: #ffffff;
  --gray: #b0c4de;
  --border: rgba(26, 107, 204, 0.3);
}

body.theme-blue nav.scrolled {
  background: rgba(6, 11, 22, 0.92);
}

body.theme-blue .orbit-dot {
  background: #1a6bcc;
  box-shadow: 0 0 15px #1a6bcc;
}

body.theme-blue .cursor {
  background: #1a6bcc;
}

body.theme-blue .cursor-follower {
  border-color: rgba(26, 107, 204, 0.5);
}

body.theme-blue .hero-bg-text {
  color: rgba(26, 107, 204, 0.04);
}

body.theme-blue .stats {
  background: rgba(26, 107, 204, 0.03);
}

body.theme-blue .btn-primary {
  box-shadow: 0 0 30px rgba(26, 107, 204, 0.4);
}

body.theme-blue .btn-primary:hover {
  box-shadow: 0 0 45px rgba(26, 107, 204, 0.6);
}

body.theme-blue .project-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(26, 107, 204, 0.15);
}

/* Globe blue override — rotate red hue to blue */
body.theme-blue .globe-svg {
  filter: hue-rotate(200deg) saturate(1.3) brightness(1.1);
}

/* Orbit rings blue */
body.theme-blue .orbit-ring {
  border-color: rgba(26, 107, 204, 0.12);
}

/* ── THEME TOGGLE BUTTON ── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.theme-toggle:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

body.theme-blue .theme-toggle .icon-moon { display: none; }
body.theme-blue .theme-toggle .icon-sun  { display: block; }

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* -- CURSOR -- */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.15s ease;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(200, 16, 46, 0.5);
  border-radius: 50%;
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

/* -- NAV -- */
nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-color: var(--border);
  backdrop-filter: blur(20px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-bar {
  width: 3px;
  height: 36px;
  background: var(--red);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.25em;
}

.sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--red);
  opacity: 1;
}

.btn-contact {
  background: var(--red);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.btn-contact:hover {
  opacity: 0.9;
}

/* -- HAMBURGER -- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 6px;
  z-index: 200;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--light);
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

.hamburger span:nth-child(2) {
  width: 16px;
  align-self: flex-end;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  width: 24px;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  width: 24px;
}

/* -- MOBILE NAV DRAWER -- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0);
  transition: background 0.4s ease;
}

.mobile-nav-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--darker);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 48px;
}

.mobile-nav.open {
  pointer-events: all;
}

.mobile-nav.open .mobile-nav-overlay {
  background: rgba(5, 5, 5, 0.7);
}

.mobile-nav.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
  display: block;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #e0e0e0;
  transition: color 0.2s, padding-left 0.2s;
}

.mobile-nav-links a:hover {
  color: var(--red);
  padding-left: 8px;
}

.mobile-nav-cta {
  margin-top: 40px;
}

.mobile-nav-cta .btn-contact {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 12px;
}

.mobile-nav-socials {
  display: flex;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mobile-nav-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cccccc;
  transition: color 0.2s, border-color 0.2s;
}

.mobile-nav-socials a svg {
  width: 15px;
  height: 15px;
}

.mobile-nav-socials a:hover {
  color: var(--red);
  border-color: rgba(200, 16, 46, 0.5);
}

.mobile-nav-footer {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #444;
  text-transform: uppercase;
}

/* -- HERO -- */
.hero {
  height: calc(100vh - 116px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 700;
  color: rgba(200, 16, 46, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.hero-left {
  max-width: 600px;
  position: relative;
  z-index: 10;
}

.hero-tag {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1px;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #d4d4d4;
  margin-bottom: 42px;
  max-width: 460px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(200, 16, 46, 0.35);
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(200, 16, 46, 0.5);
}

.btn-outline {
  text-decoration: none;
  font-size: 12px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: color 0.3s, border-color 0.3s;
}

.btn-outline:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-top: 48px;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #aaaaaa, transparent);
}

.hero-right {
  position: relative;
  width: 500px;
  height: 500px;
}

.orbit-scene {
  position: absolute;
  inset: 0;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(200, 16, 46, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-1 { width: 340px; height: 340px; animation: orbitRotate 15s linear infinite; }
.orbit-ring-2 { width: 420px; height: 420px; animation: orbitRotate 22s linear infinite reverse; }
.orbit-ring-3 { width: 480px; height: 480px; animation: orbitRotate 30s linear infinite; }
.orbit-ring-4 { width: 540px; height: 540px; animation: orbitRotate 38s linear infinite reverse; }

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--red);
}

.orbit-dot-1 { top: 50%; left: -4px; transform: translateY(-50%); }
.orbit-dot-2 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-dot-3 { bottom: 50%; right: -4px; transform: translateY(-50%); }
.orbit-dot-4 { bottom: 0; left: 50%; transform: translateX(-50%); }

@keyframes orbitRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.globe-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 310px;
  height: 310px;
}

.globe-svg {
  width: 100%;
  height: 100%;
}

.orb-label {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cccccc;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

#visitors {
  color: #c9a96e;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-number {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  color: #ffffff;
}

.hero-number-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--red);
}

.hero-number span {
  font-size: 13px;
  color: #aaaaaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -- STATS -- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(200, 16, 46, 0.02);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--red);
  margin-bottom: 8px;
}

.stat-suffix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--red);
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #cccccc;
}

/* -- SERVICES -- */
.services {
  padding: 120px 48px;
}

.section-tag {
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 48px;
  color: #ffffff;
}

.section-h2 em {
  font-style: italic;
  color: var(--red);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--border);
  padding: 48px 36px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s;
}

.service-card:hover {
  border-color: rgba(200, 16, 46, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: rgba(200, 16, 46, 0.5);
  display: block;
  margin-bottom: 24px;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 24px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.service-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 24px;
}

.service-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 12px;
}

/* -- PROJECTS -- */
.projects {
  padding: 120px 48px;
  background: var(--darker);
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  border: 1px solid rgba(200, 16, 46, 0.35);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  border-color: rgba(200, 16, 46, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 16, 46, 0.12);
}

/* -- BROWSER MOCKUP -- */
.project-cover {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  background: #111;
}

.project-cover::before {
  content: '';
  display: block;
  height: 28px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-cover::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28c840;
}

.project-cover img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.9);
}

.project-card:hover .project-cover img {
  transform: scale(1.02);
  filter: brightness(1);
}

.project-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  font-weight: 600;
}

.project-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.project-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #bbbbbb;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: rgba(200, 16, 46, 0.5);
  line-height: 1;
}

.project-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 16, 46, 0.8);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.project-card:hover .project-arrow {
  color: var(--light);
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

/* -- OWNERS -- */
.owners {
  padding: 120px 48px;
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.owner-card {
  border: 1px solid var(--border);
  padding: 48px;
  background: rgba(255, 255, 255, 0.03);
}

.owner-line {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin-bottom: 32px;
}

.owner-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid var(--red);
}

.owner-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.owner-role {
  font-size: 13px;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.owner-bio {
  font-size: 14px;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 24px;
}

.owner-visit-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  border-bottom: 1px solid rgba(200, 16, 46, 0.4);
  padding-bottom: 3px;
  transition: border-color 0.2s;
}

.owner-visit-btn:hover {
  border-color: var(--red);
}

/* -- ABOUT -- */
.about {
  padding: 120px 80px;
  background: rgba(255,255,255,0.02);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.about p {
  font-size: 15px;
  line-height: 1.9;
  color: #cccccc;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.about-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-box {
  position: absolute;
  width: 280px;
  height: 360px;
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

.about-box:nth-child(1) { transform: rotate(-5deg); background: rgba(200, 16, 46, 0.03); }
.about-box:nth-child(2) { transform: rotate(5deg); border-color: rgba(200, 16, 46, 0.4); }

.about-box-center {
  position: relative;
  z-index: 5;
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  color: var(--red);
  line-height: 1;
}

.about-value h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--red);
}

.about-value p {
  font-size: 13px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 0;
}

/* -- REVIEWS -- */
.reviews {
  padding: 120px 48px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  border: 1px solid var(--border);
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
}

.review-quote {
  font-size: 48px;
  color: var(--red);
  line-height: 1;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-top: 12px;
  margin-bottom: 4px;
  color: var(--red);
}

.review-stars i {
  width: 14px;
  height: 14px;
  fill: var(--red);
  stroke: var(--red);
}

.review-text {
  font-size: 14px;
  line-height: 1.8;
  color: #d0d0d0;
  margin: 20px 0;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.review-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.review-location {
  font-size: 12px;
  color: #aaaaaa;
  letter-spacing: 0.05em;
}

/* -- CONTACT -- */
.contact {
  padding: 120px 48px;
  background: var(--darker);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
}

.contact-form {
  margin-top: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: #cccccc;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #777777;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  outline: none;
}

.form-group select option {
  background: var(--darker);
  color: var(--light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--red);
  color: #ffffff;
  border: none;
  padding: 16px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.9;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-info > p {
  font-size: 14px;
  line-height: 1.8;
  color: #cccccc;
}

.contact-details {
  margin-top: 48px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.contact-detail-icon {
  color: var(--red);
  font-size: 20px;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-detail-text label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaaaaa;
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

/* -- FOOTER -- */
footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  color: #aaaaaa;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--red);
}

/* -- REVEAL ANIMATIONS -- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* -- FADE ANIMATIONS -- */
.fade-out {
  opacity: 0;
  transform: translateY(-6px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */

/* -- 1200px: Stack hero -- */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    height: auto;
    padding: 100px 48px 80px;
    text-align: center;
    gap: 60px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-right {
    width: 400px;
    height: 400px;
  }

  .orbit-ring-1 { width: 260px; height: 260px; }
  .orbit-ring-2 { width: 320px; height: 320px; }
  .orbit-ring-3 { width: 370px; height: 370px; }
  .orbit-ring-4 { width: 410px; height: 410px; }

  .globe-wrap { width: 240px; height: 240px; }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-scroll {
    justify-content: center;
  }
}

/* -- 1024px: Tablet -- */
@media (max-width: 1024px) {
  nav {
    padding: 0 32px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-visual {
    display: none;
  }

  .about {
    padding: 80px 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 60px 32px;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
  }
}

/* -- 768px: Mobile -- */
@media (max-width: 768px) {
  .top-bar {
    padding: 0 20px;
    font-size: 10px;
    height: 36px;
  }

  nav {
    height: 60px;
    padding: 0 20px;
  }

  .brand { font-size: 15px; }
  .sub { font-size: 9px; }

  .hero {
    padding: 60px 24px 60px;
    gap: 48px;
    min-height: calc(100vh - 96px);
  }

  .hero-right {
    width: 300px;
    height: 300px;
  }

  .orbit-ring-1 { width: 200px; height: 200px; }
  .orbit-ring-2 { width: 240px; height: 240px; }
  .orbit-ring-3 { width: 275px; height: 275px; }
  .orbit-ring-4 { width: 305px; height: 305px; }

  .globe-wrap { width: 180px; height: 180px; }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 48px 24px;
    gap: 32px;
  }

  .stat-num, .stat-suffix { font-size: 36px; }

  .services {
    padding: 72px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 36px 28px;
  }

  .projects {
    padding: 72px 24px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-cover img {
    height: 220px;
  }

  .owners {
    padding: 72px 24px;
  }

  .owners-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .owner-card {
    padding: 36px 28px;
  }

  .about {
    padding: 72px 24px;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews {
    padding: 72px 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 32px 24px;
  }

  .contact {
    padding: 72px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 36px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* -- 480px: Small phones -- */
@media (max-width: 480px) {
  .hero-tag {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .hero-h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-scroll {
    display: none;
  }

  .section-h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .stat-num, .stat-suffix {
    font-size: 32px;
  }

  .stat-label {
    font-size: 10px;
  }
}

/* Coming Soon Label */
.coming-soon-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #a78bfa);
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  opacity: 0.75;
}

/* Mystery Card Overrides */
.owner-card--mystery {
  opacity: 0.72;
  filter: saturate(0.4);
  border-style: dashed;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.owner-card--mystery::before {
  content: "Coming Soon";
  position: absolute;
  top: 14px;
  right: -28px;
  background: var(--accent, #a78bfa);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(40deg);
  opacity: 0.85;
}

.owner-card--mystery:hover {
  opacity: 1;
  filter: saturate(0.6);
}

/* Mystery Avatar */
.owner-avatar--mystery {
  background: linear-gradient(135deg, #1e1e2e 60%, #2a2a3e 100%);
  border: 2px dashed rgba(167, 139, 250, 0.4);
}

.mystery-pfp {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  animation: mystery-pulse 3s ease-in-out infinite;
}

@keyframes mystery-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

/* Mystery Name */
.mystery-name {
  letter-spacing: 0.25em;
  color: rgba(167, 139, 250, 0.7) !important;
  font-size: 1.1rem;
}

/* Mystery Bio */
.mystery-bio {
  font-style: italic;
  opacity: 0.7;
}

/* CV Button */
.cv-btn {
  background: transparent;
  border: 1.5px solid rgba(167, 139, 250, 0.5);
  color: #a78bfa !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cv-btn:hover {
  background: rgba(167, 139, 250, 0.12);
  border-color: #a78bfa;
  color: #fff !important;
}
/* -- REVIEWS AUTO SCROLL -- */
.rv-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.rv-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: rvScroll 30s linear infinite;
}

.rv-track:hover {
  animation-play-state: paused;
}

.rv-track .review-card {
  flex: 0 0 360px;
  width: 360px;
}

/* BROWSER BAR */
.browser-bar {
  height: 32px; background: #181818;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; padding: 0 14px; gap: 8px;
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.browser-url { font-size: 10px; color: #444; letter-spacing: 0.04em; margin-left: 10px; }

/* IMAGE */
.project-img-wrap { position: relative; overflow: hidden; }
.project-img-wrap img {
  width: 100%; height: 260px;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.85);
}
.project-card:hover .project-img-wrap img { transform: scale(1.04); filter: brightness(1); }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px 24px;
}
.project-card:hover .img-overlay { opacity: 1; }
.img-overlay span { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 6px; }
.img-overlay span i { width: 13px; height: 13px; }

/* PROJECT INFO */
.project-info {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between; flex: 1; gap: 20px;
}
.project-category { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.project-title { font-size: 19px; font-weight: 700; color: #ffffff; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.project-desc { font-size: 13px; line-height: 1.8; color: #bbbbbb; margin-bottom: 16px; }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.1); color: #777; border-radius: 2px; }
.project-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05); }
.project-num { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: rgba(200,16,46,0.35); line-height: 1; }
.project-arrow { width: 36px; height: 36px; border: 1px solid rgba(200,16,46,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); transition: all 0.25s; }
.project-arrow i { width: 14px; height: 14px; }
.project-card:hover .project-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }


@keyframes rvScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .rv-track .review-card {
    flex: 0 0 280px;
    width: 280px;
  }
}