/* ============================================================
   Argo Profile — main stylesheet
   Palette: #142D4D navy | #363C45 charcoal | #FFD100 yellow
            #8A9099 gray | #FFFFFF white
   ============================================================ */

:root {
  --navy: #142D4D;
  --charcoal: #363C45;
  --yellow: #FFD100;
  --gray: #8A9099;
  --white: #FFFFFF;
  --font: 'Manrope', 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 84px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* No element may widen the page: on a phone that expands the layout viewport
   and lets the whole site zoom out with white gutters. */
.container, .section, .projects-grid, .footer-grid, .about-block,
.stats-row, .adv-list, .split-media, .values, .dir-grid, .pd-meta,
.contact-grid, .stage { min-width: 0; }
.projects-grid > *, .footer-grid > *, .about-block > *, .stats-row > *,
.adv-list > *, .split-media > *, .values > *, .dir-grid > *, .pd-meta > *,
.contact-grid > *, .stage > *, .filters > * { min-width: 0; }

/* ---------- language toggle ---------- */
html[data-lang="ru"] .lang-en { display: none !important; }
html[data-lang="en"] .lang-ru { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

::selection { background: var(--yellow); color: var(--navy); }

h1,h2,h3,h4 { color: var(--navy); font-weight: 700; line-height: 1.08; }

.container { padding-left: var(--pad); padding-right: var(--pad); max-width: 1560px; margin: 0 auto; width: 100%; }

/* ---------- display type ---------- */
.display {
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 800;
}
.display .thin { font-weight: 300; }
.label {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.label--light { color: rgba(255,255,255,.65); }
/* pull oversized display headings toward their label: the huge font's own
   leading already provides the visual air */
.label:has(+ .display) { margin-bottom: .15rem; }
.label + .display { margin-top: -0.24em; }
.num {
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--yellow);
  line-height: 1;
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--yellow); color: var(--navy);
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 1.05rem 2.2rem; border-radius: 2px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(20,45,77,.45); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(6px); }

.link-more {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); position: relative; padding-bottom: .35rem;
}
.link-more::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--yellow); transform-origin: left;
  transition: transform .4s var(--ease);
}
.link-more:hover::after { transform: scaleX(.4); }
.link-more .arr { transition: transform .35s var(--ease); }
.link-more:hover .arr { transform: translateX(6px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(12px); box-shadow: 0 4px 30px -18px rgba(20,45,77,.4); }
.site-header.is-hidden { transform: translateY(-100%); }

.logo img { height: 44px; width: auto; }
.logo .logo-white { display: none; }
.header--overlay:not(.is-scrolled) .logo .logo-white { display: block; }
.header--overlay:not(.is-scrolled) .logo .logo-navy { display: none; }

.nav { display: flex; align-items: center; gap: 2.6rem; }
.nav a, .nav .nav-drop > button {
  font-size: .92rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); position: relative; padding: .4rem 0;
}
.header--overlay:not(.is-scrolled) .nav a,
.header--overlay:not(.is-scrolled) .nav .nav-drop > button,
.header--overlay:not(.is-scrolled) .lang-switch button { color: #fff; }
.nav > ul { display: flex; align-items: center; gap: 2.6rem; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--yellow); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.nav-drop { position: relative; }
.nav-drop > button { display: flex; align-items: center; gap: .45rem; }
.nav-drop > button .chev { transition: transform .3s; font-size: .7em; }
.nav-drop:hover > button .chev { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: -1.4rem;
  background: var(--navy); min-width: 300px; padding: .9rem 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease);
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.drop-menu a { display: block; padding: .7rem 1.5rem; color: #fff !important; font-size: .85rem; }
.drop-menu a::after { display: none; }
.drop-menu a:hover { background: rgba(255,209,0,.12); color: var(--yellow) !important; }

.lang-switch { position: relative; }
.lang-switch button {
  font-size: .85rem; font-weight: 700; letter-spacing: .12em;
  color: var(--navy); display: flex; align-items: center; gap: .35rem;
}
.lang-menu {
  position: absolute; top: calc(100% + 14px); right: 0;
  background: var(--navy); min-width: 90px; padding: .5rem 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch.is-closed .lang-menu { opacity: 0 !important; visibility: hidden !important; }
.lang-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.lang-menu button { display: block; width: 100%; padding: .5rem 1rem; color: #fff; text-align: left; }
.lang-menu button:hover { color: var(--yellow); }

.burger { display: none; width: 34px; height: 22px; position: relative; z-index: 130; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy);
  transition: all .35s var(--ease);
}
.header--overlay:not(.is-scrolled) .burger span { background: #fff; }
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }
/* keep the header (and its burger) above the fullscreen menu overlay */
body.menu-open .site-header {
  z-index: 130; background: transparent; box-shadow: none; backdrop-filter: none;
  transform: none;
}
body.menu-open .logo .logo-navy { display: none; }
body.menu-open .logo .logo-white { display: block; }
body.menu-open .burger span { background: #fff !important; }
body.menu-open .burger span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 120; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; padding: var(--pad);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .7s var(--ease);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu a {
  color: #fff; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: .55rem 0; display: block;
}
.mobile-menu a.sub { font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,.75); padding: .35rem 0 .35rem 1.2rem; text-transform: none; letter-spacing: .02em; }
.mobile-menu a:hover { color: var(--yellow); }
.mobile-menu .m-lang { margin-top: 2rem; display: flex; gap: 1.2rem; }
.mobile-menu .m-lang button { color: rgba(255,255,255,.6); font-size: 1rem; font-weight: 700; letter-spacing: .15em; }
.mobile-menu .m-lang button.on { color: var(--yellow); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--navy);
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img, .hero-media picture {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(15deg, rgba(9,20,38,.82) 0%, rgba(9,20,38,.35) 45%, rgba(9,20,38,.12) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(3rem, 9vh, 6.5rem); color: #fff; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 7.4vw, 6.8rem); text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; }
.hero h1 .l2 { display: block; font-weight: 300; }
.hero .sub { max-width: 620px; margin-top: 1.6rem; font-size: clamp(1rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.85); }
.hero .hero-cta { margin-top: 2.4rem; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.2rem; right: var(--pad); z-index: 3;
  color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  writing-mode: vertical-rl; display: flex; align-items: center; gap: .9rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 54px; background: var(--yellow);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (inner pages) */
.page-hero { height: 86vh; min-height: 520px; }
.page-hero .label { color: var(--yellow); }

/* ---------- scene stack (warp scroll) ---------- */
.scenes { position: relative; }
.scenes-viewport { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--navy); }
.scene { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; z-index: 0; isolation: isolate; }
.scene:not(:first-child) { clip-path: inset(100% 0 0 0); }
.scene-bg { position: absolute; inset: -1px; }
.scene-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.scene-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(80deg, rgba(9,20,38,.86) 0%, rgba(9,20,38,.55) 48%, rgba(9,20,38,.18) 100%);
}
.scene-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.scene-content .num { margin-bottom: 1.2rem; display: block; }
.scene-content h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 4rem); text-transform: uppercase; margin-bottom: 1.4rem; }
.scene-content p { color: rgba(255,255,255,.85); margin-bottom: 2rem; max-width: 560px; }
.scene-content .link-more { color: #fff; }
.scene-progress {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .7rem; z-index: 5;
}
.scene-progress i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.scene-progress i.on { background: var(--yellow); transform: scale(1.35); }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 7vh, 5.5rem) 0; }
/* collapse doubled paddings between stacked blocks */
.section + .section { padding-top: 0; }
.section:has(+ .marquee) { padding-bottom: clamp(1.2rem, 3vh, 2rem); }
.marquee + .section { padding-top: clamp(1.2rem, 3vh, 2rem); }
/* a white section following a navy block needs its own breathing room */
.partners + .section, .section--navy + .section { padding-top: clamp(2.6rem, 5.5vh, 3.6rem); }
.section .container > :last-child { margin-bottom: 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.sec-head { margin-bottom: clamp(1.8rem, 4.5vh, 3.2rem); }
.sec-head .display { display: block; }

/* reveal animation primitives */
.reveal { opacity: 0; transform: translateY(48px); }
.reveal-line { overflow: hidden; display: block; }
.reveal-line > span { display: block; transform: translateY(110%); }

/* ---------- projects grid ---------- */
.filters { display: flex; gap: 1.3rem 2.6rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.filter-group { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.filter-group .fg-label { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin-right: .6rem; }
.pill {
  padding: .5rem 1.15rem; border: 1px solid #d8dbe0; border-radius: 30px;
  font-size: .85rem; font-weight: 600; color: var(--charcoal);
  transition: all .3s var(--ease);
}
.pill:hover { border-color: var(--navy); }
.pill.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.projects-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem);
}
.pcard { display: block; }
.pcard.is-hidden { display: none; }
.pcard-img { overflow: hidden; aspect-ratio: 4 / 3; position: relative; background: #e8eaee; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-img::after {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  opacity: 0; transition: opacity .5s;
}
.pcard:hover .pcard-img::after { opacity: .18; }
.pcard-view {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s var(--ease);
}
.pcard-view span {
  background: var(--yellow); color: var(--navy); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; padding: .8rem 1.5rem; border-radius: 2px;
  transform: translateY(10px); transition: transform .4s var(--ease);
}
.pcard:hover .pcard-view { opacity: 1; }
.pcard:hover .pcard-view span { transform: translateY(0); }
/* fixed-height text block so every card's photo starts on the same line.
   min-width:0 is required: the nowrap tags would otherwise set a min-content
   width on the grid item and stretch the whole page past the viewport. */
.pcard { min-width: 0; }
.pcard-tags { display: flex; flex-direction: column; gap: .15rem; min-height: 2.35em; min-width: 0; }
.pcard-tags i { font-style: normal; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pcard h3 { font-size: 1.35rem; margin: .45rem 0 1rem; min-height: 2.3em; transition: color .3s; }
.pcard:hover h3 { color: #2a4d80; }

/* ---------- about block ---------- */
.about-block { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-copy p { margin-bottom: 1.4rem; color: var(--charcoal); font-size: 1.06rem; }

/* ---------- stats ---------- */
.stats { border-top: 1px solid #e3e5e9; border-bottom: 1px solid #e3e5e9; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(2rem, 4vh, 3rem) 1rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: #e3e5e9; }
.stat b { display: block; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 800; color: var(--navy); line-height: 1; }
.stat b em { font-style: normal; color: var(--yellow); }
.stat span { display: block; margin-top: .7rem; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); font-weight: 600; }

/* ---------- partners ---------- */
.partners { background: var(--navy); color: #fff; overflow: hidden; padding: clamp(2.2rem, 5vh, 3.8rem) 0; }
.partners .p-head { text-align: center; }
.partners .p-head h2 { color: #fff; font-size: 1.05rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; }
.partners .p-line { height: 2px; background: #fff; width: 0; margin: 1rem auto 0; }
.partner-track-wrap { margin-top: 2.2rem; cursor: grab; }
.partner-track-wrap:active { cursor: grabbing; }
.partner-track { display: flex; align-items: center; will-change: transform; }
.partner-cell { flex: 0 0 33.333%; min-width: 260px; display: flex; justify-content: center; align-items: center; padding: 0 2rem; }
.partner-cell img { height: clamp(30px, 4vw, 51px); width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .3s, transform .3s; }
.partner-cell img[alt="Jansen"] { height: clamp(26px, 3.4vw, 43px); }
/* its wordmark is small inside the artwork, so scale the whole logo up */
.partner-cell img[alt="Saint-Gobain"] { height: clamp(39px, 5.2vw, 66px); }
.partner-cell a:hover img { opacity: 1; transform: scale(1.06); }

/* ---------- approach ---------- */
.approach-intro { max-width: 860px; }
.approach-intro p { margin-top: 1.4rem; font-size: 1.06rem; }
.stage {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center; padding: clamp(2rem, 5vh, 3.6rem) 0;
}
.stage:nth-child(even) .stage-img { order: 2; }
.stage-img { overflow: hidden; aspect-ratio: 4 / 3; }
.stage-img img { width: 100%; height: 118%; object-fit: cover; }
.stage-body .num { display: block; margin-bottom: 1rem; }
.stage-body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); text-transform: uppercase; margin-bottom: 1.1rem; }
.stage-body p { margin-bottom: 1rem; }
.stage + .stage { border-top: 1px solid #e3e5e9; }

/* ---------- marquee ---------- */
.marquee { padding: clamp(1.2rem, 3vh, 2rem) 0; overflow: hidden; background: #fff; }
.mq-row { display: flex; width: max-content; align-items: center; }
.mq-row img { height: clamp(44px, 7vw, 96px); width: auto; margin-right: clamp(2rem, 5vw, 4.5rem); }
.mq-row--1 { animation: mq 20s linear infinite; }
.mq-row--2 { animation: mq 12.5s linear infinite; margin-top: clamp(.6rem, 1.5vh, 1.1rem); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- contact prompt ---------- */
.contact-cta { position: relative; min-height: 74vh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.contact-cta .cta-bg { position: absolute; inset: 0; }
.contact-cta .cta-bg img { width: 100%; height: 120%; object-fit: cover; }
.contact-cta .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(75deg, rgba(9,20,38,.88) 10%, rgba(9,20,38,.42) 100%); }
.contact-cta .cta-content { position: relative; z-index: 2; color: #fff; }
.contact-cta h2 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 4.8rem); text-transform: uppercase; margin-bottom: 1.6rem; }
.contact-cta p { color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 2.4rem; font-size: 1.1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: clamp(2.6rem, 6vh, 4rem) 0 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.site-footer .logo img { height: 52px; }
.footer-tag { margin-top: 1.4rem; color: rgba(255,255,255,.6); max-width: 320px; font-size: .95rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 1.4rem; }
.footer-col h4::after { content: ""; display: block; width: 2.2rem; height: 2px; background: var(--yellow); margin-top: .7rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.78); padding: .32rem 0; font-size: .97rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: rgba(255,255,255,.5); font-size: .85rem;
}

/* ---------- inner content pages ---------- */
.prose { max-width: 880px; }
.prose p { margin-bottom: 1.4rem; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); text-transform: uppercase; margin: 2.6rem 0 1.2rem; }
.adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; margin: 2.5rem 0; }
.adv { border-top: 2px solid var(--yellow); padding-top: 1.1rem; }
.adv h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.adv p { font-size: .97rem; color: var(--charcoal); }

.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin: clamp(2.5rem, 6vh, 4.5rem) 0; }
.split-media figure { overflow: hidden; }
.split-media img { width: 100%; height: 110%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- project detail ---------- */
.pd-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2.5rem; padding: clamp(2rem, 5vh, 3.5rem) 0;
  border-top: 1px solid #e3e5e9; border-bottom: 1px solid #e3e5e9;
}
.pd-meta div b { display: block; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); margin-bottom: .5rem; font-weight: 700; }
.pd-meta div span { font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.project-head {
  background: var(--navy);
  padding: calc(var(--header-h) + clamp(2.2rem, 6vh, 4rem)) 0 clamp(2.2rem, 6vh, 3.5rem);
}
.project-head .label { color: var(--yellow); }
.project-head h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.8rem); text-transform: uppercase; max-width: 1150px; }
.project-head .rule { width: 74px; height: 3px; background: var(--yellow); margin-top: 1.7rem; }

/* project image carousel: fixed standard height, auto-advance, lightbox on click */
.pj-carousel { overflow: hidden; margin-top: clamp(2.2rem, 5.5vh, 3.4rem); touch-action: pan-y; cursor: grab; }
.pj-carousel:active { cursor: grabbing; }
.pj-track { display: flex; will-change: transform; }
.pj-cell { flex: 0 0 auto; margin-right: clamp(.8rem, 1.4vw, 1.2rem); }
.pj-cell img {
  height: clamp(220px, 36vh, 380px); width: auto; display: block;
  cursor: zoom-in; transition: opacity .3s;
}
.pj-cell img:hover { opacity: .88; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,16,29,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 90px -20px rgba(0,0,0,.7); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.4rem; color: #fff; font-size: 2.4rem;
  line-height: 1; opacity: .75; transition: opacity .3s; z-index: 2;
}
.lightbox-close:hover { opacity: 1; }

.pd-nav { display: flex; justify-content: space-between; gap: 1.5rem; padding: clamp(2.5rem, 6vh, 4rem) 0 0; flex-wrap: wrap; }
.pd-nav a { max-width: 46%; }
.pd-nav .dir { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); font-weight: 700; display: block; margin-bottom: .4rem; }
.pd-nav h4 { font-size: 1.25rem; transition: color .3s; }
.pd-nav a:hover h4 { color: #2a4d80; }

/* ---------- about page ---------- */
.mission { position: relative; padding-top: clamp(2rem, 4.5vh, 3rem) !important; }
.mission > .container > .label { margin-bottom: clamp(2rem, 4.5vh, 3rem); }
.mission .director {
  width: min(320px, 60vw); margin: 0 auto 2.2rem; border-radius: 2px; overflow: hidden;
}
.mission blockquote {
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 600; color: #fff; line-height: 1.35;
  padding: 0 clamp(1rem, 6vw, 4rem);
}
.mission blockquote::before, .mission blockquote::after {
  font-size: clamp(4.5rem, 10vw, 8.5rem); font-weight: 800; color: var(--yellow);
  line-height: 0; position: absolute; font-family: Georgia, serif;
}
.mission blockquote::before { content: "\201C"; top: .2em; left: 0; }
.mission blockquote::after { content: "\201D"; bottom: -.35em; right: 0; }
.mission .sig { text-align: center; margin-top: 2.6rem; color: rgba(255,255,255,.75); }
.mission .sig b { display: block; color: #fff; font-size: 1.1rem; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 3rem; }
.value { border-top: 2px solid var(--yellow); padding-top: 1.2rem; }
.value h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.value p { font-size: .95rem; }

.dir-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin: 2.6rem 0; }
.dir-item { background: #f4f5f7; padding: 1.8rem 1.6rem; border-left: 3px solid var(--yellow); }
.dir-item h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.dir-item p { font-size: .95rem; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.c-item { padding: 1.6rem 0; border-bottom: 1px solid #e3e5e9; }
.c-item b { display: block; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gray); margin-bottom: .55rem; font-weight: 700; }
.c-item a, .c-item span { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; color: var(--navy); }
.c-item a:hover { color: #2a4d80; }
.map-wrap { aspect-ratio: 4/3; overflow: hidden; background: #e8eaee; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.map-wrap:hover iframe { filter: grayscale(0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .about-block, .contact-grid { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr; gap: 1.6rem; }
  .stage:nth-child(even) .stage-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  /* tighter tracking so the location/type/area tags fit without truncating */
  .pcard-tags i { font-size: .7rem; letter-spacing: .08em; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 1.8rem .5rem; }
  .adv-list, .split-media { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .partner-cell { flex-basis: 50%; min-width: 0; }
  .pd-nav a { max-width: 100%; }
  .hero-scroll { display: none; }
}

@media (max-width: 400px) {
  .pcard-tags i { font-size: .66rem; letter-spacing: .04em; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line > span { opacity: 1 !important; transform: none !important; }
  .mq-row--1, .mq-row--2 { animation-duration: 60s; }
}
