/* ============================================================
   Syed Kamran Azmi — site.css  (shared chrome + homepage)
   builds on styles.css tokens
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg1); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; }
section { scroll-margin-top: 88px; position: relative; }
img { max-width: 100%; display: block; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---- Custom cursor ---- */
.cur { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; will-change: transform; }
.cur--dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--teal); border-radius: 50%; }
.cur--ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--teal); border-radius: 50%; transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s, border-color .25s; }
.cur--ring.is-hot { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(200,90,23,.08); border-color: var(--copper); }
@media (hover: hover) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .chip, body.has-cursor [data-hover] { cursor: none; } body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: text; } }

/* ---- Scroll progress ---- */
.scrollprog { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 10px; mix-blend-mode: difference; }
.scrollprog__pct { font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; }
.scrollprog__track { width: 2px; height: 150px; background: rgba(255,255,255,.35); position: relative; }
.scrollprog__fill { position: absolute; top: 0; left: 0; width: 100%; background: #fff; }
@media (max-width: 920px) { .scrollprog { display: none; } }

/* ---- Eyebrow / section head ---- */
.eyebrow { font-family: var(--font-label); font-size: var(--t-label); font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase; }
.sec-head { margin-bottom: 44px; }
.sec-head__ix { display: flex; align-items: center; gap: 14px; }
.sec-head__num { font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--copper); }
.sec-head__ix::after { content: ""; flex: 1; height: 1px; background: var(--border); max-width: 90px; }
.sec-head--light .sec-head__ix::after { background: rgba(255,255,255,.2); }
.sec-head__title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-h2); line-height: 1.08; letter-spacing: var(--tracking-tight); margin: 16px 0 0; color: var(--fg1); }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .sec-head__ix { justify-content: center; }
.sec-head--center .sec-head__ix::after { display: none; }

