:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  background: #050505;
  --bg: #000000;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #8e8e93;
  --accent: #ff6b00;
  --accent-soft: rgba(255, 107, 0, 0.16);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.18), transparent 20%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 15%),
    linear-gradient(180deg, #050505 0%, #090909 100%);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.app-shell {
  position: relative;
  min-height: 100vh;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(24px);
  background: rgba(7, 7, 7, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-link img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-logo-text {
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  display: none; /* hidden when image loads */
}

/* Show fallback text if image fails (script sets display) */
.brand-logo .brand-logo-text.show {
  display: inline-block;
}

@media (min-width: 1100px) {
  .brand-link img {
    height: 56px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 107, 0, 0.1);
  color: #fff;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 107, 0, 0.18);
}

.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 10rem 6rem 6rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(4.5rem, 5vw, 6rem);
  line-height: 0.95;
  margin: 0;
  max-width: 11ch;
}

.hero-description {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.76);
  margin: 1.75rem 0 2.75rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin-bottom: 1rem;
}

.hero-copy {
  position: relative;
  z-index: 20; /* keep text above visual elements */
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.7rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #ff6b00, #ff9252);
  color: #111;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
  height: 680px;
  min-height: 540px;
  border-radius: 3rem;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(255, 107, 0, 0.3), transparent 20%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.4));
  box-shadow: inset 0 0 120px rgba(255, 107, 0, 0.08);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-visual__glow,
.hero-visual__sphere,
.hero-visual__noise {
  position: absolute;
  inset: 0;
}

.hero-visual__glow {
  z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 107, 0, 0.4), transparent 24%);
  filter: blur(35px);
}

.hero-visual__sphere {
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), rgba(255,107,0,0.25) 28%, transparent 55%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  z-index: 0;
  box-shadow: 0 0 160px rgba(255, 107, 0, 0.24);
}

.hero-visual__noise {
  z-index: 0;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"%3E%3Cpath fill="rgba(255,255,255,0.02)" d="M0 0h120v120H0z"/%3E%3C/svg%3E');
  opacity: 0.15;
}

.section {
  padding: 7rem 6rem;
}

.section-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.page-hero {
  padding-top: 8.5rem;
  min-height: auto;
}

