/* ==========================================================
   MIDAS TOUCH — Premium Event Management Website
   Design: World-class single-page editorial experience
========================================================== */

:root {
  --gold:       #C9A84C;
  --gold-lt:    #e8c97a;
  --gold-dk:    #9a7830;
  --gold-dim:   rgba(201,168,76,0.15);
  --black:      #080808;
  --black-soft: #111111;
  --black-card: #141414;
  --black-mid:  #1a1a1a;
  --white:      #f5f5f0;
  --white-dim:  rgba(245,245,240,0.65);
  --gray:       #888;

  --ff-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-accent:  'Space Grotesk', sans-serif;

  --ease-expo:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--ff-body);
  background: var(--black);
  color: var(--white);
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  cursor: none;
}

@media (pointer: coarse) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

/* ── SELECTION ─────────────────────────────────────────── */
::selection { background: var(--gold); color: var(--black); }

/* ==========================================================
   LOADER
========================================================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  clip-path: circle(150% at 50% 50%);
  transition: clip-path 1.05s cubic-bezier(0.76, 0, 0.24, 1);
}

/* All entrance motion below is driven by native CSS animations
   (transform/opacity only) rather than JS-ticked tweens, so the
   reveal stays smooth and on-schedule even while the main thread
   is busy decoding the hero video / images right after load. */

#loader.ld-wipe {
  clip-path: circle(0% at 50% 50%);
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#loader.ld-wipe .loader-inner {
  opacity: 0;
  transform: scale(1.06);
}

.loader-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.loader-mark-glow {
  position: absolute;
  inset: -20% -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.32) 0%, rgba(201,168,76,0) 70%);
  opacity: 0;
  filter: blur(6px);
  animation: ldGlow 2.6s ease-in-out 1.15s infinite;
}

/* The full brand mark (hexagon + wordmark) reveals as one graphic via
   a clip-path wipe on the wrapper, while the image itself only fades
   and scales in — this keeps the animated properties simple (no CSS
   text-gradient tricks needed, it's a single raster image) and stays
   fully compositor-driven (transform/opacity/clip-path only) so it
   stays smooth regardless of what else the page is loading. */
.loader-logo-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: ldWipe 1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}

.loader-full-logo {
  display: block;
  width: clamp(220px, 34vw, 400px);
  height: auto;
  opacity: 0;
  transform: scale(0.92);
  filter: drop-shadow(0 4px 26px rgba(201,168,76,0.35));
  animation: ldLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

/* One soft diagonal shine sweeps across the logo right after it lands. */
.loader-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.55) 50%, transparent 58%);
  transform: translateX(-120%);
  animation: ldShine 0.9s ease 1.15s forwards;
  pointer-events: none;
}

.loader-tag {
  font-family: var(--ff-accent);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0;
  transform: translateY(6px);
  animation: ldTag 0.55s ease 1.35s forwards;
}

.loader-bar {
  width: 160px;
  height: 1px;
  background: rgba(201,168,76,0.2);
  overflow: hidden;
  opacity: 0;
  margin-top: 6px;
  animation: ldBarFade 0.3s ease 1.4s forwards;
}

.loader-progress {
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: ldFill 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.45s forwards;
}

@keyframes ldWipe    { to { clip-path: inset(0 0 0 0); } }
@keyframes ldLogoIn  { to { opacity: 1; transform: scale(1); } }
@keyframes ldShine   { to { transform: translateX(120%); } }
@keyframes ldTag     { to { opacity: 1; transform: translateY(0); } }
@keyframes ldBarFade { to { opacity: 1; } }
@keyframes ldFill    { to { transform: scaleX(1); } }
@keyframes ldGlow {
  0%, 100% { opacity: 0.25; transform: scale(0.92); }
  50%      { opacity: 0.6;  transform: scale(1.08); }
}

/* ==========================================================
   CUSTOM CURSOR
========================================================== */
#cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%,-50%);
  transition: transform 0.08s, width 0.25s, height 0.25s, background 0.25s;
  will-change: transform;
}

#cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  transition: width 0.35s var(--ease-quart), height 0.35s var(--ease-quart), border-color 0.35s;
  will-change: transform;
}

body.c-hover #cursor-dot  { transform: translate(-50%,-50%) scale(2); background: var(--gold-lt); }
body.c-hover #cursor-ring { width: 60px; height: 60px; border-color: rgba(201,168,76,0.7); }

