/* ── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #ff9500;
  --accent2: #ffb347;
  --bg: #050505;
  --bg2: #0a0a0a;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(255, 149, 0, 0.15);
  --text: #f5f5f5;
  --text-muted: rgba(245, 245, 245, 0.6);
  --font-main: 'Outfit', sans-serif;
  --font-alt: 'Space Grotesk', sans-serif;
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

/* ── PREMIUM UTILITIES ───────────────────────────────────── */
.glass-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.glow-hover {
  transition: var(--transition);
}

.glow-hover:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.05);
  transform: translateY(-4px);
}


/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ── NAV ─────────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  transition: background var(--transition), backdrop-filter var(--transition), padding var(--transition);
}

#main-nav.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
}

.nav-logo {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.nav-cta:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 149, 0, 0.5);
}

/* ── ACCENT UTILS ────────────────────────────────────────── */
.accent {
  color: var(--accent);
}

.accent-gradient {
  background: linear-gradient(90deg, #ffb347, #ff9500, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── VIDEO SCROLL SECTION ────────────────────────────────── */
#video-scroll-section {
  /* height = how long we scroll. 500vh = 5 screens worth of scroll */
  height: 500vh;
  position: relative;
}

#video-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#scroll-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Cinematic overlays */
.vid-overlay {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 2;
}

.vid-overlay-bottom {
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, #080808 0%, transparent 100%);
}

.vid-overlay-top {
  top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.75) 0%, transparent 100%);
}

/* Per-stage dark scrims — keeps text legible on any video frame */
#stage-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

#stage-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

#stage-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

#stage-4::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

/* ── VIDEO STAGES ────────────────────────────────────────── */
.vid-stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Stage 1 sits at bottom-left — cinematic style */
#stage-1 {
  justify-content: flex-end;
  padding-bottom: 80px;
}

.vid-stage.active,
.vid-stage.leaving {
  opacity: 1;
  pointer-events: auto;
}

/* Stage layout variants */
.stage-content {
  padding: 0 80px;
  max-width: 600px;
  position: relative;
  z-index: 2;
  /* above the ::before scrim */
}

.stage-content--right {
  margin-left: auto;
  margin-right: 80px;
  text-align: right;
}

.stage-content--left {
  margin-left: 80px;
  text-align: left;
}

.stage-content--center {
  margin: 0 auto;
  text-align: center;
  max-width: 700px;
  padding: 0 40px;
}

/* ── Stage text: default state (hidden) ─────────────────────
   Each child element starts invisible + offset in its direction
   ─────────────────────────────────────────────────────────── */
.vid-stage .eyebrow,
.vid-stage .hero-title,
.vid-stage .section-title,
.vid-stage .hero-sub,
.vid-stage .hero-founder-badge,
.vid-stage .stage-body,
.vid-stage .cta-row {
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.85s ease;
}

/* Strong text shadow so text is readable on any video frame */
.vid-stage .eyebrow,
.vid-stage .hero-title,
.vid-stage .section-title,
.vid-stage .hero-sub,
.vid-stage .stage-body {
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 4px 32px rgba(0, 0, 0, 0.7);
}

/* Stage 1 — text slides UP from below (hero at bottom-left) */
#stage-1 .eyebrow,
#stage-1 .hero-title,
#stage-1 .hero-sub,
#stage-1 .hero-founder-badge {
  transform: translateY(50px);
}

/* Stage 2 — text slides IN from the RIGHT */
#stage-2 .eyebrow,
#stage-2 .section-title,
#stage-2 .stage-body {
  transform: translateX(100px);
}

/* Stage 3 — text slides IN from the LEFT */
#stage-3 .eyebrow,
#stage-3 .section-title,
#stage-3 .stage-body {
  transform: translateX(-100px);
}

/* Stage 4 — text rises from CENTER (scale + translateY) */
#stage-4 .eyebrow,
#stage-4 .section-title,
#stage-4 .stage-body,
#stage-4 .cta-row {
  transform: translateY(40px) scale(0.97);
}

/* ── ACTIVE state — all snap to natural position ─────────── */
.vid-stage.active .eyebrow {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.05s;
}

.vid-stage.active .hero-title {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.18s;
}

.vid-stage.active .section-title {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.18s;
}

.vid-stage.active .hero-sub {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.35s;
}

.vid-stage.active .hero-founder-badge {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.45s;
}

.vid-stage.active .stage-body {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.3s;
}

.vid-stage.active .cta-row {
  transform: translate(0) scale(1);
  opacity: 1;
  transition-delay: 0.48s;
}

/* ── LEAVING state — fast exit in reverse direction ─────── */
.vid-stage.leaving .eyebrow,
.vid-stage.leaving .hero-title,
.vid-stage.leaving .section-title,
.vid-stage.leaving .hero-sub,
.vid-stage.leaving .hero-founder-badge,
.vid-stage.leaving .stage-body,
.vid-stage.leaving .cta-row {
  transition: transform 0.35s cubic-bezier(0.55, 0, 1, 0.45),
    opacity 0.3s ease;
  transition-delay: 0s !important;
  opacity: 0;
}

/* Stage 1 exit — slides back DOWN */
#stage-1.leaving .eyebrow,
#stage-1.leaving .hero-title,
#stage-1.leaving .hero-sub,
#stage-1.leaving .hero-founder-badge {
  transform: translateY(40px);
}

/* Stage 2 exit — slides back RIGHT */
#stage-2.leaving .eyebrow,
#stage-2.leaving .section-title,
#stage-2.leaving .stage-body {
  transform: translateX(80px);
}

/* Stage 3 exit — slides back LEFT */
#stage-3.leaving .eyebrow,
#stage-3.leaving .section-title,
#stage-3.leaving .stage-body {
  transform: translateX(-80px);
}

/* Stage 4 exit — sinks back DOWN */
#stage-4.leaving .eyebrow,
#stage-4.leaving .section-title,
#stage-4.leaving .stage-body,
#stage-4.leaving .cta-row {
  transform: translateY(30px) scale(0.97);
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  display: flex;
  flex-direction: column;
}

.hero-title .line {
  display: block;
}

.hero-sub {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding: 16px 28px;
  border-radius: 50px;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 157, 0, 0.2);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 157, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-founder-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 157, 0, 0.6);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(255, 157, 0, 0.15);
}

.hero-founder-badge i {
  color: #ff9d00;
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(255, 157, 0, 0.6));
}

.hero-founder-badge strong {
  color: #ff9d00;
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-title.big-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.stage-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
}

.stage-body--center {
  margin: 0 auto 32px;
  text-align: center;
}

/* ── CTA BUTTONS ─────────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 100px;
  letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 0 24px rgba(255, 149, 0, 0.4);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 149, 0, 0.6);
}

.btn-ghost {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 32px;
  border-radius: 100px;
  border: 1px solid var(--border);
  letter-spacing: 0.3px;
  transition: border-color 0.25s, color 0.25s, transform 0.2s, background 0.25s;
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(255, 149, 0, 0.08);
}

/* ── SCROLL HINT ─────────────────────────────────────────── */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s 1.2s forwards;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── PROGRESS BAR ────────────────────────────────────────── */
#progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff9500);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255, 149, 0, 0.6);
}

/* ── STAGE DOTS ──────────────────────────────────────────── */
#stage-dots {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(255, 149, 0, 0.6);
}

/* ── CONTENT SECTIONS ────────────────────────────────────── */
.content-section {
  padding: 120px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.text-center {
  text-align: center;
}

.body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* =========================================================
   XYPHLA — ABOUT SECTION
   ========================================================= */

.about-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%,
      rgba(255, 157, 0, 0.055),
      transparent 30%),
    #070707;
  color: #f5f5f5;
  padding: 150px 0 130px;
  isolation: isolate;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.about-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image: linear-gradient(to bottom,
      transparent,
      black 15%,
      black 80%,
      transparent);
}


.about-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: -2;
}

.about-orb-1 {
  width: 420px;
  height: 420px;

  top: 15%;
  right: -180px;

  background: rgba(255, 157, 0, 0.08);
}

.about-orb-2 {
  width: 280px;
  height: 280px;

  bottom: 10%;
  left: -150px;

  background: rgba(255, 157, 0, 0.045);
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.about-container {
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding: 0 35px;
}


/* ---------------------------------------------------------
   SECTION HEADER
   --------------------------------------------------------- */

.about-section-top {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 80px;
}

.about-number {
  font-size: 13px;
  font-weight: 700;
  color: #ff9d00;
  letter-spacing: 0.18em;
}

.about-label {
  display: flex;
  align-items: center;
  gap: 12px;

  color: #8b8b8b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.label-line {
  width: 35px;
  height: 1px;
  background: #ff9d00;
}


/* ---------------------------------------------------------
   MAIN GRID
   --------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: center;
}


/* ---------------------------------------------------------
   LEFT
   --------------------------------------------------------- */

.about-kicker {
  margin-bottom: 20px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ff9d00;
}

.about-kicker span {
  margin: 0 8px;
  color: #555;
}


.about-heading {
  margin: 0;

  font-size: clamp(64px, 7vw, 105px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 800;

  color: #f5f5f5;
}

.about-heading span {
  color: #ff9d00;
}


.about-lead {
  max-width: 650px;

  margin: 38px 0 20px;

  font-size: 21px;
  line-height: 1.55;
  font-weight: 500;

  color: #d8d8d8;
}


.about-description {
  max-width: 620px;

  margin: 0 0 14px;

  font-size: 15px;
  line-height: 1.8;

  color: #777;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 34px;
}


.about-btn {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 20px;

  border-radius: 9px;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}


.about-btn-primary {
  background: #ff9d00;
  color: #080808;

  box-shadow:
    0 10px 35px rgba(255, 157, 0, 0.16);
}


.about-btn-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 15px 45px rgba(255, 157, 0, 0.28);
}


.about-btn-secondary {
  color: #eee;

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 255, 255, 0.12);
}


