@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2-variations"), url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
/* =========================================================
   MN Construction — main stylesheet
   One family (Archivo) used across its width axis:
   expanded for display, normal width for reading.
   ========================================================= */

:root {
  --asphalt: #1d1e20;
  --asphalt-2: #26282b;
  --concrete: #e6e5e1;
  --concrete-2: #d8d7d2;
  --white: #fafaf8;
  --yellow: #f5b50a;
  --yellow-2: #e0a300;
  --laterite: #a4512f;
  --steel: #6b6c70;
  --steel-light: #a3a4a7;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 1440px;
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--asphalt);
  background: var(--concrete);
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--yellow); color: var(--asphalt); }

.skip { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--yellow); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.display, h1, h2 {
  font-family: var(--font);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .94;
  margin: 0;
}
h2 { font-size: clamp(2.1rem, 5.6vw, 5.4rem); }
h3 {
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0;
}
p { margin: 0 0 1em; }
.lead {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  max-width: 34em;
}
.muted { color: var(--steel); }
.on-dark .muted, .dark .muted { color: var(--steel-light); }

/* word reveal wrappers (added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--yellow); --fg: var(--asphalt);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px;
  padding: 0 1.6rem;
  background: var(--bg); color: var(--fg);
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  font-size: 1rem;
  letter-spacing: .005em;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--asphalt);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--white); }
.btn--dark { --bg: var(--asphalt); --fg: var(--white); }
.btn--dark::before { background: var(--yellow); }
.btn--dark:hover { color: var(--asphalt); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--asphalt); }
.btn--ghost-dark { --bg: transparent; --fg: var(--asphalt); box-shadow: inset 0 0 0 1.5px var(--asphalt); }
.btn svg { width: 20px; height: 20px; flex: none; }

.link-line {
  font-weight: 600; font-variation-settings: "wdth" 110;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s var(--ease);
}
.link-line:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 44px; width: auto; }
.brand__mark--dark { display: none; }
.brand__name { font-weight: 800; font-variation-settings: "wdth" 125; font-size: .95rem; letter-spacing: .02em; line-height: 1; }
.brand__name small { display: block; font-weight: 500; font-variation-settings: "wdth" 100; letter-spacing: 0; font-size: .74rem; opacity: .7; margin-top: 4px; text-transform: none; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) { font-weight: 600; font-variation-settings: "wdth" 108; font-size: .96rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 46px; padding: 0 1.25rem; }

.header.is-solid { background: var(--white); color: var(--asphalt); box-shadow: 0 1px 0 rgba(29, 30, 32, .08); }
.header.is-solid .brand__mark--light { display: none; }
.header.is-solid .brand__mark--dark { display: block; }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 48px; height: 48px; position: relative; z-index: 60; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--asphalt); color: var(--white);
  padding: calc(var(--header-h) + 2rem) var(--pad) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu nav a {
  font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(2.2rem, 11vw, 3.6rem); line-height: 1.05;
  transform: translateY(30px); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s;
}
.mobile-menu nav a:hover { color: var(--yellow); }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .18s; }
.mobile-menu__foot { display: grid; gap: 1rem; }
.mobile-menu__foot p { margin: 0; color: var(--steel-light); }
.mobile-menu__foot a { font-weight: 600; }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; }
.menu-open .header .brand__mark--light { display: block; }
.menu-open .header .brand__mark--dark { display: none; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--asphalt);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 44%;
  overflow: hidden;
}
.hero__media { grid-column: 2; position: relative; overflow: hidden; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transform-origin: 50% 30%;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29, 30, 32, .75) 0%, rgba(29, 30, 32, .1) 38%, rgba(29, 30, 32, 0) 60%),
              linear-gradient(0deg, rgba(29, 30, 32, .55) 0%, rgba(29, 30, 32, 0) 30%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--pad) clamp(2rem, 5vw, 4rem);
  max-width: var(--max); margin: 0 auto; width: 100%;
  z-index: 2;
  pointer-events: none;
}
.hero__content > * { pointer-events: auto; }
.hero__title {
  font-size: clamp(2.3rem, min(7.2vw, 12.4vh), 8.6rem);
  line-height: .9;
  letter-spacing: -.025em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .ln > span { display: block; }
.hero__title .ln--y { color: var(--yellow); }
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 30rem) auto; align-items: end; justify-content: space-between; gap: 2rem;
}
.hero__foot p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; color: rgba(250, 250, 248, .82); margin: 0 0 1.5rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__aside { text-align: right; font-size: .95rem; color: rgba(250, 250, 248, .75); line-height: 1.7; }
.hero__aside a { color: var(--white); font-weight: 600; }
.hero__aside a:hover { color: var(--yellow); }

.curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--yellow);
  display: grid; place-items: center;
  pointer-events: none;
}
.curtain img { width: min(220px, 50vw); }
html:not(.has-motion) .curtain { display: none; }

/* =========================================================
   TAPE (marquee)
   ========================================================= */