@media (pointer: coarse) {
  #cursor-dot, #cursor-ring { display: none; }
  .menu-btn { cursor: pointer; }
  button, a { cursor: pointer; }
}

/* ==========================================================
   NAVBAR — Floating centered glass pill
========================================================== */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
  pointer-events: none;
  perspective: 1000px;
}

.nav-pill {
  display: flex;
  align-items: center;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 11px 14px 11px 22px;
  pointer-events: auto;
  transform-style: preserve-3d;
  will-change: transform;
  transition: background 0.6s var(--ease-quart), border-color 0.6s, box-shadow 0.6s, backdrop-filter 0.6s, padding 0.4s;
  box-shadow: none;
}

#navbar.solid .nav-pill {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-color: rgba(201,168,76,0.28);
  padding: 10px 14px 10px 22px;
  box-shadow:
    0 16px 56px rgba(0,0,0,0.65),
    0 4px 16px rgba(0,0,0,0.45),
    0 0 0 1px rgba(201,168,76,0.12),
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 100px rgba(201,168,76,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  opacity: 0.6;
  transition: opacity 0.35s var(--ease-quart);
}

.nav-logo:hover .nav-logo-img {
  opacity: 1;
}

.nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(201,168,76,0.22);
  margin: 0 20px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease-quart);
}

#navbar.solid .nav-divider {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  opacity: 0;
  transition: opacity 0.5s var(--ease-quart);
}

#navbar.solid .nav-links {
  opacity: 1;
}

.nav-link {
  display: block;
  font-family: var(--ff-accent);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.52);
  padding: 8px 13px;
  border-radius: 100px;
  transition: color 0.3s, background 0.35s, transform 0.4s var(--ease-expo), box-shadow 0.4s;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.3), 0 0 0 1px rgba(201,168,76,0.2);
}

.nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 10px 18px;
  margin-left: 14px;
  flex-shrink: 0;
  cursor: none;
  opacity: 0;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease-expo), box-shadow 0.35s, opacity 0.5s var(--ease-quart);
}

#navbar.solid .menu-btn {
  opacity: 1;
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.2);
}

.menu-btn:hover {
  background: rgba(201,168,76,0.14);
  border-color: rgba(201,168,76,0.45);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(201,168,76,0.12);
}

.menu-btn-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 22px;
}

.menu-btn-lines span {
  display: block;
  height: 1px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.5s var(--ease-expo), width 0.5s var(--ease-expo), background 0.3s;
}

.menu-btn-lines span:nth-child(1) { width: 22px; }
.menu-btn-lines span:nth-child(2) { width: 13px; }

.menu-btn:hover .menu-btn-lines span       { background: var(--gold); }
.menu-btn:hover .menu-btn-lines span:nth-child(2) { width: 22px; }

.menu-btn.open .menu-btn-lines span  { background: var(--gold); width: 22px; }
.menu-btn.open .menu-btn-lines span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn.open .menu-btn-lines span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================
   FULLSCREEN OVERLAY MENU
========================================================== */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  pointer-events: none;
}

.overlay-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateY(-100%);
  transition: transform 0.75s var(--ease-expo);
}

.overlay-menu.open .overlay-bg { transform: translateY(0); }
.overlay-menu.open { pointer-events: all; }

.overlay-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 110px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.overlay-link {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4.2vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(245,245,240,0.06);
  position: relative;
  overflow: hidden;
  transform: translateY(40px);
  opacity: 0;
  transition: color 0.4s, letter-spacing 0.4s var(--ease-quart);
}

.overlay-link::before {
  content: attr(data-num);
  font-family: var(--ff-accent);
  font-size: clamp(0.6rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.25em;
  align-self: center;
}

.overlay-link:hover { color: var(--gold); letter-spacing: 0.04em; }

.overlay-link::after {
  content: '→';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) translateX(20px);
  font-family: var(--ff-body);
  font-size: 0.45em;
  color: var(--gold);
  font-weight: 300;
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease-quart);
}
.overlay-link:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.overlay-menu.open .overlay-link {
  animation: overlayLinkIn 0.7s var(--ease-expo) forwards;
}

.overlay-menu.open .overlay-link:nth-child(1) { animation-delay: 0.25s; }
.overlay-menu.open .overlay-link:nth-child(2) { animation-delay: 0.32s; }
.overlay-menu.open .overlay-link:nth-child(3) { animation-delay: 0.39s; }
.overlay-menu.open .overlay-link:nth-child(4) { animation-delay: 0.46s; }
.overlay-menu.open .overlay-link:nth-child(5) { animation-delay: 0.53s; }

