/* ============================================================
   ATELIER ARCHINEER — Architecture & Structural Engineering
   Premium, editorial, off-white luxury aesthetic.
   Pure HTML5 + CSS3 + Vanilla JS. No frameworks.
   ------------------------------------------------------------
   Table of contents
   01. Design tokens (color, type, spacing, motion)
   02. Reset & base
   03. Ambient blueprint background
   04. Page loader
   05. Buttons & magnetic helpers
   06. Navigation + mobile menu
   07. Hero
   08. Section scaffolding
   09. About
   10. Services
   11. Projects (grid, filters, cards)
   12. Process
   13. Why choose us
   14. Testimonials
   15. Contact
   16. Footer
   17. Project modal
   18. Spotlight + reveal animations
   19. Responsive
   ============================================================ */

/* 01. DESIGN TOKENS ---------------------------------------- */
:root {
  /* Color palette */
  --bg: #f8f6f2;
  --bg-2: #ffffff;
  --bg-3: #f2eee8;
  --ink: #1e1e1e;
  --ink-soft: #666666;
  --ink-mute: #9a958c;
  --accent: #d96c2f;
  --accent-hover: #bf561e;
  --accent-soft: #f4e3d6;
  --border: #e7e2d9;
  --card: #ffffff;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.14);

  /* Typography */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Layout */
  --container: 1280px;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --nav-h: 84px;
}

/* 02. RESET & BASE ----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 03. AMBIENT BLUEPRINT BACKGROUND ------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.ambient__glow--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(217, 108, 47, 0.18), transparent 70%);
  top: -120px;
  right: -80px;
  animation: floatGlow 18s ease-in-out infinite;
}
.ambient__glow--2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(217, 108, 47, 0.12), transparent 70%);
  bottom: 10%;
  left: -120px;
  animation: floatGlow 22s ease-in-out infinite reverse;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
.ambient__particles {
  position: absolute;
  inset: 0;
}
.ambient__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
  animation: drift linear infinite;
}
@keyframes drift {
  from { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  to { transform: translateY(-120px); opacity: 0; }
}

/* 04. PAGE LOADER — animated blueprint house build --------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d1b2a;          /* dark blueprint background */
  display: grid;
  place-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
  overflow: hidden;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Outer container */
.ldr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  width: 340px;
  max-width: 92vw;
  animation: ldrFadeIn 0.5s var(--ease) both;
}
@keyframes ldrFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; } }

/* ---- Blueprint grid cells that flicker on ---- */
.ldr__grid {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  gap: 1px;
  opacity: 0.07;
  pointer-events: none;
}
.ldr__cell {
  border: 1px solid #4a90b8;
  animation: cellFlicker 4s ease-in-out infinite;
}
.ldr__cell--1  { animation-delay: 0.0s; }
.ldr__cell--2  { animation-delay: 0.4s; }
.ldr__cell--3  { animation-delay: 0.8s; }
.ldr__cell--4  { animation-delay: 0.2s; }
.ldr__cell--5  { animation-delay: 0.6s; }
.ldr__cell--6  { animation-delay: 1.0s; }
.ldr__cell--7  { animation-delay: 0.3s; }
.ldr__cell--8  { animation-delay: 0.9s; }
.ldr__cell--9  { animation-delay: 0.5s; }
@keyframes cellFlicker {
  0%, 100% { opacity: 0.6; }
  40%       { opacity: 0.2; }
  70%       { opacity: 1; }
}

/* ---- SVG canvas ---- */
.ldr__svg {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 0 18px rgba(73, 167, 228, 0.35));
}

