﻿/*
Theme Name: Devfolio
Theme URI: https://example.com/devfolio
Author: Inayatullah Khan
Description: A modern AI-era dark portfolio theme for software developers. Animated gradients, glassmorphism, and energetic micro-interactions — hand-coded HTML/CSS/JS, editable via the WordPress Customizer, and compatible with Elementor for additional pages.
Version: 2.11.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: devfolio
Tags: portfolio, dark, one-column, custom-colors
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --bg: #05070f;
  --surface: rgba(148, 163, 184, 0.055);
  --surface-solid: #0c1120;
  --border: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(168, 85, 247, 0.45);

  /* Gradient trio: cyan -> indigo -> fuchsia */
  --g1: #22d3ee;
  --g2: #6366f1;
  --g3: #d946ef;
  --gradient: linear-gradient(120deg, var(--g1), var(--g2) 50%, var(--g3));

  --accent: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --text: #e2e8f0;
  --text-muted: #8b98b8;
  --heading: #f8fafc;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 18px;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --glow-indigo: rgba(99, 102, 241, 0.55);
  --nav-height: 92px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--g2);
  color: #fff;
}

.df-container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Gradient text utility — animated shimmer */
.df-gradient-text {
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: df-gradient-shift 5s linear infinite;
}

@keyframes df-gradient-shift {
  to { background-position: 200% center; }
}

/* ==========================================================================
   3. Animated background: floating orbs + grid
   ========================================================================== */

.df-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.df-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}

.df-orb-1 {
  width: 560px;
  height: 560px;
  background: var(--g2);
  top: -15%;
  right: -8%;
  animation: df-float-1 19s ease-in-out infinite alternate;
}

.df-orb-2 {
  width: 460px;
  height: 460px;
  background: var(--g3);
  bottom: -18%;
  left: -10%;
  opacity: 0.22;
  animation: df-float-2 23s ease-in-out infinite alternate;
}

.df-orb-3 {
  width: 380px;
  height: 380px;
  background: var(--g1);
  top: 42%;
  left: 38%;
  opacity: 0.16;
  animation: df-float-3 17s ease-in-out infinite alternate;
}

@keyframes df-float-1 {
  to { transform: translate(-110px, 130px) scale(1.18); }
}

@keyframes df-float-2 {
  to { transform: translate(120px, -90px) scale(1.12); }
}

@keyframes df-float-3 {
  to { transform: translate(-90px, -120px) scale(0.85); }
}

/* Faint blueprint grid, faded at the edges */
.df-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

/* Soft glow that follows the cursor (positioned by JS, desktop only) */
.df-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.09), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.df-has-cursor .df-cursor-glow {
  opacity: 1;
}

/* --- Custom cursor: instant dot + trailing ring (desktop only, via JS) --- */
.df-cursor-dot,
.df-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 400;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-100px, -100px);
}

.df-cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--g1);
  box-shadow: 0 0 10px var(--g1);
}

.df-cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(34, 211, 238, 0.65);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease,
    border-color 0.25s ease, background 0.25s ease, opacity 0.3s ease;
}

/* Grows and warms up over anything clickable */
.df-cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-color: var(--g3);
  background: rgba(217, 70, 239, 0.08);
}

body.df-cursor-active .df-cursor-dot,
body.df-cursor-active .df-cursor-ring {
  opacity: 1;
}

/* Hide the native cursor only while the custom one is running */
body.df-custom-cursor,
body.df-custom-cursor a,
body.df-custom-cursor button,
body.df-custom-cursor label,
body.df-custom-cursor [role="button"] {
  cursor: none;
}

/* Form fields keep the native text caret; the custom cursor steps aside */
body.df-custom-cursor input,
body.df-custom-cursor textarea,
body.df-custom-cursor select {
  cursor: auto;
}

body.df-cursor-on-field .df-cursor-dot,
body.df-cursor-on-field .df-cursor-ring {
  opacity: 0;
}

/* Page preloader */
.df-preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s;
}

.df-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.df-preloader-ring {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--g1);
  border-right-color: var(--g3);
  animation: df-spin 0.9s linear infinite;
}

@keyframes df-spin {
  to { transform: rotate(360deg); }
}

.df-preloader-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: df-blink-soft 1.4s ease-in-out infinite;
}

@keyframes df-blink-soft {
  50% { opacity: 0.35; }
}

/* Button busy state (contact form submit) */
.df-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: df-spin 0.8s linear infinite;
}

.df-btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

/* Scroll progress bar */
.df-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 200;
  background: var(--gradient);
  transform-origin: left;
  transform: scaleX(0);
}

