/* ============================================================
   Wazir Jannan General Contracting LLC SPC — Shared Styles
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f6f6f4;
  --ink: #0a0a0b;
  --charcoal: #111214;
  --graphite: #1a1b1e;
  --muted: #6b6d72;
  --muted-2: #8b8d92;
  --line: #eaeaec;
  --line-dark: #26272b;
  --gold: #b8925a;
  --gold-soft: #c9a878;
  --navy: #1d2a44;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.5rem, 5vw, 8rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body {
  font-family: 'Inter', -apple-system, 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--white); line-height: 1.6; font-weight: 400; overflow-x: clip;
}
::selection { background: var(--gold); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- PROGRESS BAR ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--gold); z-index: 200; transition: width .1s linear; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--pad); color: #fff;
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: .7rem var(--pad); color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
/* Pages with a light hero start in the "solid" state immediately */
.nav.solid {
  background: rgba(255,255,255,0.9); color: var(--ink);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand-fallback {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 40px; border: 1.5px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
}
.brand.no-logo .brand-logo { display: none; }
.brand.no-logo .brand-fallback { display: inline-flex; }
.brand-word { display: none; }

.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  font-size: .8rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  position: relative; opacity: .85; transition: opacity .3s var(--ease); display: inline-flex; align-items: center; gap: .4rem;
}
.nav-links > li > a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links > li > a:hover::after { width: 100%; }
.nav-links a.active { opacity: 1; color: var(--gold); }
.nav-links > li > a.active::after { width: 100%; }

.caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-bottom: 3px; transition: transform .35s var(--ease); opacity: .7; }
.has-dropdown:hover .caret, .has-dropdown.open .caret { transform: rotate(-135deg); margin-bottom: -2px; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: rgba(17,18,20,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-dark); border-radius: 14px; padding: .6rem; list-style: none;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease); box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: block; padding: .8rem 1rem; border-radius: 9px; color: rgba(255,255,255,.82) !important; opacity: 1;
  font-size: .82rem; letter-spacing: .02em; text-transform: none; font-weight: 500; transition: background .3s var(--ease), color .3s var(--ease);
}
.dropdown li a small { display: block; font-size: .72rem; color: var(--muted-2); text-transform: none; letter-spacing: 0; margin-top: .15rem; font-weight: 400; }
.dropdown li a::after { display: none; }
.dropdown li a:hover { background: rgba(184,146,90,.14); color: #fff !important; }
.dropdown li a.active { color: var(--gold-soft) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: inherit; width: 30px; height: 22px; position: relative; z-index: 95; }
.nav-toggle span { position: absolute; left: 0; height: 1.6px; width: 100%; background: currentColor; transition: transform .4s var(--ease), opacity .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 2px; } .nav-toggle span:nth-child(2){ top: 10px; } .nav-toggle span:nth-child(3){ top: 18px; }
body.menu-open .nav-toggle span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2){ opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 2.25rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.55); font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #fff; transition: all .45s var(--ease); cursor: pointer; }
.btn-pill .arrow { transition: transform .45s var(--ease); }
.btn-pill:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-pill:hover .arrow { transform: translateX(5px); }
.btn-pill.solid { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-pill.solid:hover { background: #fff; border-color: #fff; }
.btn-pill.dark { border-color: rgba(10,10,11,.25); color: var(--ink); }
.btn-pill.dark:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 0 var(--pad); color: #fff; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.2) 35%, rgba(10,10,11,.8) 100%), linear-gradient(90deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,0) 55%); }
.hero-inner { position: relative; z-index: 2; max-width: 64rem; }
.hero .eyebrow { font-size: .92rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--gold-soft); margin-top: clamp(3rem, 11vh, 8rem); margin-bottom: 2rem; opacity: 0; animation: rise 1s var(--ease) .3s forwards; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 6.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 1.75rem; }
.hero h1 span { display: block; overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero h1 span b { display: block; font-weight: 800; opacity: 0; transform: translateY(125%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 span:nth-child(1) b { animation-delay: .45s; }
.hero h1 span:nth-child(2) b { animation-delay: .6s; }
.hero p.sub { font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 300; line-height: 1.5; max-width: 42rem; color: rgba(255,255,255,.82); margin-bottom: 2.75rem; opacity: 0; animation: rise 1s var(--ease) .85s forwards; }
.hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: rise 1s var(--ease) 1s forwards; }
.scroll-hint { position: absolute; bottom: 2.25rem; left: 50%; transform: translateX(-50%); z-index: 2; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: .75rem; opacity: 0; animation: fade 1s var(--ease) 1.4s forwards; }
.scroll-hint .bar { width: 1px; height: 46px; background: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,0)); animation: scrollBar 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollBar { 0%{transform:scaleY(0);}50%{transform:scaleY(1);}100%{transform:scaleY(0);transform-origin:bottom;} }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { position: relative; min-height: max(64vh, 34rem); display: flex; align-items: flex-end; padding: clamp(7rem, 12vh, 9rem) var(--pad) clamp(3rem,7vh,5rem); color: #fff; overflow: hidden; background: var(--ink); }
.page-hero.short { min-height: max(52vh, 30rem); }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 16s var(--ease) forwards; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.35) 45%, rgba(10,10,11,.85) 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 60rem; }
.page-hero .eyebrow { font-size: .76rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.03; }
.page-hero p.lead { margin-top: 1.5rem; font-size: clamp(1.05rem,1.5vw,1.35rem); font-weight: 300; color: rgba(255,255,255,.82); max-width: 46rem; line-height: 1.55; }
.crumbs { font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { color: var(--gold-soft); }

/* ---------- SECTION SCAFFOLD ---------- */
section { padding: clamp(5rem, 12vh, 11rem) var(--pad); scroll-margin-top: 84px; }
.eyebrow-label { font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 2rem; }
h2.headline { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.06; max-width: 22ch; }

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.about-lead { font-size: clamp(1.05rem, 1.4vw, 1.28rem); font-weight: 300; color: #2a2b2f; line-height: 1.7; }
.about-lead + .about-lead { margin-top: 1.5rem; }
.about-lead b { font-weight: 600; color: var(--ink); }
.vision-note { margin-top: 2.75rem; padding: 1.75rem 0 0; border-top: 1px solid var(--line); font-size: .98rem; color: var(--muted); line-height: 1.7; max-width: 46ch; }
.vision-note b { color: var(--ink); font-weight: 600; }

.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3.5rem, 8vh, 6rem); }
.metric { padding-top: 0; }
.metric .num { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.metric .num.small { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.metric .num .plus, .metric .num .accent { color: var(--gold); }
.metric .label { margin-top: .8rem; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; line-height: 1.5; }
.metrics-row.on-dark { border-color: var(--line-dark); }
.metrics-row.on-dark .metric { border-color: var(--line-dark); }
.metrics-row.on-dark .num { color: #fff; }
.metrics-row.on-dark .label { color: var(--muted-2); }

/* ---------- VISION / MISSION ---------- */
.vision { position: relative; color: #fff; padding: 0; overflow: hidden; }
.vision-bg { position: absolute; inset: 0; z-index: 0; }
.vision-bg img { width: 100%; height: 100%; object-fit: cover; }
.vision-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.82), rgba(10,10,11,.9)); }
.vision-inner { position: relative; z-index: 2; padding: clamp(6rem, 16vh, 12rem) var(--pad); }
.vision .eyebrow-label { color: var(--gold-soft); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.vm-block h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.vm-block p { font-size: clamp(1rem, 1.4vw, 1.18rem); font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.78); }
.vm-block .tag { display: inline-block; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1.5rem; }
.vision-2031 { margin-top: clamp(3rem, 8vh, 5rem); padding-top: 3rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.vision-2031 .big { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--gold-soft); line-height: 1; }
.vision-2031 p { flex: 1; min-width: 18rem; font-weight: 300; color: rgba(255,255,255,.7); font-size: 1.02rem; line-height: 1.65; }

/* ---------- SERVICES (dark grid) ---------- */
.services { background: var(--ink); color: #fff; }
.services .eyebrow-label { color: var(--gold-soft); }
.services h2.headline { color: #fff; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; margin-bottom: clamp(3rem, 7vh, 5rem); }
.services-head p { max-width: 34ch; color: rgba(255,255,255,.6); font-weight: 300; font-size: 1.05rem; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.svc { background: var(--ink); padding: clamp(2rem, 3.5vw, 3.25rem); position: relative; transition: background .5s var(--ease); overflow: hidden; display: block; color: #fff; }
.svc::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.svc:hover { background: #141518; }
.svc:hover::after { width: 100%; }
.svc .no { font-size: .82rem; color: var(--gold-soft); font-weight: 700; letter-spacing: .12em; margin-bottom: 1.5rem; display: block; }
.svc h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; }
.svc p { color: rgba(255,255,255,.6); font-weight: 300; font-size: .98rem; line-height: 1.65; margin-bottom: 1.75rem; }
.svc .svc-more { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; }
.svc .svc-more .arrow { transition: transform .45s var(--ease); }
.svc:hover .svc-more .arrow { transform: translateX(6px); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chips span { border: 1px solid var(--line-dark); border-radius: 999px; padding: .4rem .95rem; font-size: .74rem; letter-spacing: .04em; color: rgba(255,255,255,.72); transition: border-color .4s var(--ease), color .4s var(--ease); }
.svc:hover .chips span { border-color: rgba(184,146,90,.4); color: rgba(255,255,255,.9); }

/* ---------- APPROACH ---------- */
.approach { background: var(--paper); }
.approach h2.headline { max-width: 26ch; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 7vh, 5rem); }
.pillar { padding-top: 2rem; border-top: 2px solid var(--ink); }
.pillar .pn { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); margin-bottom: 1.25rem; }
.pillar h4 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .85rem; }
.pillar p { font-size: .95rem; color: var(--muted); font-weight: 400; line-height: 1.65; }

/* Process — NO big numbers (client removed). Clean titled blocks with a thin gold rule. */
.process { display: flex; gap: 0; margin-top: clamp(3rem, 7vh, 5rem); flex-wrap: wrap; }
.step { flex: 1; min-width: 15rem; padding: 2rem 2rem 0 0; }
.step .rule { width: 44px; height: 2px; background: var(--gold); margin-bottom: 1.5rem; }
.step h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* ---------- TEAM ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.team-lead { font-size: clamp(1.05rem, 1.4vw, 1.24rem); font-weight: 300; color: #2a2b2f; line-height: 1.7; }
.roles { display: grid; gap: 0; }
/* Roles — NO A/B/C/D letters (client removed). Clean titled list with a small gold dot. */
.role { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.role:first-child { padding-top: 0; }
.role .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: .55rem; }
.role h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: .35rem; }
.role p { font-size: .93rem; color: var(--muted); line-height: 1.6; }

/* ---------- SECTORS ---------- */
.sectors { background: var(--ink); color: #fff; text-align: center; }
.sectors .eyebrow-label { color: var(--gold-soft); }
.sectors h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; max-width: 24ch; margin: 0 auto clamp(3rem,7vh,4.5rem); }
.sector-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; max-width: 60rem; margin: 0 auto; }
.sector-list span { border: 1px solid var(--line-dark); border-radius: 999px; padding: .7rem 1.6rem; font-size: .92rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.8); transition: all .4s var(--ease); }
.sector-list span:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* ---------- QHSE ---------- */
.qhse { position: relative; color: #fff; padding: 0; overflow: hidden; }
.qhse-bg { position: absolute; inset: 0; z-index: 0; }
.qhse-bg img { width: 100%; height: 100%; object-fit: cover; }
.qhse-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.72) 55%, rgba(10,10,11,.5) 100%); }
.qhse-inner { position: relative; z-index: 2; padding: clamp(6rem, 16vh, 12rem) var(--pad); max-width: 64rem; }
.qhse .eyebrow-label { color: var(--gold-soft); }
.qhse h2.headline { color: #fff; margin-bottom: 2rem; }
.qhse p.body { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 54ch; }
.qhse-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: clamp(3rem, 7vh, 4.5rem); }
.qhse-pillars .qp { border-top: 1.5px solid rgba(255,255,255,.25); padding-top: 1.25rem; }
.qhse-pillars .qp .l { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: .6rem; }
.qhse-pillars .qp p { font-size: .9rem; color: rgba(255,255,255,.72); font-weight: 300; line-height: 1.55; }
.qhse-tags { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.75rem; }
.qhse-tags span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .5rem 1.15rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- SERVICE DETAIL PAGE ---------- */
.svc-intro { background: var(--white); }
.svc-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,7rem); align-items: start; }
.svc-intro-grid .lead { font-size: clamp(1.15rem,1.6vw,1.5rem); font-weight: 300; line-height: 1.6; color: var(--ink); }
.svc-intro-grid .body p { font-size: 1.05rem; font-weight: 300; color: #2a2b2f; line-height: 1.75; }
.svc-intro-grid .body p + p { margin-top: 1.25rem; }

.deliver { background: var(--paper); }
.deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2.5rem,6vh,3.5rem); }
.deliver-item { background: var(--white); padding: clamp(1.75rem,3vw,2.5rem); }
.deliver-item h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; letter-spacing: -0.01em; }
.deliver-item h4 .mk { color: var(--gold); font-weight: 700; margin-right: .6rem; }
.deliver-item p { font-size: .96rem; color: var(--muted); line-height: 1.65; }