/* All strokes share this base style */
.ldr__s {
  stroke: #49a7e4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Guide crosshairs — faint, static */
.ldr__guide {
  stroke: #49a7e4;
  stroke-width: 0.5;
  stroke-dasharray: 4 6;
  opacity: 0.2;
}

/*
   Every drawn element starts invisible (dashoffset = its own length)
   and animates to 0 in sequence. The timing is staggered to simulate
   a drafter drawing the building piece by piece.

   Rough sequence:
   0.2s  — foundation
   0.6s  — left wall
   0.9s  — right wall
   1.2s  — roof left
   1.5s  — roof right
   1.7s  — eave
   1.95s — windows
   2.5s  — door
   2.8s  — chimney / smoke
   3.0s  — dimensions
*/

/* Foundation — length ≈ 200 */
.ldr__foundation {
  stroke: #D96C2F;
  stroke-width: 3;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 0.55s var(--ease) 0.2s forwards;
}

/* Walls — length ≈ 58 each */
.ldr__wall-l {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawLine 0.4s var(--ease) 0.65s forwards;
}
.ldr__wall-r {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawLine 0.4s var(--ease) 0.9s forwards;
}

/* Roof slopes — length ≈ 90 */
.ldr__roof-l {
  stroke: #D96C2F;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
  animation: drawLine 0.45s var(--ease) 1.2s forwards;
}
.ldr__roof-r {
  stroke: #D96C2F;
  stroke-dasharray: 95;
  stroke-dashoffset: 95;
  animation: drawLine 0.45s var(--ease) 1.5s forwards;
}

/* Eave — length 180 */
.ldr__eave {
  stroke-dasharray: 185;
  stroke-dashoffset: 185;
  animation: drawLine 0.35s var(--ease) 1.75s forwards;
  opacity: 0.7;
}

/* Left window rect — perimeter ≈ 128 */
.ldr__win-l {
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  animation: drawLine 0.35s var(--ease) 1.95s forwards;
}
.ldr__win-l-cross-h, .ldr__win-l-cross-v {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawLine 0.2s var(--ease) 2.25s forwards;
}
.ldr__win-l-cross-v { animation-delay: 2.38s; }

/* Right window */
.ldr__win-r {
  stroke-dasharray: 132;
  stroke-dashoffset: 132;
  animation: drawLine 0.35s var(--ease) 2.1s forwards;
}
.ldr__win-r-cross-h, .ldr__win-r-cross-v {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawLine 0.2s var(--ease) 2.38s forwards;
}
.ldr__win-r-cross-v { animation-delay: 2.48s; }

/* Door rect — perimeter ≈ 136 */
.ldr__door {
  stroke: #D96C2F;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: drawLine 0.38s var(--ease) 2.6s forwards;
}
/* Door knob — circumference ≈ 16 */
.ldr__knob {
  stroke: #D96C2F;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
  animation: drawLine 0.2s var(--ease) 2.92s forwards;
}

/* Chimney — perimeter ≈ 96 */
.ldr__chimney {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 0.3s var(--ease) 3.0s forwards;
}
/* Smoke paths — length ≈ 40 */
.ldr__smoke-1 {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: drawLine 0.4s var(--ease) 3.2s forwards;
  opacity: 0.75;
}
.ldr__smoke-2 {
  stroke-dasharray: 44;
  stroke-dashoffset: 44;
  animation: drawLine 0.4s var(--ease) 3.35s forwards;
  opacity: 0.5;
}
/* Smoke idle loop once revealed */
.ldr__smoke-1, .ldr__smoke-2 {
  transform-origin: center;
}
.ldr__smoke-1.ldr--done { animation: smokeDrift 2.5s ease-in-out 3.6s infinite; }

/* Ridge */
.ldr__ridge {
  stroke: #D96C2F;
  stroke-dasharray: 14;
  stroke-dashoffset: 14;
  animation: drawLine 0.18s var(--ease) 1.68s forwards;
}

/* Dimension lines */
.ldr__dim-h, .ldr__dim-v {
  stroke: #49a7e4;
  stroke-dasharray: 210;
  stroke-dashoffset: 210;
  opacity: 0.4;
  animation: drawLine 0.5s var(--ease) 3.5s forwards;
}
.ldr__dim-v { animation-delay: 3.65s; }
.ldr__tick-1, .ldr__tick-2, .ldr__tick-3, .ldr__tick-4 {
  stroke-dasharray: 8;
  stroke-dashoffset: 8;
  animation: drawLine 0.15s linear 3.9s forwards;
}
.ldr__tick-2 { animation-delay: 3.95s; }
.ldr__tick-3 { animation-delay: 4.0s; }
.ldr__tick-4 { animation-delay: 4.05s; }

/* Orange pen cursor that hops to each new element */
.ldr__cursor {
  opacity: 0;
  animation: cursorPop 4.2s var(--ease) 0.2s forwards;
}
@keyframes cursorPop {
  0%   { opacity: 0;   cx: 120; cy: 168; }
  4%   { opacity: 1;   cx: 120; cy: 168; }
  12%  { cx: 120; cy: 168; }
  20%  { cx: 40;  cy: 140; }
  28%  { cx: 200; cy: 140; }
  36%  { cx: 80;  cy: 79;  }
  44%  { cx: 160; cy: 79;  }
  52%  { cx: 73;  cy: 136; }
  60%  { cx: 167; cy: 136; }
  68%  { cx: 120; cy: 151; }
  76%  { cx: 157; cy: 54;  }
  88%  { cx: 120; cy: 182; }
  95%  { opacity: 1; }
  100% { opacity: 0; cx: 120; cy: 182; }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes smokeDrift {
  0%, 100% { transform: translateY(0) scaleX(1); opacity: 0.75; }
  50%       { transform: translateY(-4px) scaleX(1.05); opacity: 0.45; }
}

/* ---- Progress bar ---- */
.ldr__bar-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ldr__bar {
  flex: 1;
  height: 2px;
  background: rgba(73, 167, 228, 0.15);
  border-radius: 100px;
  overflow: hidden;
}
.ldr__bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #49a7e4, #D96C2F);
  border-radius: 100px;
  width: 0;
  animation: barFill 3.8s var(--ease) 0.2s forwards;
}
@keyframes barFill { to { width: 100%; } }
.ldr__pct {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(73, 167, 228, 0.9);
  font-family: var(--font-body);
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

/* ---- Brand row ---- */
.ldr__brand {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ldr__brand img{
  width: 50px;
  height: 50px;
}
.ldr__brand em {
  color: #D96C2F;
  font-style: normal;
  font-weight: 700;
}

/* ---- Status text that cycles ---- */
.ldr__status {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(73, 167, 228, 0.7);
  font-family: var(--font-body);
  height: 1.2em;
  transition: opacity 0.4s;
}

/* 05. BUTTONS & MAGNETIC ----------------------------------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--accent); box-shadow: 0 14px 30px -10px rgba(217, 108, 47, 0.5); }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); box-shadow: 0 14px 30px -10px rgba(217, 108, 47, 0.55); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(217, 108, 47, 0.04); }

.btn--nav { padding: 0.7em 1.3em; font-size: 0.78rem; }

.btn--block { width: 100%; justify-content: center; }

/* Ripple */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }

/* Magnetic wrapper transform applied via JS */
.magnetic { will-change: transform; }

/* 06. NAVIGATION ------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
    box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 6px 24px -16px var(--shadow);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.nav__inner p{
  font-size: 10px;
}
.nav__inner p1{
  font-size: 10px;
  color: var(--accent);
  text-align: center;
  margin-left: 30px;
}
.nav img{
  width: 50px;
  height: 50px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
}
.nav__logo-glyph { color: var(--accent); display: grid; place-items: center; }
.nav__logo-text em { color: var(--accent); font-style: normal; font-weight: 700; }
.nav__logo--footer { color: var(--ink); }

.nav__menu {
  display: flex;
  gap: var(--s-4);
}
.nav__link {
  position: relative;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1.5px;
  width: 0;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--accent); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-align: center;
}
.mobile-menu__link {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu__link:hover { color: var(--accent); }

/* 07. HERO ------------------------------------------------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--s-5)) var(--s-4) var(--s-6);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-6);
  align-items: center;
}
.hero__label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.hero__label-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 108, 47, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217, 108, 47, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(217, 108, 47, 0.05); }
}
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.hero__line { display: block; overflow: hidden; }
.hero__desc {
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.hero__buttons {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.hero__stats {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Hero video card */
.hero__visual { perspective: 1200px; }
.video-card {
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.video-card__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at 50% 40%, rgba(217, 108, 47, 0.22), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.video-card__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px var(--shadow-lg), 0 12px 30px -15px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
}
.video-card__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card__reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.video-card__sheen {
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: sheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 70% { left: -60%; }
  90%, 100% { left: 130%; }
}
.video-card__caption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: var(--s-2);
  padding: 0 0.4rem;
}
.video-card__caption-tag {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent);
}
.video-card__caption-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  font-style: italic;
}

