/* ============================================
   HOME — Andrew Hany Portfolio Homepage
   Poster-inspired design with warm palette
   ============================================ */

:root {
  --c-dark: #122324;
  --c-forest: #2F3A32;
  --c-sage: #545748;
  --c-peach: #DB9F75;
  --c-rust: #804012;
  --c-brown: #3E2411;
  --c-cream: #f5e8d8;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--c-dark);
  color: var(--c-cream);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

::selection { background: var(--c-peach); color: var(--c-brown); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

/* ---------- CURSOR ---------- */
.cursor {
  position: fixed; width: 20px; height: 20px;
  border: 1px solid var(--c-peach); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transition: transform 0.2s ease, background 0.2s;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor.grow {
  transform: translate(-50%, -50%) scale(2.5);
  background: var(--c-peach);
}
@media (hover: none) { .cursor { display: none; } }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 24px 40px; display: flex;
  justify-content: space-between; align-items: center;
  z-index: 100;
  background: rgba(18, 35, 36, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(219, 159, 117, 0.08);
}
nav .logo { display: block; height: 40px; }
nav .logo img {
  height: 100%; width: auto; display: block;
  filter: brightness(0) invert(1);
}
nav ul { display: flex; gap: 32px; list-style: none; }
nav ul a {
  color: var(--c-cream); text-decoration: none;
  font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; transition: color 0.3s;
  position: relative;
}
nav ul a::after {
  content: ""; position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 1px; background: var(--c-peach);
  transform: scaleX(0); transition: transform 0.3s;
}
nav ul a:hover::after { transform: scaleX(1); }
nav ul a:hover, nav ul a:focus-visible { color: var(--c-peach); }

.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 101;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--c-cream); transition: all 0.3s; display: block;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }




/* ---------- HERO (POSTER STYLE) ---------- */
.hero {
  min-height: 100vh;
  padding: 120px 40px 60px;
  position: relative;
  background:
    radial-gradient(ellipse at center top, rgba(128, 64, 18, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-brown) 0%, var(--c-dark) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(219, 159, 117, 0.03) 100px, rgba(219, 159, 117, 0.03) 101px);
  pointer-events: none;
}

.hero-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 40px;
  position: relative; z-index: 2;
}
.hero-tag {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; opacity: 0.8;
  display: flex; align-items: center; gap: 10px;
}
.hero-tag::before {
  content: ""; width: 30px; height: 1px;
  background: var(--c-peach);
}
.hero-tag-right::before { display: none; }
.hero-tag-right::after {
  content: ""; width: 30px; height: 1px;
  background: var(--c-peach); margin-left: 10px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; display: inline-block;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-main {
  position: relative;
  text-align: center;
  margin: 20px 0;
}
.hero-title {
  font-family: 'Bebas Neue';
  font-size: clamp(120px, 24vw, 380px);
  line-height: 0.82;
  letter-spacing: -6px;
  color: var(--c-cream);
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.hero-title .split { display: inline-block; }

.hero-portrait {
  position: absolute;
  top: 90%; left: 50%;
  transform: translate(-50%, -45%);
  width: clamp(280px, 32vw, 480px);
  z-index: 2;
}
.portrait-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(128, 64, 18, 0.6) 0%, rgba(128, 64, 18, 0) 65%);
  border-radius: 50%;
  z-index: -1;
  animation: portraitPulse 6s ease-in-out infinite;
}
@keyframes portraitPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}
.hero-portrait img {
  width: 100%; height: auto; display: block;
  border-radius: 0;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
}

.hero-bottom {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px; margin-top: 60px;
  position: relative; z-index: 3;
}
.hero-services {
  display: flex; flex-direction: column;
  gap: 8px; margin-bottom: 40px;
}
.hero-services span {
  font-family: 'Bebas Neue'; font-size: 24px;
  letter-spacing: 3px; color: var(--c-cream);
  padding-left: 20px; position: relative;
}
.hero-services span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 12px; height: 1px; background: var(--c-peach);
}
.hero-quote {
  position: relative; padding: 30px;
  background: rgba(219, 159, 117, 0.05);
  border-left: 3px solid var(--c-peach);
  border-radius: 0 12px 12px 0;
}
.quote-mark {
  font-family: 'Playfair Display';
  font-size: 60px; line-height: 0.5;
  color: var(--c-peach);
  margin-bottom: 10px;
}
.hero-quote p {
  font-size: 14px; line-height: 1.6;
  font-weight: 500; color: var(--c-cream);
  margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1px;
}
.signature {
  font-family: 'Playfair Display';
  font-style: italic;
  font-size: 20px; color: var(--c-peach);
}