@keyframes overlayLinkIn {
  to { transform: translateY(0); opacity: 1; }
}

.overlay-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.5s ease 0.7s;
  flex-wrap: wrap;
  gap: 20px;
}

.overlay-menu.open .overlay-footer { opacity: 1; }

.overlay-contact, .overlay-locs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overlay-contact span, .overlay-locs span {
  font-family: var(--ff-accent);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(245,245,240,0.35);
}

.overlay-locs span {
  color: var(--gold);
  opacity: 0.6;
}

/* ==========================================================
   HERO
========================================================== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroVideo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.hero-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,8,8,0.08) 0%,
      rgba(8,8,8,0.05) 30%,
      rgba(8,8,8,0.28) 60%,
      rgba(8,8,8,0.88) 82%,
      rgba(8,8,8,1)    100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-accent);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
}

.hero-sep { opacity: 0.4; }

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
  gap: 0.08em;
  margin-bottom: 32px;
  width: 100%;
  max-width: 100%;
}

.hero-logo-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  opacity: 0;
  will-change: opacity, transform;
}

.hero-logo-img img {
  width: clamp(260px, 42vw, 480px);
  max-width: 80vw;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 4px 32px rgba(201,168,76,0.35));
  display: block;
}

.hero-tag {
  font-family: var(--ff-accent);
  font-size: clamp(0.58rem, 1.4vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.6);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  margin-bottom: 22px;
  opacity: 0;
  max-width: 90vw;
}

.hero-tag em {
  font-style: normal;
  color: var(--gold);
  opacity: 0.5;
}

.hero-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 32px;
  transition: width 1.4s var(--ease-expo);
}

.hero-line.on { width: min(200px, 50vw); }

.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
}

.btn-outline {
  font-family: var(--ff-accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease-quart), transform 0.3s;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-expo);
  z-index: -1;
}

.btn-outline:hover { color: var(--black); transform: translateY(-2px); }
.btn-outline:hover::before { transform: translateX(0); }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease 3.8s forwards;
}

.scroll-cue span {
  font-family: var(--ff-accent);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.35);
}

.scroll-stem {
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: stemPulse 2.2s ease-in-out infinite;
}

@keyframes stemPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.75); }
}

@keyframes fadeUp {
  to { opacity: 1; }
}

/* ==========================================================
   SHARED UTILITIES
========================================================== */
.eyebrow {
  display: block;
  font-family: var(--ff-accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow.dark  { color: var(--gold-dk); }
.eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--black);
}

.section-title.light { color: var(--white); }

.gold-rule {
  width: 60px; height: 1px;
  background: var(--gold);
  margin-top: 40px;
}

/* ── WORD REVEAL SPANS ──────────────────────────────────── */
.wr-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.wr-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* ── REVEAL ANIMATIONS ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
  transition-delay: var(--d, 0s);
}

[data-reveal="up"]    { transform: translateY(48px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }

[data-reveal].visible { opacity: 1; transform: none; }

/* Clip horizontal reveal offsets so they never create page overflow */
#about, #contact, #services, #portfolio { overflow-x: clip; }

/* ==========================================================
   ABOUT
========================================================== */
#about {
  background: var(--black);
  padding: 160px 0;
  overflow: hidden;
}

.about-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-quote,
.pull-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.2vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 32px;
  margin-top: 4px;
}

.about-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 24px;
}

.about-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--white-dim);
  margin-bottom: 18px;
}

.about-locs {
  display: flex;
  gap: 32px;
  margin-top: 36px;
}

.loc {
  font-family: var(--ff-accent);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.loc-gem { color: var(--gold); font-size: 0.5rem; }

/* ==========================================================
   SERVICES
========================================================== */
#services {
  background: var(--black-soft);
  padding: 160px 0;
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.services-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.services-hd {
  margin-bottom: 80px;
}

.svc-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 380px);
  gap: 4px;
}

.svc-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.svc-tile-bg {
  position: absolute;
  inset: -6%;
  margin: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.svc-tile:hover .svc-tile-bg {
  transform: scale(1.09);
}

/* Icons are now cropped tight to their own content, so background-size:
   contain scales each one (preserving its natural aspect ratio) to fill
   as much of its box as possible with no dead space, regardless of
   whether the icon is wide-and-short or roughly square. The box itself
   is restricted to the top ~62% of the tile (via inset) so the icon
   never grows down into the tag/title text area. */
.svc-tile-icon .svc-tile-bg {
  inset: -6% -6% 38% -6%;
  background-color: var(--black-card);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-origin: content-box;
  padding: 8%;
  box-sizing: border-box;
}

.svc-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(8,8,8,0.18) 0%,
    rgba(8,8,8,0.45) 40%,
    rgba(8,8,8,0.88) 100%
  );
  z-index: 1;
  transition: background 0.55s ease;
}

