:root {
  --primary: #FF4D00; /* Electric Pulse */
  --secondary: #00D2FF; /* Sky High Blue */
  --base-light: #F9F9F9; /* Cloud Silk */
  --base-dark: #2D3436; /* Ink Steel */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif; /* Plus Jakarta Sans works well for both */
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --section-gap: 160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--base-light);
  color: var(--base-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Cursor */
.custom-cursor-enabled {
    cursor: none;
}

.custom-cursor-enabled a, 
.custom-cursor-enabled button,
.custom-cursor-enabled summary {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

.custom-cursor-outline {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 77, 0, 0.1);
    border-color: transparent;
}

/* Motif Background */
.motif-25f {
  position: fixed;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-size: 60vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  z-index: -1;
  pointer-events: none;
  line-height: 0.8;
  user-select: none;
  -webkit-text-stroke: 1px rgba(0,0,0,0.05);
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1000;
  transition: padding 0.3s ease;
}

header.scrolled {
  padding: 20px 60px;
  background: rgba(249, 249, 249, 0.84);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  z-index: 2000;
  transition: width 0.1s linear;
}

.logo-img-wrapper {
  display: block;
}

.logo-image {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.logo-image:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--base-dark);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

/* Section Containers */
section {
  min-height: 100dvh;
  padding: 100px 60px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 4px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.sub-label {
  font-size: 10px;
  letter-spacing: 5px;
  font-weight: 800;
  color: var(--base-dark);
  opacity: 0.5;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -4px;
  margin-bottom: 40px;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-subtext {
  font-size: 20px;
  max-width: 500px;
  color: var(--base-dark);
  opacity: 0.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.cta-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--base-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.cta-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
  transform-origin: right;
  transform: scaleX(0);
}

.cta-link:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image:hover {
  transform: scale(1.05);
}

/* Manifesto Section */
.manifesto-section {
  background-color: transparent;
  padding-left: 15vw;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 120px;
  align-items: center;
}

.manifesto-content {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--base-dark);
  letter-spacing: -1px;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.grayscale-to-color img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition);
}

.grayscale-to-color:hover img {
  filter: grayscale(0%);
}

/* Pillars Section */
.pillars-section {
  justify-content: flex-start;
  padding-top: 160px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 120px;
}

.pillar-item {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pillar-number {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  position: absolute;
  top: 10px;
  left: 0;
}

.pillar-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.pillar-desc {
  font-size: 16px;
  color: var(--base-dark);
  opacity: 0.7;
}

/* Labs Section */
.labs-section {
  background-color: var(--base-dark);
  color: var(--base-light);
  max-width: 100%;
  width: 100%;
  border-radius: 60px;
  margin: 100px 0;
}

.labs-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.labs-section .section-title {
  color: var(--secondary);
}

.labs-subtitle {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 30px;
  color: var(--base-light);
}

.labs-desc {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 60px;
  line-height: 1.6;
}

.labs-stats {
  display: flex;
  gap: 100px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.5;
  text-transform: uppercase;
}

.labs-image-container {
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.labs-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
  pointer-events: none;
}

.labs-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Portfolio Section */
.portfolio-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.portfolio-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background-color: var(--base-dark);
}

.portfolio-image-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

.portfolio-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-overlay h4 {
    font-size: 24px;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 14px;
    opacity: 0.7;
}

/* Process Section */
.dark-section {
    background-color: var(--base-dark);
    color: var(--base-light);
    max-width: 100%;
    border-radius: 60px;
    margin: 80px 0;
}

.process-headline {
    font-size: 80px;
    letter-spacing: -4px;
    line-height: 0.9;
    margin-bottom: 80px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.process-step {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
}

.step-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

.process-step h5 {
    font-size: 24px;
    margin-bottom: 15px;
}

.process-step p {
    opacity: 0.6;
    font-weight: 300;
}

/* Team Section */
.team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.team-hero-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.team-hero-image img {
    width: 100%;
    display: block;
}

.team-stats-float {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 4s ease-in-out infinite alternate;
}

.float-item:nth-child(2) { animation-delay: 1s; }
.float-item:nth-child(3) { animation-delay: 2s; }

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(10px); }
}

.team-text {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 40px;
    font-weight: 300;
}

/* FAQ Section */
.faq-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.faq-headline {
    font-size: 64px;
    letter-spacing: -3px;
    line-height: 1;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-item summary {
    font-size: 20px;
    font-weight: 700;
    list-style: none;
    cursor: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    color: var(--primary);
    font-size: 24px;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding-top: 20px;
    opacity: 0.7;
    font-size: 16px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary), #FF8500);
    padding: 100px 60px;
    border-radius: 60px;
    text-align: center;
    color: white;
}

.newsletter-box h2 {
    font-size: 64px;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.newsletter-box p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 30px;
    color: white;
    font-family: inherit;
    font-weight: 600;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: white;
    color: var(--primary);
    border: none;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: none;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Visual Blob improvements */
.visual-blob {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-motion 10s infinite alternate;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: flex-end;
}

.address {
  margin-bottom: 40px;
}

.address-line {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--secondary);
}

.contact-footer {
  font-size: 14px;
  opacity: 0.5;
  text-align: right;
}

/* Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

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

.reveal-fade {
  opacity: 0;
  transition: var(--transition);
}

.reveal-fade.active {
  opacity: 1;
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* Careers Section */
.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.careers-visual {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 600px;
}

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

.careers-headline {
    font-size: 64px;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 20px;
}

.careers-text {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 40px;
}

.open-positions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 60px;
}

.position-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.position-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pos-info h6 {
    font-size: 18px;
    font-weight: 700;
}

.pos-info span {
    font-size: 12px;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pos-type {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255, 77, 0, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
}

@media (max-width: 1024px) {
  header { padding: 30px; }
  section { padding: 80px 30px; }
  .hero-section { grid-template-columns: 1fr; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; gap: 60px; }
  .labs-container { grid-template-columns: 1fr; text-align: center; }
  .labs-stats { justify-content: center; }
  .visual-blob { margin: 0 auto; width: 300px; height: 300px; }
  .contact-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-footer { text-align: center; margin-top: 60px; }
  .address-line { font-size: 32px; }
}
