/* @import "tailwindcss"; */

:root {
  --bg-dark: #0a0a0a;
  --bg-light: #F2EFEB;
  --accent: #4ade80;
  --ink: #ffffff;
  --ink-dark: #111113;
  --ink-soft: rgba(255, 255, 255, 0.75);
  --border: rgba(255, 255, 255, 0.12);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Outfit', 'Instrument Serif', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Scroll Reveal Animations */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-section.is-revealed {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--ink);
}

body {
  background-color: var(--bg-dark);
  color: var(--ink);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-main);
}

.font-mono {
  font-family: var(--font-mono);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #ffffff;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

/* Liquid Glass Elements */
.liquid-glass {
  background: rgba(255, 255, 255, 0.02);
  background-blend-mode: luminosity;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
      rgba(255,255,255,0.4) 0%, 
      rgba(255,255,255,0.1) 20%,
      rgba(255,255,255,0) 40%, 
      rgba(255,255,255,0) 60%,
      rgba(255,255,255,0.1) 80%, 
      rgba(255,255,255,0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hero Multi-Layer Container */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}

.layer-grid {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.18;
  background-image: linear-gradient(#64748b 0.6px, transparent 0.6px), linear-gradient(90deg, #64748b 0.6px, transparent 0.6px);
  background-size: 48px 48px;
  pointer-events: none;
}

.layer-bg-img {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-image: url('https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260713_140344_79e1296a-86d7-43fd-9b5f-63ffe560f291.png&w=1280&q=85');
  background-size: cover;
  background-position: center;
}

.layer-text {
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

.layer-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 14vw, 15rem);
  line-height: 0.85;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.layer-text p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 4.5rem);
  font-style: italic;
  opacity: 0.9;
  color: #ffffff;
}

.layer-overlay-img {
  position: absolute;
  inset: 0;
  z-index: 25;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
}

/* Reveal Mask Video Layer */
.layer-reveal {
  position: absolute;
  inset: 0;
  z-index: 30;
  clip-path: inset(35% 0 0 0);
  pointer-events: none;
}

.reveal-mask {
  width: 100%;
  height: 100%;
  background: #000;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
      white 0%, 
      rgba(255,255,255,0.75) 60%, 
      rgba(255,255,255,0.4) 75%, 
      rgba(255,255,255,0.12) 88%, 
      transparent 100%);
  mask-image: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
      white 0%, 
      rgba(255,255,255,0.75) 60%, 
      rgba(255,255,255,0.4) 75%, 
      rgba(255,255,255,0.12) 88%, 
      transparent 100%);
}

.reveal-mask video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-tags {
  position: absolute;
  bottom: 2.5rem;
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 50;
}

.meta-item {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

.meta-item strong {
  color: white;
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
}

/* Feature Grid for Services (Dark) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
  background: #111113;
  padding: 36px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-item:hover {
  background: #18181c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 12px;
  font-weight: 400;
  color: #ffffff;
}

.feature-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.feature-item video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Feature Grid for Services (Light) */
.feature-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.feature-item-light {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 19, 0.1);
  padding: 36px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.feature-item-light:hover {
  border-color: rgba(17, 17, 19, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.feature-item-light h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #111113;
}

.feature-item-light p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(17, 17, 19, 0.75);
  margin-bottom: 24px;
}

.feature-item-light video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: 4px;
}

/* Card Creative Light */
.card-creative-light {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 19, 0.12);
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.card-creative-light:hover {
  border-color: #16a34a;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.1);
}

/* Skills Dark Panel */
.skills-panel {
  background: #0a0a0a;
  color: #ffffff;
  padding: 100px 4vw;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 1024px) {
  .skills-panel {
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.skill-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.skill-item span:last-child {
  color: var(--accent);
  font-weight: 700;
}

.btn-pill {
  background: #ffffff;
  color: #0a0a0a;
  padding: 0.75rem 1.75rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #ffffff;
  cursor: pointer;
}

.btn-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.tag {
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.card-creative {
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.card-creative:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.12);
}

footer {
  padding: 3rem 4vw;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: #ffffff;
  background-color: #0a0a0a;
}

@media (min-width: 640px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