/* ==========================================================================
   4. Header / navigation
   ========================================================================== */

/* Floating glass-pill navbar */
.df-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 16px;
}

.df-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 60px;
  padding: 0 0.6rem 0 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 11, 22, 0.55);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.6);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.df-header.is-scrolled .df-nav {
  background: rgba(6, 8, 17, 0.85);
  border-color: rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.75);
}

.df-logo {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  color: var(--heading);
  white-space: nowrap;
  transition: transform var(--spring);
}

.df-logo:hover {
  transform: scale(1.04);
}

.df-logo .df-logo-bracket {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.df-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.75rem);
  list-style: none;
}

.df-menu a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.df-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.df-menu a:hover,
.df-menu a.is-active {
  color: var(--heading);
}

.df-menu a:hover::after,
.df-menu a.is-active::after {
  transform: scaleX(1);
}

/* Extra specificity: .df-menu a would otherwise override the pill padding */
.df-menu a.df-nav-cta,
.df-nav-cta {
  position: relative;
  color: #fff;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  /* Deeper tones than the main gradient so white text stays readable */
  background: linear-gradient(120deg, #4f46e5, #9333ea);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: filter var(--transition), transform var(--spring), box-shadow var(--transition);
}

.df-menu a.df-nav-cta:hover,
.df-nav-cta:hover {
  color: #fff;
  filter: brightness(1.18);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -10px var(--glow-indigo);
}

.df-menu a.df-nav-cta::after,
.df-nav-cta::after {
  display: none;
}

/* Hamburger (mobile) */
.df-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.df-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform var(--transition), opacity var(--transition);
}

.df-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.df-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.df-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. Sections (shared)
   ========================================================================== */

.df-section {
  padding: 6.5rem 0;
  position: relative;
}

.df-section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 2.75rem;
}

.df-section-title .df-hash {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.df-section-title::after {
  content: "";
  flex: 1;
  max-width: 280px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--border-bright), transparent);
}

/* Scroll-reveal: springy slide + blur-in, staggered by JS via --reveal-delay */
.df-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

/* Directional variants: slide in from the sides instead of below */
.df-reveal.df-reveal-left {
  transform: translateX(-44px) scale(0.98);
}

.df-reveal.df-reveal-right {
  transform: translateX(44px) scale(0.98);
}

.df-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Buttons */
.df-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--spring), box-shadow var(--transition), background-position var(--transition), border-color var(--transition), color var(--transition);
}

.df-btn-primary {
  background: var(--gradient);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 10px 30px -12px var(--glow-indigo);
}

.df-btn-primary:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px -12px var(--glow-indigo);
  color: #fff;
}

/* Shine sweep across primary buttons */
.df-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.df-btn-primary:hover::before {
  left: 130%;
}

.df-btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.df-btn-ghost:hover {
  border-color: var(--border-bright);
  color: var(--heading);
  transform: translateY(-3px);
}

/* Glass card base (skills, projects, services), with cursor spotlight via --mx/--my */
.df-skill-group,
.df-project,
.df-service {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--spring), border-color var(--transition), box-shadow var(--transition);
}

.df-skill-group::before,
.df-project::before,
.df-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.df-skill-group:hover::before,
.df-project:hover::before,
.df-service:hover::before {
  opacity: 1;
}

.df-skill-group:hover,
.df-project:hover,
.df-service:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.df-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
}

.df-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Hero status pills */
.df-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.df-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.df-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
}

.df-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
  animation: df-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes df-ping {
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

.df-hero-name {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.df-hero-role {
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  min-height: 1.5em;
  margin-bottom: 1.4rem;
}

.df-hero-role .df-typed {
  color: var(--heading);
}

.df-hero-role .df-caret {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  margin-left: 4px;
  vertical-align: text-bottom;
  background: var(--g1);
  animation: df-blink 1s step-end infinite;
}

@keyframes df-blink {
  50% { opacity: 0; }
}

.df-hero-intro {
  max-width: 540px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

.df-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.df-socials {
  display: flex;
  gap: 0.9rem;
}

.df-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), transform var(--spring), box-shadow var(--transition);
}

.df-socials a:hover {
  color: var(--heading);
  border-color: var(--border-bright);
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 12px 24px -12px var(--glow-indigo);
}

.df-socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Terminal window --- */
.df-terminal {
  background: rgba(5, 8, 18, 0.82);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow), 0 0 60px -30px var(--glow-indigo);
  overflow: hidden;
  font-family: var(--font-mono);
  animation: df-hover-bob 7s ease-in-out infinite;
}

@keyframes df-hover-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.df-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.04);
}

