@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");

:root {
  --ink: #111111;
  --green: #111111;
  --sage: #777777;
  --sand: #f1f1f1;
  --paper: #ffffff;
  --orange: #111111;
  --line: rgba(17, 17, 17, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Inter", sans-serif; }
body.menu-open, body.gallery-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header {
  height: 72px; padding: 0 3.2vw; display: flex; align-items: center; justify-content: space-between;
  color: #fff; background: rgba(12,12,12,.3); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.28);
}
.brand { width: auto; height: 60px; overflow: visible; display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand img { width: auto; max-width: 52px; height: auto; max-height: 47px; object-fit: contain; object-position: left center; filter: invert(1); }
.brand-name { display: block; font-size: 0; line-height: 1; }
.brand-name::after { content: "ADJ Construcciones"; font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 34px; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 400; letter-spacing: .025em; text-transform: uppercase; }
.main-nav a:not(.nav-cta)::after { content: ""; display: block; height: 1px; width: 0; background: currentColor; transition: .25s; }
.main-nav a:hover::after { width: 100%; }
.main-nav a.current { font-weight: 600; }
.main-nav a.current::after { display: none; }
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  display: flex; align-items: center; gap: 7px; padding: 10px 0; border: 0; color: inherit; background: transparent;
  font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer;
}
.nav-dropdown > button span {
  width: 7px; height: 7px; margin-top: -4px; overflow: hidden; font-size: 0;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.nav-dropdown.current > button { font-weight: 600; }
.nav-dropdown.current > button::after { display: none; }
.nav-submenu {
  position: absolute; top: calc(100% + 14px); left: -24px; width: 215px; padding: 13px 0; visibility: hidden; opacity: 0;
  color: #fff; background: rgba(12,12,12,.88); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 45px rgba(0,0,0,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(-7px); transition: .22s; z-index: 30;
}
.nav-submenu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 16px; }
.nav-submenu a { display: block; padding: 12px 23px; font-size: 10px; line-height: 1.35; }
.nav-submenu a::after { display: none !important; }
.nav-submenu a:hover, .nav-submenu a.current { background: rgba(255,255,255,.13); }
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu, .nav-dropdown.open .nav-submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-dropdown:hover > button span, .nav-dropdown.open > button span { margin-top: 4px; transform: rotate(225deg); }
.menu-toggle { display: none; border: 0; background: none; padding: 12px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: #fff; transition: .25s; }

.hero { min-height: 760px; height: 100vh; position: relative; color: #fff; display: flex; align-items: center; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-image { object-position: center 48%; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25,25,25,.7) 0%, rgba(65,65,65,.46) 48%, rgba(115,115,115,.25) 80%),
    rgba(90,90,90,.14);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.hero-overlay.soft-overlay {
  background:
    linear-gradient(90deg, rgba(20,20,20,.48) 0%, rgba(45,45,45,.22) 50%, rgba(90,90,90,.08) 82%),
    rgba(50,50,50,.025);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-content { position: relative; width: min(1120px, 88vw); margin-left: 8vw; margin-top: 70px; }
.eyebrow { margin: 0 0 24px; color: var(--sage); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; }
.eyebrow.light { color: #d4d4d4; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 { margin: 0; font-size: clamp(50px, 6.2vw, 94px); line-height: .98; letter-spacing: -.055em; }
.hero-content h1 { font-size: clamp(48px, 5.4vw, 84px); }
h1 em, h2 em { color: #bdbdbd; font-family: inherit; font-style: normal; font-weight: 400; }
.hero-copy { max-width: 580px; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 30px 0 38px; }
.hero-actions { display: flex; align-items: center; gap: 35px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 35px; padding: 17px 20px; font-size: 14px; font-weight: 600; transition: .25s; }
.button-primary { color: var(--ink); background: #fff; }
.button:hover { transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 22px; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 14px; font-weight: 600; }
.light { color: #fff; }
.hero-index { position: absolute; right: 5vw; bottom: 42px; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .16em; }
.hero-index span { width: 60px; height: 1px; background: rgba(255,255,255,.65); }

.section { padding: 120px 8vw; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
h2 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.06; letter-spacing: -.045em; margin: 0; }
.intro-copy > p { font-size: 18px; line-height: 1.75; margin: 0 0 22px; color: #53605b; }
.home-intro { padding-bottom: 45px; }
.home-intro h2 em { color: inherit; font-style: normal; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; padding-top: 0; border-top: 0; gap: 22px; }
.stats strong { display: block; font: 600 32px "Space Grotesk"; }
.stats span { display: block; margin-top: 7px; color: #6d7773; font-size: 12px; }

.services { padding: 0 8vw 120px; display: grid; grid-template-columns: repeat(3, 1fr); }
.services article { padding: 38px; border: 1px solid var(--line); border-right: 0; min-height: 270px; transition: .3s; }
.services article:last-child { border-right: 1px solid var(--line); }
.services article:hover { background: var(--green); color: #fff; transform: translateY(-5px); }
.services article > span { color: #777; font-size: 12px; }
.services h3 { margin: 55px 0 16px; font-size: 26px; }
.services p { color: #6b7571; line-height: 1.6; font-size: 14px; }
.services article:hover p { color: rgba(255,255,255,.7); }

.projects { background: var(--sand); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 65px; }
.filters { display: flex; gap: 22px; flex-wrap: wrap; }
.filters button { padding: 5px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: #747c78; cursor: pointer; font-size: 13px; }
.filters button.active { color: var(--ink); border-color: var(--ink); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.project-card, .project-card.featured, .project-card.wide { position: relative; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: #ddd; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-card > div { position: absolute; inset: auto 0 0; padding: 55px 30px 25px; color: #fff; background: linear-gradient(transparent, rgba(9,20,16,.85)); }
.project-card p { margin: 0 0 8px; color: rgba(255,255,255,.72); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.project-card h3 { margin: 0; font-size: 27px; }
.project-card div span { position: absolute; right: 28px; bottom: 29px; font-size: 11px; color: rgba(255,255,255,.7); }
.project-card.hidden { display: none; }

.history { padding: 0; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--green); color: #fff; }
.history-image { min-height: 650px; }
.history-image img { height: 100%; object-fit: cover; }
.history-copy { padding: 110px 8vw 80px 7vw; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.history-copy h2 { margin-bottom: 35px; }
.history-copy > p:not(.eyebrow) { color: rgba(255,255,255,.72); line-height: 1.8; font-size: 17px; margin: 0 0 38px; }

.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; align-items: center; }
.contact-heading > p:last-child { margin-top: 28px; color: #68736e; }
.contact-card { padding: 52px; background: #ededed; }
.contact-card > p { color: #78817c; text-transform: uppercase; font-size: 11px; letter-spacing: .16em; }
.contact-card h3 { font-size: 30px; margin: 20px 0 12px; }
.contact-entry { padding-bottom: 25px; }
.contact-entry + .contact-entry { padding-top: 25px; border-top: 1px solid rgba(17,17,17,.16); }
.contact-entry > a { display: block; width: fit-content; border-bottom: 1px solid transparent; }
.contact-entry > a:hover { border-color: currentColor; }
.contact-card .contact-email { margin-top: 0; padding-top: 25px; border-top: 1px solid rgba(17,17,17,.16); }
.contact-card > a.contact-email { width: 100%; }
.contact-card > a:not(.button) { display: block; width: fit-content; margin: 12px 0; border-bottom: 1px solid transparent; }
.contact-card > a:not(.button):hover { border-color: currentColor; }
.button-dark { margin-top: 30px; color: #fff; background: var(--green); }
.whatsapp-icon { display: none; }
.button-dark::after {
  content: ""; width: 25px; height: 25px; flex: 0 0 auto;
  background: url("../imagenes/logo/whatsapp-color.svg") center / contain no-repeat;
}

.inner-header { position: absolute; background: rgba(12,12,12,.3); }
.inner-main { padding-top: 0; }
.page-title { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid var(--line); }
.page-title h1, .contact-page h1 { color: var(--ink); font-size: clamp(54px, 7vw, 104px); }
.page-title h1 em { color: #888; }
.page-lead { max-width: 620px; margin: 35px 0 0 auto; color: #606763; font-size: 17px; line-height: 1.7; }
.inner-intro { background: #f4f4f4; }
.standalone-projects { background: #fff; }
.works-title { min-height: auto; padding-top: 72px; padding-bottom: 42px; }
.works-title .eyebrow { margin-bottom: 8px; }
.works-title .page-lead { margin-top: 16px; }
.standalone-projects { padding-top: 48px; }
.standalone-projects .section-heading { margin-bottom: 42px; }
.standalone-projects .section-heading .eyebrow { margin-bottom: 10px; }
.contact-page { min-height: calc(100vh - 170px); padding-top: 140px; }
.contact-page .contact-heading > p:last-child { max-width: 580px; font-size: 17px; line-height: 1.7; }
.service-hero { position: relative; min-height: 650px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.service-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-hero-content { position: relative; z-index: 2; width: 100%; padding: 90px 8vw; }
.service-hero-content h1 { margin: 0; color: #fff; font-size: clamp(52px, 7.6vw, 116px); line-height: .95; white-space: nowrap; }
.service-hero-content > p:last-child { max-width: 690px; margin: 30px 0 0; color: rgba(255,255,255,.86); font-size: 18px; line-height: 1.7; }
.about-hero .service-hero-content h1 { max-width: 1180px; white-space: normal; font-size: clamp(48px, 6.2vw, 96px); }
.works-hero { min-height: 500px; }
.works-hero .service-hero-content { padding-top: 65px; padding-bottom: 58px; }
.works-hero .service-hero-content h1 { color: #fff; white-space: normal; }
.works-hero .service-hero-content h1 em { color: #fff; font-style: normal; font-weight: 400; }
.about-visual img { aspect-ratio: 16 / 10; object-fit: cover; }
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { padding-top: 7px; color: #888; font-size: 11px; }
.process-list h3 { margin: 0 0 12px; font-size: 25px; }
.process-list p { margin: 0; color: #626966; font-size: 15px; line-height: 1.7; }

.carousel-card { touch-action: manipulation; }
.carousel-card .carousel-image { transition: opacity .28s ease; }
.carousel-card .carousel-image.changing { opacity: .2; }
.carousel-arrow {
  position: absolute; z-index: 4; top: 50%; width: 44px; height: 44px; padding: 0 0 4px; border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%; color: #fff; background: rgba(15,15,15,.12); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font: 300 30px/1 "Inter", sans-serif; cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity .25s, background .25s;
}
.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }
.carousel-card:hover .carousel-arrow, .carousel-arrow:focus-visible { opacity: 1; }
.carousel-arrow:hover { background: rgba(15,15,15,.38); }

.all-works { display: grid; grid-template-columns: .55fr 1.45fr; gap: 9vw; background: #111; color: #fff; }
.all-works-heading { position: sticky; top: 140px; height: fit-content; }
.all-works-heading .eyebrow { color: #888; }
.all-works-heading > p:last-child { max-width: 360px; margin: 30px 0 0; color: #999; font-size: 15px; line-height: 1.75; }
.works-record { border-top: 1px solid #3a3a3a; }
.record-group { padding: 50px 0 80px; border-bottom: 1px solid #3a3a3a; }
.record-group > header { display: grid; grid-template-columns: 55px 1fr; align-items: start; margin-bottom: 48px; }
.record-group > header span { color: #777; font-size: 11px; }
.record-group > header h3 { max-width: 650px; margin: 0; font-size: clamp(27px, 3vw, 43px); line-height: 1.08; }
.company-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 45px; }
.company-list article { padding: 27px 0; border-top: 1px solid #333; break-inside: avoid; }
.company-list h4 { margin: 0 0 10px; font: 500 17px "Space Grotesk", sans-serif; }
.company-list p { margin: 0; color: #999; font-size: 13px; line-height: 1.7; }
.residential-list { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 45px; }
.residential-list li { padding: 18px 0; border-top: 1px solid #333; color: #ccc; font-size: 13px; line-height: 1.55; break-inside: avoid; }
.residential-list li span { display: block; margin-bottom: 6px; color: #777; font: 500 10px "Space Grotesk", sans-serif; letter-spacing: .12em; }

.gallery-modal {
  position: fixed; z-index: 1000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 38px 5vw;
  visibility: hidden; opacity: 0; color: #fff; background: rgba(8,8,8,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .28s, visibility .28s;
  touch-action: none; overscroll-behavior: contain;
}
.gallery-modal.open { visibility: visible; opacity: 1; }
.gallery-shell { width: min(1280px, 100%); }
.gallery-shell > header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.gallery-shell header p { margin: 0 0 7px; color: #888; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.gallery-shell header h2 { margin: 0; font-size: clamp(25px, 3vw, 43px); }
.gallery-counter { color: #aaa; font: 500 12px "Space Grotesk", sans-serif; letter-spacing: .1em; }
.gallery-stage { position: relative; height: min(72vh, 780px); overflow: hidden; background: #050505; }
.gallery-image { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; touch-action: none; user-select: none; -webkit-user-drag: none; }
.gallery-image.changing { opacity: .2; }
.gallery-close {
  position: absolute; top: 24px; right: 30px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%; color: #fff; background: transparent; font: 300 27px/1 "Inter", sans-serif; cursor: pointer;
}
.gallery-arrow {
  position: absolute; top: 50%; width: 50px; height: 50px; padding: 0 0 4px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%; color: #fff; background: rgba(0,0,0,.15); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  font: 300 34px/1 "Inter", sans-serif; cursor: pointer; transform: translateY(-50%);
}
.gallery-prev { left: 22px; }
.gallery-next { right: 22px; }
.gallery-arrow:hover, .gallery-close:hover { background: rgba(255,255,255,.15); }
.gallery-modal.single-image .gallery-arrow { display: none; }

footer { min-height: 150px; padding: 40px 5vw; color: rgba(255,255,255,.65); background: #090909; display: grid; grid-template-columns: 1fr 1fr; align-items: center; font-size: 12px; }
.footer-brand {
  grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 0;
}
.footer-brand::before { content: ""; width: 48px; height: 48px; background: url("../imagenes/logo/adj-logo-negro.png") center / contain no-repeat; filter: invert(1); }
.footer-brand::after { content: "ADJ Construcciones"; font: 400 18px "Montserrat", sans-serif; white-space: nowrap; }
.footer-brand span { display: none; }
footer p:last-child { grid-column: 1; grid-row: 1; text-align: left; }

@media (max-width: 900px) {
  .site-header { height: 74px; }
  .brand { height: 58px; gap: 11px; }
  .brand img { max-width: 46px; max-height: 42px; }
  .brand-name::after { font-size: 17px; }
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-open .menu-toggle { position: fixed; top: 26px; right: max(20px, env(safe-area-inset-right)); }
  .main-nav {
    position: fixed; z-index: 101; inset: 0 0 0 auto; width: min(92vw, 420px); height: 100vh; height: 100dvh;
    padding: max(105px, calc(80px + env(safe-area-inset-top))) max(30px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) 32px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 25px; overflow-x: hidden; overflow-y: auto;
    color: var(--ink); background: rgba(255,255,255,.98); box-shadow: -22px 0 55px rgba(0,0,0,.2); font-size: 19px;
    transform: translate3d(calc(100% + 60px),0,0); visibility: hidden; pointer-events: none;
    transition: transform .62s cubic-bezier(.77,0,.18,1), visibility 0s linear .62s; will-change: transform;
  }
  .menu-open .main-nav {
    transform: translate3d(0,0,0); visibility: visible; pointer-events: auto;
    transition: transform .62s cubic-bezier(.77,0,.18,1), visibility 0s;
  }
  .menu-backdrop {
    position: fixed; z-index: 18; inset: 0; width: 100vw; height: 100vh; height: 100dvh;
    visibility: hidden; opacity: 0; background: rgba(0,0,0,.48);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity .5s ease, visibility .5s;
  }
  .menu-open .menu-backdrop { visibility: visible; opacity: 1; }
  .main-nav > a { width: 100%; padding: 5px 0; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .menu-open .menu-toggle span { background: var(--ink); }
  .nav-dropdown { width: 100%; text-align: left; }
  .nav-dropdown > button { justify-content: flex-start; width: 100%; padding: 5px 0; }
  .nav-dropdown.current > button::after { display: none; }
  .nav-submenu {
    position: static; width: 100%; max-height: 0; padding: 0; overflow: hidden; visibility: visible; opacity: 1;
    color: var(--ink); background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    transform: none; transition: max-height .3s, padding .3s;
  }
  .nav-submenu::before { display: none; }
  .nav-submenu a { padding: 9px 12px; font-size: 11px; }
  .nav-dropdown.open .nav-submenu { max-height: 170px; padding: 8px 0; }
  .hero-content { margin-left: 6vw; }
  .intro, .contact { grid-template-columns: 1fr; }
  .section { padding: 90px 6vw; }
  .home-intro { padding-bottom: 35px; }
  .intro { gap: 50px; }
  .services { padding: 0 6vw 90px; grid-template-columns: 1fr; }
  .services article { border-right: 1px solid var(--line); border-bottom: 0; min-height: 220px; }
  .services article:last-child { border-bottom: 1px solid var(--line); }
  .services h3 { margin-top: 35px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .history { grid-template-columns: 1fr; }
  .history-image { min-height: 480px; }
  .history-copy { padding: 80px 6vw; }
  .inner-main { padding-top: 0; }
  .page-title { min-height: 450px; }
  .service-hero { min-height: 580px; }
  .works-hero { min-height: 450px; }
  .service-hero-content { padding: 75px 6vw; }
  .process { grid-template-columns: 1fr; gap: 55px; }
  .carousel-arrow { width: 38px; height: 38px; opacity: .9; font-size: 26px; }
  .all-works { grid-template-columns: 1fr; }
  .all-works-heading { position: static; }
  .gallery-modal {
    height: 100vh; height: 100dvh; padding: max(72px, env(safe-area-inset-top)) 3vw max(20px, env(safe-area-inset-bottom));
  }
  .gallery-shell { height: 100%; display: flex; flex-direction: column; min-height: 0; }
  .gallery-shell > header { flex: 0 0 auto; }
  .gallery-stage { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; }
}

@media (max-width: 620px) {
  .brand { gap: 8px; }
  .brand img { max-width: 39px; }
  .brand-name::after { font-size: 14px; }
  .service-hero { min-height: 520px; }
  .works-hero { min-height: 420px; }
  .service-hero-content h1 { font-size: clamp(32px, 9vw, 48px); }
  .about-hero .service-hero-content h1 {
    max-width: 100%;
    font-size: clamp(34px, 10.2vw, 42px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .service-hero-content > p:last-child { font-size: 15px; }
  .hero { min-height: 680px; }
  .hero-content {
    flex: 0 0 88vw;
    min-width: 0;
    width: 88vw;
    max-width: 88vw;
    margin: 50px 6vw 0;
  }
  .hero-content h1 {
    width: calc(100vw - 12vw);
    max-width: calc(100vw - 12vw);
    font-size: clamp(36px, 10.3vw, 44px);
    line-height: 1.05;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }
  .hero-content h1 em { display: block; width: 100%; }
  .hero-copy {
    width: calc(100vw - 12vw);
    max-width: calc(100vw - 12vw);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 25px; }
  .hero-index { display: none; }
  .section { padding: 75px 6vw; }
  .home-intro { padding-bottom: 30px; }
  h2 { font-size: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card.featured, .project-card.wide { aspect-ratio: 4 / 3; }
  .filters { gap: 15px; }
  .history-image { min-height: 360px; }
  .contact-card { padding: 35px 25px; }
  footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { grid-column: 1; grid-row: 1; justify-self: end; }
  footer p { margin: 0; }
  footer p:last-child { grid-column: 1; grid-row: 2; text-align: right; }
  .company-list { grid-template-columns: 1fr; }
  .residential-list { columns: 1; }
  .record-group > header { grid-template-columns: 35px 1fr; }
  .gallery-shell > header { align-items: flex-start; gap: 10px; margin-bottom: 12px; }
  .gallery-shell header h2 { max-width: calc(100vw - 110px); font-size: 23px; line-height: 1.1; }
  .gallery-stage { height: auto; min-height: 0; }
  .gallery-arrow { width: 42px; height: 42px; }
  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }
  .gallery-close { position: fixed; z-index: 2; top: max(17px, env(safe-area-inset-top)); right: max(17px, env(safe-area-inset-right)); }
  .main-nav { width: min(94vw, 420px); padding-right: 26px; padding-left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