.about-btn-secondary:hover {
  transform: translateY(-3px);

  border-color: rgba(255, 157, 0, 0.5);

  background: rgba(255, 157, 0, 0.05);
}


.arrow-icon {
  font-size: 10px;
  opacity: 0.7;
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.about-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 55px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.about-stat strong {
  font-size: 27px;
  line-height: 1;
  color: #f5f5f5;
}

.about-stat span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
}


/* ---------------------------------------------------------
   CHARACTER VISUAL
   --------------------------------------------------------- */

.about-visual {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: flex-end;
  justify-content: center;
}


.character-frame {
  position: relative;

  width: min(100%, 570px);
  height: 650px;

  overflow: hidden;

  border-radius: 20px;

  background:
    linear-gradient(145deg,
      #171717,
      #080808);

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55);
}


.character-frame::before {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  background:
    linear-gradient(135deg,
      rgba(255, 157, 0, 0.12),
      transparent 35%,
      transparent 70%,
      rgba(255, 157, 0, 0.04));

  z-index: 2;

  pointer-events: none;
}


.character-image {
  position: absolute;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  filter:
    saturate(0.85) contrast(1.08);

  transition:
    transform 1s cubic-bezier(.2, .7, .2, 1);
}


.about-visual:hover .character-image {
  transform: scale(1.035);
}


.character-gradient {
  position: absolute;
  inset: 0;

  z-index: 3;

  pointer-events: none;

  background:
    linear-gradient(to top,
      rgba(7, 7, 7, 0.95),
      rgba(7, 7, 7, 0.15) 55%,
      transparent 75%);
}


.character-glow {
  position: absolute;

  width: 300px;
  height: 300px;

  right: 10%;
  bottom: 15%;

  background: rgba(255, 157, 0, 0.13);

  filter: blur(90px);

  z-index: -1;
}


/* ---------------------------------------------------------
   CHARACTER NUMBER
   --------------------------------------------------------- */

.character-number {
  position: absolute;

  top: 25px;
  right: 25px;

  z-index: 10;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;

  color: #fff;
}


.character-number span {
  color: #ff9d00;
  margin: 0 5px;
}


/* ---------------------------------------------------------
   IDENTITY CARD
   --------------------------------------------------------- */

.identity-card {
  position: absolute;

  left: -45px;
  bottom: 35px;

  width: 300px;

  padding: 22px;

  z-index: 10;

  border-radius: 14px;

  background:
    rgba(12, 12, 12, 0.9);

  border:
    1px solid rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(18px);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.55);
}


.identity-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 22px;
}


.identity-status {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 9px;
  font-weight: 700;

  color: #ff9d00;

  letter-spacing: 0.15em;
}


.status-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #39d98a;

  box-shadow:
    0 0 12px rgba(57, 217, 138, 0.7);
}


.identity-location {
  font-size: 10px;
  color: #666;
}


.identity-location i {
  color: #ff9d00;
  margin-right: 4px;
}


.identity-name {
  font-size: 25px;
  font-weight: 750;

  color: #f5f5f5;
}


.identity-role {
  margin-top: 4px;

  font-size: 11px;

  color: #777;
}


.identity-role span {
  color: #ff9d00;
  margin: 0 4px;
}


.identity-divider {
  height: 1px;

  margin: 20px 0;

  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.5),
      rgba(255, 255, 255, 0.05));
}


.identity-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}


.identity-details div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.identity-details span {
  font-size: 8px;

  letter-spacing: 0.15em;

  color: #555;
}


.identity-details strong {
  font-size: 10px;

  line-height: 1.4;

  color: #ccc;
}


/* ---------------------------------------------------------
   TECH BADGE
   --------------------------------------------------------- */

.tech-badge {
  position: absolute;

  top: 90px;
  left: -35px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 11px 15px;

  border-radius: 10px;

  background: rgba(10, 10, 10, 0.88);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(15px);

  z-index: 10;

  animation:
    floatBadge 5s ease-in-out infinite;
}


.tech-badge-icon {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border-radius: 7px;

  background: rgba(255, 157, 0, 0.1);

  color: #ff9d00;

  font-size: 11px;
}


.tech-badge div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}


.tech-badge span {
  font-size: 7px;

  color: #555;

  letter-spacing: 0.15em;
}


.tech-badge strong {
  font-size: 10px;

  color: #ccc;
}


@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}


/* ---------------------------------------------------------
   BOTTOM QUOTE
   --------------------------------------------------------- */

.about-bottom {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-top: 120px;
}


.about-bottom p {
  margin: 0;

  white-space: nowrap;

  font-size: 11px;

  color: #666;

  letter-spacing: 0.08em;
}


.bottom-line {
  height: 1px;
  flex: 1;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.35));
}

.bottom-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.35),
      transparent);
}


/* ---------------------------------------------------------
   SCROLL REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.about-main.reveal {
  transition-delay: 0.1s;
}


.about-visual.reveal {
  transition-delay: 0.2s;
}


.about-bottom.reveal {
  transition-delay: 0.35s;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1050px) {

  .about-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .about-main {
    max-width: 800px;
  }

  .about-visual {
    min-height: 620px;
  }

  .character-frame {
    width: min(100%, 600px);
  }

  .identity-card {
    left: 5%;
  }

  .tech-badge {
    left: 5%;
  }
}


@media (max-width: 700px) {

  .about-section {
    padding: 100px 0 80px;
  }

  .about-container {
    padding: 0 20px;
  }

  .about-section-top {
    margin-bottom: 55px;
  }

  .about-heading {
    font-size: clamp(54px, 16vw, 80px);
  }

  .about-lead {
    font-size: 17px;
    margin-top: 28px;
  }

  .about-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    gap: 16px;
    justify-content: space-between;
  }

  .about-stat strong {
    font-size: 22px;
  }

  .about-stat span {
    font-size: 8px;
  }

  .stat-divider {
    height: 30px;
  }

  .about-visual {
    min-height: 530px;
    margin-top: 15px;
  }

  .character-frame {
    height: 530px;
    border-radius: 16px;
  }

  .identity-card {
    left: 15px;
    right: 15px;
    bottom: 20px;
    width: auto;
  }

  .tech-badge {
    top: 25px;
    left: 15px;
  }

  .about-bottom {
    margin-top: 80px;
  }

  .about-bottom p {
    font-size: 9px;
    white-space: normal;
    text-align: center;
  }
}


@media (max-width: 430px) {

  .about-heading {
    font-size: 53px;
  }

  .about-stats {
    gap: 10px;
  }

  .about-stat strong {
    font-size: 19px;
  }

  .about-stat span {
    font-size: 7px;
  }

  .identity-card {
    padding: 17px;
  }

  .identity-name {
    font-size: 21px;
  }

  .identity-details {
    gap: 10px;
  }

  .tech-badge {
    display: none;
  }
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .character-image,
  .tech-badge,
  .reveal {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── GLASS CARD ──────────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 149, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.glow-center {
  background: radial-gradient(circle at 50% 0%, rgba(255, 149, 0, 0.12) 0%, transparent 60%);
}

.about-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 14px;
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffaa70;
  transition: background 0.2s, border-color 0.2s;
}

.tag:hover {
  background: rgba(255, 149, 0, 0.2);
  border-color: rgba(255, 149, 0, 0.5);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.avail-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00e87e;
  box-shadow: 0 0 10px rgba(0, 232, 126, 0.6);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 232, 126, 0.6);
  }

  50% {
    box-shadow: 0 0 20px rgba(0, 232, 126, 0.9);
  }
}


/* =========================================================
   XYPHLA — EDUCATION & CERTIFICATIONS
   ========================================================= */

.credentials-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 130px;

  background:
    radial-gradient(circle at 20% 40%,
      rgba(255, 157, 0, 0.035),
      transparent 30%),
    #070707;

  color: #f5f5f5;
}


/* ---------------------------------------------------------
   BACKGROUND GRID
   --------------------------------------------------------- */

.credentials-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.13;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);

  pointer-events: none;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.credentials-container {
  position: relative;

  max-width: 1180px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.credentials-header {
  max-width: 760px;

  margin-bottom: 90px;
}


.credentials-index {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 25px;
}


.credentials-index span {
  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.18em;

  color: #ff9d00;
}


.credentials-index div {
  width: 35px;
  height: 1px;

  background: #ff9d00;
}


.credentials-index small {
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.22em;

  color: #666;
}


.credentials-title {
  margin: 0;

  font-size: clamp(60px, 7vw, 95px);

  line-height: 0.92;

  letter-spacing: -0.055em;

  font-weight: 800;

  color: #f5f5f5;
}


.credentials-title span {
  color: #ff9d00;
}


.credentials-intro {
  max-width: 650px;

  margin-top: 30px;

  font-size: 16px;
  line-height: 1.75;

  color: #707070;
}


/* ---------------------------------------------------------
   TIMELINE
   --------------------------------------------------------- */

.credentials-timeline {
  position: relative;
}


.timeline-group {
  position: relative;

  margin-bottom: 90px;
}


.timeline-label {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 25px;

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.2em;

  color: #666;
}


.timeline-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #ff9d00;

  box-shadow:
    0 0 15px rgba(255, 157, 0, 0.5);
}


/* ---------------------------------------------------------
   CREDENTIAL ITEM
   --------------------------------------------------------- */

.credential-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1px 1fr;
  gap: 25px;
  padding: 30px;
  margin-bottom: 20px;
  transition: padding 0.35s ease, border-color 0.4s, box-shadow 0.4s;
}


