/* ═══════════════════════════════════════════════
   ARPTech — styles.css
   Premium Cinematic Dark UI · v2
═══════════════════════════════════════════════ */

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

:root {
  --red:          #e8182a;
  --black:        #0d0d0d;
  --dark:         #111111;
  --white:        #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── GRAIN OVERLAY ─────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.22s steps(1) infinite;
}
@keyframes grainShift {
  0%  { background-position:   0    0   } 10% { background-position:  -5%  -10% }
  20% { background-position: -15%   5%  } 30% { background-position:   7%  -25% }
  40% { background-position:  -5%  25%  } 50% { background-position: -15%  10%  }
  60% { background-position:  15%   0   } 70% { background-position:   0%  15%  }
  80% { background-position:   3%  35%  } 90% { background-position: -10%  10%  }
}

/* ── NAVBAR ────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3.5rem; height: 70px;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
#nav.dark-nav { 
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
}
#nav.scrolled {
  background: rgba(8,8,8,0.88) !important;
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.065), 0 8px 40px rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#nav.light {
  background: rgba(255,255,255,0.94) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  letter-spacing: 0.06em; text-decoration: none; text-transform: uppercase;
  transition: opacity 0.2s; flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.7; }
#nav.dark-nav .nav-logo { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
#nav.light     .nav-logo { color: var(--black); }

.nav-logo img,
.footer-logo img{
  width:150px;
  height:auto;
  display:block;
}
.light .nav-logo img{
  filter: invert(1);
}
/* centered nav links */
#hero{
  padding-top: 120px;
}
.nav-links {
  display: flex; gap: 3rem; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; text-decoration: none;
  position: relative; padding-bottom: 4px; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--red);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1); border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
#nav.dark-nav .nav-links a       { color: rgba(255,255,255,0.92); }
#nav.dark-nav .nav-links a:hover { color: var(--white); }
#nav.light    .nav-links a       { color: #444; }
#nav.light    .nav-links a:hover { color: var(--black); }

.nav-cta {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 1.6rem; background: var(--red); color: var(--white);
  text-decoration: none; border-radius: 100px;
  position: relative; overflow: hidden; will-change: transform;
  transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: 100px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.22), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.nav-cta:hover::before { opacity: 1; }
.nav-cta:hover {
  box-shadow: 0 0 30px rgba(232,24,42,0.5), 0 4px 16px rgba(232,24,42,0.28);
  transform: scale(1.04) translateY(-1px);
}

/* ── HERO ──────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; background: var(--black);
}

/* animated grid */
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridBreathe 6s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 85% 78% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 78% at 50% 50%, black 30%, transparent 100%);
}
@keyframes gridBreathe {
  0%, 100% { opacity: 0.4; background-size: 72px 72px; }
  50%       { opacity: 0.85; background-size: 74px 74px; }
}

.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* permanent top band so navbar text is always readable */
    linear-gradient(to bottom, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 12%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.72) 100%),
    radial-gradient(ellipse at 68% 44%, rgba(85,30,30,0.3) 0%, transparent 62%);
}
.hero-glow {
  position: absolute; z-index: 1; pointer-events: none;
  width: 740px; height: 740px; border-radius: 50%;
  background: radial-gradient(circle,
    rgba(232,24,42,0.13) 0%, rgba(232,24,42,0.045) 44%, transparent 70%);
  left: 64%; top: 44%; transform: translate(-50%,-50%);
  animation: glowPulse 7.5s ease-in-out infinite; filter: blur(3px);
}
.hero-glow2 {
  position: absolute; z-index: 1; pointer-events: none;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,70,70,0.07) 0%, transparent 70%);
  left: 12%; top: 63%;
  animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.72; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;    transform: translate(-50%,-50%) scale(1.14); }
}
#particles-canvas {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity 2.2s ease;
}
.hero-city { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-city svg { width: 100%; height: 100%; object-fit: cover; }

/* vertical side labels — left edge (matches cannyworx) */
.hero-vert-left {
  position: absolute; left: 2.4rem; z-index: 3;
  display: flex; flex-direction: column; gap: 4rem; top: 50%; transform: translateY(-50%);
}
.hvl-item {
  font-family: var(--font-body); font-size: 0.57rem; font-weight: 600;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); white-space: nowrap;
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
}