.svc-tile:hover::before {
  background: linear-gradient(
    170deg,
    rgba(8,8,8,0.25) 0%,
    rgba(8,8,8,0.55) 45%,
    rgba(8,8,8,0.92) 100%
  );
}

.svc-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(201,168,76,0);
  z-index: 3;
  transition: border-color 0.5s var(--ease-expo);
  pointer-events: none;
}

.svc-tile:hover::after {
  border-color: rgba(201,168,76,0.65);
}

.svc-tile-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.svc-tile-num {
  position: absolute;
  top: 32px;
  right: 40px;
  font-family: var(--ff-display);
  font-size: clamp(5rem, 9vw, 11rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(201,168,76,0.1);
  pointer-events: none;
  user-select: none;
  transition: color 0.6s var(--ease-expo), transform 0.6s var(--ease-expo);
}

.svc-tile:hover .svc-tile-num {
  color: rgba(201,168,76,0.22);
  transform: scale(1.06) translateY(-4px);
}

.svc-tile-info {
  transform: translateY(8px);
  transition: transform 0.55s var(--ease-expo);
}

.svc-tile:hover .svc-tile-info {
  transform: translateY(0);
}

.svc-tile-tag {
  display: inline-block;
  font-family: var(--ff-accent);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
  transition: background 0.35s, border-color 0.35s;
}

.svc-tile:hover .svc-tile-tag {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}

.svc-tile-name {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
  transition: letter-spacing 0.55s var(--ease-expo);
}

.svc-tile:hover .svc-tile-name {
  letter-spacing: 0.04em;
}

.svc-tile-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(245,245,240,0.72);
  max-width: 400px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.6s var(--ease-expo), opacity 0.45s 0.12s ease, margin-top 0.45s var(--ease-expo);
}

.svc-tile:hover .svc-tile-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 14px;
}

.svc-tile-cta {
  display: inline-block;
  font-family: var(--ff-accent);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.5s var(--ease-expo), opacity 0.4s 0.2s ease, margin-top 0.4s var(--ease-expo);
}

.svc-tile:hover .svc-tile-cta {
  max-height: 36px;
  opacity: 1;
  margin-top: 20px;
}

/* ==========================================================
   PORTFOLIO
========================================================== */
#portfolio {
  background: var(--black);
  padding: 160px 0;
}

.portfolio-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.portfolio-hd {
  margin-bottom: 48px;
}

.filter-bar {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.filter-btn {
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 14px 22px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease-expo);
}

.filter-btn:hover  { color: var(--white); }
.filter-btn.active { color: var(--gold); }
.filter-btn.active::after, .filter-btn:hover::after { width: 100%; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 3px;
}

.p-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  grid-row: span 1;
}

.p-card.tall { grid-row: span 2; }

.p-card-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  transition: transform 0.7s var(--ease-expo);
}

.p-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  z-index: 1;
  transition: background 0.4s;
}

.p-card:hover .p-card-bg { transform: scale(1.06); }

.p-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.p-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  z-index: 2;
}

.p-tag {
  font-family: var(--ff-accent);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  transition: transform 0.4s var(--ease-expo);
}

.p-card-info h3 {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  transition: transform 0.4s var(--ease-expo);
}

.p-card-info h3 em {
  font-style: italic;
  color: rgba(245,245,240,0.6);
  font-size: 0.85em;
}

.p-card:hover .p-tag       { transform: translateY(-3px); }
.p-card:hover .p-card-info h3 { transform: translateY(-3px); }

.p-card {
  box-shadow: inset 0 0 0 0 var(--gold);
  transition: box-shadow 0.4s;
}
.p-card:hover {
  box-shadow: inset 0 0 0 1.5px rgba(201,168,76,0.5);
}

.p-card.hidden {
  display: none;
}

.p-card {
  display: block;
}

.p-card-arrow {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  z-index: 2;
  border: 1px solid rgba(201,168,76,0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s;
}

.p-card:hover .p-card-arrow {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(201,168,76,0.5);
}

/* ==========================================================
   CLIENTS
========================================================== */
#clients {
  background: var(--white);
  padding: 140px 0;
  overflow: hidden;
}