.tape {
  background: var(--yellow); color: var(--asphalt);
  overflow: hidden;
  padding: 1.15rem 0;
  border-block: 3px solid var(--asphalt);
  position: relative; z-index: 3;
}
.tape__track { display: flex; width: max-content; will-change: transform; }
.tape__group { display: flex; align-items: center; flex: none; }
.tape__item {
  font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.6vw, 2.3rem); letter-spacing: -.01em; white-space: nowrap;
  padding-inline: clamp(1rem, 2vw, 2rem);
}
.tape__sep { width: .55em; height: .55em; background: var(--asphalt); transform: rotate(45deg); flex: none; font-size: clamp(1.3rem, 2.6vw, 2.3rem); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.dark { background: var(--asphalt); color: var(--white); }
.light { background: var(--white); }
.concrete { background: var(--concrete); }

.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.sec-head p { margin: 0; max-width: 30em; }

/* ---------- intro statement ---------- */
.intro__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement {
  font-weight: 650; font-variation-settings: "wdth" 108;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  line-height: 1.16; letter-spacing: -.018em;
  margin: 0 0 2.5rem;
}
.statement .sw { transition: none; }
.intro__text { max-width: 30em; }
.intro__text h3 { margin-bottom: .75rem; }
.intro__media { position: relative; height: clamp(480px, 46vw, 680px); }
.intro__media figure { position: absolute; margin: 0; overflow: hidden; }
.intro__media figure img { width: 100%; height: 118%; object-fit: cover; }
.intro__media .f1 { top: 0; right: 0; width: 72%; height: 66%; }
.intro__media .f2 { bottom: 0; left: 0; width: 56%; height: 52%; border: 10px solid var(--concrete); }
.intro__media figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--asphalt); color: var(--white);
  font-size: .82rem; font-weight: 600; padding: .5rem .8rem; font-variation-settings: "wdth" 108;
}

/* ---------- stages ---------- */
.stages__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.stage { margin: 0; }
.stage__img { aspect-ratio: 3 / 4; overflow: hidden; position: relative; background: var(--asphalt-2); }
.stage__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stage:hover .stage__img img { transform: scale(1.05); }
.stage:nth-child(even) { margin-top: clamp(2rem, 6vw, 5rem); }
.stage figcaption { padding-top: 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; }
.stage__n { font-weight: 800; font-variation-settings: "wdth" 125; color: var(--yellow); font-size: 1.1rem; grid-row: span 2; line-height: 1.3; }
.stage figcaption strong { font-weight: 700; font-variation-settings: "wdth" 112; font-size: 1.15rem; }
.stage figcaption span:last-child { color: var(--steel-light); font-size: .95rem; line-height: 1.45; }