.hero__scroll {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 08. SECTION SCAFFOLDING ---------------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding: var(--s-8) var(--s-4);
}
.section__head {
  max-width: var(--container);
  margin: 0 auto var(--s-6);
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
  position: relative;
  padding: 0 2.2rem;
}
.section__eyebrow::before,
.section__eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1.4rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}
.section__eyebrow::before { left: 0; }
.section__eyebrow::after { right: 0; }
.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
}
.section__intro {
  max-width: 620px;
  margin: var(--s-3) auto 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* horizental line */
.marquee-section{

    background:var(--accent);

    border-top:1px solid rgba(196,160,82,.25);
    border-bottom:1px solid rgba(196,160,82,.25);

    overflow:hidden;
    padding:20px 0;

}

.marquee{

    display:flex;
    overflow:hidden;

}

.marquee-content{

    display:flex;
    align-items:center;
    white-space:nowrap;

    animation:scroll 30s linear infinite;

}

.marquee-content span{

    color:#ffffff;

    font-size:15px;

    letter-spacing:6px;

    text-transform:uppercase;

    margin:0 60px;

}

.dot{

    color:#c49a4c;
    font-size:10px;

}

@keyframes scroll{

    from{

        transform:translateX(0);

    }

    to{

        transform:translateX(-50%);

    }

}

.marquee:hover .marquee-content{

    animation-play-state:paused;

}
/* 09. ABOUT ------------------------------------------------ */
.about__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-6);
  align-items: start;
}
.about__media {
  position: relative;
  padding-bottom: var(--s-5);
}
.about__media-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about__media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__media-main:hover img { transform: scale(1.05); }
.about__media-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 40%);
  pointer-events: none;
}
.about__media-sub {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 60%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -24px var(--shadow-lg);
  border: 6px solid var(--bg);
  aspect-ratio: 3 / 2;
}
.about__media-sub img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  top: var(--s-3);
  left: -20px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}