.credential-item:hover {
  padding-left: 12px;
}


.credential-item.featured {
  padding: 35px 25px;

  border:
    1px solid rgba(255, 255, 255, 0.09);

  border-radius: 16px;

  background:
    linear-gradient(135deg,
      rgba(255, 157, 0, 0.055),
      rgba(255, 255, 255, 0.015));

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.25);
}


.credential-year {
  padding-top: 5px;

  font-size: 13px;
  font-weight: 800;

  color: #f0f0f0;

  letter-spacing: 0.05em;
}


.credential-year span {
  display: block;

  margin-top: 4px;

  font-size: 8px;

  color: #555;

  letter-spacing: 0.12em;
}


.credential-line {
  width: 1px;

  background:
    linear-gradient(to bottom,
      rgba(255, 157, 0, 0.7),
      rgba(255, 255, 255, 0.04));
}


.credential-content {
  display: flex;
  align-items: center;

  gap: 22px;
}


.credential-icon {
  flex: 0 0 50px;

  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background:
    rgba(255, 157, 0, 0.07);

  border:
    1px solid rgba(255, 157, 0, 0.14);

  color: #ff9d00;

  font-size: 17px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.credential-item:hover .credential-icon {
  transform: translateY(-3px);

  background:
    rgba(255, 157, 0, 0.13);
}


.credential-main {
  flex: 1;
}


.credential-type {
  display: block;

  margin-bottom: 7px;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.18em;

  color: #ff9d00;
}


.credential-main h3 {
  margin: 0;

  font-size: 19px;
  line-height: 1.3;

  font-weight: 650;

  color: #eee;
}


.credential-main p {
  margin: 6px 0 0;

  font-size: 12px;

  color: #666;
}


.credential-meta {
  display: flex;
  gap: 18px;

  margin-top: 14px;
}


.credential-meta span {
  font-size: 9px;

  color: #555;
}


.credential-meta i {
  margin-right: 5px;

  color: #ff9d00;
}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.credential-status {
  align-self: flex-start;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 7px 10px;

  border-radius: 100px;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.1em;

  color: #39d98a;

  background:
    rgba(57, 217, 138, 0.055);

  border:
    1px solid rgba(57, 217, 138, 0.12);
}


.status-pulse {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #39d98a;

  box-shadow:
    0 0 10px rgba(57, 217, 138, 0.7);
}


/* ---------------------------------------------------------
   VERIFY LINK
   --------------------------------------------------------- */

.credential-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 12px;

  border-radius: 7px;

  color: #888;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  text-decoration: none;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.1em;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}


.credential-link:hover {
  color: #ff9d00;

  border-color:
    rgba(255, 157, 0, 0.35);

  background:
    rgba(255, 157, 0, 0.05);
}


.credential-link i {
  font-size: 8px;
}


/* ---------------------------------------------------------
   VERIFIED BADGE
   --------------------------------------------------------- */

.credential-badge {
  align-self: center;

  padding: 7px 10px;

  border-radius: 100px;

  color: #777;

  border:
    1px solid rgba(255, 255, 255, 0.08);

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.12em;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.credentials-footer {
  display: flex;
  align-items: center;

  gap: 25px;

  margin-top: 110px;
}


.footer-line {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.footer-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.footer-content {
  display: flex;
  align-items: center;
  gap: 14px;
}


.footer-content p {
  margin: 0;

  white-space: nowrap;

  font-size: 10px;

  color: #555;

  letter-spacing: 0.08em;
}


.footer-symbol {
  color: #ff9d00;
  font-size: 15px;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

  .credentials-section {
    padding: 110px 0 90px;
  }

  .credentials-container {
    padding: 0 20px;
  }

  .credentials-title {
    font-size: clamp(55px, 15vw, 80px);
  }

  .credential-item {
    grid-template-columns: 70px 1px 1fr;

    gap: 15px;
  }

  .credential-content {
    flex-wrap: wrap;
  }

  .credential-status,
  .credential-link,
  .credential-badge {
    margin-left: 72px;
  }

}


@media (max-width: 560px) {

  .credentials-header {
    margin-bottom: 60px;
  }

  .credentials-index small {
    font-size: 8px;
  }

  .credentials-title {
    font-size: 54px;
  }

  .credentials-intro {
    font-size: 14px;
  }

  .credential-item,
  .credential-item.featured {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .credential-line {
    display: none;
  }

  .credential-year {
    order: -2;

    font-size: 11px;

    color: #ff9d00;
  }

  .credential-content {
    gap: 15px;
  }

  .credential-icon {
    width: 43px;
    height: 43px;

    flex-basis: 43px;
  }

  .credential-main h3 {
    font-size: 16px;
  }

  .credential-status,
  .credential-link,
  .credential-badge {
    margin-left: 0;
  }

  .credential-meta {
    flex-direction: column;
    gap: 6px;
  }

  .credentials-footer {
    margin-top: 80px;
  }

  .footer-content p {
    white-space: normal;

    text-align: center;

    font-size: 9px;
  }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

/* =========================================================
   XYPHLA PERSONAL PORTFOLIO
   SERVICES / WHAT I BUILD
   ========================================================= */

.services-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 130px;

  background:
    radial-gradient(circle at 80% 30%,
      rgba(255, 157, 0, 0.045),
      transparent 28%),
    #070707;

  color: #f5f5f5;
}


.services-container {
  position: relative;

  max-width: 1280px;
  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.services-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.12;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);

  pointer-events: none;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.services-header {
  margin-bottom: 75px;
}


.services-index {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 25px;
}


.services-index span {
  color: #ff9d00;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.services-index div {
  width: 35px;
  height: 1px;

  background: #ff9d00;
}


.services-index small {
  color: #666;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.22em;
}


.services-heading-row {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 100px;

  align-items: end;
}


.services-title {
  margin: 0;

  font-size: clamp(60px, 8vw, 105px);

  line-height: 0.88;

  letter-spacing: -0.06em;

  font-weight: 800;
}


.services-title span {
  color: #ff9d00;
}


.services-intro {
  margin: 0;

  max-width: 420px;

  color: #707070;

  font-size: 15px;
  line-height: 1.75;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.services-grid {
  display: grid;

  grid-template-columns:
    1.35fr 1fr 1fr;

  grid-template-rows:
    auto auto;

  gap: 16px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.service-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
  isolation: isolate;
}


/* ---------------------------------------------------------
   FEATURED
   --------------------------------------------------------- */

.service-featured {
  grid-row: span 2;

  min-height: 796px;

  background:
    radial-gradient(circle at 80% 25%,
      rgba(255, 157, 0, 0.13),
      transparent 35%),
    linear-gradient(145deg,
      #17120b,
      #0b0b0b 65%);
}


.service-featured:hover {
  border-color:
    rgba(255, 157, 0, 0.45);
}


/* ---------------------------------------------------------
   CARD TOP
   --------------------------------------------------------- */

.service-card-top {
  position: relative;
  z-index: 3;

  display: flex;

  align-items: center;
  justify-content: space-between;
}


.service-number {
  font-size: 10px;
  font-weight: 800;

  color: #555;

  letter-spacing: 0.16em;
}


.service-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.075);

  border:
    1px solid rgba(255, 157, 0, 0.14);

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.service-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.06);

  background:
    rgba(255, 157, 0, 0.13);
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.service-content {
  position: relative;
  z-index: 3;

  margin-top: 100px;
}


.service-featured .service-content {
  margin-top: 250px;
}


.service-type {
  display: block;

  margin-bottom: 12px;

  color: #ff9d00;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.2em;
}


.service-content h3 {
  margin: 0;

  font-size: clamp(29px, 3vw, 45px);

  line-height: 0.98;

  letter-spacing: -0.04em;

  font-weight: 750;

  color: #eee;
}


.service-featured .service-content h3 {
  font-size: clamp(45px, 5vw, 70px);
}


.service-content h3 span {
  color: #ff9d00;
}


.service-content p {
  max-width: 440px;

  margin: 22px 0 0;

  color: #737373;

  font-size: 13px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   TECH STACK
   --------------------------------------------------------- */

.service-tech-stack,
.service-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 25px;
}


.service-tech-stack span,
.service-tags span {
  padding: 7px 9px;

  border-radius: 5px;

  color: #888;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  font-size: 8px;

  letter-spacing: 0.08em;
}


.service-tech-stack span {
  color: #b7b7b7;
}


/* ---------------------------------------------------------
   ARROW
   --------------------------------------------------------- */

.service-arrow {
  position: absolute;

  right: 28px;
  bottom: 28px;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #777;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  font-size: 10px;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}


.service-card:hover .service-arrow {
  transform: rotate(45deg);

  color: #080808;

  background: #ff9d00;

  border-color: #ff9d00;
}


/* ---------------------------------------------------------
   FEATURED GLOW
   --------------------------------------------------------- */

.service-glow {
  position: absolute;

  width: 400px;
  height: 400px;

  right: -160px;
  bottom: -160px;

  border-radius: 50%;

  background:
    rgba(255, 157, 0, 0.1);

  filter: blur(100px);

  z-index: 0;

  transition:
    opacity 0.5s ease;
}


.service-featured:hover .service-glow {
  opacity: 1.4;
}


/* ---------------------------------------------------------
   WIDE CARD
   --------------------------------------------------------- */

.service-wide {
  grid-column: 2 / 4;

  min-height: 245px;

  display: flex;

  align-items: center;

  gap: 30px;
}


.service-wide-icon {
  flex: 0 0 65px;

  width: 65px;
  height: 65px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.07);

  border:
    1px solid rgba(255, 157, 0, 0.15);

  font-size: 20px;
}


.service-wide-content {
  flex: 1;
}


.service-wide-content h3 {
  margin: 0;

  font-size: clamp(27px, 3vw, 42px);

  line-height: 1;

  letter-spacing: -0.04em;
}


.service-wide-content h3 span {
  color: #ff9d00;
}


.service-wide-content p {
  max-width: 650px;

  margin: 15px 0 0;

  color: #707070;

  font-size: 12px;

  line-height: 1.7;
}


.service-wide-arrow {
  width: 45px;
  height: 45px;

  flex: 0 0 45px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #777;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  transition:
    all 0.3s ease;
}


.service-wide:hover .service-wide-arrow {
  color: #080808;

  background: #ff9d00;

  border-color: #ff9d00;

  transform: translateX(5px);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.services-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 100px;
}


.services-footer span {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.services-footer span:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.services-footer p {
  margin: 0;

  white-space: nowrap;

  color: #555;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.18em;
}


.services-footer b {
  color: #ff9d00;

  margin: 0 8px;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {

  .services-heading-row {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-featured {
    grid-column: 1 / -1;
    grid-row: auto;

    min-height: 500px;
  }

  .service-featured .service-content {
    margin-top: 150px;
  }

  .service-wide {
    grid-column: 1 / -1;
  }

}


@media (max-width: 650px) {

  .services-section {
    padding: 110px 0 90px;
  }

  .services-container {
    padding: 0 20px;
  }

  .services-title {
    font-size: 56px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-featured {
    grid-column: auto;

    min-height: 500px;
  }

  .service-featured .service-content {
    margin-top: 130px;
  }

  .service-card {
    min-height: 330px;
  }

  .service-wide {
    grid-column: auto;

    min-height: auto;

    flex-direction: column;

    align-items: flex-start;
  }

  .service-wide-arrow {
    position: absolute;

    right: 25px;
    top: 25px;
  }

  .services-footer {
    margin-top: 70px;
  }

  .services-footer p {
    font-size: 8px;
  }

}


@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;

    transform: none;

    transition: none;
  }

}

/* =========================================================
   XYPHLA — TECHNICAL TOOLKIT
   ========================================================= */

.toolkit-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 130px;

  background:
    radial-gradient(circle at 15% 45%,
      rgba(255, 157, 0, 0.035),
      transparent 30%),
    #070707;

  color: #f5f5f5;
}


.toolkit-container {
  position: relative;

  max-width: 1280px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.toolkit-bg {
  position: absolute;
  inset: 0;

  opacity: 0.12;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);

  pointer-events: none;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.toolkit-header {
  margin-bottom: 75px;
}


.toolkit-index {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 25px;
}


.toolkit-index span {
  color: #ff9d00;

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.18em;
}


.toolkit-index div {
  width: 35px;
  height: 1px;

  background: #ff9d00;
}


.toolkit-index small {
  color: #666;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.22em;
}


.toolkit-heading-row {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 100px;

  align-items: end;
}


.toolkit-title {
  margin: 0;

  font-size: clamp(60px, 8vw, 105px);

  line-height: 0.88;

  letter-spacing: -0.06em;

  font-weight: 800;
}


.toolkit-title span {
  color: #ff9d00;
}


.toolkit-intro {
  max-width: 430px;

  margin: 0;

  color: #707070;

  font-size: 15px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   GRID
   --------------------------------------------------------- */

.toolkit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.toolkit-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
}

.toolkit-card-large {
  min-height: 340px;
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.toolkit-card-header {
  display: flex;

  align-items: center;

  gap: 14px;
}


.toolkit-card-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.07);

  border:
    1px solid rgba(255, 157, 0, 0.13);

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.toolkit-card:hover .toolkit-card-icon {
  transform: rotate(-5deg);

  background:
    rgba(255, 157, 0, 0.13);
}


.toolkit-category {
  display: block;

  margin-bottom: 3px;

  color: #555;

  font-size: 8px;
  font-weight: 800;

  letter-spacing: 0.16em;
}


.toolkit-card-header h3 {
  margin: 0;

  color: #eee;

  font-size: 19px;

  letter-spacing: -0.02em;
}


/* ---------------------------------------------------------
   TECHNOLOGY LIST
   --------------------------------------------------------- */

.technology-list {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 8px;

  margin-top: 45px;
}


.technology {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 11px 12px;

  border-radius: 8px;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid rgba(255, 255, 255, 0.045);

  color: #888;

  font-size: 10px;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}


.technology i {
  width: 15px;

  text-align: center;

  color: #ff9d00;
}


.technology:hover {
  color: #ddd;

  border-color:
    rgba(255, 157, 0, 0.2);

  background:
    rgba(255, 157, 0, 0.045);
}


/* ---------------------------------------------------------
   WORKFLOW
   --------------------------------------------------------- */

.toolkit-wide {
  grid-column: 1 / -1;
  min-height: 200px;
  display: flex;
  align-items: center;
  gap: 70px;
}


.workflow-intro {
  min-width: 280px;
}


.workflow-intro h3 {
  margin: 10px 0 0;

  font-size: 31px;

  line-height: 1;

  letter-spacing: -0.04em;
}


.workflow-intro h3 span {
  color: #ff9d00;
}


.workflow {
  flex: 1;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 12px;
}


.workflow-step {
  display: flex;

  flex-direction: column;

  gap: 7px;
}


.workflow-step strong {
  color: #ff9d00;

  font-size: 9px;

  letter-spacing: 0.12em;
}


.workflow-step span {
  color: #ccc;

  font-size: 12px;

  font-weight: 600;
}


.workflow-arrow {
  color: #444;

  font-size: 15px;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.toolkit-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 90px;
}


.toolkit-footer>span {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.toolkit-footer>span:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.toolkit-footer p {
  margin: 0;

  white-space: nowrap;

  color: #555;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.18em;
}


.toolkit-footer b {
  color: #ff9d00;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {

  .toolkit-heading-row {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .toolkit-grid {
    grid-template-columns: 1fr 1fr;
  }


  .toolkit-wide {
    grid-column: 1 / -1;

    flex-direction: column;

    align-items: flex-start;

    gap: 35px;
  }

  .workflow {
    width: 100%;
  }

}


@media (max-width: 650px) {

  .toolkit-section {
    padding: 110px 0 90px;
  }

  .toolkit-container {
    padding: 0 20px;
  }

  .toolkit-title {
    font-size: 56px;
  }

  .toolkit-grid {
    grid-template-columns: 1fr;
  }

  .toolkit-card-large {
    grid-column: auto;
  }

  .toolkit-card {
    min-height: 280px;
  }

  .technology-list {
    grid-template-columns: 1fr 1fr;
  }

  .workflow {
    display: grid;

    grid-template-columns:
      1fr 1fr 1fr;

    gap: 25px;
  }

  .workflow-arrow {
    display: none;
  }

  .toolkit-footer {
    margin-top: 70px;
  }

}


@media (max-width: 430px) {

  .toolkit-title {
    font-size: 52px;
  }

  .technology-list {
    grid-template-columns: 1fr;
  }

  .workflow {
    grid-template-columns: 1fr 1fr;
  }

}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;

    transform: none;

    transition: none;
  }

}

/* =========================================================
   XYPHLA PERSONAL PORTFOLIO
   SELECTED WORK
   ========================================================= */

.work-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 140px;

  background:
    radial-gradient(circle at 75% 25%,
      rgba(255, 157, 0, 0.045),
      transparent 30%),
    #070707;

  color: #f5f5f5;
}


.work-container {
  position: relative;

  max-width: 1280px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.work-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.11;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.work-header {
  margin-bottom: 75px;
}


.work-index {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 25px;
}


.work-index span {
  color: #ff9d00;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


.work-index div {
  width: 35px;

  height: 1px;

  background: #ff9d00;
}


.work-index small {
  color: #666;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.22em;
}


.work-heading-row {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 100px;

  align-items: end;
}


.work-title {
  margin: 0;

  font-size: clamp(60px, 8vw, 105px);

  line-height: 0.88;

  letter-spacing: -0.06em;

  font-weight: 800;
}


.work-title span {
  color: #ff9d00;
}


.work-intro {
  margin: 0;

  max-width: 420px;

  color: #707070;

  font-size: 15px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   SHOWCASE
   --------------------------------------------------------- */

.projects-showcase {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}


/* ---------------------------------------------------------
   PROJECT
   --------------------------------------------------------- */

.project {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(.2, .7, .2, 1);
  isolation: isolate;
}


.project-featured {
  grid-column: 1 / -1;
}


.project-wide {
  grid-column: span 2;

  display: grid;

  grid-template-columns: 1.3fr 1fr;
}


/* ---------------------------------------------------------
   PROJECT VISUAL
   --------------------------------------------------------- */

.project-visual {
  position: relative;

  min-height: 330px;

  overflow: hidden;

  background:
    radial-gradient(circle at 70% 40%,
      rgba(255, 157, 0, 0.12),
      transparent 35%),
    #101010;
}


.project-featured .project-visual {
  min-height: 470px;
}


.project-wide .project-visual {
  min-height: 390px;
}


.project-visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(255, 157, 0, 0.06),
      transparent 40%,
      rgba(0, 0, 0, 0.4));

  pointer-events: none;
}


/* ---------------------------------------------------------
   VISUAL ICON
   --------------------------------------------------------- */

.project-visual-icon {
  position: absolute;

  left: 50%;

  top: 50%;

  transform: translate(-50%, -50%);

  width: 90px;
  height: 90px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.05);

  border:
    1px solid rgba(255, 157, 0, 0.25);

  box-shadow:
    0 0 80px rgba(255, 157, 0, 0.12);

  font-size: 28px;

  z-index: 3;

  transition:
    transform 0.5s cubic-bezier(.2, .7, .2, 1),
    box-shadow 0.5s ease;
}


.project:hover .project-visual-icon {
  transform:
    translate(-50%, -50%) scale(1.12);

  box-shadow:
    0 0 110px rgba(255, 157, 0, 0.2);
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.project-visual-label {
  position: absolute;

  left: 25px;
  top: 25px;

  z-index: 5;

  color: #555;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


/* ---------------------------------------------------------
   PROJECT VISUAL EFFECTS
   --------------------------------------------------------- */

.project-orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px solid rgba(255, 157, 0, 0.12);

  border-radius: 50%;

  transform:
    translate(-50%, -50%) rotate(-15deg);
}


.orbit-1 {
  width: 330px;
  height: 130px;
}


.orbit-2 {
  width: 440px;
  height: 180px;

  transform:
    translate(-50%, -50%) rotate(25deg);
}


.project-glow {
  position: absolute;

  width: 350px;
  height: 350px;

  right: -130px;
  bottom: -150px;

  border-radius: 50%;

  background:
    rgba(255, 157, 0, 0.12);

  filter: blur(100px);
}


.video-lines {
  position: absolute;

  inset: 0;

  background:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 65px,
      rgba(255, 157, 0, 0.035) 66px);
}


.commerce-grid,
.academy-grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(rgba(255, 157, 0, 0.05) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.05) 1px,
      transparent 1px);

  background-size: 45px 45px;

  transform:
    perspective(500px) rotateX(50deg) scale(1.5);

  transform-origin: center bottom;
}


.network-lines {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(circle at 20% 30%,
      rgba(255, 157, 0, 0.15) 1px,
      transparent 2px);

  background-size: 80px 80px;
}


.travel-route {
  position: absolute;

  width: 80%;

  height: 1px;

  left: 10%;
  top: 50%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.5),
      transparent);

  transform:
    rotate(-10deg);
}


/* ---------------------------------------------------------
   DETAILS
   --------------------------------------------------------- */

.project-details {
  padding: 28px;

  background:
    #0b0b0b;
}


.project-meta {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 22px;
}


.project-meta span {
  color: #555;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;
}


.project-meta span:first-child {
  color: #ff9d00;
}


.project-meta span:not(:last-child)::after {
  content: "/";

  margin-left: 12px;

  color: #333;
}


.project-details h3 {
  margin: 0;

  font-size: clamp(28px, 3vw, 43px);

  line-height: 0.98;

  letter-spacing: -0.04em;

  font-weight: 750;
}


.project-details h3 span {
  color: #ff9d00;
}


.project-details p {
  max-width: 600px;

  margin: 18px 0 0;

  color: #707070;

  font-size: 13px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   TECH
   --------------------------------------------------------- */

.project-tech {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 22px;
}


.project-tech span {
  padding: 6px 9px;

  border-radius: 5px;

  color: #777;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  font-size: 8px;

  letter-spacing: 0.08em;
}


.project-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 22px;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.project-open {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 25px;

  color: #777;

  text-decoration: none;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;

  transition:
    color 0.3s ease;
}


.project-open:hover {
  color: #ff9d00;
}


.project-small-link {
  width: 38px;
  height: 38px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #777;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  text-decoration: none;

  transition:
    all 0.3s ease;
}


.project-small-link:hover {
  color: #080808;

  background: #ff9d00;

  border-color: #ff9d00;

  transform: rotate(45deg);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.work-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 90px;
}


.work-footer-line {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.work-footer-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.work-footer-content {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #555;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.15em;
}


.work-footer-content i {
  color: #ff9d00;
}


.work-footer-content .orange {
  color: #ff9d00;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .work-heading-row {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .project-featured,
  .project-wide {
    grid-column: auto;
  }

  .project-wide {
    display: block;
  }

}


@media (max-width: 600px) {

  .work-section {
    padding: 110px 0 90px;
  }

  .work-container {
    padding: 0 20px;
  }

  .work-title {
    font-size: 56px;
  }

  .project-featured .project-visual,
  .project-visual,
  .project-wide .project-visual {
    min-height: 300px;
  }

  .project-details {
    padding: 23px;
  }

  .project-details h3 {
    font-size: 29px;
  }

  .project-meta {
    flex-wrap: wrap;
  }

  .work-footer {
    margin-top: 70px;
  }

  .work-footer-content {
    font-size: 8px;
  }

}


@media (prefers-reduced-motion: reduce) {

  .project,
  .project-visual-icon,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

/* =========================================================
   XYPHLA PERSONAL PORTFOLIO
   SELECTED WORK
   ========================================================= */

.work-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 140px;

  background:
    radial-gradient(circle at 75% 25%,
      rgba(255, 157, 0, 0.045),
      transparent 30%),
    #070707;

  color: #f5f5f5;
}


.work-container {
  position: relative;

  max-width: 1280px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.work-grid-bg {
  position: absolute;
  inset: 0;

  opacity: 0.11;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.work-header {
  margin-bottom: 75px;
}


.work-index {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 25px;
}


.work-index span {
  color: #ff9d00;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


.work-index div {
  width: 35px;

  height: 1px;

  background: #ff9d00;
}


.work-index small {
  color: #666;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.22em;
}


.work-heading-row {
  display: grid;

  grid-template-columns: 1fr 0.65fr;

  gap: 100px;

  align-items: end;
}


.work-title {
  margin: 0;

  font-size: clamp(60px, 8vw, 105px);

  line-height: 0.88;

  letter-spacing: -0.06em;

  font-weight: 800;
}


.work-title span {
  color: #ff9d00;
}


.work-intro {
  margin: 0;

  max-width: 420px;

  color: #707070;

  font-size: 15px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   SHOWCASE
   --------------------------------------------------------- */

.projects-showcase {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;
}


/* ---------------------------------------------------------
   PROJECT
   --------------------------------------------------------- */




.project-featured {
  grid-column: 1 / -1;
}


.project-wide {
  grid-column: span 2;

  display: grid;

  grid-template-columns: 1.3fr 1fr;
}


/* ---------------------------------------------------------
   PROJECT VISUAL
   --------------------------------------------------------- */

.project-visual {
  position: relative;

  min-height: 330px;

  overflow: hidden;

  background:
    radial-gradient(circle at 70% 40%,
      rgba(255, 157, 0, 0.12),
      transparent 35%),
    #101010;
}


.project-featured .project-visual {
  min-height: 470px;
}


.project-wide .project-visual {
  min-height: 390px;
}


.project-visual::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(135deg,
      rgba(255, 157, 0, 0.06),
      transparent 40%,
      rgba(0, 0, 0, 0.4));

  pointer-events: none;
}


/* ---------------------------------------------------------
   VISUAL ICON
   --------------------------------------------------------- */

.project-visual-icon {
  position: absolute;

  left: 50%;

  top: 50%;

  transform: translate(-50%, -50%);

  width: 90px;
  height: 90px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.05);

  border:
    1px solid rgba(255, 157, 0, 0.25);

  box-shadow:
    0 0 80px rgba(255, 157, 0, 0.12);

  font-size: 28px;

  z-index: 3;

  transition:
    transform 0.5s cubic-bezier(.2, .7, .2, 1),
    box-shadow 0.5s ease;
}


.project:hover .project-visual-icon {
  transform:
    translate(-50%, -50%) scale(1.12);

  box-shadow:
    0 0 110px rgba(255, 157, 0, 0.2);
}


/* ---------------------------------------------------------
   LABEL
   --------------------------------------------------------- */

.project-visual-label {
  position: absolute;

  left: 25px;
  top: 25px;

  z-index: 5;

  color: #555;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


/* ---------------------------------------------------------
   PROJECT VISUAL EFFECTS
   --------------------------------------------------------- */

.project-orbit {
  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px solid rgba(255, 157, 0, 0.12);

  border-radius: 50%;

  transform:
    translate(-50%, -50%) rotate(-15deg);
}


.orbit-1 {
  width: 330px;
  height: 130px;
}


.orbit-2 {
  width: 440px;
  height: 180px;

  transform:
    translate(-50%, -50%) rotate(25deg);
}


.project-glow {
  position: absolute;

  width: 350px;
  height: 350px;

  right: -130px;
  bottom: -150px;

  border-radius: 50%;

  background:
    rgba(255, 157, 0, 0.12);

  filter: blur(100px);
}


.video-lines {
  position: absolute;

  inset: 0;

  background:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 65px,
      rgba(255, 157, 0, 0.035) 66px);
}


.commerce-grid,
.academy-grid {
  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(rgba(255, 157, 0, 0.05) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.05) 1px,
      transparent 1px);

  background-size: 45px 45px;

  transform:
    perspective(500px) rotateX(50deg) scale(1.5);

  transform-origin: center bottom;
}


.network-lines {
  position: absolute;

  inset: 0;

  background:
    radial-gradient(circle at 20% 30%,
      rgba(255, 157, 0, 0.15) 1px,
      transparent 2px);

  background-size: 80px 80px;
}


.travel-route {
  position: absolute;

  width: 80%;

  height: 1px;

  left: 10%;
  top: 50%;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.5),
      transparent);

  transform:
    rotate(-10deg);
}


/* ---------------------------------------------------------
   DETAILS
   --------------------------------------------------------- */

.project-details {
  padding: 28px;

  background:
    #0b0b0b;
}


.project-meta {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 22px;
}


.project-meta span {
  color: #555;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;
}


.project-meta span:first-child {
  color: #ff9d00;
}


.project-meta span:not(:last-child)::after {
  content: "/";

  margin-left: 12px;

  color: #333;
}


.project-details h3 {
  margin: 0;

  font-size: clamp(28px, 3vw, 43px);

  line-height: 0.98;

  letter-spacing: -0.04em;

  font-weight: 750;
}


.project-details h3 span {
  color: #ff9d00;
}


.project-details p {
  max-width: 600px;

  margin: 18px 0 0;

  color: #707070;

  font-size: 13px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   TECH
   --------------------------------------------------------- */

.project-tech {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 22px;
}


.project-tech span {
  padding: 6px 9px;

  border-radius: 5px;

  color: #777;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.06);

  font-size: 8px;

  letter-spacing: 0.08em;
}


.project-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 22px;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.project-open {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 25px;

  color: #777;

  text-decoration: none;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;

  transition:
    color 0.3s ease;
}


.project-open:hover {
  color: #ff9d00;
}


.project-small-link {
  width: 38px;
  height: 38px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  color: #777;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  text-decoration: none;

  transition:
    all 0.3s ease;
}


.project-small-link:hover {
  color: #080808;

  background: #ff9d00;

  border-color: #ff9d00;

  transform: rotate(45deg);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.work-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 90px;
}


.work-footer-line {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.work-footer-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.work-footer-content {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #555;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.15em;
}


.work-footer-content i {
  color: #ff9d00;
}


.work-footer-content .orange {
  color: #ff9d00;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .work-heading-row {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .project-featured,
  .project-wide {
    grid-column: auto;
  }

  .project-wide {
    display: block;
  }

}


@media (max-width: 600px) {

  .work-section {
    padding: 110px 0 90px;
  }

  .work-container {
    padding: 0 20px;
  }

  .work-title {
    font-size: 56px;
  }

  .project-featured .project-visual,
  .project-visual,
  .project-wide .project-visual {
    min-height: 300px;
  }

  .project-details {
    padding: 23px;
  }

  .project-details h3 {
    font-size: 29px;
  }

  .project-meta {
    flex-wrap: wrap;
  }

  .work-footer {
    margin-top: 70px;
  }

  .work-footer-content {
    font-size: 8px;
  }

}


@media (prefers-reduced-motion: reduce) {

  .project,
  .project-visual-icon,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}


/* =========================================================
   XYPHLA — PRODUCTS IN THE LAB
   ========================================================= */

.products-section {
  position: relative;
  overflow: hidden;

  padding: 150px 0 140px;

  background:
    radial-gradient(circle at 70% 30%,
      rgba(255, 157, 0, 0.05),
      transparent 32%),
    #070707;

  color: #f5f5f5;
}


.products-container {
  position: relative;

  max-width: 1280px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND
   --------------------------------------------------------- */

.products-bg-grid {
  position: absolute;
  inset: 0;

  opacity: 0.11;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    linear-gradient(to bottom,
      transparent,
      black 15%,
      black 85%,
      transparent);
}


/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.products-header {
  max-width: 850px;

  margin-bottom: 70px;
}


.products-index {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 25px;
}


.products-index span {
  color: #ff9d00;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


.products-index div {
  width: 35px;

  height: 1px;

  background: #ff9d00;
}


.products-index small {
  color: #666;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.22em;
}


.products-title {
  margin: 0;

  font-size: clamp(60px, 8vw, 105px);

  line-height: 0.88;

  letter-spacing: -0.06em;

  font-weight: 800;
}


.products-title span {
  color: #ff9d00;
}


.products-intro {
  max-width: 570px;

  margin: 30px 0 0;

  color: #707070;

  font-size: 15px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   SHOWCASE
   --------------------------------------------------------- */

.products-showcase {
  display: grid;

  grid-template-columns:
    1.15fr 1fr 1fr;

  gap: 15px;
}


/* ---------------------------------------------------------
   PRODUCT CARD
   --------------------------------------------------------- */

.product-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
  isolation: isolate;
}


/* ---------------------------------------------------------
   FEATURED
   --------------------------------------------------------- */

.product-featured {
  grid-row: span 2;

  min-height: 655px;

  background:
    radial-gradient(circle at 80% 20%,
      rgba(255, 157, 0, 0.12),
      transparent 35%),
    linear-gradient(145deg,
      #17120b,
      #090909 70%);
}


.product-wide {
  grid-column: span 2;

  min-height: 240px;

  display: flex;

  align-items: center;

  gap: 25px;
}


/* ---------------------------------------------------------
   NUMBER
   --------------------------------------------------------- */

.product-number {
  position: absolute;

  top: 25px;
  right: 25px;

  color: #444;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 0.15em;

  z-index: 3;
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.product-icon {
  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  border-radius: 13px;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.07);

  border:
    1px solid rgba(255, 157, 0, 0.15);

  font-size: 17px;

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}


.product-card:hover .product-icon {
  transform:
    translateY(-3px) rotate(-5deg);

  background:
    rgba(255, 157, 0, 0.13);
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.product-content {
  position: relative;

  z-index: 3;

  margin-top: 90px;
}


.product-featured .product-content {
  margin-top: 230px;
}


.product-wide .product-content {
  flex: 1;

  margin-top: 0;
}


.product-category {
  display: block;

  margin-bottom: 10px;

  color: #ff9d00;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.2em;
}


.product-content h3 {
  margin: 0;

  font-size: 32px;

  line-height: 1;

  letter-spacing: -0.04em;

  font-weight: 750;
}


.product-featured .product-content h3 {
  font-size: clamp(45px, 5vw, 65px);
}


.product-content h3 span {
  color: #ff9d00;
}


.product-content p {
  max-width: 430px;

  margin: 18px 0 0;

  color: #707070;

  font-size: 12px;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   STATUS
   --------------------------------------------------------- */

.product-status {
  position: absolute;

  left: 28px;
  bottom: 28px;

  display: flex;

  align-items: center;

  gap: 8px;

  color: #666;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.13em;

  z-index: 4;
}


.product-status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #ff9d00;

  box-shadow:
    0 0 10px rgba(255, 157, 0, 0.6);

  animation:
    productPulse 2s ease-in-out infinite;
}


@keyframes productPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

}


/* ---------------------------------------------------------
   DECORATIVE GLOW
   --------------------------------------------------------- */

.product-card::after {
  content: "";

  position: absolute;

  width: 280px;
  height: 280px;

  right: -140px;
  bottom: -140px;

  border-radius: 50%;

  background:
    rgba(255, 157, 0, 0.06);

  filter: blur(80px);

  z-index: 0;

  transition:
    opacity 0.4s ease;
}


.product-card:hover::after {
  opacity: 1.5;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.products-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 90px;
}


.products-footer-line {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.3));
}


.products-footer-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.3),
      transparent);
}


.products-footer-content {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #555;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.15em;

  white-space: nowrap;
}


.products-footer-content i {
  color: #ff9d00;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 950px) {

  .products-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .product-featured {
    grid-column: span 2;

    grid-row: auto;

    min-height: 500px;
  }

  .product-wide {
    grid-column: span 2;
  }

  .product-featured .product-content {
    margin-top: 170px;
  }

}


@media (max-width: 650px) {

  .products-section {
    padding: 110px 0 90px;
  }

  .products-container {
    padding: 0 20px;
  }

  .products-title {
    font-size: 55px;
  }

  .products-showcase {
    grid-template-columns: 1fr;
  }

  .product-featured,
  .product-wide {
    grid-column: auto;
  }

  .product-featured {
    min-height: 500px;
  }

  .product-wide {
    min-height: 300px;

    display: block;
  }

  .product-wide .product-content {
    margin-top: 70px;
  }

  .product-featured .product-content {
    margin-top: 170px;
  }

  .products-footer {
    margin-top: 70px;
  }

  .products-footer-content {
    font-size: 8px;
  }

}


@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;

    transform: none;

    transition: none;
  }

  .product-status span {
    animation: none;
  }

}