.df-terminal-bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.df-terminal-bar i:nth-child(1) { background: #ff5f57; }
.df-terminal-bar i:nth-child(2) { background: #febc2e; }
.df-terminal-bar i:nth-child(3) { background: #28c840; }

.df-terminal-bar p {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.df-terminal-body {
  padding: 1.3rem 1.4rem;
  font-size: 0.83rem;
  line-height: 2.1;
  min-height: 300px;
}

.df-terminal-body .t-line {
  white-space: pre-wrap;
  word-break: break-word;
}

.df-terminal-body .t-prompt {
  color: var(--g1);
  margin-right: 0.5rem;
}

.df-terminal-body .t-out {
  color: var(--text-muted);
}

.df-terminal-body .t-ok {
  color: #34d399;
}

.df-terminal-body .t-caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  vertical-align: text-bottom;
  background: var(--g1);
  animation: df-blink 1s step-end infinite;
}

/* --- Tech marquee strip --- */
.df-marquee {
  margin-top: 4rem;
  padding: 1rem 0;
  border-block: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.df-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: df-marquee 32s linear infinite;
}

.df-marquee:hover .df-marquee-track {
  animation-play-state: paused;
}

@keyframes df-marquee {
  to { transform: translateX(-50%); }
}

.df-marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.df-marquee-track em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

/* ==========================================================================
   7. About
   ========================================================================== */

.df-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.df-about-text p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.df-about-text strong {
  color: var(--heading);
}

.df-about-photo {
  position: relative;
  border-radius: var(--radius);
  padding: 3px;
  background: var(--gradient);
  background-size: 300% auto;
  animation: df-gradient-shift 6s linear infinite;
  box-shadow: 0 0 50px -18px var(--glow-indigo);
  transition: transform var(--spring);
}

.df-about-photo:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.df-about-photo img,
.df-photo-placeholder {
  border-radius: calc(var(--radius) - 3px);
}

.df-about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}

.df-photo-placeholder {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-solid), #131b31);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ==========================================================================
   8. Skills
   ========================================================================== */

.df-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.df-skill-group {
  padding: 1.75rem;
}

.df-skill-group:hover {
  transform: translateY(-5px);
}

.df-skill-group h3 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.df-skill-group h3 svg {
  width: 20px;
  height: 20px;
  stroke: var(--g1);
  fill: none;
  stroke-width: 2;
}

.df-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.df-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  transition: border-color var(--transition), transform var(--spring), background var(--transition);
}

.df-badge:hover {
  border-color: var(--border-bright);
  background: rgba(99, 102, 241, 0.22);
  transform: translateY(-3px) scale(1.06);
}

/* ==========================================================================
   9. Projects
   ========================================================================== */

.df-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  perspective: 1200px;
}

.df-project {
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  will-change: transform;
  transform-style: preserve-3d;
}

.df-project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.df-project-top .df-folder svg {
  width: 40px;
  height: 40px;
  stroke: url(#df-grad-stroke);
  stroke: var(--g2);
  fill: none;
  stroke-width: 1.5;
}

.df-project-links {
  display: flex;
  gap: 0.8rem;
}

.df-project-links a {
  color: var(--text-muted);
  transition: color var(--transition), transform var(--spring);
}

.df-project-links a:hover {
  color: var(--heading);
  transform: translateY(-2px) scale(1.15);
}

.df-project-links svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.df-project h3 {
  font-size: 1.25rem;
}

.df-project h3 a {
  color: inherit;
}

.df-project h3 a:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.df-project p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}

.df-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. Experience (timeline)
   ========================================================================== */

.df-timeline {
  position: relative;
  max-width: 760px;
  padding-left: 2rem;
}

.df-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--g1), var(--g2), transparent);
}

.df-timeline-item {
  position: relative;
  padding-bottom: 2.75rem;
}

.df-timeline-item:last-child {
  padding-bottom: 0;
}

.df-timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--g2);
}

/* The current role's dot pulses */
.df-timeline-item:first-child::before {
  border-color: var(--g1);
  animation: df-dot-pulse 2.4s ease-out infinite;
}

@keyframes df-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}

.df-timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.df-timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.df-timeline-item h3 span {
  color: var(--g1);
}

.df-timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   11. Contact
   ========================================================================== */

.df-contact-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.df-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  /* Wide column gap: the robot stands in it, beside the form card */
  gap: 2rem 4.75rem;
  align-items: start;
}

.df-contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.df-contact-info > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Contact channel cards */
.df-channels {
  display: grid;
  gap: 0.85rem;
}

.df-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), transform var(--spring), box-shadow var(--transition);
}