.hero-right {
  display: flex; flex-direction: column; gap: 30px;
}
.hero-name .section-label {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--c-peach);
  margin-bottom: 12px;
}
.hero-name h2 {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -1px;
  color: var(--c-cream);
  margin-bottom: 20px;
}
.hero-name h2 em {
  font-family: 'Playfair Display';
  font-style: italic; font-weight: 400;
  color: var(--c-peach);
}
.hero-bio {
  font-size: 15px; line-height: 1.7;
  opacity: 0.85; max-width: 500px;
}
.hero-stats {
  display: flex; gap: 30px; flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(219, 159, 117, 0.2);
}
.hero-stat {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 100px;
}
.hero-stat-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(219, 159, 117, 0.1);
  border: 1px solid rgba(219, 159, 117, 0.3);
  color: var(--c-peach);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; margin-bottom: 8px;
}
.hero-stat-num {
  font-family: 'Bebas Neue'; font-size: 42px;
  color: var(--c-cream); line-height: 1;
}
.hero-stat-num span { color: var(--c-peach); }
.hero-stat-lbl {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.7;
  line-height: 1.4;
}


/* ---------- MARQUEE ---------- */
.marquee {
  background: var(--c-peach); color: var(--c-brown);
  padding: 24px 0; overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--c-brown);
  border-bottom: 1px solid var(--c-brown);
}
.marquee-track {
  display: inline-flex; gap: 60px;
  animation: marqScroll 25s linear infinite;
  font-family: 'Bebas Neue'; font-size: 32px; letter-spacing: 3px;
}
.marquee-track span::after { content: "✦"; margin-left: 60px; color: var(--c-rust); }
@keyframes marqScroll { to { transform: translateX(-50%); } }

/* ---------- SECTIONS BASE ---------- */
section { padding: 120px 40px; position: relative; }
.section-label {
  font-size: 11px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--c-peach);
  margin-bottom: 20px; display: flex;
  align-items: center; gap: 12px;
}
.section-label::before { content: ""; width: 40px; height: 1px; background: var(--c-peach); }

/* ---------- SERVICES ---------- */
.services {
  background: var(--c-dark);
  max-width: 1400px; margin: 0 auto;
}
.services-header {
  text-align: center; margin-bottom: 60px;
}
.services-header .section-label { justify-content: center; }
.services-header h2 {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95; letter-spacing: -1px;
}
.services-header h2 em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(219, 159, 117, 0.05);
  border: 1px solid rgba(219, 159, 117, 0.12);
  padding: 40px 30px; border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-peach), var(--c-rust));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: rgba(219, 159, 117, 0.1);
  transform: translateY(-8px);
  border-color: rgba(219, 159, 117, 0.35);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-peach); color: var(--c-brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
  transition: transform 0.4s;
}
.service-card:hover .service-icon {
  transform: rotate(-10deg) scale(1.1);
}
.service-card h3 {
  font-family: 'Bebas Neue'; font-size: 26px;
  letter-spacing: 1px; color: var(--c-cream);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; line-height: 1.7; opacity: 0.8;
}

/* ---------- PROCESS ---------- */
.process {
  background: var(--c-forest);
}
.process-header {
  text-align: center; margin-bottom: 80px;
}
.process-title {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.9; margin-bottom: 20px;
}
.process-title em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.process-sub {
  max-width: 700px; margin: 0 auto;
  font-size: 15px; line-height: 1.7; opacity: 0.85;
}
.process-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; max-width: 1400px; margin: 0 auto;
  position: relative;
}
.p-line {
  position: absolute; top: 50px; left: 8%; right: 8%;
  height: 1px; background: rgba(219, 159, 117, 0.2);
  z-index: 0;
}
.p-step {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(219, 159, 117, 0.15);
  padding: 32px 20px; border-radius: 16px;
  text-align: center; position: relative; z-index: 1;
  transition: all 0.4s;
}
.p-step:hover {
  transform: translateY(-8px);
  border-color: rgba(219, 159, 117, 0.4);
  background: rgba(219, 159, 117, 0.08);
}
.p-step-num {
  font-family: 'Bebas Neue'; font-size: 14px;
  color: var(--c-peach); letter-spacing: 3px;
  margin-bottom: 12px;
}
.p-step-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-peach); color: var(--c-brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 20px;
  border: 4px solid var(--c-forest);
}
.p-step h4 {
  font-family: 'Bebas Neue'; font-size: 22px;
  letter-spacing: 1px; color: var(--c-cream);
  margin-bottom: 10px;
}
.p-step p {
  font-size: 12px; line-height: 1.6; opacity: 0.75;
}

