/* ============================================
   corecraft — CSS
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --bg: #08080d;
  --bg-elevated: #0e0e16;
  --bg-card: #12121c;
  --surface: #111118;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --text: #ebebf5;
  --text-secondary: #8b8b9e;
  --text-tertiary: #5c5c6e;
  --accent-violet: #7c5cff;
  --accent-pink: #ff5ca8;
  --accent-gradient: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-sans: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --container: 1280px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

em,
i {
  font-style: italic;
}

::selection {
  background: rgba(124, 92, 255, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Utility Classes ---- */
.serif-accent {
  font-family: var(--font-serif);
  font-weight: 400;
}

/* ---- Grain Overlay ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---- Custom Cursor ---- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.35s, height 0.35s, border-color 0.35s, transform 0.15s;
  mix-blend-mode: difference;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 92, 255, 0.25), 0 4px 20px rgba(124, 92, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(124, 92, 255, 0.4), 0 8px 30px rgba(124, 92, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
  padding: 9px 20px;
  font-size: 14px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-small {
  padding: 9px 20px;
  font-size: 14px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(8, 8, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.8;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-name {
  white-space: nowrap;
}

.brand-name em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
}

.main-nav a:hover {
  color: var(--text);
}

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

.header-cta {
  flex-shrink: 0;
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8, 8, 13, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav a {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-cta {
  margin-top: 20px;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: var(--text-secondary) !important;
  opacity: 0.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.orb-violet {
  width: 500px;
  height: 500px;
  background: var(--accent-violet);
  top: -10%;
  right: -5%;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-pink {
  width: 400px;
  height: 400px;
  background: var(--accent-pink);
  bottom: -8%;
  left: -5%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.orb-contact {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  pointer-events: none;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 70%);
}

/* Hero Inner */
.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-violet);
  box-shadow: 0 0 12px var(--accent-violet);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero Title — split lines for animation */
.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 9vw, 100px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  animation: slideUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 0.4s; }

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grad-dot {
  display: inline-block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats dt {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.hero-stats dd {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  z-index: 1;
  animation: fadeIn 1.5s 1.5s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.scroll-hint-track {
  display: block;
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  position: relative;
}

.scroll-hint-thumb {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-violet);
  border-radius: 2px;
  animation: scrollThumb 2s ease-in-out infinite;
}

@keyframes scrollThumb {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 22px; opacity: 0.3; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

.marquee-track span {
  transition: color var(--transition-fast);
}

.marquee-track i {
  font-style: normal;
  color: var(--accent-violet);
  font-size: 10px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS — Shared
   ============================================ */
.section {
  padding: 140px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 80px;
}

.section-index {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================
   WORK / PROJECTS
   ============================================ */
.work {
  background: var(--bg);
}

.project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.project:last-child {
  border-bottom: 1px solid var(--border);
}

/* Flip layout */
.project-flip {
  grid-template-columns: 1.2fr 1fr;
}

.project-flip .project-phones {
  order: -1;
}

/* Project Info */
.project-tag {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.project-name {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--text);
}

.project-tagline {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.project-desc {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.project-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.project-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.8;
}

/* Phone Mockups */
.project-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
}

.phone {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px var(--accent-soft);
  transition: box-shadow 0.5s;
}

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

.phone-main {
  width: 220px;
  z-index: 3;
  position: relative;
  border-radius: 28px;
}

.phone-side {
  width: 180px;
  opacity: 0.7;
  z-index: 1;
  filter: brightness(0.7);
}

.phone-side-a {
  transform: translateX(-140px) rotate(-5deg);
}

.phone-side-b {
  transform: translateX(140px) rotate(5deg);
}

/* ============================================
   STUDIO
   ============================================ */
.studio {
  background: var(--bg-elevated);
}

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

.capability {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.capability:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.capability-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.capability h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.capability p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ============================================
   TEAM
   ============================================ */
.team {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.member:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.member-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.member-photo::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.2;
  z-index: -1;
  filter: blur(8px);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.member-role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.member-bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 56px;
  transition: all var(--transition-fast);
}

.contact-email svg {
  width: 28px;
  height: 28px;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all var(--transition-fast);
}

.contact-email:hover {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-email:hover svg {
  opacity: 1;
  transform: translate(0, 0);
}

/* Social Cards */
.socials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 800px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.social-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  background: var(--surface);
}

.social-card svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-card:hover svg {
  color: var(--text);
}

.social-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.social-handle {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-tag {
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
  text-align: center;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-sans);
}

.footer-domain {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-domain:hover {
  color: var(--text);
}

.footer-sep {
  color: var(--text-tertiary);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Stagger children if needed */
.reveal.reveal-delay-1 { transition-delay: 0.1s; }
.reveal.reveal-delay-2 { transition-delay: 0.2s; }
.reveal.reveal-delay-3 { transition-delay: 0.3s; }
.reveal.reveal-delay-4 { transition-delay: 0.4s; }

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

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 28px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0;
  }

  .project-flip .project-phones {
    order: 0;
  }

  .project-phones {
    height: 400px;
  }

  .phone-main {
    width: 190px;
  }

  .phone-side {
    width: 155px;
  }

  .phone-side-a {
    transform: translateX(-120px) rotate(-5deg);
  }

  .phone-side-b {
    transform: translateX(120px) rotate(5deg);
  }

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

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

  .hero-stats {
    gap: 32px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: auto;
  }

  .hero-eyebrow {
    font-size: 11px;
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
    margin-bottom: 20px;
  }

  .hero-sub {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stats dd {
    font-size: 26px;
  }

  .marquee-track {
    font-size: 13px;
    gap: 24px;
  }

  .project-phones {
    height: 320px;
  }

  .phone-main {
    width: 160px;
    border-radius: 22px;
  }

  .phone-side {
    width: 130px;
  }

  .phone-side-a {
    transform: translateX(-90px) rotate(-4deg);
  }

  .phone-side-b {
    transform: translateX(90px) rotate(4deg);
  }

  .capabilities {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .socials {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .social-card {
    padding: 24px 16px;
  }

  .contact-email {
    font-size: 22px;
  }

  .section-head {
    margin-bottom: 48px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-tag {
    order: -1;
  }

  .scroll-hint {
    bottom: 20px;
  }
}

/* Touch devices — show native cursor */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .hero-title .line-inner {
    animation: none;
    opacity: 1;
    transform: translateY(0);
  }

  .scroll-hint-thumb {
    animation: none;
  }
}