/* ---------- services ---------- */
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--asphalt); }
.service a {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 48px; gap: 1.5rem 3rem; align-items: center;
  padding: clamp(1.4rem, 2.6vw, 2.3rem) 0;
  border-bottom: 1px solid rgba(29, 30, 32, .18);
  position: relative;
}
.service a::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--asphalt); z-index: 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.service a > * { position: relative; z-index: 1; transition: color .4s var(--ease), transform .55s var(--ease); }
.service h3 { font-size: clamp(1.4rem, 2.8vw, 2.6rem); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -.015em; line-height: 1; }
.service p { margin: 0; color: var(--steel); max-width: 28em; }
.service__go {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.service__go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .service a:hover::before { transform: scaleY(1); }
  .service a:hover h3 { color: var(--yellow); transform: translateX(.6rem); }
  .service a:hover p { color: var(--steel-light); }
  .service a:hover .service__go { color: var(--yellow); }
  .service a:hover .service__go svg { transform: rotate(-45deg); }
}
.hover-img {
  position: fixed; left: 0; top: 0; z-index: 40; width: 300px; height: 380px; pointer-events: none;
  overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s, transform .45s var(--ease);
}
.hover-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- featured projects (horizontal) ---------- */
.work { overflow: hidden; }
.work__pin { position: relative; }
.work__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--pad); will-change: transform; }
.pcard { flex: none; width: clamp(300px, 38vw, 600px); display: block; }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--asphalt-2); position: relative; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__body { padding-top: 1.25rem; display: grid; gap: .45rem; }
.pcard__cat { font-size: .92rem; color: var(--yellow); font-weight: 600; font-variation-settings: "wdth" 108; }
.light .pcard__cat, .concrete .pcard__cat { color: var(--laterite); }
.pcard__title { font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 800; font-variation-settings: "wdth" 120; text-transform: uppercase; line-height: 1; letter-spacing: -.012em; }
.pcard__meta { font-size: .95rem; color: var(--steel-light); }
.light .pcard__meta, .concrete .pcard__meta { color: var(--steel); }
.pcard__status {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--white); color: var(--asphalt); font-size: .82rem; font-weight: 700; padding: .35rem .65rem; border-radius: 2px;
  font-variation-settings: "wdth" 108;
}
.pcard__status.is-ongoing { background: var(--yellow); }
.pcard--end {
  width: clamp(280px, 30vw, 460px);
  display: flex; flex-direction: column; justify-content: center; gap: 1.5rem;
  border-left: 1.5px solid rgba(250, 250, 248, .2); padding-left: clamp(1.5rem, 3vw, 3rem);
}
.pcard--end h3 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; line-height: 1; }

/* placeholder when a project has no photos */
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 1.5rem; background: var(--asphalt-2); color: var(--white); overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(245, 181, 10, .07) 22px 44px);
}
.ph__big {
  position: relative; font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(4.5rem, 9vw, 8rem); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--yellow);
  letter-spacing: -.03em; margin-top: auto;
}
.ph__note { position: relative; font-size: .9rem; color: var(--steel-light); margin-top: 1rem; }

/* ---------- process ---------- */
.process__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.process__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
.process__sticky h2 { margin-bottom: 1.75rem; font-size: clamp(2.1rem, 4.4vw, 4.4rem); }
.process__sticky .quote-line {
  margin-top: 2.5rem; padding-left: 1.25rem; border-left: 4px solid var(--yellow);
  font-weight: 600; font-variation-settings: "wdth" 106; font-size: 1.1rem; line-height: 1.5; max-width: 26em;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem;
  padding: 2.2rem 0; border-top: 1px solid rgba(29, 30, 32, .18);
}
.step:last-child { border-bottom: 1px solid rgba(29, 30, 32, .18); }
.step__n {
  font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 1.5px var(--asphalt); transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.step.is-active .step__n { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--steel); max-width: 30em; }