/* ── HERO CONTENT — center-right layout ── */
.hero-content {
  position: relative; z-index: 2;
  /* Start at ~38% from left so text fills center→right like reference */
  padding: 0 5rem 0 clamp(4rem, 38vw, 580px);
  width: 100%;
  perspective: 1400px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(68px, 11.8vw, 130px);
  font-weight: 900; line-height: 0.88;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 2.6rem;
  transform-style: preserve-3d;
}
.hero-h1 .muted  { color: rgba(255,255,255,0.2); }
.hero-h1 .line   { display: block; overflow: hidden; padding-bottom: 0.05em; }
.hero-h1 .inner  {
  display: block;
  transform: translateY(115%) rotateX(-40deg);
  transform-origin: bottom center;
  opacity: 0; filter: blur(16px);
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
}

.hero-divider {
  display: block; width: 48px; height: 3px;
  background: var(--red); margin: 0 0 2rem;
  opacity: 0; transform: scaleX(0); transform-origin: left;
}
.hero-cta {
  display: inline-block;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1rem 2.8rem; background: var(--red); color: var(--white);
  border-radius: 100px; text-decoration: none;
  position: relative; overflow: hidden; will-change: transform; opacity: 0;
  transition: box-shadow 0.35s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: 100px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.22), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.hero-cta:hover::before { opacity: 1; }
.hero-cta:hover {
  box-shadow: 0 0 40px rgba(232,24,42,0.55), 0 6px 22px rgba(232,24,42,0.3);
  transform: scale(1.05) translateY(-2px);
}
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  opacity: 0;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
}
.hero-scroll-chevron {
  width: 18px; height: 18px; border-right: 1.5px solid rgba(255,255,255,0.4);
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  transform: rotate(45deg); animation: chevronBounce 2s ease-in-out infinite;
}
@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── FEATURES ──────────────────────────────────── */
#features { background: var(--dark); padding: 5.5rem 4rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 3.5rem; max-width: 1100px; margin: 0 auto;
}
.feat-item { will-change: transform; }
.feat-icon { width: 52px; height: 52px; margin-bottom: 1.5rem; }
.feat-icon svg { width: 100%; height: 100%; }
.feat-title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  text-transform: uppercase; color: var(--white); letter-spacing: 0.04em; margin-bottom: 0.7rem;
}
.feat-desc { font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.75; font-weight: 300; }

/* ── SERVICES ──────────────────────────────────── */
#services { background: var(--black); }
.service-panel {
  min-height: 100vh;
  display: grid; grid-template-columns: 42% 58%;
  align-items: center; padding: 0 5rem;
  position: relative; overflow: hidden;
}
.svc-left  { padding: 4rem 0; }
.svc-label {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.svc-num {
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 180px);
  font-weight: 900; line-height: 0.85;
  color: var(--white); display: block; margin-bottom: 0.2rem;
}
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900; text-transform: uppercase;
  color: var(--white); line-height: 1; margin-bottom: 1.25rem;
}
.svc-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  line-height: 1.8; max-width: 300px; font-weight: 300;
}
.svc-right {
  position: relative; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* ── IMAGE PLACEHOLDER CARDS ─────────────────────
   These are the replaceable image slots.
   Drop your image src in the <img> to replace.
   The placeholder frame shows while no image is loaded.
─────────────────────────────────────────────────── */
.img-scene {
  position: relative; width: 100%; height: 460px;
  perspective: 1000px;
}

/* Each floating image card */
.img-card {
  position: absolute; border-radius: 14px; overflow: hidden;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.65),
    0 4px 20px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  will-change: transform; backface-visibility: hidden;
  cursor: pointer;
  transition: box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Actual image fills the card */
.img-card img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.img-card:hover img { transform: scale(1.04); }

/* Elegant placeholder shown when no real image */
.img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.9rem;
  background: linear-gradient(135deg, #181818 0%, #1e1e1e 60%, #161616 100%);
  border: 1.5px dashed rgba(255,255,255,0.1);
  border-radius: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.img-card:hover .img-placeholder {
  border-color: rgba(232,24,42,0.35);
  background: linear-gradient(135deg, #1a1010 0%, #1e1414 60%, #171010 100%);
}
/* hide placeholder when real img loads */
.img-card img[src]:not([src='']) + .img-placeholder { display: none; }

.img-placeholder svg {
  width: 36px; height: 36px; opacity: 0.28;
  transition: opacity 0.3s;
}
.img-card:hover .img-placeholder svg { opacity: 0.55; }
.img-placeholder-label {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); text-align: center;
  transition: color 0.3s;
}
.img-card:hover .img-placeholder-label { color: rgba(232,24,42,0.7); }
.img-placeholder-hint {
  font-family: var(--font-body); font-size: 0.62rem; font-weight: 400;
  color: rgba(255,255,255,0.15); letter-spacing: 0.06em;
}

/* Corner tag on placeholder */
.img-corner-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-body); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05); border-radius: 4px;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.07);
}