/* ---------- WORK ---------- */
.work {
  background: var(--c-dark);
}
.work-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 60px;
  max-width: 1400px; margin-left: auto; margin-right: auto;
  gap: 40px; flex-wrap: wrap;
}
.work-title {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95;
}
.work-title em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.view-all {
  color: var(--c-peach); text-decoration: none;
  font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; padding: 14px 28px;
  border: 1px solid var(--c-peach); border-radius: 50px;
  transition: all 0.4s;
}
.view-all:hover {
  background: var(--c-peach); color: var(--c-brown);
}

.projects-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px; max-width: 1400px; margin: 0 auto;
}
.project-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: 20px; overflow: hidden;
  background: rgba(219, 159, 117, 0.05);
  border: 1px solid rgba(219, 159, 117, 0.12);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
}
.project-card-wide { grid-column: 1 / -1; }
.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(219, 159, 117, 0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.project-image {
  position: relative; aspect-ratio: 16/10;
  overflow: hidden; background: var(--c-brown);
}
.project-card-wide .project-image { aspect-ratio: 21/9; }
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.project-card:hover .project-image img {
  transform: scale(1.08);
}
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 35, 36, 0.9));
  display: flex; align-items: flex-end;
  padding: 30px; opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view {
  color: var(--c-peach); font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 12px 24px;
  background: rgba(18, 35, 36, 0.8); backdrop-filter: blur(10px);
  border: 1px solid var(--c-peach); border-radius: 50px;
}
.project-info {
  padding: 30px;
}
.project-meta {
  display: flex; justify-content: space-between;
  margin-bottom: 12px;
}
.project-num {
  font-family: 'Bebas Neue'; font-size: 14px;
  color: var(--c-peach); letter-spacing: 3px;
}
.project-cat {
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.7;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(219, 159, 117, 0.1);
  color: var(--c-peach);
}
.project-info h3 {
  font-family: 'Bebas Neue'; font-size: 32px;
  letter-spacing: 1px; color: var(--c-cream);
  margin-bottom: 8px;
}
.project-info p {
  font-size: 14px; line-height: 1.6; opacity: 0.75;
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--c-brown);
}
.about-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: center;
}
.about-image {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid rgba(219, 159, 117, 0.2);
  transition: all 0.5s;
}
.about-image:hover {
  transform: translateY(-8px);
  border-color: rgba(219, 159, 117, 0.4);
}
.about-image img {
  width: 100%; height: auto; display: block;
}
.about-right h2 {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95; margin-bottom: 30px;
}
.about-right h2 em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.about-bio {
  font-size: 15px; line-height: 1.8;
  opacity: 0.9; margin-bottom: 20px;
}
.about-traits {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 40px;
}
.trait {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 10px;
  background: rgba(219, 159, 117, 0.05);
  border: 1px solid rgba(219, 159, 117, 0.15);
  transition: all 0.3s;
}
.trait:hover {
  background: rgba(219, 159, 117, 0.1);
  border-color: rgba(219, 159, 117, 0.35);
  transform: translateX(4px);
}
.trait-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-peach); flex-shrink: 0;
}
.trait span:last-child {
  font-size: 13px; color: var(--c-cream);
}