/* =========================================================
   XYPHLA PERSONAL PORTFOLIO
   FINAL CONTACT SECTION
   ========================================================= */

.contact-section {
  position: relative;

  overflow: hidden;

  padding: 170px 0 70px;

  background:
    radial-gradient(circle at 50% 45%,
      rgba(255, 157, 0, 0.08),
      transparent 34%),
    #050505;

  color: #f5f5f5;

  isolation: isolate;
}


/* ---------------------------------------------------------
   CONTAINER
   --------------------------------------------------------- */

.contact-container {
  position: relative;

  max-width: 1180px;

  margin: auto;

  padding: 0 30px;
}


/* ---------------------------------------------------------
   BACKGROUND GRID
   --------------------------------------------------------- */

.contact-bg-grid {
  position: absolute;

  inset: 0;

  opacity: 0.08;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px,
      transparent 1px),
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px);

  background-size: 70px 70px;

  mask-image:
    radial-gradient(circle at center,
      black,
      transparent 75%);

  pointer-events: none;
}


/* ---------------------------------------------------------
   GLOW
   --------------------------------------------------------- */

.contact-glow {
  position: absolute;

  width: 600px;
  height: 600px;

  left: 50%;
  top: 35%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    rgba(255, 157, 0, 0.07);

  filter: blur(120px);

  z-index: -1;

  pointer-events: none;
}