/* ---- Buttons (chamfer + ripple) ---- */
.btn { position: relative; overflow: hidden; font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 15px 30px; border: none; cursor: pointer; color: #fff; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  --notch: 11px; clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn::before { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); transition: left var(--dur-slow) var(--ease); pointer-events: none; }
.btn:hover::before { left: 135%; }
.btn i { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn__ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s var(--ease); pointer-events: none; }
@keyframes ripple { to { transform: scale(2.4); opacity: 0; } }
.btn--full { width: 100%; justify-content: center; }
.btn--primary { background: var(--teal); box-shadow: 0 0 0 rgba(200,90,23,0); }
.btn--primary:hover { background: var(--teal-700); box-shadow: var(--shadow-teal); transform: translateY(-2px); }
.btn--copper { background: var(--copper); }
.btn--copper:hover { background: var(--copper-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn--ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---- Photo placeholder ---- */
.photo { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.7); overflow: hidden; }
.photo.tone0 { background: linear-gradient(135deg, #8a3a10, #c85a17); }
.photo.tone1 { background: linear-gradient(135deg, #3a4a24, #6b8e23); }
.photo.tone2 { background: linear-gradient(135deg, #8a5f12, #d9a521); }
.photo__grid, .proj-card__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; }
.photo i { width: 30px; height: 30px; z-index: 1; }
.photo span { position: relative; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ============================ NAV ============================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 70; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur); }
.nav.scrolled { background: rgba(241,221,203,.85); backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 1px 0 var(--border-soft); }
.nav__brand { display: flex; flex-direction: row; align-items: center; gap: 12px; line-height: 1; text-decoration: none; flex: none; }
.nav__bt { display: flex; flex-direction: column; line-height: 1; }
.nav__star { width: 30px; height: 30px; color: var(--teal); flex: none; transition: transform var(--dur) var(--ease); }
.nav__brand:hover .nav__star { transform: rotate(45deg); }
.nav__brand .n { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: #fff; white-space: nowrap; transition: font-size var(--dur), color var(--dur); }
.nav.scrolled .nav__brand .n { font-size: 21px; color: var(--fg1); }
.nav__brand .d { font-family: var(--font-label); font-weight: 600; font-size: 8px; letter-spacing: .2em; color: var(--teal-300); margin-top: 3px; white-space: nowrap; transition: color var(--dur); }
.nav.scrolled .nav__brand .d { color: var(--teal); }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .05em; color: rgba(255,255,255,.78); text-decoration: none; position: relative; padding: 4px 0; transition: color var(--dur-fast); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--teal-300); transition: width var(--dur) var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--fg2); }
.nav.scrolled .nav__links a::after { background: var(--teal); }
.nav.scrolled .nav__links a:hover, .nav.scrolled .nav__links a.is-active { color: var(--teal); }
.nav__cta { font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .04em; background: var(--teal); color: #fff !important; padding: 11px 20px;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); transition: background var(--dur); }
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--teal-700); }
@media (max-width: 880px) { .nav__links a:not(.nav__cta) { display: none; } }

/* ============================ HERO (cinematic, full-bleed) ============================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; background: #1c2612; color: #fff; padding: 130px 0 0; overflow: hidden; }
.hero__photo { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(100% 120% at 84% 2%, rgba(143,178,72,.45) 0%, rgba(143,178,72,0) 54%),
  radial-gradient(95% 110% at 4% 102%, rgba(22,32,14,.55) 0%, rgba(22,32,14,0) 58%),
  radial-gradient(75% 85% at 58% 64%, rgba(217,165,33,.10) 0%, rgba(217,165,33,0) 60%),
  linear-gradient(135deg, #3a4a24 0%, #54702a 52%, #6b8e23 100%); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 78px 78px; opacity: .7; mask-image: radial-gradient(ellipse 110% 100% at 60% 25%, #000 45%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 110% 100% at 60% 25%, #000 45%, transparent 100%); }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20,28,12,.92) 0%, rgba(20,28,12,.50) 38%, rgba(20,28,12,.18) 70%); }
.grain { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .055; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; }
.hero__tag { position: absolute; top: 120px; right: var(--gutter); z-index: 2; font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #C8D2A6; }
.hero__inner { padding-bottom: 64px; position: relative; z-index: 2; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: var(--t-display); line-height: 0.95; letter-spacing: -.015em; margin: 22px 0 0; color: #fff; }
.hero__title em { font-style: italic; font-weight: 600; color: #e3a877; }
.hero__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); line-height: 1.55; color: rgba(255,255,255,.88); margin: 26px 0 0; max-width: 34em; }
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; gap: 8px; }
.hero__stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: #fff; }
.hero__stat .cap { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C8D2A6; }
.hero__ticker { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); overflow: hidden; padding: 14px 0; background: rgba(20,28,12,.30); }
.hero__ticker-track { display: flex; white-space: nowrap; animation: ticker 38s linear infinite; }
.hero__ticker-track span { display: inline-flex; }
.hero__ticker em { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); padding: 0 22px; font-style: normal; }
.hero__ticker em i { color: #C8D2A6; font-style: normal; }
.hero__ticker em b { width: 5px; height: 5px; background: #C8D2A6; border-radius: 50%; }
/* hero primary button uses the light-clay highlight */
.hero .btn--primary { background: #e3a877; color: #3a1e0c; box-shadow: 0 0 0 rgba(0,0,0,0); }
.hero .btn--primary:hover { background: #ecbf96; box-shadow: 0 14px 34px -16px rgba(20,28,12,.7); transform: translateY(-2px); }
.hero .btn--ghost-dark { color: #C8D2A6; box-shadow: inset 0 0 0 1.5px rgba(200,210,166,.6); }
.hero .btn--ghost-dark:hover { color: #2e3a16; background: #C8D2A6; box-shadow: inset 0 0 0 1.5px #C8D2A6; transform: translateY(-2px); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .hero__skyline { display: none; } }

/* ============================ FEATURED ============================ */
.featured { padding: var(--section-y) 0; background: var(--bg); }
/* carousel */
.carousel { position: relative; margin-bottom: 40px; overflow: hidden; }
.carousel__track { display: flex; transition: transform var(--dur-slow) var(--ease-inout); }
.carousel__slide { min-width: 100%; display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.carousel__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; cursor: pointer; }
.carousel__media.tone0 { background: linear-gradient(135deg, #8a3a10, #c85a17); }
.carousel__media.tone1 { background: linear-gradient(135deg, #3a4a24, #6b8e23); }
.carousel__media.tone2 { background: linear-gradient(135deg, #8a5f12, #d9a521); }
.carousel__media .proj-card__grid { background-size: 34px 34px; }
.carousel__ico { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; color: rgba(255,255,255,.8); }
.carousel__caption { background: var(--blueprint); color: #fff; padding: 40px 40px; display: flex; flex-direction: column; justify-content: center; }
.carousel__era { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300); }
.carousel__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; margin: 12px 0 8px; }
.carousel__type { font-family: var(--font-body); font-size: 14px; color: var(--fg-on-dark-2); margin: 0 0 26px; }
.carousel__cta { align-self: flex-start; background: none; border: none; color: var(--teal-300); font-family: var(--font-label); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; transition: gap var(--dur); padding: 0; }
.carousel__cta:hover { gap: 14px; }
.carousel__nav { position: absolute; top: calc((100% - 26px) / 2); transform: translateY(-50%); width: 42px; height: 42px; background: rgba(12,24,34,.6); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur); z-index: 3; }
.carousel__nav:hover { background: var(--teal); border-color: var(--teal); }
.carousel__nav i { width: 18px; height: 18px; }
.carousel__nav.prev { left: 14px; }
.carousel__nav.next { left: calc(60% - 56px); }
.carousel__dots { display: flex; gap: 7px; justify-content: center; margin-top: 18px; }
.carousel__dots span { width: 8px; height: 8px; background: var(--silver); cursor: pointer; transition: all var(--dur); }
.carousel__dots span.on { background: var(--teal); width: 22px; }
.carousel__dots.light span { background: rgba(255,255,255,.4); }
.carousel__dots.light span.on { background: #fff; }
@media (max-width: 760px) { .carousel__slide { grid-template-columns: 1fr; } .carousel__nav.next { left: auto; right: 14px; } .carousel__caption { padding: 26px; } }

/* featured controls */
.featured__controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; min-width: 280px; flex: 1; max-width: 360px; }
.search i { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--steel); }
.search input { width: 100%; font-family: var(--font-body); font-size: 14px; padding: 13px 38px 13px 40px; border: 1px solid var(--border); background: var(--surface); color: var(--fg1); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.search input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--focus-ring); }
.search button { position: absolute; right: 10px; background: none; border: none; color: var(--steel); cursor: pointer; display: flex; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--border); background: var(--surface); color: var(--fg2); cursor: pointer; transition: all var(--dur-fast);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.featured__empty { font-family: var(--font-body); color: var(--fg3); text-align: center; padding: 40px; }

/* homepage: section head row with browse-all link above the slideshow */
.featured__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: 38px; }
.featured__head .sec-head { margin-bottom: 0; }
.featured__all { display: flex; justify-content: center; margin-top: 6px; }
.featured__all-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; transition: gap var(--dur), border-color var(--dur-fast); flex: none; margin-top: 4px; }
.featured__all-link:hover { gap: 16px; border-color: var(--teal); }
.featured__all-link i { transition: transform var(--dur-fast); }
.featured__all-link:hover i { transform: translateX(3px); }
/* slideshow placeholder name stamped on the media square */
.carousel__media { display: block; text-decoration: none; }
.carousel__media--img .proj-card__grid { display: none; }
.carousel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__media-name { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; padding: 0 26px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.08; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
@media (max-width: 760px) { .featured__head { margin-bottom: 28px; } }

/* projects page: result count + page spacing */
.featured--page { background: var(--bg); }
.featured__count { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); margin: 0 0 22px; }

/* masonry */
.masonry { columns: 3; column-gap: 22px; }
.masonry__item { break-inside: avoid; margin-bottom: 22px; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 580px) { .masonry { columns: 1; } }

/* project card */
.proj-card { background: var(--surface); border: 1px solid var(--border-soft); cursor: pointer; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.proj-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.proj-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.proj-card--big .proj-card__media { aspect-ratio: 4 / 4.4; }
.proj-card__ico { position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; color: rgba(255,255,255,.85); transform: translate(calc(-50% + var(--px, 0px)), calc(-50% + var(--py, 0px))); transition: transform .1s linear; }
.proj-card__media .proj-card__grid { transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .1s linear; scale: 1.06; }
.proj-card__sector { position: absolute; top: 12px; left: 12px; font-family: var(--font-label); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(12,24,34,.5); backdrop-filter: blur(3px); padding: 5px 9px; }
.proj-card__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--teal); transition: width var(--dur) var(--ease); }
.proj-card:hover .proj-card__bar { width: 100%; }
.proj-card__body { padding: 18px 20px 20px; }
.proj-card__loc { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.proj-card__name { font-family: var(--font-display); font-weight: 600; font-size: 25px; line-height: 1.05; letter-spacing: -.01em; margin: 7px 0 8px; color: var(--fg1); }
.proj-card__blurb { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0 0 14px; }
.proj-card__more { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--dur); }
.proj-card:hover .proj-card__more { gap: 11px; }

/* ============================ MODAL ============================ */
.modal-bg { position: fixed; inset: 0; background: rgba(28,38,18,.6); backdrop-filter: blur(5px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity var(--dur); }
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--surface); max-width: 760px; width: 100%; overflow: hidden; transform: translateY(16px) scale(.98); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; position: relative; }
.modal-bg.open .modal { transform: none; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 5; background: rgba(255,255,255,.92); border: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.modal__close i { width: 18px; height: 18px; }
.modal__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.modal__track { display: flex; height: 100%; transition: transform var(--dur-slow) var(--ease); }
.modal__slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); }
.modal__slide.tone0 { background: linear-gradient(135deg, #8a3a10, #c85a17); }
.modal__slide.tone1 { background: linear-gradient(135deg, #3a4a24, #6b8e23); }
.modal__slide.tone2 { background: linear-gradient(135deg, #8a5f12, #d9a521); }
.modal__slide i { width: 38px; height: 38px; z-index: 1; }
.modal__media .carousel__nav { top: 50%; }
.modal__media .carousel__nav.next { left: auto; right: 14px; }
.modal__media .carousel__dots { position: absolute; bottom: 12px; left: 0; right: 0; }
.modal__body { padding: 28px 32px 32px; }
.modal__name { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.05; margin: 8px 0 12px; color: var(--fg1); }
.modal__desc { font-family: var(--font-body); font-size: 15px; line-height: 1.65; color: var(--fg2); margin: 0 0 22px; }
.modal__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); margin-bottom: 24px; }
.modal__stat { display: flex; flex-direction: column; gap: 5px; }
.modal__stat .v { font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 1; color: var(--teal); }
.modal__stat .k { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
@media (max-width: 600px) { .modal__stats { grid-template-columns: 1fr 1fr; } }

/* ============================ SERVICES ============================ */
.services { padding: var(--section-y) 0; background: var(--bg-alt); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { background: var(--surface); border: 1px solid var(--border-soft); padding: 26px 24px; cursor: pointer; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur); position: relative; }
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-card.is-sel { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-md); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svc-card__ico { width: 46px; height: 46px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: all var(--dur); }
.svc-card.is-sel .svc-card__ico { background: var(--teal); color: #fff; }
.svc-card__check { width: 26px; height: 26px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--steel); transition: all var(--dur); }
.svc-card.is-sel .svc-card__check { background: var(--teal); border-color: var(--teal); color: #fff; }
.svc-card__name { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1.1; margin: 0 0 8px; color: var(--fg1); }
.svc-card__desc { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0 0 14px; }
.svc-card__related { font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); display: inline-flex; align-items: center; gap: 6px; opacity: 0; max-height: 0; transition: opacity var(--dur), max-height var(--dur); }
.svc-card:hover .svc-card__related, .svc-card.is-sel .svc-card__related { opacity: 1; max-height: 30px; }
@media (max-width: 820px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .services__grid { grid-template-columns: 1fr; } }

/* engage builder */
.engage { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; padding: 26px 30px; background: var(--blueprint); color: #fff; flex-wrap: wrap; position: relative; overflow: hidden; transition: box-shadow var(--dur); }
.engage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px); background-size: 30px 30px; opacity: .6; }
.engage.is-on { box-shadow: var(--shadow-teal); }
.engage__left { position: relative; z-index: 1; }
.engage__label { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300); }
.engage__hint { font-family: var(--font-body); font-size: 14px; color: var(--fg-on-dark); margin: 8px 0 0; }
.engage__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.engage__chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 10px; }
.engage__chip i { cursor: pointer; opacity: .7; }
.engage__chip i:hover { opacity: 1; color: var(--copper-bright); }
.engage__cta { position: relative; z-index: 1; font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--teal); color: #fff; border: none; padding: 15px 28px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background var(--dur), opacity var(--dur);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.engage__cta:hover { background: var(--teal-bright); }
.engage__cta:disabled { opacity: .4; cursor: not-allowed; }

/* ============================ GLOBAL REACH ============================ */
.reach { padding: var(--section-y) 0; background: var(--blueprint); color: #fff; position: relative; overflow: hidden; }
.reach__timeline { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.reach__tl-label { font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-on-dark-2); margin-right: 8px; }
.reach__tl { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--fg-on-dark); padding: 8px 16px; cursor: pointer; transition: all var(--dur-fast); }
.reach__tl:hover { border-color: var(--teal-300); }
.reach__tl.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.reach__layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; }
.map { position: relative; aspect-ratio: 16 / 10; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.02); overflow: hidden; }
.map__dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(143,166,178,.4) 1.3px, transparent 1.4px); background-size: 20px 20px; mask-image: radial-gradient(ellipse 80% 80% at 55% 45%, #000 55%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 55% 45%, #000 55%, transparent 100%); }
.pin { position: absolute; transform: translate(-50%, -50%); background: none; border: none; cursor: pointer; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity var(--dur); }
.pin.dim { opacity: .25; }
.pin__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal-300); position: relative; z-index: 2; transition: all var(--dur); }
.pin__ring { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--teal-300); animation: pinPulse 2.6s var(--ease-inout) infinite; }
.pin.active .pin__dot { background: var(--copper); box-shadow: 0 0 14px var(--copper); transform: scale(1.3); }
.pin.active .pin__ring { border-color: var(--copper); }
.pin__label { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-on-dark); opacity: 0; transition: opacity var(--dur); white-space: nowrap; }
.pin:hover .pin__label, .pin.active .pin__label { opacity: 1; }
@keyframes pinPulse { 0% { transform: translateX(-50%) scale(1); opacity: .8; } 100% { transform: translateX(-50%) scale(3.2); opacity: 0; } }
.reach__panel { border-left: 2px solid var(--copper); padding-left: 28px; }
.reach__country { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1; color: #fff; }
.reach__note { font-family: var(--font-body); font-size: 14.5px; line-height: 1.6; color: var(--fg-on-dark-2); margin: 14px 0 24px; }
.reach__stats { display: flex; gap: 30px; flex-wrap: wrap; }
.reach__stat { display: flex; flex-direction: column; gap: 5px; }
.reach__stat .v { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1; color: var(--teal-300); }
.reach__stat .k { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-on-dark-2); }
@media (max-width: 820px) { .reach__layout { grid-template-columns: 1fr; gap: 30px; } }