.about__badge-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.about__badge-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.about__lead {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: var(--s-3);
}
.about__text { margin-bottom: var(--s-4); }
.about__mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-4);
}
.about__mv-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.about__mv-col p { font-size: 0.95rem; }
.about__timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.about__timeline li {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px dashed var(--border);
}
.about__timeline-year {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  min-width: 64px;
}
.about__timeline-text { font-size: 0.95rem; }

/* 10. SERVICES --------------------------------------------- */
.services__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-3);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -28px var(--shadow-lg);
  border-color: transparent;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: var(--s-3);
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; }
.service-card__line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-card:hover .service-card__line { width: 100%; }

/* 11. PROJECTS --------------------------------------------- */
.projects__controls {
  max-width: var(--container);
  margin: 0 auto var(--s-5);
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.projects__search {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.projects__search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 108, 47, 0.1);
}
.projects__search svg { color: var(--ink-mute); flex-shrink: 0; }
.projects__search input {
  border: 0;
  background: transparent;
  outline: 0;
  font: inherit;
  color: var(--ink);
  width: 100%;
}
.projects__search input::placeholder { color: var(--ink-mute); }

.projects__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  padding:  16px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.projects__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.project-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  will-change: transform;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 70px -30px var(--shadow-lg);
  border-color: var(--accent);
}
.project-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.08); }
.project-card__sheen {
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.project-card:hover .project-card__sheen { animation: cardSheen 1s var(--ease); }
@keyframes cardSheen {
  from { left: -80%; }
  to { left: 140%; }
}
.project-card__cat {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}
.project-card__body {
  padding: var(--s-3);
}
.project-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}
.project-card__meta {
  display: flex;
  gap: var(--s-2);
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
}
.project-card__meta span::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--accent);
}
.project-card__meta span:first-child::before { display: none; }
.project-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.project-card__cta svg { transition: transform 0.4s var(--ease); color: var(--accent); }
.project-card:hover .project-card__cta { color: var(--accent); }
.project-card:hover .project-card__cta svg { transform: translateX(5px); }
.projects__empty {
  max-width: var(--container);
  margin: var(--s-4) auto;
  text-align: center;
  color: var(--ink-mute);
  font-size: 1.1rem;
  font-family: var(--font-head);
}