.clients-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.clients-hd {
  margin-bottom: 72px;
  text-align: center;
}

.clients-sub {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: rgba(0,0,0,0.4);
  margin-top: 16px;
  letter-spacing: 0.02em;
}

/* ── Logo Marquee ─────────────────────────────────────── */
.logo-marquee-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade.left  { left: 0;  background: linear-gradient(to right, var(--white) 20%, transparent); }
.marquee-fade.right { right: 0; background: linear-gradient(to left,  var(--white) 20%, transparent); }

.logo-marquee { overflow: hidden; }

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  padding: 8px 0;
}

.logo-track.ltr { animation: ltrScroll 36s linear infinite; }
.logo-track.rtl { animation: rtlScroll 42s linear infinite; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 44px;
  flex-shrink: 0;
  border-right: 1px solid rgba(0,0,0,0.07);
  filter: grayscale(0%);
  opacity: 0.9;
  transition: filter 0.4s, opacity 0.4s, transform 0.3s;
  cursor: default;
}

.logo-item:last-child { border-right: none; }

.logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.logo-item svg {
  height: 64px;
  width: auto;
  max-width: 200px;
  color: #1a1a1a;
  display: block;
}

.logo-item img {
  height: 62px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* Per-brand size normalization — visual weight equalisation */
.logo-item[data-brand="ktm"]               img { height: 54px; }
.logo-item[data-brand="hero"]              img { height: 70px; }
.logo-item[data-brand="nmc"]              img { height: 76px; }
.logo-item[data-brand="maharashtrapolice"] img { height: 72px; }
.logo-item[data-brand="mahindra"]          img { height: 52px; max-width: 170px; }
.logo-item[data-brand="tata"]              img { height: 68px; }
.logo-item[data-brand="bajaj"]             img { height: 50px; max-width: 160px; }
.logo-item[data-brand="hdfc"]              img { height: 52px; }
.logo-item[data-brand="axis"]              img { height: 72px; max-width: 200px; }
.logo-item[data-brand="sony"]              img { height: 46px; max-width: 130px; }
.logo-item[data-brand="nexa"]              img { height: 46px; }
.logo-item[data-brand="hyundai"]           img { height: 54px; max-width: 180px; }
.logo-item[data-brand="samsung"]           img { height: 50px; max-width: 170px; }
.logo-item[data-brand="roche"]             img { height: 56px; }
.logo-item[data-brand="kawasaki"]          img { height: 50px; max-width: 160px; }
.logo-item[data-brand="croma"]             img { height: 46px; max-width: 140px; }
.logo-item[data-brand="reldigital"]        img { height: 72px; max-width: 210px; }
.logo-item[data-brand="reliance"]          img { height: 52px; max-width: 150px; }
.logo-item[data-brand="eicher"]            img { height: 62px; max-width: 180px; }
.logo-item[data-brand="tafe"]              img { height: 54px; }
.logo-item[data-brand="lifestyle"]         img { height: 50px; max-width: 160px; }
.logo-item[data-brand="esaf"]              img { height: 56px; }
.logo-item[data-brand="credai"]            img { height: 58px; max-width: 170px; }
.logo-item[data-brand="times"]             img { height: 58px; max-width: 180px; }
.logo-item[data-brand="maruti"]            img { height: 76px; max-width: 220px; }
.logo-item[data-brand="icici"]             img { height: 58px; max-width: 180px; }
.logo-item[data-brand="jktyre"]            img { height: 64px; }

/* Brand color highlights on hover */
.logo-item[data-brand="hero"]:hover svg        { color: #e41e26; }
.logo-item[data-brand="mahindra"]:hover svg    { color: #d71920; }
.logo-item[data-brand="hdfc"]:hover svg        { color: #004b8d; }
.logo-item[data-brand="tata"]:hover svg        { color: #0c4da2; }
.logo-item[data-brand="reliance"]:hover svg,
.logo-item[data-brand="reldigital"]:hover svg  { color: #1a2b6b; }
.logo-item[data-brand="bajaj"]:hover svg       { color: #003087; }
.logo-item[data-brand="nexa"]:hover svg        { color: #006aff; }
.logo-item[data-brand="sony"]:hover svg        { color: #000; }
.logo-item[data-brand="ktm"]:hover svg         { color: #e76f1b; }
.logo-item[data-brand="hyundai"]:hover svg     { color: #002c5f; }
.logo-item[data-brand="samsung"]:hover svg     { color: #1428a0; }
.logo-item[data-brand="lg"]:hover svg          { color: #a50034; }
.logo-item[data-brand="kawasaki"]:hover svg    { color: #007d2b; }
.logo-item[data-brand="axis"]:hover svg        { color: #9e1b32; }
.logo-item[data-brand="icici"]:hover svg       { color: #f36f21; }
.logo-item[data-brand="maruti"]:hover svg      { color: #c41230; }

@keyframes ltrScroll { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes rtlScroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================
   STATS
========================================================== */
#stats {
  position: relative;
  background: var(--black-soft);
  padding: 140px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.stats-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201,168,76,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.stats-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat {
  text-align: center;
  padding: 60px 20px;
  border-right: 1px solid rgba(201,168,76,0.1);
  transition-delay: var(--d, 0s);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Montserrat', var(--ff-accent), sans-serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.stat-lbl {
  font-family: 'Montserrat', var(--ff-accent), sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ==========================================================
   PHILOSOPHY
========================================================== */
#philosophy {
  background: var(--white);
  padding: 160px 20px;
}

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

.phil-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }

.phil-line {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 1s var(--ease-expo);
}

.phil-line.top.on, .phil-line.bottom.on { width: 200px; }

.phil-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
  letter-spacing: -0.01em;
}

.phil-cite {
  font-family: var(--ff-accent);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  font-style: normal;
}

/* ==========================================================
   CONTACT
========================================================== */
#contact {
  background: var(--black-soft);
  padding: 160px 0;
  border-top: 1px solid rgba(201,168,76,0.08);
}

.contact-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 100px;
  align-items: start;
}

.contact-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 52px;
}

.contact-title em { font-style: italic; color: var(--gold); }

.contact-details { display: flex; flex-direction: column; gap: 28px; }

.cd-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cd-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 2px;
}

.cd-item strong {
  font-family: var(--ff-accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.cd-item p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--white-dim);
}

.cd-item a {
  color: var(--white-dim);
  transition: color 0.3s;
}
.cd-item a:hover { color: var(--gold); }

/* ── FORM ──────────────────────────────────────────────── */
.c-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.f-group {
  position: relative;
  border-bottom: 1px solid rgba(245,245,240,0.15);
  margin-bottom: 8px;
  transition: border-color 0.3s;
}

.f-group:focus-within { border-color: var(--gold); }

.f-group input,
.f-group textarea,
.f-group select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  padding: 26px 0 10px;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.f-group select { cursor: pointer; }
.f-group select option { background: var(--black-soft); color: var(--white); }

.f-group label {
  position: absolute;
  top: 18px; left: 0;
  font-family: var(--ff-accent);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,245,240,0.35);
  pointer-events: none;
  transition: top 0.3s var(--ease-quart), font-size 0.3s, color 0.3s;
}

.f-group input:focus + label,
.f-group input:not(:placeholder-shown) + label,
.f-group textarea:focus + label,
.f-group textarea:not(:placeholder-shown) + label,
.f-group select:focus ~ label,
.f-group select:not([value=""]) ~ label,
.f-group.has-value label {
  top: 4px;
  font-size: 0.58rem;
  color: var(--gold);
}

.f-select { position: relative; }

.sel-arrow {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--white-dim);
  pointer-events: none;
  font-size: 0.9rem;
}

.btn-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  font-family: var(--ff-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 18px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s, color 0.4s, transform 0.3s;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-lt);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-expo);
}

.btn-submit:hover { transform: translateY(-2px); }
.btn-submit:hover::before { transform: translateX(0); }

.btn-submit span,
.btn-arrow { position: relative; z-index: 1; }

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.btn-submit:hover .btn-arrow { transform: translateX(5px); }

.form-success {
  display: none;
  margin-top: 24px;
  font-family: var(--ff-accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-align: center;
}

/* ── Google Map + Contact Form (side-by-side) ──────────────── */
.contact-map {
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 0 60px;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.map-side { width: 100%; }

.map-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.map-label-icon { width: 16px; height: 16px; object-fit: contain; }

.map-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.15);
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s;
}

.map-frame:hover { filter: grayscale(0%) contrast(1); }

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================
   FOOTER
========================================================== */
#footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 60px 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.soc {
  width: 40px; height: 40px;
  border: 1px solid rgba(245,245,240,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.soc svg { width: 16px; height: 16px; }

.soc:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.footer-rule {
  height: 1px;
  background: rgba(245,245,240,0.06);
  margin-bottom: 32px;
}

.footer-btm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-btm p {
  font-family: var(--ff-accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(245,245,240,0.3);
}

.footer-locs { color: rgba(201,168,76,0.4); }

/* ==========================================================
   RESPONSIVE — comprehensive mobile-first
========================================================== */

/* ── 1100px ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  #navbar { max-width: calc(100% - 40px); }
  .nav-links { display: none; }
  .nav-divider { display: none; }
  .about-wrap  { padding: 0 40px; gap: 80px; }
  .contact-wrap { padding: 0 40px; gap: 60px; }
  .services-wrap, .portfolio-wrap, .clients-wrap,
  .stats-wrap, .footer-wrap { padding: 0 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 900px — tablet landscape ───────────────────────────── */
@media (max-width: 900px) {
  #about, #services, #portfolio,
  #clients, #stats, #philosophy, #contact { padding: 100px 0; }

  .about-wrap  { grid-template-columns: 1fr; gap: 56px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 60px; }
  .contact-map-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-bento   { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 380px); }

  .stats-wrap  { grid-template-columns: repeat(2, 1fr); padding: 0 40px; }
  .stat:nth-child(2) { border-right: none; }

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

  .hero-row .hl { font-size: clamp(2.5rem, 10vw, 6rem); letter-spacing: 0.22em; }

  .overlay-inner  { padding: 90px 40px 52px; }
  .overlay-link   { font-size: clamp(1.6rem, 5.5vw, 4rem); padding: 12px 0; }
}

/* ── 768px — tablet portrait ────────────────────────────── */
@media (max-width: 768px) {
  #navbar { top: 14px; width: calc(100% - 32px); }
  .about-wrap, .contact-wrap { padding: 0 28px; gap: 48px; }
  .services-wrap, .portfolio-wrap, .clients-wrap,
  .stats-wrap, .footer-wrap { padding: 0 28px; }

  .pull-quote, .about-quote { font-size: clamp(1.1rem, 4vw, 1.8rem); padding-left: 24px; }

  .svc-bento   { grid-template-rows: repeat(2, 300px); }
  .svc-tile-body { padding: 28px 32px; }
  .svc-tile-num  { font-size: clamp(4rem, 10vw, 8rem); top: 20px; right: 24px; }

  .contact-map { padding: 0 28px; }
}

/* ── 600px — mobile ─────────────────────────────────────── */
@media (max-width: 600px) {
  #hero { min-height: 600px; }
  #about, #services, #portfolio,
  #clients, #stats, #philosophy, #contact { padding: 80px 0; }

  #navbar { top: 12px; width: calc(100% - 24px); }
  .nav-pill { padding: 9px 12px 9px 18px; }
  .about-wrap, .contact-wrap, .services-wrap, .portfolio-wrap,
  .clients-wrap, .footer-wrap { padding: 0 20px; }
  .stats-wrap { padding: 0 20px; grid-template-columns: repeat(2, 1fr); }

  .stat { padding: 40px 12px; }
  .stat:nth-child(2) { border-right: none; }

  .svc-bento { grid-template-columns: 1fr; grid-template-rows: repeat(4, 280px); }
  .svc-tile-body { padding: 24px 28px; }
  .svc-tile-num  { font-size: clamp(3.5rem, 12vw, 7rem); }

  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .p-card.tall    { grid-row: span 1; }

  .hero-row .hl { font-size: clamp(1.6rem, 8.5vw, 3.2rem); letter-spacing: 0.16em; }
  .hero-name    { gap: 0.12em; }
  .hero-row-2   { margin-top: 0; }
  .hero-tag     { font-size: 0.6rem; gap: 8px; }
  .hero-btns    { flex-direction: column; align-items: center; }
  .btn-outline  { width: min(260px, 80vw); text-align: center; }

  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .filter-bar::-webkit-scrollbar { height: 2px; }
  .filter-bar::-webkit-scrollbar-thumb { background: var(--gold-dim); }

  .services-hd { margin-bottom: 52px; }

  .footer-top  { flex-direction: column; gap: 28px; }
  .footer-btm  { flex-direction: column; text-align: center; gap: 8px; }
  .footer-wrap { padding-top: 52px; }

  .contact-map { padding: 0 20px; margin-top: 52px; }
  .map-frame   { height: 260px; min-height: 260px; }

  .overlay-inner  { padding: 80px 24px 40px; }
  .overlay-link   { font-size: clamp(1.5rem, 9vw, 3rem); padding: 10px 0; }
  .overlay-footer { flex-direction: column; gap: 16px; }

  .p-card-info { padding: 20px 20px 18px; }
  .p-card-info h3 { font-size: 1rem; }

  .clients-hd { margin-bottom: 48px; }

  .section-title { font-size: clamp(2rem, 9vw, 4rem); }
}

/* ── 420px — small phones ───────────────────────────────── */
@media (max-width: 420px) {
  .hero-meta  { font-size: 0.55rem; gap: 8px; }
  .hero-tag   { font-size: 0.55rem; gap: 6px; }
  .hero-row .hl { font-size: clamp(1.4rem, 7.5vw, 2.8rem); letter-spacing: 0.12em; }
  .btn-outline { width: 90vw; padding: 14px 24px; }

  .stat-num   { font-size: clamp(2.8rem, 13vw, 5rem); }

  .phil-quote { font-size: clamp(1.4rem, 6.5vw, 2.5rem); }

  .overlay-link { font-size: clamp(1.4rem, 10vw, 2.8rem); }

  .loader-full-logo { width: clamp(180px, 46vw, 400px); }
}

/* ==========================================================
   ✦ PREMIUM ENHANCEMENTS — senior polish layer
========================================================== */

/* ── FILM GRAIN OVERLAY ─────────────────────────────────── */
.grain {
  position: fixed;
  inset: -25%;
  width: 150%;
  height: 150%;
  max-width: 150vw;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.6s steps(2) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(3%, 3%); }
}

/* ── SCROLL PROGRESS BAR ────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9995;
  pointer-events: none;
  background: rgba(201,168,76,0.08);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  box-shadow: 0 0 12px rgba(201,168,76,0.6);
  transition: width 0.1s linear;
}

/* ── VERTICAL DOT NAV ───────────────────────────────────── */
.dot-nav {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 9980;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-quart);
}
.dot-nav.show { opacity: 1; pointer-events: auto; }
.dot {
  position: relative;
  width: 10px; height: 10px;
  display: flex; align-items: center; justify-content: center;
}
.dot::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(245,245,240,0.3);
  transition: all 0.4s var(--ease-quart);
}
.dot:hover::after { background: var(--gold); transform: scale(1.3); }
.dot.active::after {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.18);
  transform: scale(1.2);
}
.dot::before {
  content: attr(data-label);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--ff-accent);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-quart);
}
.dot:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ── BACK TO TOP ────────────────────────────────────────── */
.to-top {
  position: fixed;
  bottom: 98px; right: 30px;
  z-index: 9980;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(8px);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.45s var(--ease-expo), background 0.3s, border-color 0.3s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
}

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 34px; right: 30px;
  z-index: 9981;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s;
  animation: waPulse 2.4s ease-in-out infinite;
}
.whatsapp-btn svg { width: 28px; height: 28px; }
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0); }
}