/* ============================ COMPETENCIES ============================ */
.comps { padding: var(--section-y) 0; background: var(--bg); }
.comps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.comp__inner { background: var(--surface); border: 1px solid var(--border-soft); padding: 24px 22px; transition: border-color var(--dur), transform var(--dur) var(--ease), box-shadow var(--dur); cursor: default; height: 100%; }
.comp__inner:hover { border-color: var(--teal-300); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.comp__ico { width: 44px; height: 44px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: all var(--dur); }
.comp__inner:hover .comp__ico { background: var(--teal); color: #fff; }
.comp:nth-child(4n) .comp__ico { background: var(--copper-50); color: var(--copper); }
.comp:nth-child(4n) .comp__inner:hover .comp__ico { background: var(--copper); color: #fff; }
.comp__name { font-family: var(--font-body); font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--fg1); margin: 0 0 14px; min-height: 2.6em; }
.comp__bar { height: 4px; background: var(--cloud); position: relative; margin-bottom: 10px; }
.comp__bar span { position: absolute; left: 0; top: 0; height: 100%; background: var(--teal); transition: width 1s var(--ease); }
.comp:nth-child(4n) .comp__bar span { background: var(--copper); }
.comp__years { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--fg3); }
@media (max-width: 880px) { .comps__grid { grid-template-columns: 1fr 1fr; } }

/* ============================ CONTACT ============================ */
.contact { padding: var(--section-y) 0; background: var(--blueprint); color: var(--fg-on-dark); position: relative; overflow: hidden; }
.contact__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000, transparent 70%); }
.contact__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.contact__title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-h2); color: #fff; margin: 0 0 0; line-height: 1.05; }
.contact__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); color: var(--fg-on-dark-2); margin: 20px 0 30px; line-height: 1.55; }
.contact__rows { display: flex; flex-direction: column; }
.crow { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--fg-on-dark); text-decoration: none; transition: color var(--dur-fast); }
.crow:hover { color: var(--teal-300); }
.crow i { width: 18px; height: 18px; color: var(--teal-300); }
.crow span { font-family: var(--font-body); font-size: 14.5px; }
.form { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 30px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-on-dark-2); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 14px; color: #fff; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f8b97; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-300); box-shadow: 0 0 0 3px rgba(200,90,23,.2); }
.field select option { color: #1a1a1a; }
.form__done { text-align: center; padding: 26px 10px; }
.form__burst { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; animation: burst .5s var(--ease) both; position: relative; }
.form__burst i { width: 30px; height: 30px; }
.form__burst::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--teal-300); animation: burstRing .7s var(--ease) both; }
@keyframes burst { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes burstRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.form__done h4 { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: #fff; margin: 0 0 8px; }
.form__done p { font-family: var(--font-body); font-size: 14px; color: var(--fg-on-dark-2); margin: 0 0 18px; }
.form__again { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 10px 20px; cursor: pointer; transition: all var(--dur-fast); }
.form__again:hover { border-color: var(--teal-300); color: var(--teal-300); }
@media (max-width: 820px) { .contact__layout { grid-template-columns: 1fr; gap: 36px; } .form__grid { grid-template-columns: 1fr; } }

/* ============================ FOOTER ============================ */
.footer { background: #1e2913; color: var(--fg-on-dark-2); padding: 64px 0 38px; position: relative; overflow: hidden; }
.footer__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--blueprint-line) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px); background-size: 48px 48px; opacity: .5; mask-image: linear-gradient(to bottom, #000, transparent 60%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%); }
.footer .wrap { position: relative; z-index: 1; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__bn { display: flex; align-items: center; gap: 11px; }
.footer__star { width: 28px; height: 28px; color: var(--teal); flex: none; }
.footer__brand .n { font-family: var(--font-display); font-weight: 600; font-size: 28px; color: #fff; }
.footer__brand .d { font-family: var(--font-label); font-weight: 600; font-size: 8.5px; letter-spacing: .2em; color: var(--teal-300); margin-top: 4px; }
.footer__tag { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--fg-on-dark-2); margin: 18px 0 0; max-width: 32em; }
.footer__cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__h { font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer__col a { font-family: var(--font-body); font-size: 13.5px; color: var(--fg-on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--teal-300); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; }
.footer__bottom span { font-family: var(--font-body); font-size: 12.5px; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ============================ INSTRUMENT SERIF DISPLAY TIER ============================
   Instrument Serif ships a single weight (400) + italic. Headlines are italic
   and never synthetic-bold; stats stay roman for legibility. */
.hero__title, .sec-head__title, .carousel__name, .proj-card__name, .modal__name,
.dhero__title, .ahero__title, .tl-role, .reach__country, .contact__title,
.dcta__title, .doverview__lead, .svc-card__name, .ahero__role {
  font-weight: 400 !important; font-style: italic; letter-spacing: 0 !important;
}
.hero__stat .num, .gstat .num, .reach__stat .v, .modal__stat .v, .dstat__v, .chart__tag,
.proj-card__name, .carousel__name { line-height: 1; }
.hero__stat .num, .gstat .num, .reach__stat .v, .modal__stat .v, .dstat__v, .chart__tag {
  font-weight: 400 !important; font-style: normal;
}
/* labels (Space Grotesk) read better a touch tighter than Montserrat tracking */
.eyebrow, .nav__links a, .chip, .sec-head__num { letter-spacing: .14em; }

/* ============================ GLOBAL REACH PAGE — WORLD MAP ============================ */
.reach2 { padding: var(--section-y) 0; background: var(--blueprint); color: #fff; position: relative; overflow: hidden; }
.reach2__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.reach2__tab { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); color: #fff; padding: 11px 18px; cursor: pointer; transition: all var(--dur-fast);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.reach2__tab:hover { border-color: var(--teal-300); background: rgba(255,255,255,.07); }
.reach2__tab.on { background: var(--teal); border-color: var(--teal); }
.reach2__tab-n { font-family: var(--font-label); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; }
.reach2__tab-c { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-300); }
.reach2__tab.on .reach2__tab-c { color: rgba(255,255,255,.8); }

/* the map */
.wmap { position: relative; }
.wmap__frame { position: relative; border: 1px solid rgba(255,255,255,.12); background:
  radial-gradient(ellipse 90% 90% at 55% 45%, rgba(226,199,156,.05), transparent 70%), rgba(255,255,255,.015); padding: 4% 3%; overflow: hidden; }
.wmap__svg { display: block; width: 100%; height: auto; }
.wmap__dot { fill: rgba(226,199,156,.30); }
.wmap__pins { position: absolute; inset: 4% 3%; }
.wpin { position: absolute; transform: translate(-50%, -50%); width: 0; height: 0; z-index: 3; text-decoration: none; }
.wpin__dot { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%); width: 11px; height: 11px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 3px rgba(28,19,13,.7), 0 0 12px rgba(217,118,52,.7); transition: all var(--dur); }
.wpin__ring { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%); width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--teal-bright); animation: wpinPulse 2.8s var(--ease-inout) infinite; }
@keyframes wpinPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: .85; } 100% { transform: translate(-50%,-50%) scale(3.4); opacity: 0; } }
.wpin.dim { opacity: .32; }
.wpin.dim .wpin__ring { animation: none; }
.wpin.hot .wpin__dot { width: 15px; height: 15px; background: var(--copper-bright); box-shadow: 0 0 0 3px rgba(28,19,13,.7), 0 0 16px rgba(125,160,40,.9); }
.wpin.hot .wpin__ring { border-color: var(--copper-bright); width: 15px; height: 15px; }
.wpin__tip { position: absolute; left: 0; bottom: 14px; transform: translateX(-50%); background: #fff; color: var(--ink); padding: 8px 12px; min-width: 130px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity var(--dur-fast), transform var(--dur-fast); display: flex; flex-direction: column; gap: 2px;
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.wpin:hover .wpin__tip { opacity: 1; transform: translateX(-50%) translateY(-3px); }
.wpin__tip strong { font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.1; }
.wpin__tip em { font-family: var(--font-label); font-style: normal; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--copper); }
.wmap__corner { position: absolute; width: 14px; height: 14px; border: 1px solid var(--teal-300); opacity: .5; }
.wmap__corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.wmap__corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.wmap__corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.wmap__corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.wmap__hint { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-on-dark-2); margin: 14px 0 0; display: inline-flex; align-items: center; gap: 8px; }
.wmap__hint i { color: var(--teal-300); }