/* 12. PROCESS ---------------------------------------------- */
.process {
  background: var(--bg-3);
}
.process__track {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  overflow-x: auto;
  padding: var(--s-2) 0 var(--s-4);
  scrollbar-width: thin;
}
.process__line {
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process__line-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 1.6s var(--ease);
}
.process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-2);
  min-width: 720px;
  padding: 0 var(--s-2);
}
.process__step {
  text-align: center;
  padding: 0 0.5rem;
}
.process__num {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--s-2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process__step:hover .process__num {
  transform: scale(1.1);
  box-shadow: 0 12px 24px -10px rgba(217, 108, 47, 0.4);
}
.process__step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.process__step p { font-size: 0.86rem; }

/* 13. WHY CHOOSE US ---------------------------------------- */
.why__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-4);
  text-align: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px var(--shadow-lg);
}
.why-card__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--accent);
  margin-bottom: var(--s-2);
  transition: background 0.4s, color 0.4s;
}
.why-card__icon svg { width: 28px; height: 28px; }
.why-card:hover .why-card__icon { background: var(--accent); color: #fff; }
.why-card h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.9rem; }

/* 13b. TOOLKIT --------------------------------------------- */
.toolkit__filters {
  max-width: var(--container);
  margin: 0 auto var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.toolkit__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -28px var(--shadow-lg);
  border-color: transparent;
}
.tool-card.is-hidden { display: none; }
.tool-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease);
  margin-bottom: 0.2rem;
}
.tool-card:hover .tool-card__badge { transform: scale(1.08) rotate(-3deg); }
.tool-card__badge--design { background: linear-gradient(135deg, #d96c2f, #bf561e); }
.tool-card__badge--bim { background: linear-gradient(135deg, #2e6f95, #1f4d6b); }
.tool-card__badge--engineering { background: linear-gradient(135deg, #2e7d5b, #1f5e44); }
.tool-card__badge--viz { background: linear-gradient(135deg, #c08a2e, #9a6e1f); }
.tool-card__tag {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.tool-card h3 { font-size: 1.25rem; font-weight: 500; }
.tool-card__desc { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 1080px) { .toolkit__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .toolkit__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .toolkit__grid { grid-template-columns: 1fr; } }

/* 14. TESTIMONIALS ----------------------------------------- */
.testimonials__stage {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.testimonial {
  flex: 0 0 100%;
  padding: var(--s-2) var(--s-4);
  text-align: center;
}
.testimonial__quote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  margin-bottom: var(--s-3);
}
.testimonial__quote::before,
.testimonial__quote::after {
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 2.4rem;
  line-height: 0;
  vertical-align: -0.3em;
}
.testimonial__quote::before { content: "“"; margin-right: 0.1em; }
.testimonial__quote::after { content: "”"; margin-left: 0.1em; }
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-2);
  box-shadow: 0 0 0 1px var(--border);
}
.testimonial__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.testimonial__role {
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.testimonials__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.testimonials__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.testimonials__dots { display: flex; gap: 0.5rem; }
.testimonials__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}
.testimonials__dots button.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 100px;
}

/* 15. CONTACT ---------------------------------------------- */
.contact__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s-5);
  align-items: start;
}
.contact__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.contact__office {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-3);
}
.contact__office h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.contact__office p { font-size: 0.9rem; margin-bottom: 0.4rem; }
.contact__office a { font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.contact__office a:hover { color: var(--accent); }
.contact__email {
  grid-column: 1 / -1;
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--ink);
  text-align: center;
  padding: var(--s-2);
}
.contact__email:hover { color: var(--accent); }
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -28px var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(0.95); }

.contact__form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  box-shadow: 0 24px 50px -30px var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-3);
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 1.3rem 1rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; }
.field label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--ink-mute);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 108, 47, 0.1);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.field__bar {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.6rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.field input:focus ~ .field__bar,
.field textarea:focus ~ .field__bar,
.field select:focus ~ .field__bar { transform: scaleX(1); }
.contact__form .btn--block { grid-column: 1 / -1; }
.contact__form-status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}
.contact__form-status.is-ok { color: #2e7d5b; }
.contact__form-status.is-err { color: var(--accent-hover); }

/* 16. FOOTER ----------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-6) var(--s-4) var(--s-3);
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr 0.8fr;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand .nav__logo { color: #fff; margin-bottom: var(--s-2); }
.footer__tagline { font-size: 0.92rem; max-width: 320px; }
.footer__newsletter h4,
.footer__links h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
  font-weight: 600;
}
.footer img{
  width: 50px;
  height: 50px;
}
.footer__newsletter p { font-size: 0.88rem; margin-bottom: var(--s-2); }
.footer__news-form {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
}
.footer__news-form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
}
.footer__news-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer__news-form button {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s;
}
.footer__news-form button:hover { background: var(--accent-hover); }
.footer__news-status { font-size: 0.8rem; margin-top: 0.6rem; min-height: 1.1em; }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  width: fit-content;
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  max-width: var(--container);
  margin: var(--s-3) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(12, 12, 12, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 253, 253, 0.8);
  transition: all 0.3s var(--ease);
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
/* whatsapp wiget */
.wa-float{
position:fixed;
right:25px;
bottom:50px;
width:65px;
height:65px;
background:#25D366;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
color:#fff;
z-index:9999;
box-shadow:0 15px 35px rgba(0,0,0,.25);
animation:pulse 2s infinite;
text-decoration:none;
}

.wa-float svg{
width:34px;
height:34px;
}

.wa-box{

position:fixed;
right:25px;
bottom:130px;

width:320px;

background:#fff;
border-radius:18px;

overflow:hidden;

box-shadow:0 20px 60px rgba(0,0,0,.18);

z-index:9998;

animation:slideUp .8s;

font-family:Poppins,sans-serif;

}

.wa-header{

background:#25D366;

padding:18px;

display:flex;

align-items:center;

gap:14px;

color:#fff;

}

.wa-avatar{

width:48px;
height:48px;

background:#fff;

border-radius:50%;

display:flex;
justify-content:center;
align-items:center;

color:#25D366;

}

.wa-avatar svg{
width:28px;
}

.wa-header h4{

margin:0;
font-size:18px;

}

.wa-header span{

font-size:13px;

opacity:.9;

}

.wa-body{

padding:22px;

font-size:15px;

color:#444;

line-height:1.6;

}

.wa-btn{

display:block;

margin:0 22px 22px;

padding:14px;

background:#25D366;

border-radius:40px;

text-align:center;

text-decoration:none;

font-weight:600;

color:#fff;

transition:.3s;

}

.wa-btn:hover{

background:#1fb958;

}

.wa-close{

position:absolute;

right:10px;

top:8px;

border:none;

background:none;

font-size:24px;

color:#fff;

cursor:pointer;

}
.wa-box,
.wa-float{
    opacity:0;
    visibility:hidden;
    transform:translateY(30px);
    transition:all .5s ease;
}

.wa-box.show,
.wa-float.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

@keyframes slideUp{

from{

opacity:0;

transform:translateY(50px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@keyframes pulse{

0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}
70%{box-shadow:0 0 0 20px rgba(37,211,102,0);}
100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}

}

@media(max-width:768px){

.wa-box{

width:290px;
right:15px;

}

.wa-float{

right:15px;
bottom:15px;

}

}
/* 17. PROJECT MODAL ---------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 20, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.4);
  transform: scale(0.94) translateY(20px);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.modal.is-open .modal__panel { transform: scale(1) translateY(0); }
.modal__close {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.modal__close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.modal__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  height: 100%;
}
.modal__media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.4));
}
.modal__content {
  padding: var(--s-4);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.modal__category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}
.modal__title { font-size: 2rem; }
.modal__meta {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.modal__meta div { display: flex; flex-direction: column; }
.modal__meta span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.modal__meta strong { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.modal__desc { font-size: 0.95rem; }
.modal__pdf {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
  height: 220px;
}
.modal__pdf iframe { width: 100%; height: 100%; border: 0; }
.modal__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
  flex-wrap: wrap;
}

.modal__nav { display: flex; gap: 0.5rem; }
.modal__nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.modal__nav-btn:hover { border-color: var(--accent); color: var(--accent); }

/* 18. SPOTLIGHT + REVEAL ----------------------------------- */
.spotlight {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 108, 47, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: multiply;
}
body.has-spotlight .spotlight { opacity: 1; }

/* Reveal-on-scroll states. JS toggles .is-in. */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal[data-reveal="left"] { transform: translateX(-50px); }
.reveal[data-reveal="right"] { transform: translateX(50px); }
.reveal[data-reveal="scale"] { transform: scale(0.92); }
.reveal[data-reveal="line"] { transform: translateY(110%); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero line reveal uses inner spans; container must not clip when not active */
.hero__line { will-change: transform; }

/* 19. RESPONSIVE ------------------------------------------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --s-8: 5rem; }
  .nav__menu, .nav .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero__visual { max-width: 440px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media-sub { right: 0; }
  .about__badge { left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: var(--s-4); }
  .modal__body { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { min-height: 240px; max-height: 320px; }
  .modal__panel { max-height: 92vh; }
}

@media (max-width: 640px) {
  :root { --s-8: 4rem; --s-6: 3rem; }
  .section { padding: var(--s-8) var(--s-2); }
  .hero { padding: calc(var(--nav-h) + var(--s-4)) var(--s-2) var(--s-5); }
  .hero__stats { gap: var(--s-3); }
  .stat__num { font-size: 2rem; }
  .services__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .about__mv { grid-template-columns: 1fr; }
  .contact__offices { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .modal__actions { flex-direction: column; align-items: stretch; }
  .modal__nav { justify-content: space-between; }
  .projects__controls { flex-direction: column; }
  .projects__search { max-width: none; }

  /* Process section: switch from horizontal-scroll grid to a
     vertical timeline so nothing gets cut off on narrow screens */
  .process__track {
    overflow: visible;
    padding: var(--s-2) 0;
  }
  .process__line { display: none; }
  .process__steps {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: var(--s-4);
    min-width: 0;
    padding: 0;
    position: relative;
  }
  .process__steps::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 27px;
    width: 2px;
    background: var(--border);
    z-index: 0;
  }
  .process__step {
    position: relative;
    z-index: 1;
    text-align: left;
    padding: 0 0 0 4.5rem;
    min-height: 56px;
  }
  .process__step .process__num {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
}

/* @media (max-width: 900px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); }
}; */


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* pdf popup */
.pdfPopup{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.8);

    display:flex;
    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:99999;

}

.pdfPopup.show{

    opacity:1;
    visibility:visible;

}

.pdfPopup-content{

    width:90%;
    height:90%;

    background:#fff;

    border-radius:12px;

    overflow:hidden;

    position:relative;

}

#pdfFrame{

    width:100%;
    height:100%;
    border:none;

}

.pdfClose{

    position:absolute;

    top:15px;
    right:15px;

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#ff6b35;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    z-index:10;

}

/* social media link */
/* Social media floating icons — slide in from left after page load */
.social-float {
  position: fixed;
  left: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(-120px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  opacity: 0;
  animation: socialSlideIn 0.8s ease forwards;
  animation-delay: 7s;
}

.social-float__link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.social-float__link:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.12);
}

@keyframes socialSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-120px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 768px) {
  .social-float { left: 12px; gap: 10px; }
  .social-float__link { width: 38px; height: 38px; }
}