/* ---------------------------------------------------------
   INDEX
   --------------------------------------------------------- */

.contact-index {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-bottom: 80px;
}


.contact-index span {
  color: #ff9d00;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


.contact-index div {
  width: 35px;

  height: 1px;

  background: #ff9d00;
}


.contact-index small {
  color: #666;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.22em;
}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.contact-main {
  max-width: 850px;
}


.contact-kicker {
  display: block;

  margin-bottom: 22px;

  color: #ff9d00;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.22em;
}


.contact-title {
  margin: 0;

  font-size: clamp(65px, 9vw, 120px);

  line-height: 0.86;

  letter-spacing: -0.065em;

  font-weight: 800;
}


.contact-title span {
  color: #ff9d00;
}


.contact-description {
  max-width: 580px;

  margin: 38px 0 0;

  color: #777;

  font-size: 16px;

  line-height: 1.8;
}


/* ---------------------------------------------------------
   ACTIONS
   --------------------------------------------------------- */

.contact-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 35px;
}


.contact-primary,
.contact-secondary {
  display: inline-flex;

  align-items: center;

  gap: 16px;

  padding: 22px 38px;

  border-radius: 12px;

  text-decoration: none;

  font-size: 16px;

  font-weight: 800;

  letter-spacing: 0.03em;

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.contact-primary {
  background: #ff9d00;

  color: #070707;

  box-shadow:
    0 12px 40px rgba(255, 157, 0, 0.15);
}


.contact-primary:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 55px rgba(255, 157, 0, 0.25);
}