/* region panel under the map */
.reach2__panel { margin-top: 34px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-left: 2px solid var(--copper); padding: 30px 34px; }
.reach2__panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.reach2__kicker { font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); }
.reach2__name { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; color: #fff; margin: 8px 0 0; }
.reach2__stats { display: flex; gap: 28px; flex-wrap: wrap; }
.reach2__stat { display: flex; flex-direction: column; gap: 5px; }
.reach2__stat .v { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--teal-300); }
.reach2__stat .k { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-on-dark-2); }
.reach2__note { font-family: var(--font-body); font-size: 15px; line-height: 1.6; color: var(--fg-on-dark-2); margin: 18px 0 24px; max-width: 60em; }
.reach2__projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.reach2__proj { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); text-decoration: none; transition: all var(--dur-fast); }
.reach2__proj:hover { background: rgba(255,255,255,.07); border-color: var(--teal-300); transform: translateY(-2px); }
.reach2__proj-ic { width: 40px; height: 40px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.reach2__proj-bd { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.reach2__proj-n { font-family: var(--font-display); font-style: italic; font-size: 18px; color: #fff; line-height: 1.1; }
.reach2__proj-m { font-family: var(--font-body); font-size: 12px; color: var(--fg-on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reach2__proj-go { color: var(--teal-300); flex: none; transition: transform var(--dur-fast); }
.reach2__proj:hover .reach2__proj-go { transform: translate(2px,-2px); }
@media (max-width: 760px) { .reach2__name { font-size: 30px; } .reach2__panel { padding: 24px; } }

/* reach summary strip */
.rsum { padding: var(--section-y) 0; background: var(--bg-alt); }
.rsum__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rsum__cell { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--copper); padding-top: 20px; }
.rsum__v { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--teal); }
.rsum__k { font-family: var(--font-label); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg2); }
@media (max-width: 760px) { .rsum__grid { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* ============================ SERVICES PAGE EXTRAS ============================ */
.services--page { background: var(--bg); }
.services__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); line-height: 1.55; color: var(--fg2); margin: 18px 0 0; max-width: 36em; }
.svc-card__related { text-decoration: none; }
.svc-card__related:hover { color: var(--teal); }

/* process */
.process { padding: var(--section-y) 0; background: var(--bg-alt); }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pstep { background: var(--surface); border: 1px solid var(--border-soft); border-top: 3px solid var(--teal); padding: 26px 24px; height: 100%; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.pstep:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pstep:nth-child(4n) { border-top-color: var(--copper); }
.pstep__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pstep__n { font-family: var(--font-label); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--copper); }
.pstep__ico { width: 46px; height: 46px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.pstep:nth-child(4n) .pstep__ico { background: var(--copper-50); color: var(--copper); }
.pstep__name { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.05; margin: 0 0 10px; color: var(--fg1); }
.pstep__desc { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--fg2); margin: 0; }
.comps--alt { background: var(--bg); }
@media (max-width: 900px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process__grid { grid-template-columns: 1fr; } }

/* ============================ READY-MIX SPECIALIZATION ============================ */
.rmx { padding: var(--section-y) 0; background: var(--bg-alt); }
.rmx__top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: stretch; margin-bottom: 22px; }
.rmx__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); line-height: 1.6; color: var(--fg2); margin: 0 0 24px; }
.rmx__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.rmx__points li { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--fg1); }
.rmx__points li i { color: var(--teal); flex: none; }
.rmx__panel { background: var(--ink); color: #fff; padding: 38px 34px; display: flex; flex-direction: column; justify-content: center; }
.rmx__panel-eye { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.rmx__stat-v { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; margin: 12px 0 6px; color: #fff; }
.rmx__stat-k { font-family: var(--font-body); font-size: 15px; color: var(--fg-on-dark-2); }
.rmx__panel-note { font-family: var(--font-body); font-weight: 300; font-size: 13.5px; line-height: 1.55; color: var(--fg-on-dark-2); margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.rmx__roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rmx-role { background: var(--surface); border: 1px solid var(--border-soft); border-top: 3px solid var(--copper); padding: 26px 24px; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.rmx-role:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rmx-role__ico { width: 46px; height: 46px; background: var(--copper-50); color: var(--copper); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rmx-role__role { display: block; font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.12; color: var(--fg1); }
.rmx-role__org { display: block; font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin: 9px 0 12px; }
.rmx-role__note { font-family: var(--font-body); font-size: 13.5px; line-height: 1.55; color: var(--fg2); margin: 0; }
@media (max-width: 860px) { .rmx__top { grid-template-columns: 1fr; } .rmx__roles { grid-template-columns: 1fr; } }

/* ============================ HOMEPAGE TEASERS ============================ */
/* services teaser */
.svc-teaser { padding: var(--section-y) 0; background: var(--bg-alt); }
.svc-teaser__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.svc-teaser__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); line-height: 1.55; color: var(--fg2); margin: 0 0 30px; max-width: 24em; }
.svc-teaser__list { display: flex; flex-direction: column; }
.svc-teaser__row { display: block; }
.svc-teaser__row-a { display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--border-soft); text-decoration: none; transition: padding var(--dur) var(--ease), border-color var(--dur-fast); }
.svc-teaser__row:first-child .svc-teaser__row-a { border-top: 1px solid var(--border-soft); }
.svc-teaser__row-a:hover { padding-left: 14px; border-color: var(--teal); }
.svc-teaser__ic { width: 40px; height: 40px; flex: none; background: var(--surface); border: 1px solid var(--border-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; transition: all var(--dur); }
.svc-teaser__row-a:hover .svc-teaser__ic { background: var(--teal); color: #fff; border-color: var(--teal); }
.svc-teaser__nm { flex: 1; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 25px; color: var(--fg1); line-height: 1.1; }
.svc-teaser__go { color: var(--steel); transition: transform var(--dur-fast), color var(--dur-fast); }
.svc-teaser__row-a:hover .svc-teaser__go { color: var(--teal); transform: translate(3px,-3px); }
@media (max-width: 820px) { .svc-teaser__grid { grid-template-columns: 1fr; gap: 32px; } }

/* reach teaser */
.reach-teaser { position: relative; padding: var(--section-y) 0; background: var(--blueprint); color: #fff; overflow: hidden; }
.reach-teaser__bg { position: absolute; inset: 0; background-image: radial-gradient(rgba(226,199,156,.4) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 30%, #000 30%, transparent 80%); opacity: .5; }
.reach-teaser__inner { position: relative; z-index: 1; }
.reach-teaser__lead { font-family: var(--font-body); font-weight: 300; font-size: var(--t-lead); line-height: 1.55; color: var(--fg-on-dark-2); margin: 0 0 34px; max-width: 34em; }
.reach-teaser__regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 36px; }
.reach-teaser__region { display: flex; flex-direction: column; gap: 4px; padding: 20px 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: all var(--dur-fast); }
.reach-teaser__region:hover { background: rgba(255,255,255,.08); border-color: var(--teal-300); transform: translateY(-3px); }
.reach-teaser__r-n { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 26px; color: #fff; line-height: 1; }
.reach-teaser__r-m { font-family: var(--font-body); font-size: 12.5px; color: var(--fg-on-dark-2); }
.reach-teaser__r-c { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); margin-top: 6px; }
@media (max-width: 820px) { .reach-teaser__regions { grid-template-columns: 1fr 1fr; } }

/* ============================ DATA-INTEGRATION ADDITIONS ============================ */

/* ---- Project media: real image OR branded name-stamped placeholder ---- */
.pmedia { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pmedia.tone0 { background: linear-gradient(135deg, #8a3a10, #c85a17); }
.pmedia.tone1 { background: linear-gradient(135deg, #3a4a24, #6b8e23); }
.pmedia.tone2 { background: linear-gradient(135deg, #8a5f12, #d9a521); }
.pmedia--img { background: var(--blueprint); }
.pmedia--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmedia__ico { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; color: rgba(255,255,255,.42); transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .1s linear; }
.pmedia__name { position: relative; z-index: 1; padding: 0 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.12; color: #fff; text-align: center; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0,0,0,.32); }

/* ---- Cards as links ---- */
.proj-card { display: block; text-decoration: none; color: inherit; }
.proj-card__media { display: flex; align-items: center; justify-content: center; }

/* ---- Homepage / projects responsive grid (rank order, left-to-right) ---- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pgrid__item { min-width: 0; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }

/* ---- Sector filter row ---- */
.pfilter { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 14px; }

/* ---- Detail: big showcase image ---- */
.dshow { padding: var(--section-y) 0 0; background: var(--bg); }
.dshow__media { aspect-ratio: 16 / 8; width: 100%; }
.dshow__media .pmedia__name { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.dshow__media .pmedia__ico { width: 30px; height: 30px; }

/* ---- Detail: photo slideshow (uniform frames) ---- */
.dslides { width: 100%; }
.dslides__viewport { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blueprint); }
.dslides__track { display: flex; height: 100%; transition: transform var(--dur-slow) var(--ease-inout); }
.dslides__slide { min-width: 100%; height: 100%; }
.dslides__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dslides__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(28,38,18,.55); color: #fff; border: 1px solid rgba(255,255,255,.22); cursor: pointer; backdrop-filter: blur(6px); transition: background var(--dur) var(--ease); }
.dslides__nav:hover { background: var(--copper); border-color: var(--copper); }
.dslides__nav.prev { left: 16px; }
.dslides__nav.next { right: 16px; }
.dslides__nav i { width: 22px; height: 22px; }
.dslides__count { position: absolute; bottom: 16px; right: 18px; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #fff; background: rgba(28,38,18,.55); backdrop-filter: blur(6px); padding: 6px 12px; }
.dslides__dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.dslides__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.dslides__dots button:hover { background: var(--fg2); }
.dslides__dots button.on { background: var(--copper); transform: scale(1.25); }
@media (max-width: 760px) { .dslides__nav { width: 40px; height: 40px; } }

/* ---- Detail: overview facts panel ---- */
.doverview { padding: var(--section-y) 0; background: var(--bg); }
.doverview__facts { background: var(--bg-alt); border: 1px solid var(--border-soft); padding: 28px; align-self: start; }
.doverview__facts-h { font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.doverview__facts ul { list-style: none; margin: 16px 0 0; padding: 0; }
.doverview__facts li { display: flex; flex-direction: column; gap: 5px; padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.doverview__facts li:last-child { border-bottom: 0; }
.doverview__facts .k { font-family: var(--font-label); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); }
.doverview__facts .v { font-family: var(--font-body); font-size: 14.5px; line-height: 1.45; color: var(--fg1); }

/* ---- Detail: areas of expertise tags ---- */
.dexpertise { padding: var(--section-y) 0; background: var(--bg-alt); }
.dtags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.dtag { display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; background: var(--surface); border: 1px solid var(--border-soft); font-family: var(--font-body); font-size: 14.5px; color: var(--fg1); transition: border-color var(--dur-fast), transform var(--dur-fast); }
.dtag:hover { border-color: var(--teal); transform: translateY(-2px); }
.dtag i { color: var(--teal); flex: none; }

/* ---- Services: related projects per service ---- */
.svc-card__inner { display: flex; flex-direction: column; height: 100%; }
.svc-card__rel { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 4px; }
.svc-card__rel-h { font-family: var(--font-label); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); margin-bottom: 4px; }
.svc-card__rel-a { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--fg1); padding: 7px 8px; margin: 0 -8px; transition: background var(--dur-fast); }
.svc-card__rel-a:hover { background: var(--bg-alt); }
.svc-card__rel-ic { width: 28px; height: 28px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.svc-card__rel-ic.tone0 { background: linear-gradient(135deg, #8a3a10, #c85a17); }
.svc-card__rel-ic.tone1 { background: linear-gradient(135deg, #3a4a24, #6b8e23); }
.svc-card__rel-ic.tone2 { background: linear-gradient(135deg, #8a5f12, #d9a521); }
.svc-card__rel-nm { flex: 1; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; line-height: 1.2; }
.svc-card__rel-lo { font-family: var(--font-label); font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3); flex: none; }
/* Hide nav CTA on mobile */
@media (max-width: 768px) {
  .nav-cta-desktop {
    display: none !important;
  }
}