/* ---------- TOOLS ---------- */
.tools {
  background: var(--c-forest); padding: 120px 40px;
}
.tools-inner {
  max-width: 1400px; margin: 0 auto;
  text-align: center;
}
.tools-title {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95; margin-bottom: 60px;
}
.tools-title em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.tools-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-bottom: 100px;
}
.tool-card {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(219, 159, 117, 0.15);
  padding: 30px 20px; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; transition: all 0.4s;
}
.tool-card:hover {
  background: rgba(219, 159, 117, 0.08);
  border-color: rgba(219, 159, 117, 0.4);
  transform: translateY(-6px);
}
.tool-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue'; font-size: 26px;
  letter-spacing: -1px;
  transition: all 0.3s;
}
.tool-card:hover .tool-icon {
  background: rgba(255,255,255,0.1);
  transform: rotate(-5deg);
}
.tool-card span {
  font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--c-cream);
}

/* Testimonial */
.testimonial {
  max-width: 800px; margin: 0 auto;
  background: rgba(219, 159, 117, 0.06);
  border-left: 4px solid var(--c-peach);
  padding: 50px; border-radius: 0 20px 20px 0;
  text-align: left; position: relative;
}
.quote-large {
  font-family: 'Playfair Display';
  font-size: 100px; line-height: 0.5;
  color: var(--c-peach); opacity: 0.4;
  margin-bottom: 20px;
}
.testimonial p {
  font-family: 'Playfair Display';
  font-style: italic; font-size: 22px;
  line-height: 1.6; color: var(--c-cream);
  margin-bottom: 30px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(219, 159, 117, 0.15);
}
.ta-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--c-peach); color: var(--c-brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ta-name {
  font-family: 'Bebas Neue'; font-size: 18px;
  letter-spacing: 1px; color: var(--c-cream);
}
.ta-role {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--c-peach);
  margin-top: 2px;
}

/* ---------- COLLABORATE ---------- */
.collaborate {
  background: var(--c-dark);
  padding: 120px 40px;
}
.collab-header {
  text-align: center; max-width: 700px;
  margin: 0 auto 80px;
}
.collab-header .section-label { justify-content: center; }
.collab-header h2 {
  font-family: 'Bebas Neue';
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.95; margin-bottom: 20px;
}
.collab-header h2 em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.collab-header p {
  font-size: 15px; line-height: 1.7; opacity: 0.85;
}
.collab-grid {
  max-width: 1200px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 60px; align-items: stretch;
}
.contact-form {
  display: flex; flex-direction: column;
  gap: 16px; text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  background: rgba(219, 159, 117, 0.05);
  border: 1px solid rgba(219, 159, 117, 0.2);
  color: var(--c-cream); padding: 16px 20px;
  border-radius: 12px; font-family: 'Inter', sans-serif;
  font-size: 14px; outline: none; transition: all 0.3s;
  resize: none; width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 232, 216, 0.4); letter-spacing: 1px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--c-peach);
  background: rgba(219, 159, 117, 0.1);
}
.cta-btn {
  display: inline-block; padding: 20px 50px;
  border: 1px solid var(--c-peach); color: var(--c-peach);
  text-decoration: none; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; border-radius: 50px;
  transition: all 0.4s; cursor: pointer;
  background: transparent; font-family: 'Inter', sans-serif;
  align-self: flex-start;
}
.cta-btn:hover, .cta-btn:focus-visible {
  background: var(--c-peach); color: var(--c-brown);
}

.collab-qr {
  background: rgba(219, 159, 117, 0.05);
  border: 1px solid rgba(219, 159, 117, 0.15);
  border-radius: 20px; padding: 30px;
  text-align: center;
}
.qr-title {
  font-family: 'Bebas Neue'; font-size: 24px;
  letter-spacing: 2px; color: var(--c-peach);
  margin-bottom: 24px;
}
.qr-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 30px;
}
.qr-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  padding: 16px; border-radius: 12px;
  background: #f5e8d8;
  transition: transform 0.3s;
}
.qr-item:hover { transform: translateY(-4px); }
.qr-item img {
  width: 100%; max-width: 120px;
  height: auto; display: block; border-radius: 8px;
}
.qr-item span {
  font-family: 'Bebas Neue'; font-size: 14px;
  letter-spacing: 2px; color: var(--c-brown);
}
.qr-tagline {
  padding-top: 24px;
  border-top: 1px solid rgba(219, 159, 117, 0.2);
  font-family: 'Bebas Neue'; font-size: 18px;
  letter-spacing: 2px; color: var(--c-cream);
  line-height: 1.4;
}
.qr-tagline p { margin-bottom: 8px; }
.qr-tagline em {
  font-family: 'Playfair Display';
  font-style: italic; color: var(--c-peach);
}