.contact-primary i:last-child {
  font-size: 9px;

  opacity: 0.65;
}


.contact-secondary {
  color: #ccc;

  background:
    rgba(255, 255, 255, 0.025);

  border:
    1px solid rgba(255, 255, 255, 0.1);
}


.contact-secondary:hover {
  transform: translateY(-4px);

  color: #ff9d00;

  border-color:
    rgba(255, 157, 0, 0.35);

  background:
    rgba(255, 157, 0, 0.04);
}


/* ---------------------------------------------------------
   INFORMATION
   --------------------------------------------------------- */

.contact-information {
  display: grid;

  grid-template-columns:
    1fr 1fr 1fr;

  gap: 12px;

  margin-top: 100px;
}


.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 95px;
  padding: 18px;
  text-decoration: none;
  transition: transform 0.35s ease;
}


.contact-item:hover {
  transform: translateY(-5px);
}


.contact-item-icon {
  flex: 0 0 40px;

  width: 40px;
  height: 40px;

  display: grid;

  place-items: center;

  border-radius: 9px;

  color: #ff9d00;

  background:
    rgba(255, 157, 0, 0.07);

  font-size: 14px;
}


.contact-item-content {
  min-width: 0;

  display: flex;

  flex-direction: column;

  gap: 5px;
}


