:root {
  --red: #FF1616;
  --bg: #FFFFFF;
  --text: #000000;
  --btn-grey: #F2F2F2;
  --border-light: #E0E0E0;
  /* Slightly darker to appear thicker visually while remaining thin */
}

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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bird-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

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

.logo-text {
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 0.9;
  letter-spacing: -0.5px;
  color: var(--red);
}

.tagline {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0px;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--red);
  color: #FFF;
}

.btn-large {
  font-size: 0.85rem;
  padding: 1rem 2rem;
  display: inline-block;
  margin-top: 1rem;
}

.btn-menu {
  background-color: var(--btn-grey);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hamburger span {
  display: block;
  width: 14px;
  height: 2px;
  background-color: var(--text);
}

/* Base structural layout */
#app-content {
  padding-top: 90px;
  min-height: 100vh;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  width: 100%;
  isolation: isolate;
  /* Create a stacking context so screen blending applies only here */
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* Mock animated background video layer with people/colours vibe */
  background: linear-gradient(270deg, #1f1c2c, #928DAB, #E8CBC0, #636FA4);
  background-size: 800% 800%;
  animation: mockVideoBg 15s ease infinite;
}

@keyframes mockVideoBg {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-mask-layer {
  position: relative;
  z-index: 2;
  background-color: var(--bg);
  /* White background masks the video */
  color: #000;
  /* Black becomes transparent to reveal the video */
  mix-blend-mode: screen;
  width: 100%;
  padding: 1rem 1rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: Impact, "Arial Black", "Helvetica Neue", sans-serif;
  font-size: 21vw;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.5vw;
  text-align: center;
  text-transform: uppercase;
  width: 100%;
  color: #000;
  /* Knockout text */
  margin-bottom: 2rem;
  padding-right: 1.5vw;
}

.hero-media-box {
  width: 100%;
  max-width: 1800px;
  aspect-ratio: 2.3 / 1;
  border-radius: 8px;
  background-color: #000;
  /* Knockout box */
  margin-bottom: 4rem;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about {
  background-color: var(--bg);
  width: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) minmax(auto, 800px) minmax(min-content, 1fr);
  /* Reduced from 1100px */
  width: 100%;
  border-top: 1.5px solid var(--border-light);
  /* Removed bottom border so it bleeds into the next section */
}

.col-center {
  border-left: 1.5px solid var(--border-light);
  /* Increased thickness */
  border-right: 1.5px solid var(--border-light);
  /* Increased thickness */
  padding: 3.5rem 3.5rem 8rem 3.5rem;
  /* Extends vertical bounds substantially downwards to connect to next section */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center horizontally */
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  /* Left text alignment */
  width: 100%;
  max-width: 600px;
  /* Reduced bounding box size */
}

.subtitle-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  margin-left: 55%;
  /* Offset to match the visual alignment */
}

.arrow-icon {
  margin-top: 5px;
}

.subtitle {
  font-weight: 700;
  font-size: 0.75rem;
  /* Down from 0.95rem */
  letter-spacing: -0.1px;
}

.about-title {
  font-family: inherit;
  font-size: 4.5rem;
  /* Reduced from 6.5rem */
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  /* Reduced tracking naturally alongside font size */
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  /* Reduced padding */
  max-width: 100%;
}

.about-description {
  font-size: 0.95rem;
  /* Reduced from 1.25rem */
  line-height: 1.4;
  font-weight: 400;
  color: #333;
  max-width: 450px;
  /* Reduced width to scale with typography */
  margin-bottom: 2.5rem;
  /* Reduced padding below */
}

/* Base Responsive rules */
@media (max-width: 1200px) {
  .col-center {
    padding: 6rem 3rem 8rem 3rem;
  }

  .about-title {
    font-size: 5rem;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 24vw;
  }

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

  .col-left,
  .col-right {
    display: none;
  }

  .col-center {
    border-left: none;
    border-right: none;
    padding: 4rem 2rem 6rem 2rem;
  }

  .about-title {
    font-size: 4rem;
    letter-spacing: -2px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .tagline {
    display: none;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
  }

  .btn-menu {
    gap: 0.5rem;
  }

  .hero-media-box {
    aspect-ratio: 4/3;
  }

  .about-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
  }

  .about-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* =========================================
   RESULTS SECTION
========================================= */
.results {
  background-color: #000000;
  color: #FFFFFF;
  width: 100%;
  padding-bottom: 5rem;
  border-top: 1px solid #333;
}

/* Header Grid Setup */
.results-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  width: 100%;
  border-bottom: 1px solid #333;
}

.results-header-left {
  padding: 6rem 4rem;
  border-right: 1px solid #333;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.results-title {
  font-family: inherit;
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin: 0;
}

.results-intro {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #A0A0A0;
  margin-top: 5px;
  padding-left: 2rem;
}

.results-header-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Circular Button Hover Animation */
.circular-button {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.circular-button:hover {
  transform: scale(1.05);
}

.circular-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spin 15s linear infinite;
  transform-origin: center;
}

.arrow-circle {
  width: 60px;
  height: 60px;
  background-color: var(--red);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: background-color 0.3s ease;
}

.circular-button:hover .arrow-circle {
  background-color: #d11212;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Case Study Grid */
.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  width: 100%;
  border-bottom: 1px solid #333;
}

.sequel-case {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.case-info {
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.client-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #444;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
}

.case-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0;
}

.case-card {
  padding: 2rem;
  border-right: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sequel-case .case-card {
  border-right: none;
  border-left: 1px solid #333;
}

/* Base structural fixes for case media elements */
.case-media {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mock Discord Card */
.discord-bg {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent), #413d58;
  padding: 2rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
}

.tag {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  color: #fff;
}

.case-description-overlay {
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
  max-width: 80%;
  z-index: 2;
}

/* Mock mascot logic */
.discord-mascot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 80px;
  background-color: #fff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 10px;
  display: none;
}

/* Mock geometry backdrop for Discord */
.discord-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Mock Sequel Card */
.sequel-bg {
  background-color: #1a66ff;
  border-radius: 8px 8px 0 0;
  height: 100%;
}

/* =========================================
   NAVBAR DARK MODE TOGGLE LOGIC
========================================= */
/* Added to Navbar when scrolling over black sections */
.navbar.dark-mode {
  background-color: #000000;
  color: #FFFFFF;
}

.navbar.dark-mode .hamburger span {
  background-color: #FFFFFF;
}

.navbar.dark-mode .btn-menu {
  background-color: #222;
  color: #FFFFFF;
}

.navbar.dark-mode .logo-text {
  color: #FFFFFF;
}


@media (max-width: 1200px) {
  .results-header-left {
    padding: 4rem 2rem;
    gap: 2rem;
  }

  .results-title {
    font-size: 5rem;
  }

  .case-info {
    padding: 3rem 2rem;
  }

  .case-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 900px) {
  .results-header-grid {
    grid-template-columns: 1fr;
  }

  .results-header-right {
    border-top: 1px solid #333;
    padding: 3rem;
  }

  .results-header-left {
    border-right: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .results-intro {
    padding-left: 0;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .sequel-case {
    grid-template-columns: 1fr;
  }

  .sequel-case .case-info {
    order: -1;
  }

  .case-card {
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .sequel-case .case-card {
    border-left: none;
  }
}


/* =========================================
   RESULTS MATRIX (3-COLUMN EXACT)
========================================= */
.results-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.rm-cell {
  position: relative;
  display: flex;
  flex-direction: column;
}

.rm-border-r {
  border-right: 1px solid #333;
}

.rm-border-b {
  border-bottom: 1px solid #333;
}

.rm-col-2 {
  grid-column: span 2;
}

.rm-padded {
  padding: 4.5rem;
}

.rm-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rm-info-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

/* Image Cell Filling */
.rm-image-cell {
  overflow: hidden;
  min-height: 450px;
  display: flex;
  align-items: stretch;
}

.rm-image-fill {
  width: 100%;
  flex: 1;
  object-fit: cover;
  display: block;
}

/* Card Wrappers inside padded cells */
.rm-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.rm-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  margin-bottom: 2rem;
  border-radius: 6px;
  overflow: hidden;
}

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

.rm-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.m-0 {
  margin: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem;
}

.case-subtitle {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #a0a0a0;
  text-transform: uppercase;
  line-height: 1.4;
}

.quote-block {
  background-color: #000;
}

.quote-text {
  font-family: inherit;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Placeholder image stretching rule for backwards compatibility if needed */
.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Responsive Matrix */
@media (max-width: 1100px) {
  .results-matrix {
    grid-template-columns: 1fr;
  }

  .rm-col-2 {
    grid-column: span 1;
  }

  .rm-border-r {
    border-right: none;
  }

  .rm-padded {
    padding: 3rem 2rem;
  }
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-section {
  background-color: #fff;
  color: #000;
  width: 100%;
  border-top: 1px solid #e0e0e0;
}

/* Brands header */
.brands-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.brands-header-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

/* Brands carousel block */
.brands-carousel-block {
  width: 100%;
  background: linear-gradient(135deg, #b39ddb 0%, #ce93d8 20%, #f48fb1 40%, #90caf9 70%, #b39ddb 100%);
  overflow: hidden;
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brands-lane {
  overflow: hidden;
  width: 100%;
}

.brands-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marqueeLTR 28s linear infinite;
  align-items: center;
}

.brands-track-reverse {
  animation: marqueeRTL 28s linear infinite;
}

.brand-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  opacity: 0.92;
}

@keyframes marqueeLTR {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

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

  100% {
    transform: translateX(0);
  }
}

/* Services header row */
.svc-header-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: 100%;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.svc-header-empty {
  border-right: 1px solid #e0e0e0;
}

.svc-header-text {
  padding: 3.5rem;
  border-right: 1px solid #e0e0e0;
}

.svc-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.svc-heading-red {
  color: var(--red);
}

.svc-header-btn {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 4-column services grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.svc-cell {
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  color: #111;
}

.svc-border-r {
  border-right: 1px solid #e0e0e0;
}

.svc-border-b {
  border-bottom: 1px solid #e0e0e0;
}

/* =========================================
   DATA SECTION - seamless 4-col aligned
   (using [1fr 1fr 2fr] = equiv to 4 equal units)
========================================= */
.data-section {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  background-color: #000;
  color: #fff;
  width: 100%;
  border-top: 1px solid #333;
}

.data-cell {
  position: relative;
}

/* Col 1: BORN & BRED scrolling text */
.data-marquee-col {
  border-right: 1px solid #333;
  overflow: hidden;
  min-height: 580px;
}

.data-brand-marquee {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.data-brand-track {
  display: flex;
  flex-direction: column;
  animation: dataMarqueeUp 18s linear infinite;
  will-change: transform;
}

@keyframes dataMarqueeUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.data-brand-item {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 1.45rem;
  line-height: 1.1;
  white-space: nowrap;
  border-bottom: 1px solid #1a1a1a;
}

.db-light {
  font-weight: 300;
}

.db-bold {
  font-weight: 900;
}

.db-red {
  color: var(--red);
  font-weight: 900;
}

.db-reg {
  font-size: 0.55em;
  vertical-align: super;
}

/* Col 2: Big heading */
.data-heading-col {
  border-right: 1px solid #333;
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
}

.data-heading {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

/* Col 3+4: 3-sub-column stat grid */
.data-stats-area {
  display: flex;
  flex-direction: column;
}

.data-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  flex: 1;
  height: 100%;
}

.stat-cell {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
}

.stat-border-r {
  border-right: 1px solid #333;
}

.stat-border-b {
  border-bottom: 1px solid #333;
}

.stat-col-2 {
  grid-column: span 2;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-number.stat-lg {
  font-size: 4rem;
}

.stat-number.stat-xl {
  font-size: 4.5rem;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #888;
  text-transform: uppercase;
  line-height: 1.4;
}

.stat-quote {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
}

.stat-attr {
  font-size: 0.65rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive services */
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .svc-header-row {
    grid-template-columns: 1fr;
  }

  .svc-header-empty {
    display: none;
  }

  .svc-header-text,
  .svc-header-btn {
    border-right: none;
  }

  .data-section {
    grid-template-columns: 1fr;
  }

  .data-marquee-col {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .data-heading-col {
    border-right: none;
    border-bottom: 1px solid #333;
    padding: 3rem 2rem;
  }

  .data-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-col-2 {
    grid-column: span 2;
  }
}