.collab-info {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center;
  gap: 30px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(219, 159, 117, 0.15);
}
.ci-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--c-cream); text-decoration: none;
  font-size: 13px; letter-spacing: 1px;
  transition: color 0.3s;
}
.ci-item:hover { color: var(--c-peach); }
.ci-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-peach); color: var(--c-brown);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--c-brown);
  padding: 80px 40px 30px;
}
.footer-top {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(219, 159, 117, 0.15);
}
.footer-brand img {
  height: 40px; filter: brightness(0) invert(1);
  opacity: 0.9; margin-bottom: 16px;
}
.footer-brand h3 {
  font-family: 'Bebas Neue'; font-size: 32px;
  letter-spacing: 1px; color: var(--c-cream);
  margin-bottom: 12px;
}
.footer-brand h3 em {
  font-family: 'Playfair Display'; font-style: italic;
  color: var(--c-peach); font-weight: 400;
}
.footer-brand p {
  font-size: 13px; line-height: 1.7;
  opacity: 0.7; max-width: 300px;
}
.footer-links, .footer-social {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-links h4, .footer-social h4 {
  font-family: 'Bebas Neue'; font-size: 16px;
  letter-spacing: 3px; color: var(--c-peach);
  margin-bottom: 8px;
}
.footer-links a, .footer-social a {
  color: var(--c-cream); text-decoration: none;
  font-size: 13px; letter-spacing: 1px;
  transition: color 0.3s; opacity: 0.8;
}
.footer-links a:hover, .footer-social a:hover {
  color: var(--c-peach); opacity: 1;
}
.foot-bot {
  max-width: 1400px; margin: 30px auto 0;
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; opacity: 0.6;
  flex-wrap: wrap; gap: 20px;
}

/* ---------- ANIMATIONS ---------- */
.reveal {
  opacity: 0; transform: translateY(60px);
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.char { display: inline-block; transform: translateY(100%); opacity: 0; }

/* Safety fallback */
.service-card, .p-step, .project-card, .tool-card, .trait {
  opacity: 1;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(80px, 18vw, 200px); }
  .hero-portrait { width: clamp(220px, 28vw, 380px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .p-line { display: none; }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  nav ul {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--c-dark);
    justify-content: center; align-items: center;
    gap: 40px; z-index: 100;
  }
  nav ul.open { display: flex; }
  nav ul a { font-size: 20px; letter-spacing: 4px; }
  section { padding: 80px 24px; }
  .hero { padding: 100px 24px 40px; }
  .hero-title { font-size: clamp(60px, 16vw, 140px); letter-spacing: -3px; }
  .hero-portrait { width: 60vw; }
  .hero-bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 36px; }
  .work-header { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .about-traits { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-top { flex-direction: column; gap: 12px; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .foot-bot { flex-direction: column; text-align: center; }
  .collab-info { flex-direction: column; align-items: center; }
  .testimonial { padding: 30px; }
  .testimonial p { font-size: 18px; }
  .qr-grid { grid-template-columns: 1fr; }
}

/* ========== PAGE LOADER ========== */
.page-loader {
  position: fixed;
  inset: 0;
  background: #0f0a06;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  margin-bottom: 30px;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

.loader-logo img {
  height: 60px;
  filter: brightness(0) invert(0.8) sepia(1) hue-rotate(15deg);
}

.loader-text {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 4px;
  color: #d4a574;
}

.loader-text span {
  display: inline-block;
  animation: letter-bounce 1.5s ease-in-out infinite;
}

.loader-text span:nth-child(1) { animation-delay: 0.0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
.loader-text span:nth-child(6) { animation-delay: 0.5s; }
.loader-text span:nth-child(7) { animation-delay: 0.6s; }

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(212, 165, 116, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: #d4a574;
  animation: load-progress 1.5s ease-out forwards;
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes letter-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes load-progress {
  0% { width: 0%; }
  100% { width: 100%; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* عشان الـ Nav ما يغطيش المحتوى */
}



.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #d4a574;
  color: #0f0a06;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  background: #e8dcc4;
}