/* ---------- commitment ---------- */
.commit { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--asphalt); }
.commit__bg { position: absolute; inset: -12% 0; }
.commit__bg img { width: 100%; height: 100%; object-fit: cover; }
.commit__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 30, 32, .9) 0%, rgba(29, 30, 32, .62) 55%, rgba(29, 30, 32, .35) 100%); }
.commit .wrap { position: relative; z-index: 2; padding-block: clamp(5rem, 10vw, 9rem); }
.commit blockquote { margin: 0; max-width: min(100%, 1000px); }
.commit blockquote p {
  font-weight: 800; font-variation-settings: "wdth" 118; text-transform: uppercase;
  font-size: clamp(2rem, 4.8vw, 4.6rem); line-height: .98; letter-spacing: -.02em; margin: 0;
}
.commit blockquote p + p { color: var(--yellow); margin-top: .35em; }
.commit__text { max-width: 32em; margin-top: 2.5rem; color: rgba(250, 250, 248, .82); font-size: 1.1rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--yellow); color: var(--asphalt); padding-block: clamp(5rem, 10vw, 9rem); position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2.6rem, 8.6vw, 9rem); line-height: .88; letter-spacing: -.03em; }
.cta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.cta__side p { font-size: 1.15rem; max-width: 26em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta__phones { margin-top: 2rem; display: flex; gap: 2rem; flex-wrap: wrap; font-weight: 700; font-variation-settings: "wdth" 112; font-size: 1.15rem; }
.cta__phones a { border-bottom: 2px solid var(--asphalt); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--asphalt); color: var(--white); padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__logo { width: 200px; }
.footer__tag { margin-top: 0; font-size: 1.15rem; font-weight: 600; font-variation-settings: "wdth" 110; color: var(--white) !important; color: var(--steel-light); max-width: 20em; }
.footer h4 { margin: 0 0 1rem; font-size: .95rem; font-weight: 700; font-variation-settings: "wdth" 112; color: var(--steel-light); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a:hover { color: var(--yellow); }
.footer__word {
  font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; line-height: .8;
  font-size: 7vw; letter-spacing: -.04em; white-space: nowrap; width: max-content;
  color: transparent; -webkit-text-stroke: 1.5px rgba(250, 250, 248, .22);
  margin: 0 0 2rem; user-select: none;
}
.footer__word span { color: var(--yellow); -webkit-text-stroke: 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; color: var(--steel-light); border-top: 1px solid rgba(250, 250, 248, .12); padding-top: 1.5rem; }

/* sticky mobile CTA */
.mcta {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 45;
  display: none; gap: .5rem;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.mcta.on { transform: none; }
.mcta .btn { flex: 1; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.mcta .btn--wa { flex: 0 0 54px; padding: 0; --bg: var(--asphalt); --fg: var(--white); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.page-head { background: var(--asphalt); color: var(--white); padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 7rem)) 0 clamp(3rem, 6vw, 5rem); }
.page-head h1 { font-size: clamp(2.6rem, 8vw, 8rem); line-height: .9; letter-spacing: -.025em; }
.page-head__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; align-items: end; }
.page-head p { color: rgba(250, 250, 248, .78); margin: 0; max-width: 30em; font-size: 1.1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding-block: 1.75rem; border-bottom: 1px solid rgba(29, 30, 32, .15); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.filters button {
  font-weight: 600; font-variation-settings: "wdth" 108; font-size: .98rem; padding: .4rem 0; color: var(--steel);
  position: relative; transition: color .3s;
}
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--asphalt); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.filters button:hover { color: var(--asphalt); }
.filters button[aria-pressed="true"] { color: var(--asphalt); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.pgrid .pcard { width: auto; }
.pgrid .pcard:nth-child(4n+2), .pgrid .pcard:nth-child(4n+3) .pcard__img { }
.pgrid .pcard:nth-child(even) { margin-top: clamp(0rem, 8vw, 7rem); }
.pgrid .pcard__img { aspect-ratio: 5 / 4; }
.pgrid .pcard:nth-child(4n+2) .pcard__img, .pgrid .pcard:nth-child(4n+3) .pcard__img { aspect-ratio: 4 / 5; }
.empty { padding: 4rem 0; text-align: left; max-width: 34em; }
.empty h3 { margin-bottom: .75rem; }

/* project detail */
.phero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--white); background: var(--asphalt); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 115%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(29, 30, 32, .92) 0%, rgba(29, 30, 32, .35) 55%, rgba(29, 30, 32, .5) 100%); }
.phero .wrap { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 3rem) clamp(2.5rem, 5vw, 4rem); }
.phero h1 { font-size: clamp(2.3rem, 7vw, 7rem); line-height: .9; letter-spacing: -.025em; max-width: 14em; }
.phero__cat { display: inline-block; color: var(--yellow); font-weight: 700; font-variation-settings: "wdth" 110; margin-bottom: 1.25rem; font-size: 1.05rem; }
.phero--plain { min-height: 70svh; }
.phero--plain .phero__bg { display: none; }
.phero--plain::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 28px, rgba(245, 181, 10, .06) 28px 56px); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1.5px solid var(--asphalt); }
.facts div { padding: 1.5rem 1.5rem 1.5rem 0; }
.facts div + div { padding-left: 1.5rem; border-left: 1px solid rgba(29, 30, 32, .18); }
.facts dt { font-size: .9rem; color: var(--steel); margin-bottom: .3rem; }
.facts dd { margin: 0; font-weight: 700; font-variation-settings: "wdth" 112; font-size: 1.15rem; }
.pbody { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem); }
.pbody .lead { margin: 0; }
.scope h3 { margin-bottom: 1rem; }
.scope ul { list-style: none; margin: 0; padding: 0; }
.scope li { padding: .85rem 0 .85rem 1.9rem; border-bottom: 1px solid rgba(29, 30, 32, .15); position: relative; font-weight: 500; }
.scope li::before { content: ""; position: absolute; left: 0; top: 1.2rem; width: .65rem; height: .65rem; background: var(--yellow); transform: rotate(45deg); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.gallery button { overflow: hidden; background: var(--concrete-2); position: relative; grid-column: span 2; aspect-ratio: 4 / 5; }
.gallery button:nth-child(7n+1) { grid-column: span 4; aspect-ratio: 1.63; }
.gallery button:nth-child(7n+6), .gallery button:nth-child(7n+7) { grid-column: span 3; aspect-ratio: 4 / 3; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.next-proj { display: block; background: var(--asphalt); color: var(--white); padding-block: clamp(3.5rem, 7vw, 6rem); }
.next-proj small { display: block; color: var(--steel-light); font-size: 1rem; margin-bottom: .75rem; }
.next-proj strong { display: block; font-weight: 800; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(1.8rem, 5vw, 4.6rem); line-height: .95; letter-spacing: -.02em; transition: color .4s; }
.next-proj:hover strong { color: var(--yellow); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(15, 16, 17, .96); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lb__btn { position: absolute; width: 56px; height: 56px; color: var(--white); display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(250, 250, 248, .4); }
.lb__btn:hover { background: var(--yellow); color: var(--asphalt); box-shadow: none; }
.lb__btn svg { width: 22px; height: 22px; }
.lb__close { top: 1.25rem; right: 1.25rem; }
.lb__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: var(--steel-light); font-size: .95rem; }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.cinfo { display: grid; gap: 2rem; }
.cinfo__block h3 { font-size: 1rem; color: var(--steel); font-weight: 600; font-variation-settings: "wdth" 100; margin-bottom: .4rem; }
.cinfo__block a, .cinfo__block p { font-weight: 700; font-variation-settings: "wdth" 115; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; margin: 0; display: block; }
.cinfo__block a:hover { color: var(--laterite); }
.cinfo__map { aspect-ratio: 4 / 3; border: 0; width: 100%; filter: grayscale(1) contrast(1.05); background: var(--concrete-2); }

.form {
  background: var(--white); padding: clamp(1.5rem, 4vw, 3.25rem);
  border-top: 6px solid var(--yellow);
  box-shadow: 0 30px 60px -30px rgba(29, 30, 32, .25);
}
.form h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-bottom: .75rem; }
.form > p { color: var(--steel); margin-bottom: 2rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; font-variation-settings: "wdth" 106; }
.field label span { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--asphalt);
  background: var(--concrete); border: 1.5px solid transparent; border-radius: 3px;
  padding: .95rem 1rem; min-height: 54px; transition: border-color .25s, background .25s;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231d1e20' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--asphalt); background: var(--white); }
.field.has-error input, .field.has-error select { border-color: var(--laterite); }
.field__err { color: var(--laterite); font-size: .88rem; font-weight: 600; min-height: 0; }
.form__foot { margin-top: 1.75rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form__foot small { color: var(--steel); }
.form__msg { margin-top: 1rem; font-weight: 600; color: var(--laterite); }
.form-done { display: none; }
.form.is-done .form-body { display: none; }
.form.is-done .form-done { display: block; }
.form-done h2 { margin-bottom: 1rem; }
.form-done p { color: var(--steel); }
.btn.is-loading { pointer-events: none; opacity: .75; }

/* reveal media (JS sets initial state) */
.rv-img { overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .service a { grid-template-columns: 1fr 48px; }
  .service p { grid-column: 1; grid-row: 2; }
  .service__go { grid-row: 1 / span 2; grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  .brand img { height: 38px; }

  .hero { grid-template-columns: 1fr; grid-template-rows: 64svh auto; min-height: auto; }
  .hero__media { grid-column: 1; grid-row: 1; }
  .hero__media::after { background: linear-gradient(0deg, rgba(29, 30, 32, 1) 0%, rgba(29, 30, 32, .3) 45%, rgba(29, 30, 32, .45) 100%); }
  .hero__content { position: relative; grid-column: 1; grid-row: 1 / span 2; padding-top: 42svh; padding-bottom: 2.5rem; }
  .hero__title { font-size: clamp(1.9rem, 9.6vw, 4.6rem); }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__aside { text-align: left; }

  .sec-head, .intro__grid, .process__grid, .cta__grid, .page-head__row, .pbody, .contact__grid { grid-template-columns: 1fr; }
  .intro__media { height: 120vw; max-height: 640px; }
  .stages__row { grid-template-columns: 1fr 1fr; }
  .process__sticky { position: static; }
  .step { grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.75rem 0; }

  .work__track { flex-direction: column; gap: 3rem; }
  .pcard, .pcard--end { width: 100%; }
  .pcard--end { border-left: 0; padding-left: 0; border-top: 1.5px solid rgba(250, 250, 248, .2); padding-top: 2rem; }

  .pgrid { grid-template-columns: 1fr; }
  .pgrid .pcard:nth-child(even) { margin-top: 0; }
  .pgrid .pcard .pcard__img, .pgrid .pcard:nth-child(4n+2) .pcard__img, .pgrid .pcard:nth-child(4n+3) .pcard__img { aspect-ratio: 4 / 3; }

  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(29, 30, 32, .18); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button, .gallery button:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .gallery button:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 4 / 3; }

  .contact__grid .form { order: -1; }
  .mcta { display: flex; }
  .footer { padding-bottom: 6rem; }
  .hover-img { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .fgrid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .stages__row { gap: .75rem; }
  .stage:nth-child(even) { margin-top: 2rem; }
  .stage figcaption { grid-template-columns: 1fr; }
  .stage__n { grid-row: auto; }
  .hero__actions .btn { flex: 1; }
  .cta__actions .btn { flex: 1 1 100%; }
  .lb__prev, .lb__next { top: auto; bottom: 1rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- work section: desktop pinned layout ---------- */
@media (min-width: 901px) {
  .work { padding-block: 0; }
  .work__pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) * .6); gap: clamp(1.5rem, 3vh, 2.5rem); }
  .work__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
  .work__head .link-line { white-space: nowrap; }
  .work__head h2 { font-size: clamp(2rem, 4.4vw, 4.4rem); }
  .work .pcard { width: clamp(280px, calc((100svh - 400px) * .82), 560px); }
  .work .pcard__img { aspect-ratio: auto; height: clamp(320px, calc(100svh - 400px), 680px); }
  .work .pcard--end { height: clamp(320px, calc(100svh - 400px), 680px); align-self: flex-start; }
}
@media (max-width: 900px) {
  .work__head { margin-bottom: 3rem; display: grid; gap: 1.25rem; }
  .work__pin { padding-block: 0; }
}
.sw { display: inline; }
.curtain { animation: curtainSafety .3s 4s forwards; }
@keyframes curtainSafety { to { opacity: 0; visibility: hidden; } }