/* ── Float animations — each unique ── */
@keyframes floatA {
  0%,100% { transform: rotate(-5deg) translateY(0px) translateX(0px); }
  30%     { transform: rotate(-5.5deg) translateY(-10px) translateX(2px); }
  70%     { transform: rotate(-4.8deg) translateY(-4px) translateX(-1px); }
}
@keyframes floatB {
  0%,100% { transform: rotate(4deg) translateY(0px); }
  35%     { transform: rotate(4.4deg) translateY(-8px); }
  68%     { transform: rotate(3.7deg) translateY(-3px); }
}
@keyframes floatC {
  0%,100% { transform: rotate(-3deg) translateY(0px); }
  50%     { transform: rotate(-3.3deg) translateY(-6px); }
}
@keyframes floatD {
  0%,100% { transform: rotate(5deg) translateY(0px); }
  42%     { transform: rotate(5.5deg) translateY(-9px); }
}
@keyframes floatE {
  0%,100% { transform: rotate(-7deg) translateY(0px); }
  28%     { transform: rotate(-7.5deg) translateY(-11px); }
}
@keyframes floatF {
  0%,100% { transform: rotate(3deg) translateY(0px); }
  62%     { transform: rotate(3.4deg) translateY(-7px); }
}
@keyframes floatG {
  0%,100% { transform: rotate(-4deg) translateY(0px); }
  38%     { transform: rotate(-4.4deg) translateY(-8px); }
}
@keyframes floatH {
  0%,100% { transform: rotate(6deg) translateY(0px); }
  44%     { transform: rotate(6.6deg) translateY(-9px); }
}
@keyframes floatI {
  0%,100% { transform: rotate(-2deg) translateY(0px); }
  55%     { transform: rotate(-2.4deg) translateY(-5px); }
}
@keyframes floatJ {
  0%,100% { transform: rotate(-5deg) translateY(0px); }
  28%     { transform: rotate(-5.5deg) translateY(-8px); }
}
@keyframes floatK {
  0%,100% { transform: rotate(4deg) translateY(0px); }
  42%     { transform: rotate(4.4deg) translateY(-7px); }
}
@keyframes floatL {
  0%,100% { transform: rotate(-2deg) translateY(0px); }
  52%     { transform: rotate(-2.3deg) translateY(-4px); }
}

/* Service 1 — 3 cards */
.s1-img1 { width: 300px; height: 200px; top: 40px;  right: 60px;  animation: floatA 5.2s ease-in-out infinite; }
.s1-img2 { width: 240px; height: 170px; top: 165px; right: 220px; animation: floatB 6.1s ease-in-out infinite; }
.s1-img3 { width: 190px; height: 135px; top: 275px; right: 75px;  animation: floatC 4.8s ease-in-out infinite; }

/* Service 2 — 3 cards */
.s2-img1 { width: 320px; height: 210px; top: 55px;  right: 45px;  animation: floatD 5.7s ease-in-out infinite; }
.s2-img2 { width: 200px; height: 320px; top: 55px;  right: 210px; animation: floatE 6.4s ease-in-out infinite; }
.s2-img3 { width: 175px; height: 115px; top: 315px; right: 55px;  animation: floatF 5.0s ease-in-out infinite; }