.stages { background: var(--ink); color: #fff; }
.stages .eyebrow-label { color: var(--gold-soft); }
.stages h2.headline { color: #fff; }
.stage-list { margin-top: clamp(3rem,7vh,4.5rem); border-top: 1px solid var(--line-dark); }
.stage { display: grid; grid-template-columns: 6rem 1fr; gap: 2rem; padding: 2.25rem 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.stage .sname { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; padding-top: .35rem; }
.stage h4 { font-size: clamp(1.2rem,1.8vw,1.55rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: .6rem; }
.stage p { color: rgba(255,255,255,.6); font-weight: 300; line-height: 1.65; max-width: 60ch; }

.note-band { background: var(--paper); }
.note-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2.5rem,6vw,6rem); align-items: center; }
.note-grid h3 { font-size: clamp(1.5rem,2.6vw,2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.note-grid p { font-size: 1.05rem; font-weight: 300; color: #2a2b2f; line-height: 1.7; }
.note-grid p + p { margin-top: 1rem; }
.placeholder-box { margin-top: 2rem; border: 1.5px dashed var(--gold); border-radius: 12px; padding: 1.25rem 1.5rem; background: rgba(184,146,90,.06); }
.placeholder-box .pl-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .5rem; }
.placeholder-box p { font-size: .95rem; color: var(--muted); font-weight: 400; }

/* Related services */
.related { background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: clamp(2.5rem,6vh,3.5rem); }
.related-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; transition: border-color .4s var(--ease), transform .4s var(--ease); display: block; }
.related-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.related-card .rc-no { font-size: .74rem; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.related-card h4 { font-size: 1.1rem; font-weight: 700; margin: .75rem 0 .5rem; letter-spacing: -0.01em; }
.related-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---------- WORK / PROJECTS ---------- */
.work { background: var(--white); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: clamp(2.5rem,6vh,3.5rem); }
.work-card { display: block; border-radius: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.work-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.10); }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-cat { position: absolute; top: 1rem; left: 1rem; background: rgba(10,10,11,.72); backdrop-filter: blur(6px); color: #fff; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.work-pl { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--ink); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; }
.work-body { padding: 1.5rem 1.5rem 1.75rem; }
.work-body h4 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: .4rem; }
.work-body .meta { font-size: .85rem; color: var(--muted); font-weight: 400; }
.work-body .go { margin-top: 1.1rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: inline-flex; gap: .5rem; align-items: center; }
.work-body .go .arrow { transition: transform .45s var(--ease); }
.work-card:hover .work-body .go .arrow { transform: translateX(5px); }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- CTA STRIP ---------- */
.cta-strip { background: var(--ink); color: #fff; text-align: center; }
.cta-strip h2 { font-size: clamp(2rem,5vw,3.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.cta-strip h2 .u { color: var(--gold); }
.cta-strip p { color: rgba(255,255,255,.65); font-weight: 300; max-width: 44ch; margin: 0 auto 2.5rem; font-size: 1.08rem; line-height: 1.6; }
.cta-strip .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- CONTACT ---------- */
.contact { background: var(--ink); color: #fff; }
.contact-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: end; padding-bottom: clamp(3rem, 8vh, 5rem); }
.contact h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.contact h2 .u { color: var(--gold); }
.contact-sub { margin-top: 1.75rem; color: rgba(255,255,255,.6); font-weight: 300; max-width: 34ch; font-size: 1.05rem; line-height: 1.6; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: clamp(2.5rem,6vh,4rem) 0; border-top: 1px solid var(--line-dark); }
.detail .k { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: .9rem; }
.detail .v { font-size: 1.05rem; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,.9); }
.detail .v a:hover { color: var(--gold-soft); }

/* Contact form */
.contact-form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,6rem); padding-top: clamp(3rem,7vh,4.5rem); border-top: 1px solid var(--line-dark); }
.contact-form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line-dark); color: #fff;
  padding: .75rem 0; font-size: 1rem; font-family: inherit; transition: border-color .4s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.field select option { background: var(--ink); }
.form-aside h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.form-aside p { color: rgba(255,255,255,.6); font-weight: 300; line-height: 1.7; }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: .5rem; }

/* ---------- FOOTER ---------- */
.foot-main { background: var(--charcoal); color: #fff; padding: clamp(4rem,9vh,6rem) var(--pad) 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: clamp(3rem,6vh,4rem); border-bottom: 1px solid var(--line-dark); }
.foot-brand .brand-logo { height: 66px; margin-bottom: 0; }
.foot-brand p { color: rgba(255,255,255,.55); font-weight: 300; font-size: .95rem; line-height: 1.7; max-width: 30ch; }
.foot-col h5 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1.25rem; }
.foot-col ul { list-style: none; display: grid; gap: .7rem; }
.foot-col a, .foot-col .fitem { color: rgba(255,255,255,.7); font-size: .92rem; font-weight: 300; transition: color .3s var(--ease); }
.foot-col a:hover { color: var(--gold-soft); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.75rem 0; font-size: .78rem; color: var(--muted); }
.foot-bottom .made { color: var(--muted-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .about-grid, .vm-grid, .team-grid, .svc-intro-grid, .note-grid, .contact-form-wrap { grid-template-columns: 1fr; }
  .svc-grid, .deliver-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .metric { padding-bottom: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .qhse-pillars { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .contact-top, .contact-details { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.75rem;
    background: rgba(10,10,11,.98); backdrop-filter: blur(20px); color: #fff;
    transform: translateY(-100%); transition: transform .6s var(--ease); z-index: 90; padding: 2rem;
  }
  body.menu-open .nav-links { transform: none; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links a { font-size: 1.25rem; opacity: 1; color: #fff; justify-content: center; }
  .nav.scrolled .nav-toggle, .nav.solid .nav-toggle { color: var(--ink); }
  body.menu-open .nav-toggle { color: #fff; }
  /* Mobile dropdown: static, revealed when parent .open */
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; background: transparent; border: 0; box-shadow: none; max-height: 0; overflow: hidden; padding: 0; transition: max-height .4s var(--ease); }
  .has-dropdown.open .dropdown { max-height: 600px; margin-top: 1rem; }
  .dropdown li a { text-align: center; font-size: 1rem; }
  .dropdown li a small { display: none; }
  .pillars, .qhse-pillars { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: .5rem; }
  .vision-2031 { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