.df-channel:hover {
  border-color: var(--border-bright);
  transform: translateX(6px);
  box-shadow: 0 10px 24px -14px var(--glow-indigo);
}

.df-channel-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(217, 70, 239, 0.15));
  border: 1px solid var(--border-bright);
}

.df-channel-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--g1);
  fill: none;
  stroke-width: 2;
}

.df-channel-text {
  display: grid;
  line-height: 1.35;
  min-width: 0;
}

.df-channel-text small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.df-channel-text strong {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.df-channel:hover .df-channel-text strong {
  color: var(--heading);
}

/* --- Form stage: the robot pushes the form card in from the right --- */
.df-form-stage {
  position: relative;
}

/* Custom entrance: overrides the standard reveal's slide-up + blur */
.df-form-stage.df-reveal-stage {
  transform: translateX(90%);
  filter: none;
  transition: opacity 0.4s ease, transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.df-form-stage.df-reveal-stage.is-visible {
  transform: none;
}

/* --- Robot mascot --- */
.df-bot {
  position: absolute;
  right: -138px;
  bottom: 8px;
  width: 260px;
  z-index: 2;
  transform-origin: bottom center;
}

/* Leans into the push while the card slides, straightens up, then idles */
.df-form-stage.is-visible .df-bot {
  animation:
    df-bot-push 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    df-bob 4.5s 1.6s ease-in-out infinite;
}

/* He's on the right side, shoving the card leftward into place */
@keyframes df-bot-push {
  0% { transform: rotate(-16deg) translateX(-8px); }
  65% { transform: rotate(-16deg) translateX(-3px); }
  100% { transform: rotate(0) translateX(0); }
}

/* Speech bubble waits until the robot has parked the form */
.df-form-stage .df-bot-bubble {
  opacity: 0;
}

.df-form-stage.is-visible .df-bot-bubble {
  animation: df-bubble-in 0.4s ease 1.9s both;
}

@keyframes df-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes df-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.df-bot-bubble {
  position: absolute;
  top: -8px;
  left: 56%;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border-bright);
  padding: 0.35rem 0.75rem;
  border-radius: 12px 12px 12px 2px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease;
}

.df-mascot-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55));
  user-select: none;
  -webkit-user-drag: none;
}

/* Someone is typing — excited little hop */
.df-form-stage.is-visible .df-bot.is-happy {
  animation: df-hop 0.55s ease-in-out infinite;
}

@keyframes df-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.df-contact-form-col {
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 80px -40px var(--glow-indigo);
}

.df-contact .df-hash {
  font-family: var(--font-mono);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.df-contact h2 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 800;
  margin: 0.5rem 0 1.25rem;
}

.df-contact-head p {
  color: var(--text-muted);
}

/* ==========================================================================
   11b. Stats, services, contact form, floating buttons, 404, scrollbar
   ========================================================================== */

/* Animated counters */
.df-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  text-align: center;
}

.df-stat {
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--spring), border-color var(--transition);
}

.df-stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}

.df-stat-num {
  display: block;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.df-stat p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Services */
.df-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.df-service {
  padding: 2rem 1.9rem;
}

.df-service:hover {
  transform: translateY(-5px);
}

.df-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(217, 70, 239, 0.18));
  border: 1px solid var(--border-bright);
  margin-bottom: 1.25rem;
}

.df-service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--g1);
  fill: none;
  stroke-width: 2;
}

.df-service h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.df-service p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact form */
.df-form {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
  text-align: left;
}

.df-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.df-form input[type="text"],
.df-form input[type="email"],
.df-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(5, 8, 18, 0.6);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.df-form input::placeholder,
.df-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.df-form input:focus,
.df-form textarea:focus {
  outline: none;
  border-color: var(--g2);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.df-form textarea {
  resize: vertical;
  min-height: 130px;
}

.df-form .df-btn {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}

/* Honeypot: visually gone, still in the DOM for bots */
.df-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.df-form-notice {
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.df-form-notice.is-success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
}

.df-form-notice.is-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}

/* Floating action buttons */
.df-float {
  position: fixed;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--spring), box-shadow var(--transition), opacity 0.3s ease, visibility 0.3s;
}

.df-float:hover {
  transform: translateY(-4px) scale(1.06);
}

.df-float svg {
  width: 24px;
  height: 24px;
}

.df-whatsapp {
  left: 22px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.65);
}

.df-whatsapp svg {
  fill: #fff;
}