/* Service 3 — 3 cards */
.s3-img1 { width: 270px; height: 175px; top: 80px;  right: 80px;  animation: floatG 5.5s ease-in-out infinite; }
.s3-img2 { width: 230px; height: 155px; top: 205px; right: 205px; animation: floatH 6.8s ease-in-out infinite; }
.s3-img3 { width: 290px; height: 95px;  top: 325px; right: 48px;  animation: floatI 4.6s ease-in-out infinite; }

/* Service 4 — 3 cards */
.s4-img1 { width: 290px; height: 195px; top: 50px;  right: 60px;  animation: floatJ 5.3s ease-in-out infinite; }
.s4-img2 { width: 250px; height: 195px; top: 185px; right: 220px; animation: floatK 6.0s ease-in-out infinite; }
.s4-img3 { width: 195px; height: 145px; top: 305px; right: 78px;  animation: floatL 4.9s ease-in-out infinite; }

/* ── WORK ──────────────────────────────────────── */
#work { background: var(--dark); padding: 6rem 4rem; }
.work-header { text-align: center; margin-bottom: 4rem; }
.work-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900; text-transform: uppercase;
  color: var(--white); line-height: 0.9; letter-spacing: 0.01em;
}
.work-underline {
  display: block; width: 60px; height: 4px; background: var(--red);
  margin: 1.25rem auto 1.5rem;
  transform: scaleX(0); transform-origin: center;
}
.work-header p {
  font-size: 0.9rem; color: rgba(255,255,255,0.42);
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}
.work-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
}
.work-card {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; cursor: pointer; background: var(--dark);
  will-change: transform;
}
.wc-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .wc-bg { transform: scale(1.07); }
.wc-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  transition: background 0.45s cubic-bezier(0.4,0,0.2,1);
}
.work-card:hover .wc-overlay { background: rgba(0,0,0,0.54); }
.wc-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.45s, transform 0.45s cubic-bezier(0.4,0,0.2,1);
  transform: translateY(10px);
}
.work-card:hover .wc-info { opacity: 1; transform: translateY(0); }
.wc-name {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  text-transform: uppercase; color: var(--white); text-align: center; margin-bottom: 0.4rem;
}
.wc-cat {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); text-align: center;
}
.wc-1 { background: linear-gradient(135deg,#1a1a3e,#2d2d6e 50%,#c0392b); }
.wc-2 { background: linear-gradient(135deg,#2c3e50,#3498db); }
.wc-3 { background: linear-gradient(135deg,#1a1a2e,#16213e 50%,#0f3460); }
.wc-4 { background: linear-gradient(135deg,#f5e6d3,#e8c49a); }
.wc-5 { background: linear-gradient(135deg,#e8f5e9,#a5d6a7); }
.wc-6 { background: linear-gradient(135deg,#fce4ec,#f48fb1); }
.device-wrap { position: relative; width: 78%; text-align: center; }
.device-screen {
  width: 100%; border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden; background: rgba(255,255,255,0.08);
}
.ds-topbar {
  height: 12px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 3px; padding: 0 6px;
}
.ds-dot  { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.ds-content { height: 80px; padding: 8px; display: flex; gap: 4px; }
.ds-col { flex: 1; background: rgba(255,255,255,0.08); border-radius: 2px; }
.ds-col.accent { background: rgba(255,255,255,0.22); }

/* ── CONTACT ───────────────────────────────────── */
#contact {
  background: var(--white);
  display: grid; grid-template-columns: 45% 55%;
  min-height: 100vh;
}
.contact-left {
  padding: 6rem 4rem 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid #eee;
}
.sec-tag {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--red);
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
}
.sec-tag::before {
  content: ''; display: inline-block; width: 24px; height: 2px; background: var(--red);
}
.contact-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.95; color: var(--black); margin-bottom: 1.5rem;
}
.contact-p { font-size: 0.88rem; color: #555; line-height: 1.75; max-width: 320px; }
.contact-right {
  padding: 5rem 4rem; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
}
.form-field { margin-bottom: 1.2rem; }
.form-field input {
  width: 100%; padding: 0.9rem 1rem;
  border: 1px solid #ddd; font-family: var(--font-body);
  font-size: 0.9rem; color: var(--black); outline: none; border-radius: 2px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,24,42,0.07);
}
.form-field input::placeholder { color: #aaa; }
.checkbox-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em; color: #333; margin-bottom: 1rem;
}
.checkbox-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.5rem; margin-bottom: 1.5rem;
}
.cb-item { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.cb-item input[type=checkbox] {
  appearance: none; width: 14px; height: 14px;
  border: 1.5px solid #ccc; border-radius: 2px; cursor: pointer;
  position: relative; flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}
.cb-item input[type=checkbox]:checked { background: var(--red); border-color: var(--red); }
.cb-item input[type=checkbox]:checked::after {
  content: '✓'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); color: white; font-size: 9px; font-weight: 900;
}
.cb-item label { font-size: 0.77rem; color: #444; cursor: pointer; line-height: 1.3; }
.form-submit {
  display: block; width: 100%; padding: 1rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; text-align: center;
  border: none; border-radius: 100px; cursor: pointer;
  position: relative; overflow: hidden; will-change: transform;
  transition: box-shadow 0.35s, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.form-submit::before {
  content: ''; position: absolute; inset: 0; border-radius: 100px;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,0.2), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.form-submit:hover::before { opacity: 1; }
.form-submit:hover {
  box-shadow: 0 0 32px rgba(232,24,42,0.48), 0 4px 18px rgba(232,24,42,0.3);
  transform: scale(1.02) translateY(-1px);
}

/* ── FOOTER ────────────────────────────────────── */
footer {
  background: var(--black); padding: 3rem 5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 900;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.footer-links { display: flex; gap: 2.2rem; }
.footer-links a {
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
  text-decoration: none; position: relative; padding-bottom: 2px;
  transition: color 0.25s;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: rgba(255,255,255,0.38);
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::after { width: 100%; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.28); font-weight: 300; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { padding: 0 3rem 0 clamp(4rem, 25vw, 300px); }
}
@media (max-width: 768px) {
  #nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hero-content { padding: 0 1.5rem; }
  .hero-vert-left { display: none; }
  .service-panel { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .svc-right { display: none; }
  #work { padding: 4rem 1.5rem; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  #contact { grid-template-columns: 1fr; min-height: auto; }
  .contact-left { padding: 4rem 2rem 2rem; border-right: none; border-bottom: 1px solid #eee; }
  .contact-right { padding: 2rem; }
  footer { flex-direction: column; gap: 2rem; padding: 2rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ═══════════════════════════════════════════════
   ADDITIONS v3 — Page Loader · Work Cards · Form
═══════════════════════════════════════════════ */

/* ── PAGE LOADER — cinematic curtain ─────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 100000;
  background: #0d0d0d;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  pointer-events: all;
  /* will be slid up by GSAP */
}
#loader-logo {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); opacity: 0;
  will-change: opacity, transform;
}
#loader-bar {
  width: 120px; height: 1.5px;
  background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
#loader-bar-fill {
  height: 100%; width: 0%;
  background: var(--red); border-radius: 2px;
  will-change: width;
}

/* ── WORK CARD — image fills the card ────────── */
.wc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  /* The gradient background (wc-1 … wc-6) shows through when no image is set */
}
/* If src is empty, hide the broken-image icon gracefully */
.wc-img[src=''],
.wc-img:not([src]) {
  opacity: 0;
}

/* ── FORM STATES ──────────────────────────────── */

/* Spinner inside submit button */
.btn-spinner {
  display: none; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Loading state */
.form-submit.is-loading .btn-text    { display: none; }
.form-submit.is-loading .btn-spinner { display: inline-block; }
.form-submit.is-loading              { pointer-events: none; opacity: 0.78; }

/* Feedback message */
#form-feedback {
  display: none;
  padding: 0.85rem 1rem; margin-bottom: 1rem;
  border-radius: 4px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; line-height: 1.5;
}
#form-feedback.is-success {
  display: block;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #10b981;
}
#form-feedback.is-error {
  display: block;
  background: rgba(232,24,42,0.08);
  border: 1px solid rgba(232,24,42,0.25);
  color: var(--red);
}

/* Field validation highlight */
.form-field input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232,24,42,0.09);
}