@media (max-width: 600px) {
  .whatsapp-btn { bottom: 20px; right: 16px; width: 48px; height: 48px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .to-top { bottom: 80px; right: 16px; }
}

/* ── CURSOR "VIEW" LABEL ────────────────────────────────── */
.cursor-label {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-accent);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0;
  transition: opacity 0.25s;
}
body.c-view #cursor-ring {
  width: 84px; height: 84px;
  background: var(--gold);
  border-color: var(--gold);
}
body.c-view #cursor-dot { opacity: 0; }
body.c-view .cursor-label { opacity: 1; }

/* ── HERO VIDEO KEN BURNS ───────────────────────────────── */
#heroVideo {
  animation: kenburns 28s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes kenburns {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.18); }
}

/* ── SERVICE TILE SHIMMER SWEEP ──────────────────────────── */
.svc-tile .svc-tile-body::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 80% 60% at var(--mx, 50%) var(--my, 80%),
    rgba(201,168,76,0.08),
    transparent 70%
  );
  transition: opacity 0.6s ease;
  z-index: 0;
}
.svc-tile:hover .svc-tile-body::before { opacity: 1; }
.svc-tile-body > * { position: relative; z-index: 1; }

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { display: none; }
}

@media (max-width: 900px) {
  .dot-nav { display: none; }
  .to-top { bottom: 86px; right: 20px; width: 44px; height: 44px; }
  .whatsapp-btn { bottom: 22px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }
  .grain { display: none; }
}