.contact-item-content span {
  color: #555;

  font-size: 8px;

  font-weight: 800;

  letter-spacing: 0.16em;
}


.contact-item-content strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: #bbb;

  font-size: 11px;

  font-weight: 500;
}


.contact-item-arrow {
  margin-left: auto;

  color: #444;

  font-size: 9px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}


.contact-item:hover .contact-item-arrow {
  color: #ff9d00;

  transform: translate(2px, -2px);
}


/* ---------------------------------------------------------
   SOCIALS
   --------------------------------------------------------- */

.contact-socials {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-top: 55px;

  padding-top: 30px;

  border-top:
    1px solid rgba(255, 255, 255, 0.06);
}


.social-label {
  color: #444;

  font-size: 14px;

  font-weight: 800;

  letter-spacing: 0.18em;
}


.social-list {
  display: flex;

  gap: 14px;
}


.contact-social {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 16px 24px;

  color: #666;

  border:
    1px solid rgba(255, 255, 255, 0.07);

  border-radius: 10px;

  text-decoration: none;

  font-size: 15px;

  font-weight: 600;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}


.contact-social:hover {
  color: #ff9d00;

  border-color:
    rgba(255, 157, 0, 0.3);

  background:
    rgba(255, 157, 0, 0.04);

  transform: translateY(-3px);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.contact-footer {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-top: 110px;
}


.contact-footer-line {
  flex: 1;

  height: 1px;

  background:
    linear-gradient(90deg,
      transparent,
      rgba(255, 157, 0, 0.25));
}


.contact-footer-line:last-child {
  background:
    linear-gradient(90deg,
      rgba(255, 157, 0, 0.25),
      transparent);
}


.contact-footer-center {
  display: flex;

  align-items: center;

  gap: 12px;

  white-space: nowrap;
}


.contact-footer-center p {
  margin: 0;

  color: #444;

  font-size: 8px;

  font-weight: 700;

  letter-spacing: 0.15em;
}


.contact-footer-center strong {
  color: #777;
}


.contact-symbol {
  color: #ff9d00;

  font-size: 10px;
}


/* ---------------------------------------------------------
   REVEAL
   --------------------------------------------------------- */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

  .contact-section {
    padding: 120px 0 60px;
  }

  .contact-container {
    padding: 0 20px;
  }

  .contact-index {
    margin-bottom: 60px;
  }

  .contact-title {
    font-size: clamp(58px, 15vw, 90px);
  }

  .contact-information {
    grid-template-columns: 1fr;

    margin-top: 70px;
  }

}


@media (max-width: 600px) {

  .contact-actions {
    flex-direction: column;
  }

  .contact-primary,
  .contact-secondary {
    justify-content: center;

    width: 100%;
  }

  .contact-socials {
    flex-direction: column;

    align-items: flex-start;

    gap: 18px;
  }

  .contact-footer {
    margin-top: 80px;
  }

  .contact-footer-center p {
    white-space: normal;

    text-align: center;

    line-height: 1.5;
  }

}


@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1;

    transform: none;

    transition: none;
  }

}

/* =========================================================
   FINAL FOOTER
   ========================================================= */

#main-footer {
  position: relative;

  overflow: hidden;

  background: #050505;

  border-top:
    1px solid rgba(255, 255, 255, 0.06);

  color: #777;
}


/* ---------------------------------------------------------
   MAIN FOOTER
   --------------------------------------------------------- */

.footer-inner {
  min-height: 140px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.footer-brand {
  display: flex;

  align-items: center;

  gap: 18px;
}


.footer-logo {
  color: #f5f5f5;

  font-size: 48px;

  font-weight: 850;

  line-height: 1;

  letter-spacing: -0.08em;

  text-decoration: none;

  transition:
    color 0.3s ease;
}


.footer-logo span {
  color: var(--accent, #ff9d00);
}


.footer-logo:hover {
  color: var(--accent, #ff9d00);
}


.footer-tagline {
  color: #444;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.16em;
}


.footer-tagline b {
  margin: 0 5px;

  color: var(--accent, #ff9d00);
}


/* ---------------------------------------------------------
   CENTER
   --------------------------------------------------------- */

.footer-center {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 13px;

  letter-spacing: 0.05em;

  color: #4f4f4f;
}


.footer-center p {
  margin: 0;
}


.footer-center i {
  margin: 0 3px;

  color: var(--accent, #ff9d00);

  font-size: 8px;
}


.footer-divider {
  width: 3px;

  height: 3px;

  border-radius: 50%;

  background: #333;
}


/* ---------------------------------------------------------
   RIGHT
   --------------------------------------------------------- */

.footer-right {
  display: flex;

  align-items: center;

  gap: 8px;
}


.footer-social {
  width: 45px;

  height: 45px;

  display: grid;

  place-items: center;

  border-radius: 8px;

  color: #555;

  border:
    1px solid rgba(255, 255, 255, 0.07);

  text-decoration: none;

  font-size: 18px;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}


.footer-social:hover {
  transform: translateY(-3px);

  color: var(--accent, #ff9d00);

  border-color:
    rgba(255, 157, 0, 0.3);

  background:
    rgba(255, 157, 0, 0.04);
}


/* ---------------------------------------------------------
   BACK TO TOP
   --------------------------------------------------------- */

.back-top {
  height: 45px;

  display: flex;

  align-items: center;

  gap: 8px;

  margin-left: 8px;

  padding: 0 12px;

  border-radius: 8px;

  color: #666;

  border:
    1px solid rgba(255, 255, 255, 0.07);

  text-decoration: none;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.12em;

  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}


.back-top i {
  color: var(--accent, #ff9d00);

  font-size: 9px;

  transition:
    transform 0.3s ease;
}


.back-top:hover {
  color: #eee;

  border-color:
    rgba(255, 157, 0, 0.3);

  background:
    rgba(255, 157, 0, 0.04);
}


.back-top:hover i {
  transform: translateY(-3px);
}


/* ---------------------------------------------------------
   BOTTOM BRAND STRIP
   --------------------------------------------------------- */

.footer-bottom {
  border-top:
    1px solid rgba(255, 255, 255, 0.04);
}


.footer-bottom-inner {
  height: 35px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}


.footer-bottom-inner span {
  color: #292929;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.25em;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 800px) {

  .footer-inner {
    min-height: auto;

    padding-top: 35px;
    padding-bottom: 35px;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 25px;
  }


  .footer-brand {
    flex-direction: column;

    gap: 8px;
  }


  .footer-center {
    flex-wrap: wrap;

    justify-content: center;
  }


  .footer-right {
    justify-content: center;
  }

}


@media (max-width: 430px) {

  .footer-tagline {
    font-size: 7px;
  }


  .footer-center {
    flex-direction: column;

    gap: 7px;
  }


  .footer-divider {
    display: none;
  }

}


.service-image-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image-container img {
  transform: scale(1.05);
}

.service-featured .service-image-container {
  height: 380px;
}

.toolkit-unified-panel {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.toolkit-categories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 60px;
}

.toolkit-category-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toolkit-category-label {
  font-size: 11px;
  font-weight: 700;
  color: #ff9d00;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 157, 0, 0.15);
}

.toolkit-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge-premium {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  font-size: 13px;
  color: #ccc;
  cursor: default;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.tech-badge-premium:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 157, 0, 0.45);
  background: rgba(255, 157, 0, 0.08);
  color: #fff;
}

.tech-badge-premium i {
  color: #ff9d00;
  font-size: 14px;
}

.workflow-row {
  margin-top: 0;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.workflow-minimal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  color: #999;
}

.workflow-step-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workflow-step-mini strong {
  color: #ff9d00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.workflow-arrow-mini {
  color: rgba(255, 255, 255, 0.15);
  font-size: 12px;
}

@media (max-width: 768px) {
  .toolkit-unified-panel {
    padding: 28px 24px;
    gap: 28px;
  }

  .toolkit-categories-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .stage-content {
    padding: 0 20px !important;
    margin: 0 !important;
    text-align: left !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    letter-spacing: -1px;
  }
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .stage-body {
    font-size: 0.95rem;
  }
  .hero-founder-badge {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  .hero-founder-badge i {
    font-size: 1.1rem;
  }
}

/* Override for 100vh about section */
.about-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================================
   INTERACTIVE SERVICES LIST (WHAT I BUILD)
   ========================================================= */

.interactive-services-container {
  display: flex;
  gap: 40px;
  position: relative;
  align-items: flex-start;
  margin-top: 40px;
}

.services-list-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 15, 15, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-list-item:hover,
.service-list-item.active {
  background: rgba(30, 30, 30, 0.6);
  border-color: rgba(255, 157, 0, 0.3);
  transform: translateX(10px);
}

.service-list-item.active {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 157, 0, 0.5);
}

.service-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ff9d00;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.service-list-item.active::before {
  transform: scaleY(1);
}

.sli-number {
  font-size: 14px;
  font-weight: 800;
  color: #ff9d00;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.sli-content {
  flex: 1;
}

.sli-content h3 {
  font-size: 1.6rem;
  margin: 0 0 8px 0;
  color: #fff;
  transition: color 0.3s ease;
}

.service-list-item.active .sli-content h3 {
  color: #ff9d00;
}

.sli-content p {
  font-size: 0.95rem;
  color: #888;
  margin: 0;
  line-height: 1.6;
}

.sli-icon {
  font-size: 24px;
  color: #555;
  transition: all 0.3s ease;
}

.service-list-item.active .sli-icon {
  color: #ff9d00;
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 157, 0, 0.5));
}

.services-stage-column {
  flex: 1;
  position: sticky;
  top: 120px;
  height: calc(100vh - 160px);
  min-height: 600px;
  max-height: 800px;
}

.services-stage-sticky {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ss-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.ss-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.ss-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #070707 0%, transparent 50%);
}

.ss-content {
  padding: 40px;
  background: #070707;
  position: relative;
  z-index: 2;
}

.ss-content h3 {
  font-size: 2.5rem;
  margin: 0 0 20px 0;
  color: #fff;
  letter-spacing: -1px;
}

#ss-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#ss-tags span {
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 157, 0, 0.1);
  color: #ff9d00;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 157, 0, 0.2);
}

@media (max-width: 950px) {
  .interactive-services-container {
    flex-direction: column;
  }
  .services-stage-column {
    position: relative;
    top: 0;
    height: 400px;
    width: 100%;
    order: -1; /* Move visual stage to top on mobile */
    margin-bottom: 20px;
  }
  .service-list-item:hover,
  .service-list-item.active {
    transform: none;
  }
}

/* =========================================================
   IN THE LAB (BENTO GRID)
   ========================================================= */

.bento-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 20px;
  margin-top: 50px;
}

.bento-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  background: #0b0b0b;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 157, 0, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 20px rgba(255,157,0,0.1);
}

