:root {
  --red: #df2525;
  --red-dark: #b81717;
  --ink: #151515;
  --charcoal: #202020;
  --muted: #6d6a66;
  --paper: #f5f3ef;
  --white: #fff;
  --line: #d8d4cd;
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(245, 243, 239, .94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1400px, calc(100% - 64px));
  height: 104px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  width: 245px;
  height: 68px;
  display: flex;
  align-items: center;
}
.brand img {
  width: 100%;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav a {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .03em;
  position: relative;
}
.main-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s;
}
.main-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact {
  padding: 14px 19px;
  color: var(--white);
  background: var(--red);
}
.nav-contact span { margin-left: 16px; }
.menu-toggle { display: none; border: 0; background: none; }

.hero {
  min-height: 820px;
  padding: 154px 32px 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "M";
  position: absolute;
  top: 30px;
  left: -90px;
  color: rgba(0, 0, 0, .025);
  font: 800 680px/1 var(--display);
}
.hero-grid {
  width: min(1320px, 100%);
  min-height: 590px;
  margin: auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  position: relative;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  width: 32px;
  height: 2px;
  margin: 0 10px 3px 0;
  background: var(--red);
}
h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}
h1 { font-size: clamp(3.6rem, 6.5vw, 6.65rem); }
h2 { font-size: clamp(3rem, 5vw, 5.4rem); }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-lead {
  max-width: 535px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 18px 22px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.text-link span { margin-left: 20px; }

.hero-visual { position: relative; min-height: 565px; }
.blueprint-card {
  height: 565px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 34px 34px 0 #dedbd4;
}
.plan-grid {
  position: absolute; inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 44px 44px;
}
.blueprint-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(48%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  transform: translate(-50%, -50%);
}
.blueprint-logo img {
  width: 72%;
  height: auto;
  object-fit: contain;
}
.plan-note { position: absolute; color: rgba(255,255,255,.55); font: 500 .66rem var(--display); letter-spacing: .12em; text-transform: uppercase; }
.note-one { top: 26px; right: 28px; }
.note-two { bottom: 25px; left: 27px; }
.plan-line { position: absolute; border: 1px solid rgba(255,255,255,.35); }
.line-one { width: 105px; height: 105px; top: 54px; left: 28px; border-right: 0; border-bottom: 0; }
.line-two { width: 140px; height: 60px; right: 28px; bottom: 26px; border-left: 0; border-top: 0; }
.visual-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 14px;
  color: var(--white);
  text-align: right;
}
.visual-caption span { color: var(--red); font-weight: 800; }
.visual-caption p { margin: 0; font-size: .8rem; line-height: 1.45; text-transform: uppercase; letter-spacing: .08em; }
.hero-seal {
  position: absolute;
  left: -50px;
  bottom: -26px;
  width: 134px;
  height: 134px;
  display: grid;
  place-items: center;
  border: 8px solid var(--paper);
  border-radius: 50%;
  overflow: hidden;
  background: var(--red);
}
.hero-seal img {
  width: 76%;
  height: auto;
  object-fit: contain;
}
.scroll-cue {
  width: min(1320px, 100%);
  margin: 12px auto 0;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.scroll-cue span { display: inline-block; width: 1px; height: 36px; margin: 0 12px -14px 5px; background: var(--red); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border: 0; }
.stat strong { color: var(--red); font: 800 2.5rem var(--display); letter-spacing: -.05em; }
.stat span { color: var(--muted); font-size: .78rem; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 120px 32px; }
.expertise { width: min(1384px, 100%); margin: auto; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 65px;
}
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading > p:last-child {
  max-width: 500px;
  justify-self: end;
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.75;
}
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  min-height: 430px;
  padding: 48px;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.08); z-index: 2; }