.hero-frame,
.glass-panel {
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-frame__content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.hero-frame__content p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.copy-block p {
  color: rgba(255,255,255,0.78);
  max-width: 42rem;
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-list article {
  padding: 1.2rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.timeline-list span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.timeline-list p {
  margin: 0;
  color: rgba(255,255,255,0.74);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.story-copy h2 {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  margin: 0 0 1rem;
}

.story-copy p {
  color: rgba(255,255,255,0.78);
  max-width: 40rem;
}

.story-card {
  padding: 2rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(255,107,0,0.15), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
}

.story-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.story-card p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.section-header span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
}

.section-header h2 {
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  line-height: 1.05;
  margin: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-facts {
  position: relative;
  z-index: 20;
}

.hero-facts--secondary {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-facts div {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-facts strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.hero-facts span {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

.partner-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(18px);
}

.partner-strip > span {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.logo-row span {
  color: rgba(255,255,255,0.86);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 45rem;
  margin: 0 0 2.5rem;
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.stats-grid div {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
}

.stats-grid strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.about-visual {
  display: grid;
  gap: 1rem;
}

.about-image {
  min-height: 420px;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(0,0,0,0.25)), url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 120px rgba(255,107,0,0.08);
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-badges div {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.about-badges strong {
  display: block;
  margin-bottom: 0.3rem;
}

.about-badges span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card,
.process-card,
.case-card,
.testimonial-card,
.cta-card,
.industry-card,
.insight-card {
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
}

.service-card {
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-grid-extended {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.feature-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
}

.feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  max-width: 38rem;
}

.feature-panel {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.feature-panel__item {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-panel__item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature-panel__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Clients section */
.clients-section .section-sub {
  color: rgba(255,255,255,0.76);
  margin-top: 0.6rem;
  max-width: 60rem;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.client-card {
  padding: 1.35rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.client-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.client-card span {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.case-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pricing-card {
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.pricing-card strong {
  font-size: 1.15rem;
}

.pricing-card-highlight {
  background: linear-gradient(145deg, rgba(255,107,0,0.15), rgba(255,255,255,0.05));
  border-color: rgba(255,107,0,0.24);
}

.accordion {
  display: grid;
  gap: 0.9rem;
}

.accordion-item {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 0, 0.3);
}

.service-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  margin-bottom: 1rem;
}

.service-card h3,
.process-card h3,
.case-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.service-card p,
.process-card p,
.case-card span,
.testimonial-card p,
.cta-card p {
  color: rgba(255,255,255,0.74);
  margin: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-card {
  padding: 1.6rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
}

.case-card {
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.42)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.case-card.large {
  grid-row: span 2;
  min-height: 460px;
}

.case-card span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #ffb37a;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.testimonial-grid,
.industry-grid,
.insight-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial-card,
.industry-card,
.insight-card,
.contact-form,
.contact-details {
  padding: 2rem;
}

.industry-card h3,
.insight-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.industry-card p,
.insight-card p {
  margin: 0;
  color: rgba(255,255,255,0.74);
}

.testimonial-card strong {
  display: block;
  margin-top: 1.2rem;
  color: #fff;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.86);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.28);
  color: #fff;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,107,0,0.5);
}

.contact-details p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.78);
}

.contact-details strong {
  color: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  min-height: 220px;
  padding: 2rem;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, rgba(255,107,0,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
}

.project-card-large {
  grid-column: span 2;
  min-height: 320px;
}

.project-card span {
  display: inline-block;
  color: #ffb37a;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.project-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cta-card {
  padding: 2.5rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(120deg, rgba(255,107,0,0.16), rgba(255,255,255,0.05));
}

.cta-card h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  max-width: 36rem;
}

.site-footer {
  padding: 6rem 6rem 4rem;
  background: rgba(0, 0, 0, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy h2 {
  font-size: clamp(3rem, 4vw, 4.5rem);
  margin: 0 0 1rem;
}

.footer-copy p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 45rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 1rem;
  text-decoration: none;
}

.custom-cursor,
.custom-cursor__follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: difference;
}

.custom-cursor {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff6b00;
  transform: translate(-50%, -50%);
}

.custom-cursor__follower {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 107, 0, 0.6);
  transform: translate(-50%, -50%);
}

@media (max-width: 1100px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .hero-visual {
    height: 460px;
    min-height: auto;
  }

  .about-grid,
  .service-grid,
  .service-grid-extended,
  .process-grid,
  .testimonial-grid,
  .industry-grid,
  .insight-grid,
  .contact-grid,
  .showcase-grid,
  .story-grid,
  .content-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    grid-column: span 1;
  }

  .showcase-grid,
  .split-feature,
  .pricing-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-facts {
    margin-top: 1rem;
  }

  .case-card.large {
    grid-row: auto;
    min-height: 220px;
  }

  .partner-strip,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .navbar {
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    row-gap: 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 1.25rem;
    right: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(8, 8, 8, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    padding: 0.7rem 0;
  }

  .nav-cta {
    margin-left: auto;
  }

  /* Hide the desktop CTA on small screens */
  .nav-cta {
    display: none !important;
  }

  .section,
  .hero-section,
  .site-footer {
    padding: 4rem 1.5rem;
  }

  /* Extra top padding so hero text isn't overlapped by fixed navbar */
  .hero-section {
    padding-top: 6.5rem;
  }

  .hero-visual {
    height: 360px;
    min-height: 360px;
    border-radius: 1.75rem;
  }

  /* Ensure hero content is not hidden under the fixed navbar on small screens */
  .hero-section {
    padding-top: 8rem;
  }

  .hero-facts,
  .hero-facts--secondary,
  .stats-grid,
  .about-badges {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.8rem, 8vw, 3.6rem);
  }

  .partner-strip {
    border-radius: 1.5rem;
  }
  .client-grid {
    grid-template-columns: 1fr;
  }
}