.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-bg {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,7,7, 0.95) 0%, rgba(7,7,7, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.bento-category {
  font-size: 10px;
  font-weight: 800;
  color: #ff9d00;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  display: inline-block;
}

.bento-card h3 {
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  color: #fff;
  line-height: 1.1;
}

.bento-card h3 span {
  color: #ff9d00;
}

.bento-card p {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.bento-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #555;
}

.bento-status span.pulse {
  background: #00e676;
  box-shadow: 0 0 10px #00e676;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Bento Sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-large h3 {
  font-size: 2.5rem;
}
.bento-large p {
  -webkit-line-clamp: 3;
  font-size: 1rem;
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

@media (max-width: 950px) {
  .bento-lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bento-lab-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .bento-large, .bento-small, .bento-wide {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
  .bento-large {
    grid-row: span 2;
  }
}

/* =========================================================
   THE TOOLKIT (INFINITE MARQUEE)
   ========================================================= */

.toolkit-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
  padding: 20px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Fading edges */
.toolkit-marquee-container::before,
.toolkit-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15vw;
  z-index: 2;
  pointer-events: none;
}
.toolkit-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #070707 0%, transparent 100%);
}
.toolkit-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #070707 0%, transparent 100%);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 20px;
}

.marquee-left .marquee-content {
  animation: scrollLeft 40s linear infinite;
}

.marquee-right .marquee-content {
  animation: scrollRight 40s linear infinite;
}


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

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

/* Enhance existing tech-badge-premium for Marquee */
.toolkit-marquee-container .tech-badge-premium {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: 40px;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ddd;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.toolkit-marquee-container .tech-badge-premium i {
  font-size: 1.5rem;
  color: #ff9d00;
}

.toolkit-marquee-container .tech-badge-premium:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(255, 157, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px rgba(255,157,0,0.15);
  color: #fff;
}

.workflow-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding: 30px 40px;
  border-radius: 24px;
  text-align: center;
}

.workflow-header {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.workflow-header i {
  color: #ff9d00;
}

.mt-5 {
  margin-top: 3rem !important;
}

/* =========================================================
   MASSIVE TYPOGRAPHY FOOTER
   ========================================================= */

.footer-massive {
  position: relative;
  background: #030303;
  padding: 80px 0 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 50px;
}

.footer-content-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.fc-left {
  max-width: 400px;
}

.fc-left .footer-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: block;
  margin-bottom: 15px;
}

.fc-left .footer-logo span {
  color: #ff9d00;
}

.fc-left .footer-tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
  display: block;
  margin-bottom: 20px;
}

.fc-left .footer-bio {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.fc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.fc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #ff9d00;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.footer-links a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.footer-links a i {
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #ff9d00;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(-5px);
}

.footer-links a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-massive-text-container {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}

.footer-massive-text {
  font-size: 18vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 25px 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 3;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
  font-size: 13px;
  color: #777;
}

@media (max-width: 768px) {
  .footer-content-grid {
    flex-direction: column;
    gap: 50px;
  }
  .fc-right {
    align-items: flex-start;
  }
  .footer-links {
    align-items: flex-start;
  }
  .footer-links a:hover {
    transform: translateX(5px);
  }
}

/* =========================================================
   PRELOADER
   ========================================================= */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #030303;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

.preloader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderTextReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.preloader-line {
  width: 0;
  height: 2px;
  background-color: #ff9d00;
  animation: preloaderLineDraw 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes preloaderTextReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderLineDraw {
  to {
    width: 100%;
  }
}

/* Class added by JS to trigger the slide up */
body.loaded #preloader {
  transform: translateY(-100%);
}

/* =========================================================
   OVERLAY MENU
   ========================================================= */

.overlay-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.overlay-close {
  position: absolute;
  top: 30px;
  right: 48px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.hamburger i {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 157, 0, 0.4);
}

.hamburger:hover i {
  color: #ff9d00;
}

@media (max-width: 900px) {
  .overlay-close {
    top: 20px;
    right: 20px;
  }
}

.overlay-close i {
  font-size: 1.5rem;
  color: #fff;
}

.overlay-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ff9d00;
}

.overlay-close:hover i {
  color: #ff9d00;
}

.overlay-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.overlay-links li {
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.overlay-menu.open .overlay-links li {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger animation delays for links */
.overlay-menu.open .overlay-links li:nth-child(1) { transition-delay: 0.1s; }
.overlay-menu.open .overlay-links li:nth-child(2) { transition-delay: 0.15s; }
.overlay-menu.open .overlay-links li:nth-child(3) { transition-delay: 0.2s; }
.overlay-menu.open .overlay-links li:nth-child(4) { transition-delay: 0.25s; }
.overlay-menu.open .overlay-links li:nth-child(5) { transition-delay: 0.3s; }
.overlay-menu.open .overlay-links li:nth-child(6) { transition-delay: 0.35s; }

.overlay-links a {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -1px;
  transition: color 0.3s ease;
}

.overlay-links a:hover {
  color: #ff9d00;
}

/* =========================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================= */

@media (max-width: 900px) {
  #main-nav {
    padding: 15px 20px;
  }
  #main-nav.scrolled {
    padding: 10px 20px;
  }
  .nav-cta {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {

  /* Shift video crop to show face */
  #scroll-video {
    object-position: 30% center; 
  }

  .container {
    padding: 0 20px !important;
  }

  .toolkit-marquee-container {
    width: 100vw;
    margin-left: -20px;
    margin-right: -20px;
    left: auto;
    right: auto;
  }

  /* Make sure hero badge and titles scale down cleanly */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    letter-spacing: -1px;
    align-items: center; /* Forces flex children to center align */
    text-align: center;
  }
  
  .hero-founder-badge {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  #stage-1 {
    justify-content: center !important;
    padding-bottom: 0 !important;
  }

  .stage-content {
    margin: 0 auto !important;
    text-align: center !important;
    padding: 0 20px !important;
  }
  
  .stage-content--left,
  .stage-content--right,
  .stage-content--center {
    margin: 0 auto !important;
  }

  /* Force all stages to animate vertically instead of horizontally on mobile */
  /* This fixes both the layout cutoff and the animation lag */
  #stage-2 .eyebrow, #stage-2 .section-title, #stage-2 .stage-body,
  #stage-3 .eyebrow, #stage-3 .section-title, #stage-3 .stage-body {
    transform: translateY(40px) !important;
  }
  
  #stage-2.leaving .eyebrow, #stage-2.leaving .section-title, #stage-2.leaving .stage-body,
  #stage-3.leaving .eyebrow, #stage-3.leaving .section-title, #stage-3.leaving .stage-body {
    transform: translateY(40px) !important;
  }
}