.service-card.featured { color: var(--white); background: var(--red); border-color: var(--red); }
.service-number { color: var(--muted); font-size: .72rem; letter-spacing: .12em; }
.featured .service-number { color: rgba(255,255,255,.65); }
.service-icon { width: 74px; height: 74px; margin: 70px 0 44px; }
.service-icon svg { width: 100%; fill: none; stroke: var(--red); stroke-width: 1.5; }
.featured .service-icon svg { stroke: var(--white); }
.service-card h3 { margin: 0 0 24px; font: 700 1.65rem/1.18 var(--display); letter-spacing: -.035em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.featured p { color: rgba(255,255,255,.8); }

.approach {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 820px;
  color: var(--white);
  background: var(--charcoal);
}
.approach-visual {
  min-height: 820px;
  position: relative;
  overflow: hidden;
  background: #ccc5ba;
}
.material { position: absolute; }
.material-a {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 45%, rgba(0,0,0,.08) 45.2%, transparent 45.6%),
    linear-gradient(72deg, transparent 62%, rgba(255,255,255,.25) 62.3%, transparent 62.7%),
    repeating-linear-gradient(90deg, #c9c0b4 0, #d7d0c7 3px, #c4bbb0 6px, #d4ccc2 14px);
}
.material-b {
  right: -18%; bottom: -16%; width: 80%; height: 80%;
  background: #9e9890; transform: rotate(22deg);
  box-shadow: -35px -35px 70px rgba(0,0,0,.2);
}
.material-mark {
  position: absolute;
  top: 15%;
  left: 12%;
  color: rgba(255,255,255,.28);
  font: 800 25rem/1 var(--display);
  letter-spacing: -.18em;
}
.approach-visual > p {
  position: absolute;
  bottom: 42px;
  left: 50px;
  margin: 0;
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.approach-copy { padding: 105px clamp(48px, 7vw, 110px); }
.eyebrow.light { color: rgba(255,255,255,.55); }
.approach-copy h2 em { color: var(--red); }
.approach-intro { margin: 34px 0 45px; color: rgba(255,255,255,.64); line-height: 1.75; }
.process { margin: 0; padding: 0; list-style: none; }
.process li { display: grid; grid-template-columns: 52px 1fr; gap: 15px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.14); }
.process li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.process li > span { color: var(--red); font-weight: 700; font-size: .76rem; padding-top: 5px; }
.process h3 { margin: 0 0 7px; font: 700 1.12rem var(--display); }
.process p { margin: 0; color: rgba(255,255,255,.55); line-height: 1.5; font-size: .92rem; }

.projects { width: min(1384px, 100%); margin: auto; }
.project-header { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 60px; }
.project-header > p { justify-self: end; max-width: 420px; margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.project { overflow: hidden; }
.project-art { position: relative; overflow: hidden; height: 390px; background: #bbb; }
.project-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 24px; border-bottom: 1px solid var(--line); }
.project-meta span { color: var(--red); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.project-meta strong { font: 700 1rem var(--display); }
.facade-art {
  background: linear-gradient(145deg, #e3ded6 0 42%, #a69e94 42.2% 100%);
}
.facade-art::before {
  content: ""; position: absolute; left: 16%; bottom: 0; width: 72%; height: 73%;
  background: #d1cbc1; box-shadow: -30px -25px 0 #ece8e2;
}
.facade-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0 48%, rgba(0,0,0,.08) 48% 49%, transparent 49%),
    linear-gradient(transparent 80%, rgba(59,72,45,.35));
}
.facade-window, .facade-door { position: absolute; z-index: 2; background: #343b3c; border: 5px solid #eeeae4; }
.facade-window { width: 23%; height: 19%; }
.w1 { left: 22%; top: 39%; }.w2 { right: 18%; top: 39%; }.w3 { left: 22%; top: 64%; }.w4 { right: 18%; top: 64%; }
.facade-door { left: 46%; bottom: 0; width: 14%; height: 30%; }
.interior-art { background: linear-gradient(112deg, #d7d0c6 0 55%, #6c6862 55.3%); }
.interior-art::before { content: ""; position: absolute; left: 9%; bottom: 0; width: 68%; height: 60%; background: #eeeae3; }
.counter { position: absolute; z-index: 2; left: 22%; bottom: 12%; width: 62%; height: 22%; background: #353535; transform: skewX(-22deg); }
.light { position: absolute; z-index: 2; top: 20%; width: 5px; height: 34%; background: #222; }
.light::after { content: ""; position: absolute; left: -11px; bottom: -9px; width: 27px; height: 15px; border-radius: 50%; background: #d8a443; box-shadow: 0 10px 35px #f4ce75; }
.l1 { left: 30%; }.l2 { left: 50%; }.l3 { left: 70%; }
.detail-art { background: #262728; }
.detail-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, transparent 0 40%, rgba(255,255,255,.12) 40.2% 40.7%, transparent 41%); }
.beam { position: absolute; width: 130%; height: 42px; left: -15%; background: #b7aa98; transform: rotate(-19deg); box-shadow: 0 12px 20px rgba(0,0,0,.25); }
.b1 { top: 15%; }.b2 { top: 45%; }.b3 { top: 76%; }
.institution-art { background: linear-gradient(155deg, #e5e0d7 0 60%, #b4aca1 60.3%); }
.institution-art::before {
  content: "";
  position: absolute;
  inset: 12% 9% 0;
  background: #d3cdc3;
  box-shadow: -18px -18px 0 #f2eee8;
}
.institution-block {
  position: absolute;
  z-index: 2;
  top: 32%;
  width: 28%;
  height: 24%;
  background: #4e5b5e;
  border: 5px solid #f0ece5;
}
.block-one { left: 18%; }
.block-two { right: 18%; }
.institution-entry {
  position: absolute;
  z-index: 2;
  left: 43%;
  bottom: 0;
  width: 16%;
  height: 38%;
  background: #343d3f;
  border: 5px solid #f0ece5;
  border-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  padding: 120px max(32px, calc((100vw - 1320px) / 2));
  color: var(--white);
  background: var(--red);
  position: relative;
  overflow: hidden;
}
.contact::after {
  content: "M"; position: absolute; right: -80px; bottom: -180px; color: rgba(255,255,255,.05);
  font: 800 550px/1 var(--display); pointer-events: none;
}
.contact-intro, .contact-form { position: relative; z-index: 2; }
.contact-mark { width: 82px; height: 82px; margin-bottom: 48px; border-radius: 50%; object-fit: cover; }
.contact h2 em { color: var(--ink); }
.contact-intro > p:not(.eyebrow) { max-width: 510px; margin: 30px 0 42px; color: rgba(255,255,255,.78); line-height: 1.7; }
.contact-details { display: grid; gap: 4px; }
.contact-details a { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.25); }
.contact-details a:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-details small { display: block; margin-bottom: 5px; color: rgba(255,255,255,.6); font-size: .67rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-details strong { font-weight: 600; line-height: 1.45; }
.contact-form { align-self: center; padding: 50px; color: var(--ink); background: var(--white); box-shadow: 0 25px 80px rgba(0,0,0,.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: block; margin-bottom: 24px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #c9c6c1;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  text-transform: none;
  resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 1px var(--red); }
.button-light { width: 100%; margin-top: 5px; color: var(--white); background: var(--ink); }
.button-light:hover { background: var(--red); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.4; text-align: center; }

footer {
  min-height: 180px;
  padding: 45px max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--white);
}
.footer-brand { width: 240px; }
.footer-brand img { mix-blend-mode: multiply; }
footer p { color: var(--muted); font-size: .73rem; }
footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .header-inner { width: calc(100% - 40px); }
  .brand { width: 215px; height: 60px; }
  .brand img { max-height: 60px; }
  .main-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .slab { left: 35px; }
  .slab-two { left: -5px; }
  .slab-three { left: -45px; }
  .approach { grid-template-columns: .8fr 1.2fr; }
  .contact { gap: 40px; }
}

@media (max-width: 800px) {
  .header-inner { height: 82px; }
  .brand { width: 195px; height: 54px; }
  .brand img { max-height: 54px; }
  .menu-toggle {
    display: flex; width: 44px; height: 44px; padding: 11px 7px;
    flex-direction: column; justify-content: space-around; position: relative; z-index: 102;
  }
  .menu-toggle span { width: 100%; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; padding: 120px 32px 40px; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 30px;
    transform: translateX(100%); transition: transform .35s;
  }
  .main-nav.open { transform: none; }
  .main-nav a { font: 700 1.65rem var(--display); }
  .nav-contact { width: 100%; margin-top: auto; }
  .hero { padding: 130px 20px 80px; }
  .hero-grid { display: block; }
  h1 { font-size: clamp(3.35rem, 14vw, 5.8rem); }
  .hero-visual { min-height: auto; margin: 70px 0 40px; }
  .blueprint-card { height: 500px; }
  .hero-seal { left: 18px; }
  .scroll-cue { display: none; }
  .stats { width: calc(100% - 40px); grid-template-columns: 1fr; }
  .stat { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 90px 20px; }
  .section-heading, .project-header { grid-template-columns: 1fr; }
  .section-heading > p:last-child, .project-header > p { justify-self: start; margin-top: 28px; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 420px; }
  .service-icon { margin: 50px 0 35px; }
  .approach { grid-template-columns: 1fr; }
  .approach-visual { min-height: 520px; }
  .approach-copy { padding: 90px 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-art { height: 420px; }
  .contact { grid-template-columns: 1fr; padding: 90px 20px; }
  .contact-form { padding: 32px 24px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer p { margin: 0; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 500px) {
  .header-inner { width: calc(100% - 28px); }
  .brand { width: 175px; height: 49px; }
  .brand img { max-height: 49px; }
  .hero { padding-inline: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .button { width: 100%; }
  .blueprint-card { height: 405px; box-shadow: 16px 16px 0 #dedbd4; }
  .blueprint-logo { width: min(58%, 230px); }
  .hero-seal { width: 105px; height: 105px; bottom: -30px; }
  .stats { width: calc(100% - 28px); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .project-meta { display: block; }
  .project-meta strong { display: block; margin-top: 8px; }
  .project-art { height: 350px; }
  .material-mark { left: 0; font-size: 20rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