.df-top {
  right: 22px;
  background: rgba(8, 11, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--g1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.df-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.df-top:hover {
  border-color: var(--border-bright);
}

/* 404 page */
.df-404 {
  text-align: center;
}

.df-404-terminal {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  text-align: left;
  animation: none;
}

.df-404-terminal .df-terminal-body {
  min-height: 0;
}

.df-404-terminal .t-err {
  color: #fca5a5;
}

.df-404-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.df-404-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Custom scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #4c5470 var(--bg);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--g2), var(--g3));
  border-radius: 8px;
  border: 2px solid var(--bg);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.df-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.df-footer a {
  color: var(--text-muted);
}

.df-footer a:hover {
  color: var(--heading);
}

.df-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.df-footer-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.df-footer-blurb {
  font-size: 0.9rem;
  max-width: 320px;
}

.df-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.df-footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.df-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.df-heart {
  display: inline-block;
  animation: df-heartbeat 1.6s ease-in-out infinite;
}

@keyframes df-heartbeat {
  0%, 40%, 80%, 100% { transform: scale(1); }
  20%, 60% { transform: scale(1.25); }
}

/* ==========================================================================
   13. Inner pages (blog fallback + Elementor pages)
   ========================================================================== */

.df-page {
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
}

.df-page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.df-page .df-entry :is(p, ul, ol) {
  margin-bottom: 1.1rem;
  color: var(--text);
}

.df-page .df-entry :is(h2, h3) {
  margin: 1.75rem 0 0.75rem;
}

/* Elementor-built pages manage their own layout: give them the full canvas. */
.df-page.is-elementor {
  padding: var(--nav-height) 0 0;
}

.df-page.is-elementor .df-container {
  width: 100%;
}

.df-post-list article {
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--transition), transform var(--spring);
}

.df-post-list article:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.df-post-list h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.df-post-list h2 a {
  color: var(--heading);
}

.df-post-list h2 a:hover {
  color: var(--g1);
}

.df-post-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   13b. Project case-study pages (/projects/<slug>/)
   ========================================================================== */

.df-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.df-breadcrumb a {
  color: var(--text-muted);
}

.df-breadcrumb a:hover {
  color: var(--g1);
}

.df-project-page .df-page-title {
  margin-bottom: 1rem;
}

.df-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.df-project-cover {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.df-project-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.df-project-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: 48%;
}

.df-project-nav-link.is-next {
  margin-left: auto;
  text-align: right;
}

.df-project-nav-link small {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.df-project-nav-link strong {
  color: var(--heading);
  transition: color var(--transition);
}

.df-project-nav-link:hover strong {
  color: var(--g1);
}

.df-project-cta {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.df-project-cta h2 {
  margin-bottom: 0.75rem;
}

.df-project-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* "Read case study" link on the front-page cards */
.df-project-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--g1);
}

.df-project-more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .df-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .df-terminal {
    max-width: 560px;
  }
}

@media (max-width: 860px) {
  .df-about-grid {
    grid-template-columns: 1fr;
  }

  .df-about-photo {
    max-width: 380px;
  }

  .df-contact-grid {
    grid-template-columns: 1fr;
  }

  /* No room beside the card on small screens: mascot stands above it */
  .df-bot {
    position: static;
    width: 150px;
    margin: 0 auto 1rem;
  }

  .df-form-stage .df-bot-bubble {
    top: 6px;
    left: 72%;
  }

  .df-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Nav collapses to a dropdown panel early enough that tablets never feel cramped */
@media (max-width: 900px) {
  .df-burger {
    display: flex;
  }

  .df-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.4rem;
    padding: 1.1rem;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(7, 10, 20, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .df-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .df-menu a {
    display: block;
    font-size: 1.05rem;
    padding: 0.7rem 1rem;
    border-radius: 12px;
  }

  .df-menu a:hover,
  .df-menu a.is-active {
    background: rgba(99, 102, 241, 0.12);
  }

  .df-menu a::after {
    display: none;
  }

  .df-menu .df-nav-cta {
    margin-top: 0.5rem;
    color: #fff;
  }
}

@media (max-width: 768px) {
  .df-section {
    padding: 4.5rem 0;
  }

  .df-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-form-row {
    grid-template-columns: 1fr;
  }

  .df-float {
    width: 46px;
    height: 46px;
    bottom: 16px;
  }

  .df-whatsapp { left: 16px; }
  .df-top { right: 16px; }

  .df-hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .df-terminal-body {
    min-height: 240px;
    font-size: 0.78rem;
  }

  .df-orb {
    filter: blur(70px);
  }
}

/* ==========================================================================
   15. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .df-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .df-marquee-track {
    animation: none;
  }

  .df-cursor-glow,
  .df-cursor-dot,
  .df-cursor-ring {
    display: none;
  }

  .df-preloader {
    display: none;
  }
}
