/* ══════════════════════════════════════════════════════════════
   Aymen Benkhedda — Aura Ultra-Pro Design System
   Off-White & Soft Gray Editorial Theme (#f5f5f7)
   Floating Origami Dove Icon + Continuous Moving Photo Banner
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #f5f5f7;
  --bg-2: #ececee;
  --card: #ffffff;

  --ink: #0c0c0e;
  --muted: #64646e;
  --line: rgba(12, 12, 14, 0.08);
  --line-soft: rgba(12, 12, 14, 0.05);

  --accent: #0c0c0e;
  --accent-soft: rgba(12, 12, 14, 0.05);

  --dz-green: #009a49;
  --dz-red: #d21034;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-serif: 'Playfair Display', serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ink);
  color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.proj-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.proj-card-cta {
  background: #ffffff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  min-height: 280px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.proj-card-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--ink);
  z-index: 10;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-transform: uppercase;
  z-index: 10;
}

/* ── SCROLL PROGRESS ── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--ink);
  z-index: 300;
  transition: width 0.08s linear;
}

/* ── PRELOADER ── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-dove {
  width: 54px;
  height: 54px;
  animation: floatDove 3.5s ease-in-out infinite;
}

.preloader-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.03em;
}

.preloader-logo span {
  color: var(--muted);
}

.preloader-bar {
  width: 180px;
  height: 3px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.preloader-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── BUTTONS ── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s;
  will-change: transform;
}

.btn:hover {
  transform: scale(1.03);
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

/* Override btn-primary hover on dark backgrounds (like the footer) */
.footer-banner-content .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-ghost-dark {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.btn-light:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(12, 12, 14, 0.04), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.cursor-on .cursor-glow {
  opacity: 1;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-dove {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-logo span {
  color: var(--muted);
}

.nav-links {
  display: none;
  gap: 4px;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.06);
}

.nav-cta {
  display: none;
  padding: 11px 22px;
}

@media (min-width: 860px) {
  .nav-cta {
    display: inline-flex;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

@media (min-width: 860px) {
  .hamburger {
    display: none;
  }
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 26px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1.3rem;
  background: var(--card);
}

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 9vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:hover {
  color: var(--muted);
  padding-left: 8px;
}

.mobile-foot {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── HERO ── */
.hero {
  padding: 110px 22px 56px;
  position: relative;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.hero-top-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-dove-icon {
  width: 52px;
  height: 52px;
  animation: floatDove 3.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

.section-dove-icon {
  width: 56px;
  height: 56px;
  display: block;
  margin: 0 auto 18px;
  animation: floatDove 3.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

@keyframes floatDove {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(3deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.15s, transform 0.6s var(--ease) 0.15s;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dz-green);
  box-shadow: 0 0 8px var(--dz-green);
  animation: pulse 1.6s infinite;
}

.badge-dot.green {
  background: #2ed573;
  box-shadow: 0 0 8px #2ed573;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.dz-flag {
  background: linear-gradient(90deg, #009a49 0%, #009a49 48%, #d21034 52%, #d21034 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.dz-flag-text {
  color: #009a49;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-size: clamp(3.4rem, 13vw, 9.8rem);
  margin-bottom: 24px;
}

.line-mask {
  display: block;
  overflow: hidden;
}

.line-mask>span {
  display: block;
  transform: translateY(115%);
  transition: transform 0.85s var(--ease);
}

body.loaded .line-mask>span {
  transform: translateY(0);
}

.line-mask:nth-child(2)>span {
  transition-delay: 0.12s;
}

.hero-line-sub {
  color: var(--muted);
}

.card-title {
  color: #ffffff;
  margin-bottom: 32px;
}

.card-title-sub {
  color: rgba(255, 255, 255, 0.5);
}

.hero-intro-text {
  max-width: 640px;
  margin-bottom: 44px;
}

.hero-sub-text {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── CINEMATIC GIF MOVING PHOTO HERO CANVAS ── */
.hero-cinematic-card,
.footer-banner-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform-style: preserve-3d;
}

@media (max-width: 767px) {

  .hero-cinematic-card,
  .footer-banner-card {
    aspect-ratio: 4 / 3.8;
    border-radius: 20px;
  }
}

.hero-moving-gif-bg {
  position: absolute;
  inset: -10%;
  background-image: url("https://images.unsplash.com/photo-1542224566-6e85f2e6772f?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
  animation: moveGifBg 18s ease-in-out infinite alternate;
  will-change: transform;
}

.footer-moving-gif-bg {
  position: absolute;
  inset: -10%;
  background-image: url("https://images.unsplash.com/photo-1542224566-6e85f2e6772f?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.15) brightness(0.65);
  animation: moveGifBgReverse 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes moveGifBg {
  0% {
    transform: scale(1) translate(0%, 0%);
  }

  50% {
    transform: scale(1.1) translate(-2.5%, -1.8%);
  }

  100% {
    transform: scale(1.04) translate(1.8%, 1.2%);
  }
}

@keyframes moveGifBgReverse {
  0% {
    transform: scale(1.06) translate(1.8%, 1.2%);
  }

  50% {
    transform: scale(1) translate(0%, 0%);
  }

  100% {
    transform: scale(1.1) translate(-2.2%, -1.6%);
  }
}

.hero-shimmer-beam,
.footer-shimmer-beam {
  position: absolute;
  inset: -10%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.18'/%3E%3C/svg%3E");
  pointer-events: none;
  animation: staticNoise 0.4s infinite steps(4);
}

@keyframes staticNoise {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(1%, -1%);
  }

  50% {
    transform: translate(-1%, 1%);
  }

  75% {
    transform: translate(1%, 1%);
  }

  100% {
    transform: translate(0, 0);
  }
}

.hero-overlay-vignette,
.footer-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 15%, rgba(12, 12, 14, 0.68) 100%);
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 10;
  padding: clamp(24px, 5vw, 54px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.hcc-top {
  display: flex;
  align-items: flex-start;
}

.hcc-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hcc-logo img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hcc-logo h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.hcc-bottom {
  max-width: 500px;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.btn-play:hover {
  opacity: 0.8;
}

.btn-play svg {
  width: 28px;
  height: 28px;
}

.card-sub-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.6;
}

.hero-bottom-content {
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bottom-content .hero-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  margin-bottom: 16px;
  line-height: 1.05;
}

.hero-desc-below {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.6;
}

/* Hero entrance once loaded */
body.loaded .hero-badge {
  opacity: 1;
  transform: none;
}

/* ── MARQUEE ── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.marquee-group span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 0 24px;
}

.marquee-group span::after {
  content: "✦";
  color: var(--muted);
  margin-left: 48px;
}

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

/* ── EYEBROW / SECTION HEAD ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 44px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  text-align: right;
}

.section-title .num {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
  vertical-align: super;
}

/* ── STATEMENT / MISSION ── */
.statement {
  padding: 130px 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.statement-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(2.3rem, 7vw, 5.4rem);
}

.statement-desc {
  max-width: 660px;
  margin-top: 28px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
}

.cycler-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.cycler-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cycler {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 3.6vw, 2.1rem);
  letter-spacing: -0.02em;
  display: inline-block;
  background: var(--ink);
  color: #ffffff;
  padding: 6px 24px;
  border-radius: 999px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cycler.out {
  transform: translateY(-14px) scale(0.97);
  opacity: 0;
}

.cycler.in {
  transform: translateY(14px) scale(0.97);
  opacity: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 24px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SERVICES ── */
.services {
  padding: 130px 22px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services>.section-head,
.services>.services-actions {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.accordion {
  max-width: 1240px;
  margin: 0 auto;
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-item:first-child {
  border-top: 1px solid var(--line);
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 30px 4px;
}

.acc-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  flex-shrink: 0;
  width: 44px;
}

.acc-name {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(1.15rem, 3.4vw, 2.1rem);
  transition: color 0.2s;
}

.acc-trigger:hover .acc-name {
  color: var(--muted);
}

.acc-icon {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.acc-item.open .acc-icon {
  transform: rotate(45deg);
}

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.acc-item.open .acc-panel {
  grid-template-rows: 1fr;
}

.acc-panel>div {
  overflow: hidden;
}

.acc-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 4px 32px 60px;
}

@media (min-width: 640px) {
  .acc-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
}

.acc-desc {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}

.acc-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
}

.services-actions {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 640px) {
  .services-actions {
    flex-direction: row;
  }

  .services-actions .btn {
    flex: 0 0 auto;
  }
}

/* ── PROJECTS ── */
.projects {
  padding: 130px 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proj-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  will-change: transform;
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(12, 12, 14, 0.2);
}

.proj-card:active {
  transform: translateY(1px) !important;
}

.proj-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.proj-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.proj-status {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
}

.proj-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.45s var(--ease), transform 0.45s var(--ease);
}

.proj-card:hover .proj-img img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.proj-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.proj-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.proj-sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.proj-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.proj-card:hover .proj-arrow {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.grid-hint {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CTA SLOT (AURA SLOT CARD) ── */
.slot {
  padding: 40px 22px 140px;
  max-width: 1240px;
  margin: 0 auto;
}

.slot-card {
  background: var(--ink);
  color: #ffffff;
  border-radius: 28px;
  padding: clamp(36px, 7vw, 80px);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
}

.slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 26px;
}

.slot-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.96;
  font-size: clamp(2.1rem, 6.5vw, 4.8rem);
  max-width: 14ch;
}

.slot-card p {
  margin: 22px 0 34px;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

/* ── QUOTE SECTION (AURA "YOUR BEST EMPLOYEE NEVER SLEEPS") ── */
.quote-section {
  padding: 130px 22px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.quote-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 18px;
}

.quote-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
}

.quote-sub {
  margin: 24px auto 44px;
  max-width: 620px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.tweet-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
  box-shadow: var(--shadow);
}

.tweet-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.tweet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  object-fit: cover;
}

.verified-badge {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-left: 2px;
}

.tweet-user strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.tweet-user span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.tweet-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}

/* ── FOOTER MOVING PHOTO BANNER ── */
.footer-banner-section {
  padding: 90px 22px 50px;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-banner-content {
  position: relative;
  z-index: 10;
  padding: clamp(28px, 5vw, 54px);
  color: #ffffff;
}

.fbc-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.94;
  font-size: clamp(2.4rem, 8vw, 6.2rem);
  margin-bottom: 32px;
}

.fbc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── FOOTER BAR ── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.footer-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

@media (min-width: 768px) {
  .footer-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.social-icon:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

/* Social Icons inside Footer Banner (Dark Background) */
.footer-banner-content .social-icon {
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.footer-banner-content .social-icon:hover {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}

.fbc-contact-details {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.fbc-cd-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fbc-cd-label {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  min-width: 80px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ── MODAL (NO SCROLLBARS) ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(12, 12, 14, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 740px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
}

.modal-card::-webkit-scrollbar {
  display: none;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.modal-name {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.modal-body {
  padding: 24px;
}

@media (min-width: 640px) {
  .modal-body {
    padding: 36px;
  }
}

.modal-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 24px;
  background: var(--bg-2);
}

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

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.m-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.modal-sub {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 18px;
}

.modal-desc {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 26px;
}

.modal-tech {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 28px;
}

.modal-tech h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal stagger */
.modal-backdrop .m1,
.modal-backdrop .m2,
.modal-backdrop .m3 {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.modal-backdrop.open .m1 {
  opacity: 1;
  transform: none;
  transition-delay: 0.06s;
}

.modal-backdrop.open .m2 {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.modal-backdrop.open .m3 {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ── 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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .line-mask>span {
    transform: none;
  }

  .hero-badge {
    opacity: 1;
    transform: none;
  }

  .hero-moving-gif-bg,
  .footer-moving-gif-bg {
    animation: none;
  }

  .hero-dove-icon,
  .section-dove-icon {
    animation: none;
  }
}