@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-soft: #292a26;
  --paper: #dbd6ce;
  --paper-light: #f1efea;
  --white: #fbfaf7;
  --olive: #6e7a4d;
  --olive-dark: #4f5b35;
  --line: rgba(17,17,17,.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --safe: clamp(18px, 5vw, 32px);
  --shell: min(calc(100% - (var(--safe) * 2)), 1440px);
  --header-h: 76px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-spring: cubic-bezier(.16,1.3,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 54px); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper-light); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; touch-action: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 12px; padding: 9px 14px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section { padding: 84px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: .64rem; font-weight: 600; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.eyebrow > span { flex: 0 0 28px; width: 28px; height: 1px; background: var(--olive); }
.eyebrow--light { color: #e9e7e0; }
.eyebrow--light > span { background: #a9b58a; }
.section-heading { display: grid; gap: 24px; margin-bottom: 44px; }
.section-heading h2, .process h2, .faq h2, .contact h2, .coverage h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 13vw, 4.65rem); font-weight: 600; line-height: .9; letter-spacing: -.045em; }
.section-heading > p { max-width: 600px; margin: 0; color: #555650; font-size: .98rem; line-height: 1.7; }
.arrow-svg { display: inline-block; flex: 0 0 20px; width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.arrow-svg--down { width: 18px; height: 18px; }
a:hover > .arrow-svg:not(.arrow-svg--down), button:hover > .arrow-svg:not(.arrow-svg--down) { transform: translate(3px,-3px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 54px; padding: 0 18px; border: 1px solid transparent; background: var(--ink); color: var(--white); font-size: .7rem; font-weight: 600; letter-spacing: .065em; text-transform: uppercase; transition: transform .35s var(--ease), background .35s, color .35s; }
.button:hover, .button:focus-visible { background: var(--olive); transform: translateY(-3px); }
.button--light { background: var(--paper-light); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding: 6px 0; border-bottom: 1px solid currentColor; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.text-link--light { color: var(--white); }
.swipe-hint { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin: -22px 0 15px; color: #65665f; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.swipe-hint__line { position: relative; width: 30px; height: 1px; background: var(--ink); }

/* Header and navigation */
.site-header { position: fixed; z-index: 200; inset: 0 0 auto; height: calc(var(--header-h) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.2); transition: background .4s, color .4s, box-shadow .4s; }
.site-header.is-scrolled, body:not(.home) .site-header { background: rgba(241,239,234,.96); color: var(--ink); border-color: var(--line); box-shadow: 0 12px 35px rgba(17,17,17,.08); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { position: relative; z-index: 203; width: 150px; min-width: 150px; display: grid; place-items: center start; overflow: visible; }
.brand img { width: 150px; height: auto; max-height: 62px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); transition: filter .35s, transform .45s var(--ease); }
.site-header.is-scrolled .brand img, body:not(.home) .brand img, body.menu-open .brand img { filter: none; }
.site-header.is-scrolled .brand img { transform: scale(.94); transform-origin: left center; }
.menu-toggle { position: relative; z-index: 204; width: 48px; height: 48px; display: grid; align-content: center; justify-items: end; gap: 6px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), width .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { width: 28px; }
.menu-toggle span:nth-child(2) { width: 21px; }
.menu-toggle span:nth-child(3) { width: 25px; }
body.menu-open .menu-toggle { color: var(--ink); }
body.menu-open .menu-toggle span:nth-child(1) { width: 27px; transform: translateY(7.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; transform: translateX(8px); }
body.menu-open .menu-toggle span:nth-child(3) { width: 27px; transform: translateY(-7.5px) rotate(-45deg); }
.site-nav { position: fixed; z-index: 201; inset: 0; visibility: hidden; pointer-events: none; }
.site-nav__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.48); opacity: 0; transition: opacity .45s; }
.site-nav__panel { position: absolute; inset: 0; max-height: 100dvh; overflow-y: auto; padding: calc(var(--header-h) + env(safe-area-inset-top) + 34px) var(--safe) max(32px,env(safe-area-inset-bottom)); background: var(--paper-light); color: var(--ink); transform: translateY(-18px); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
body.menu-open .site-nav { visibility: visible; pointer-events: auto; }
body.menu-open .site-nav__backdrop { opacity: 1; }
body.menu-open .site-nav__panel { transform: none; opacity: 1; }
.site-nav__eyebrow { margin: 0 0 24px; color: var(--olive-dark); font-size: .62rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.site-nav__list { display: grid; gap: 0; padding: 0; margin: 0 0 28px; list-style: none; border-top: 1px solid var(--line); }
.site-nav__list li { opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .45s var(--ease); }
body.menu-open .site-nav__list li { opacity: 1; transform: none; }
body.menu-open .site-nav__list li:nth-child(2) { transition-delay: .05s; }
body.menu-open .site-nav__list li:nth-child(3) { transition-delay: .1s; }
body.menu-open .site-nav__list li:nth-child(4) { transition-delay: .15s; }
body.menu-open .site-nav__list li:nth-child(5) { transition-delay: .2s; }
.site-nav__list a { display: grid; grid-template-columns: 32px 1fr; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(2rem,10vw,3rem); font-weight: 600; line-height: 1; }
.site-nav__list a span { color: var(--olive); font-family: var(--sans); font-size: .58rem; letter-spacing: .08em; }
.nav-whatsapp { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; background: var(--olive); color: var(--white); }
.nav-whatsapp span, .nav-whatsapp small { display: block; }
.nav-whatsapp small { margin-bottom: 3px; font-size: .58rem; letter-spacing: .11em; text-transform: uppercase; }
.nav-whatsapp span { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
body.admin-bar .site-header { top: 46px; }

@media (max-width: 979px) {
  body.admin-bar .site-nav { top: 46px; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__media, .hero__veil { position: absolute; inset: 0; }
.hero__picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; animation: heroBreath 18s ease-in-out infinite alternate; will-change: transform; }
.hero__veil { background: linear-gradient(0deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.42) 58%, rgba(17,17,17,.2) 100%), linear-gradient(90deg, rgba(17,17,17,.58), transparent 90%); }
.hero__rain { position: absolute; inset: -40%; opacity: .2; background: repeating-linear-gradient(106deg, transparent 0 14px, rgba(255,255,255,.5) 15px, transparent 16px 30px); background-size: 180px 180px; transform: rotate(7deg); animation: rainFall 1.1s linear infinite; mix-blend-mode: screen; }
.hero__wind { position: absolute; inset: 0; overflow: hidden; }
.hero__wind i { position: absolute; left: -25%; width: 150px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: windLine 7s linear infinite; }
.hero__wind i:nth-child(1) { top: 25%; animation-delay: -2s; }
.hero__wind i:nth-child(2) { top: 42%; width: 240px; animation-delay: -5s; animation-duration: 9s; }
.hero__wind i:nth-child(3) { top: 66%; width: 100px; animation-delay: -3.5s; animation-duration: 6s; }
.hero__wind i:nth-child(4) { top: 78%; width: 200px; animation-delay: -7s; animation-duration: 10s; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 36px; padding-top: calc(var(--header-h) + 90px); padding-bottom: max(48px,calc(34px + env(safe-area-inset-bottom))); }
.hero__content { max-width: 780px; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.45rem,15vw,5.7rem); font-weight: 600; line-height: .79; letter-spacing: -.052em; }
.hero h1 em { color: #d2d0c8; font-weight: 600; }
.hero__lead { max-width: 650px; margin: 28px 0 28px; color: #e4e2dc; font-size: 1rem; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero__note { display: grid; gap: 7px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.32); }
.hero__note span { color: #b9c39d; font-size: .6rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero__note strong { max-width: 360px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
@keyframes heroBreath { from { transform: scale(1.025) translate3d(-.5%,0,0); } to { transform: scale(1.085) translate3d(1.5%,-1%,0); } }
@keyframes rainFall { to { background-position: 0 180px; } }
@keyframes windLine { from { transform: translateX(0) skewX(-18deg); opacity: 0; } 15% { opacity: .65; } 75% { opacity: .2; } to { transform: translateX(165vw) skewX(-18deg); opacity: 0; } }

/* Moving value banner */
.brand-ribbon { position: relative; overflow: hidden; background: linear-gradient(100deg,var(--olive-dark),var(--olive),#82905c,var(--olive-dark)); background-size: 300% 100%; color: var(--white); animation: ribbonColor 10s ease infinite; }
.brand-ribbon::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent); transform: translateX(-100%); animation: ribbonShine 4.8s ease-in-out infinite; }
.brand-ribbon__track { width: max-content; display: flex; align-items: center; gap: 24px; padding: 17px 0; animation: ribbonMove 30s linear infinite; }
.brand-ribbon__track span { max-width: 420px; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; line-height: 1; }
.brand-ribbon__track i { width: 6px; height: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; }
@keyframes ribbonMove { to { transform: translateX(-50%); } }
@keyframes ribbonColor { 50% { background-position: 100% 50%; } }
@keyframes ribbonShine { 45%,100% { transform: translateX(100%); } }
.quick-nav { position: sticky; z-index: 90; top: var(--header-h); overflow: hidden; background: rgba(17,17,17,.96); color: var(--white); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.quick-nav__inner { width: 100%; display: flex; gap: 7px; padding: 10px var(--safe); overflow-x: auto; scrollbar-width: none; }
.quick-nav__inner::-webkit-scrollbar { display: none; }
.quick-nav a { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #e7e5df; font-size: .59rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
body.admin-bar .quick-nav { top: calc(var(--header-h) + 46px); }

/* Solutions */
.solutions { background: var(--paper-light); }
.solutions__track { width: calc(100% + var(--safe)); display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--safe) 18px 0; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.solutions__track::-webkit-scrollbar { display: none; }
.solution-card { position: relative; flex: 0 0 min(84vw,365px); min-height: 520px; display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.solution-card > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.solution-card__veil { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(17,17,17,.96),rgba(17,17,17,.16) 75%); }
.solution-card__number { margin: 22px; color: #d8ddc8; font-size: .64rem; letter-spacing: .12em; }
.solution-card__content { margin-top: auto; padding: 25px; }
.solution-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 2.55rem; font-weight: 600; line-height: .92; }
.solution-card p { margin: 0 0 25px; color: #d3d1cb; font-size: .86rem; line-height: 1.55; }
.solution-card a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.4); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Proof */
.proof { position: relative; min-height: 820px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--white); }
.proof__reel, .proof__veil { position: absolute; inset: 0; }
.proof__reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); animation: proofReel 18s infinite; }
.proof__reel img:nth-child(1) { animation-delay: 0s; }
.proof__reel img:nth-child(2) { animation-delay: 6s; }
.proof__reel img:nth-child(3) { animation-delay: 12s; }
.proof__veil { background: linear-gradient(0deg,rgba(17,17,17,.97),rgba(17,17,17,.48)); }
.proof__content { position: relative; z-index: 2; padding-block: 90px; }
.proof h2 { max-width: 980px; margin: 0; font-family: var(--serif); font-size: clamp(3.25rem,13vw,5.1rem); font-weight: 600; line-height: .86; letter-spacing: -.048em; }
.proof__lead { max-width: 680px; margin: 28px 0 42px; color: #d2d1cb; font-size: .98rem; }
.proof__facts { width: calc(100% + var(--safe)); display: flex; gap: 10px; margin-bottom: 10px; padding-right: var(--safe); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.proof__facts::-webkit-scrollbar { display: none; }
.proof__facts > div { flex: 0 0 min(78vw,310px); min-height: 180px; padding: 22px; scroll-snap-align: start; background: rgba(17,17,17,.58); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.proof__facts span { color: #b9c49c; font-size: .62rem; }
.proof__facts strong { display: block; margin: 30px 0 8px; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.proof__facts p { margin: 0; color: #c5c4bd; font-size: .78rem; }
@keyframes proofReel { 0% { opacity: 0; transform: scale(1.08); } 6%,30% { opacity: 1; } 36%,100% { opacity: 0; transform: scale(1); } }

/* Color story */
.color-story { background: var(--paper); overflow: hidden; }
.color-tabs { width: calc(100% + var(--safe)); display: flex; gap: 8px; margin-bottom: 22px; padding-right: var(--safe); overflow-x: auto; scrollbar-width: none; }
.color-tabs::-webkit-scrollbar { display: none; }
.color-tabs button { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid rgba(17,17,17,.25); border-radius: 99px; background: transparent; font-size: .65rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.color-tabs button i { width: 12px; height: 12px; border-radius: 50%; background: var(--olive); border: 1px solid rgba(17,17,17,.22); }
.color-tabs button[data-color-tab="gris"] i { background: var(--paper); }
.color-tabs button[data-color-tab="negro"] i { background: var(--ink); }
.color-tabs button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.color-panel { display: grid; background: var(--paper-light); animation: panelIn .65s var(--ease) both; }
.color-panel[hidden] { display: none; }
.color-panel__image { position: relative; min-height: 390px; overflow: hidden; }
.color-panel__image::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb,var(--olive) 28%,transparent); mix-blend-mode: color; }
.color-panel[data-color-panel="gris"] .color-panel__image::after { background: rgba(219,214,206,.22); mix-blend-mode: screen; }
.color-panel[data-color-panel="negro"] .color-panel__image::after { background: rgba(17,17,17,.3); mix-blend-mode: multiply; }
.color-panel__image img { width: 100%; height: 100%; object-fit: cover; animation: colorImage 12s ease-in-out infinite alternate; }
.color-panel__image > span { position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: 7px 11px; background: rgba(17,17,17,.78); color: var(--white); font-size: .6rem; letter-spacing: .1em; }
.color-panel__copy { padding: 32px 24px 36px; }
.color-panel__copy h3 { margin: 0 0 20px; font-family: var(--serif); font-size: 2.35rem; font-weight: 600; line-height: .95; }
.color-panel__copy > p:not(.eyebrow) { color: #575852; font-size: .9rem; }
.color-panel__copy strong { display: block; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .76rem; line-height: 1.6; }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes colorImage { to { transform: scale(1.06) translateX(1%); } }

.impact-banner { position: relative; overflow: hidden; padding: 74px 0; background: var(--ink); color: var(--white); }
.impact-banner__line { position: absolute; top: 22px; right: -20%; width: 90%; height: 1px; background: linear-gradient(90deg,transparent,var(--olive),transparent); animation: impactLine 6s ease-in-out infinite; }
.impact-banner p { margin: 0 0 10px; color: #aeb895; font-size: .63rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.impact-banner h2 { max-width: 980px; margin: 0; font-family: var(--serif); font-size: clamp(2.7rem,12vw,4.8rem); font-weight: 600; line-height: .9; }
@keyframes impactLine { 50% { transform: translateX(-55%); } }

/* Project galleries */
.projects { overflow: hidden; background: var(--paper-light); }
.project-filters { width: calc(100% + var(--safe)); display: flex; gap: 7px; margin-bottom: 30px; padding: 0 var(--safe) 12px 0; overflow-x: auto; scrollbar-width: none; }
.project-filters::-webkit-scrollbar { display: none; }
.project-filters button { flex: 0 0 auto; min-height: 42px; padding: 0 14px; border: 1px solid rgba(17,17,17,.22); background: transparent; font-size: .62rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; }
.project-filters button.is-active { background: var(--olive-dark); color: var(--white); border-color: var(--olive-dark); }
.sector-panel { animation: panelIn .6s var(--ease) both; }
.sector-panel[hidden] { display: none; }
.sector-panel__intro { display: grid; gap: 12px; margin-bottom: 25px; }
.sector-panel__intro > span { color: var(--olive-dark); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.sector-panel__intro h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem,11vw,4.5rem); font-weight: 600; line-height: .9; }
.sector-panel__intro p { max-width: 680px; margin: 0; color: #585954; font-size: .9rem; }
.gallery-shell { position: relative; }
.project-gallery { width: calc(100% + var(--safe)); display: flex; gap: 10px; padding: 0 var(--safe) 16px 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
.project-gallery::-webkit-scrollbar { display: none; }
.gallery-shot { position: relative; flex: 0 0 min(86vw,400px); height: 480px; overflow: hidden; scroll-snap-align: start; background: var(--ink); color: var(--white); }
.gallery-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(17,17,17,.9),transparent 55%); }
.gallery-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.gallery-shot figcaption { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 23px; }
.gallery-shot strong, .gallery-shot span { display: block; }
.gallery-shot strong { margin-bottom: 6px; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.gallery-shot span { color: #c9cfb7; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase; }
.gallery-control { display: none; }
.sector-quote { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding: 20px; background: var(--ink); color: var(--white); transition: background .35s, transform .35s; }
.sector-quote span, .sector-quote small, .sector-quote strong { display: block; }
.sector-quote small { margin-bottom: 3px; color: #b9c49c; font-size: .57rem; letter-spacing: .1em; text-transform: uppercase; }
.sector-quote strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }

/* Process */
.process { overflow: hidden; background: var(--paper); }
.process__grid { display: grid; gap: 56px; }
.process__visual { position: relative; }
.process__reel { position: relative; height: 500px; overflow: hidden; background: var(--ink); }
.process__reel figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.07); transition: opacity 1s, transform 7s linear; }
.process__reel figure.is-active { opacity: 1; transform: scale(1); }
.process__reel img { width: 100%; height: 100%; object-fit: cover; }
.process__reel figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 14px; background: rgba(17,17,17,.72); color: var(--white); font-size: .6rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.process__progress { display: flex; gap: 5px; margin-top: 10px; }
.process__progress i { flex: 1; height: 3px; background: rgba(17,17,17,.18); overflow: hidden; }
.process__progress i::after { content: ""; display: block; width: 0; height: 100%; background: var(--olive); }
.process__progress i.is-active::after { animation: processProgress 5s linear both; }
@keyframes processProgress { to { width: 100%; } }
.process h2 { margin-bottom: 36px; }
.process-list { padding: 0; margin: 0 0 32px; list-style: none; border-top: 1px solid var(--line); }
.process-list li { border-bottom: 1px solid var(--line); }
.process-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 20px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.process-list button span { color: var(--olive-dark); font-size: .62rem; font-weight: 600; }
.process-list button strong { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; line-height: 1.05; }
.process-list button i { font-style: normal; transition: transform .3s; }
.process-list button[aria-expanded="true"] i { transform: rotate(45deg); }
.process-list li div { padding: 0 0 22px 44px; }
.process-list li div p { margin: 0; color: #5c5d57; font-size: .86rem; }

/* Coverage map */
.coverage { position: relative; overflow: hidden; padding: 90px 0; background: var(--olive-dark); color: var(--white); }
.coverage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%,rgba(255,255,255,.1),transparent 28%), repeating-linear-gradient(135deg,transparent 0 22px,rgba(255,255,255,.018) 23px 24px); }
.coverage__grid { position: relative; display: grid; gap: 50px; }
.coverage h2 { margin-bottom: 25px; }
.coverage__copy > p:not(.eyebrow) { max-width: 650px; color: #e0e3d8; font-size: .93rem; }
.coverage__copy .text-link { margin-top: 15px; }
.mexico-map { padding: 18px; border: 1px solid rgba(255,255,255,.22); background: rgba(17,17,17,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mexico-map svg { width: 100%; height: auto; overflow: visible; }
.mexico-map__outline, .mexico-map__baja { fill: rgba(219,214,206,.07); stroke: #d9ddd0; stroke-width: 2; stroke-linejoin: round; }
.mexico-map__route { fill: none; stroke: #cfd6ba; stroke-width: 2; stroke-dasharray: 7 9; animation: mapRoute 10s linear infinite; }
.mexico-map__origin, .mexico-map__point { fill: var(--paper); }
.mexico-map__point { animation: mapPoint 2.6s ease-in-out infinite alternate; }
.mexico-map__point.p2 { animation-delay: -.6s; }.mexico-map__point.p3 { animation-delay: -1.2s; }.mexico-map__point.p4 { animation-delay: -1.8s; }
.mexico-map__pulse { fill: none; stroke: #fff; stroke-width: 2; transform-origin: 337px 220px; animation: mapPulse 2.3s ease-out infinite; }
.mexico-map__legend { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18); }
.mexico-map__legend span { display: flex; align-items: center; gap: 8px; color: #d8dcce; font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; }
.mexico-map__legend span i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
.mexico-map__legend strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
@keyframes mapRoute { to { stroke-dashoffset: -160; } }
@keyframes mapPoint { to { transform: scale(1.75); transform-origin: center; } }
@keyframes mapPulse { to { opacity: 0; transform: scale(2.6); } }

/* Journal */
.journal { overflow: hidden; background: var(--ink); color: var(--white); }
.journal .section-heading > p { color: #b7b6b0; }
.journal__grid { width: calc(100% + var(--safe)); display: flex; gap: 10px; padding: 0 var(--safe) 18px 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.journal__grid::-webkit-scrollbar { display: none; }
.journal-card { flex: 0 0 min(84vw,380px); min-height: 470px; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.18); }
.journal-card a { height: 100%; display: flex; flex-direction: column; padding: 25px; transition: background .4s,color .4s; }
.journal-card__media { height: 190px; margin: -25px -25px 24px; overflow: hidden; }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; }
.journal-card > a > span { color: #aeb895; font-size: .59rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.journal-card h3 { margin: 30px 0 17px; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; line-height: .95; }
.journal-card p { color: #b9b8b2; font-size: .83rem; }
.journal-card i { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* FAQ */
.faq { background: var(--paper-light); }
.faq__grid { display: grid; gap: 44px; }
.faq__grid > div:first-child > p:last-child { max-width: 430px; margin-top: 26px; color: #595a54; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; font-family: var(--serif); font-size: 1.38rem; font-weight: 600; line-height: 1.12; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: var(--sans); font-size: .9rem; transition: transform .3s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 28px 22px 0; color: #5b5c56; font-size: .87rem; }

/* Contact and footer */
.contact { position: relative; overflow: hidden; padding: 90px 0 110px; background: var(--ink); color: var(--white); }
.contact::before { content: "F"; position: absolute; right: -12vw; bottom: -18vw; color: rgba(255,255,255,.025); font-family: var(--serif); font-size: min(90vw,800px); line-height: 1; }
.contact-direct { position: relative; z-index: 1; }
.contact h2 { margin-bottom: 28px; }
.contact h2 em { color: #b9c49c; font-weight: 600; }
.contact-direct > p:not(.eyebrow) { max-width: 680px; color: #bcbab4; }
.whatsapp-cta { display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; margin-top: 35px; padding: 17px; border: 1px solid rgba(255,255,255,.25); background: linear-gradient(120deg,var(--olive-dark),var(--olive)); color: var(--white); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.whatsapp-cta__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--olive-dark); }
.whatsapp-cta__icon svg, .whatsapp-float svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-cta small, .whatsapp-cta strong { display: block; }
.whatsapp-cta small { margin-bottom: 4px; font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; }
.whatsapp-cta strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.05; }
.whatsapp-cta > .arrow-svg { display: none; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.contact-socials a { padding: 7px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: #d4d3cd; font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer { padding: 70px 0 32px; background: #0a0a0a; color: #d5d3cd; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 24px; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand img { width: 185px; height: auto; max-height: 82px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-label { margin: 0 0 13px; color: #929c78; font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__grid > div:not(.site-footer__brand) a { display: block; margin: 6px 0; font-size: .75rem; }
.site-footer__grid > div p:not(.footer-label) { margin: 6px 0; color: #969590; font-size: .72rem; }
.site-footer__bottom { display: flex; flex-direction: column; gap: 7px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #7e7d79; font-size: .64rem; }
.site-footer__bottom p { margin: 0; }

.whatsapp-float { position: fixed; z-index: 180; right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); min-width: 126px; min-height: 56px; display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; background: linear-gradient(120deg,#3f4b2b,var(--olive)); color: var(--white); box-shadow: 0 14px 38px rgba(17,17,17,.3); overflow: hidden; }
.whatsapp-float__icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); }
.whatsapp-float__copy { min-width: 0; white-space: nowrap; }
.whatsapp-float__copy small, .whatsapp-float__copy strong { display: block; }
.whatsapp-float__copy small { font-size: .55rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.whatsapp-float__copy strong { display: none; font-family: var(--serif); font-size: 1rem; font-weight: 600; }

/* Blog and regular pages */
.page-hero { padding: calc(var(--header-h) + 90px) 0 70px; background: var(--paper); }
.page-hero h1 { max-width: 1000px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem,13vw,6rem); font-weight: 600; line-height: .88; }
.page-hero > .shell > p:last-child { max-width: 660px; margin: 25px 0 0; }
.archive-grid { display: grid; gap: 14px; }
.archive-card { background: var(--white); }
.archive-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.archive-card__body { padding: 24px; }
.archive-card__body span { color: var(--olive-dark); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.archive-card h2 { margin: 24px 0 12px; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.archive-card p { color: #5d5e58; font-size: .85rem; }
.content-layout { width: min(calc(100% - (var(--safe) * 2)),900px); margin: 0 auto; padding: 60px 0 100px; }
.entry-content { font-size: 1rem; line-height: 1.8; }
.entry-content > img:first-child { width: calc(100% + (var(--safe) * 2)); max-width: none; margin: 0 calc(var(--safe) * -1) 45px; }
.entry-content h2, .entry-content h3 { margin-top: 2em; font-family: var(--serif); line-height: 1; }
.entry-content h2 { font-size: 2.6rem; }.entry-content h3 { font-size: 2rem; }
.pagination { margin-top: 35px; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 600px) {
  :root { --safe: clamp(28px,5vw,52px); }
  .section { padding: 105px 0; }
  .brand { width: 172px; }.brand img { width: 172px; max-height: 70px; }
  .hero__inner { padding-bottom: 70px; }
  .hero h1 { font-size: clamp(5.2rem,12vw,7.2rem); }
  .hero__lead { font-size: 1.12rem; }
  .whatsapp-cta { grid-template-columns: auto 1fr auto; padding: 20px 22px; }
  .whatsapp-cta > .arrow-svg { display: block; }
  .site-footer__grid { grid-template-columns: 1.3fr repeat(3,1fr); }
  .site-footer__brand { grid-column: auto; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
  .archive-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 820px) {
  .section { padding: 125px 0; }
  .section-heading { grid-template-columns: minmax(0,1.2fr) minmax(260px,.55fr); gap: 70px; align-items: end; margin-bottom: 64px; }
  .section-heading h2, .process h2, .faq h2, .contact h2, .coverage h2 { font-size: clamp(4rem,7vw,7rem); }
  .hero__veil { background: linear-gradient(90deg,rgba(17,17,17,.88) 0%,rgba(17,17,17,.48) 48%,rgba(17,17,17,.08) 80%),linear-gradient(0deg,rgba(17,17,17,.55),transparent 55%); }
  .hero__inner { grid-template-columns: minmax(0,1fr) 300px; align-items: end; gap: 60px; padding-bottom: 90px; }
  .hero__media img { object-position: center; }
  .hero h1 { font-size: clamp(6.5rem,10vw,9rem); }
  .hero__note { margin-bottom: 5px; }
  .brand-ribbon__track span { font-size: 1.25rem; }
  .solutions__track { width: 100%; display: grid; grid-template-columns: 1.12fr .94fr .94fr; gap: 13px; padding: 0; overflow: visible; }
  .solution-card { min-width: 0; min-height: 590px; }
  .solution-card:hover > img { transform: scale(1.075); filter: brightness(.82) saturate(.82); }
  .solution-card:hover { transform: translateY(-8px); box-shadow: 0 28px 65px rgba(17,17,17,.22); }
  .swipe-hint { display: none; }
  .proof { min-height: 900px; }
  .proof__veil { background: linear-gradient(90deg,rgba(17,17,17,.96),rgba(17,17,17,.65) 55%,rgba(17,17,17,.15)); }
  .proof h2 { font-size: clamp(5rem,7.5vw,8rem); }
  .proof__facts { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 0; overflow: visible; background: rgba(255,255,255,.18); }
  .proof__facts > div { min-width: 0; min-height: 190px; transition: background .35s,transform .35s; }
  .proof__facts > div:hover { background: rgba(110,122,77,.82); transform: translateY(-6px); }
  .color-panel { grid-template-columns: 1.05fr .95fr; min-height: 660px; }
  .color-panel__image { min-height: 660px; }
  .color-panel__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px,7vw,100px); }
  .color-panel__copy h3 { font-size: clamp(3rem,4.5vw,5rem); }
  .sector-panel__intro { grid-template-columns: minmax(0,1.15fr) minmax(300px,.6fr); align-items: end; gap: 40px; }
  .sector-panel__intro > span { grid-column: 1 / -1; }
  .sector-panel__intro p { margin-bottom: 6px; }
  .project-gallery { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; padding: 0; overflow: visible; }
  .gallery-shot { min-width: 0; height: 580px; }
  .gallery-shot:hover img { transform: scale(1.055); filter: brightness(.8); }
  .sector-quote { max-width: 760px; margin-left: auto; padding: 23px 27px; }
  .sector-quote:hover { background: var(--olive-dark); transform: translateY(-4px); }
  .process__grid { grid-template-columns: minmax(340px,1fr) minmax(420px,.95fr); gap: clamp(70px,9vw,145px); align-items: center; }
  .process__visual { position: sticky; top: 120px; }
  .process__reel { height: 720px; }
  .coverage { padding: 130px 0; }
  .coverage__grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
  .journal__grid { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 0; overflow: visible; background: rgba(255,255,255,.18); }
  .journal-card { min-width: 0; min-height: 540px; background: var(--ink); }
  .journal-card a:hover { background: var(--paper); color: var(--ink); }
  .journal-card a:hover p { color: #555650; }
  .faq__grid { grid-template-columns: .72fr 1.15fr; gap: 100px; }
  .contact-direct { max-width: 1150px; text-align: center; }
  .contact-direct .eyebrow { justify-content: center; }
  .contact-direct > p:not(.eyebrow) { margin-inline: auto; }
  .whatsapp-cta { max-width: 900px; margin-inline: auto; text-align: left; }
  .contact-socials { justify-content: center; }
  .whatsapp-float { right: 22px; bottom: 22px; width: 64px; min-width: 64px; padding-right: 9px; transition: width .55s var(--ease-spring),transform .35s,box-shadow .35s; }
  .whatsapp-float__copy { width: 0; opacity: 0; transition: width .45s var(--ease),opacity .3s .05s; }
  .whatsapp-float:hover, .whatsapp-float:focus-visible { width: 350px; transform: translateY(-6px); box-shadow: 0 24px 55px rgba(17,17,17,.36); }
  .whatsapp-float:hover .whatsapp-float__copy, .whatsapp-float:focus-visible .whatsapp-float__copy { width: 278px; opacity: 1; }
  .whatsapp-float:hover .whatsapp-float__copy strong, .whatsapp-float:focus-visible .whatsapp-float__copy strong { display: block; }
  .archive-grid { grid-template-columns: repeat(3,1fr); }
  .content-layout { padding-block: 90px 140px; }
}

@media (max-width: 819px) {
  .hero__media img { object-position: center center; animation: none; }
}

@media (min-width: 980px) {
  :root { --header-h: 88px; }
  .site-header__inner { gap: 40px; }
  .brand { width: 196px; }.brand img { width: 196px; max-height: 80px; }
  .menu-toggle { display: none; }
  .site-nav { position: static; visibility: visible; pointer-events: auto; }
  .site-nav__backdrop, .site-nav__eyebrow { display: none; }
  .site-nav__panel { position: static; display: flex; align-items: center; gap: clamp(24px,3vw,48px); overflow: visible; padding: 0; background: transparent; color: inherit; transform: none; opacity: 1; }
  .site-nav__list { display: flex; align-items: center; gap: clamp(18px,2vw,34px); margin: 0; border: 0; }
  .site-nav__list li { opacity: 1; transform: none; }
  .site-nav__list a { display: block; min-height: 0; padding: 8px 0; border: 0; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  .site-nav__list a span { display: none; }
  .site-nav__list a::after { content: ""; display: block; width: 100%; height: 1px; margin-top: 5px; background: var(--olive); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .site-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav-whatsapp { min-height: 46px; padding: 0 17px; background: var(--ink); }
  .nav-whatsapp small { display: none; }
  .nav-whatsapp span { font-family: var(--sans); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  .nav-whatsapp .arrow-svg { width: 15px; height: 15px; }
  .site-header:not(.is-scrolled) .nav-whatsapp { background: var(--paper-light); color: var(--ink); }
  body.admin-bar .site-header { top: 32px; }
  body.admin-bar .site-nav { top: auto; }
  body.admin-bar .quick-nav { top: calc(var(--header-h) + 32px); }
  .quick-nav { top: var(--header-h); }
}

@media (min-width: 1180px) {
  .gallery-shell { padding-inline: 54px; }
  .gallery-control { position: absolute; z-index: 4; top: 50%; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(17,17,17,.25); border-radius: 50%; background: var(--paper-light); cursor: pointer; transform: translateY(-50%); }
  .gallery-control--prev { left: 0; }
  .gallery-control--prev .arrow-svg { transform: rotate(-135deg); }
  .gallery-control--next { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .proof__reel img:first-child, .process__reel figure:first-child { opacity: 1; }
}

/* v1.2.2.2 — mobile-first clarity, faster galleries and quieter luxury. */
button,
.button,
.quick-nav a,
.color-tabs button,
.project-filters button,
.portfolio-thumb,
.portfolio-stage__controls button,
.sector-quote,
.nav-whatsapp,
.whatsapp-cta,
.contact-socials a,
.whatsapp-float {
  border-radius: 12px;
}
button:focus-visible,
a:focus-visible { outline: 2px solid #a7b680; outline-offset: 3px; }

main p:not(.eyebrow):not(.portfolio-label) {
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
  hyphens: auto;
}
h1, h2, h3 { text-align: left; text-wrap: pretty; }
.section-heading,
.sector-panel__intro { align-items: start; }
.section-heading h2,
.process h2,
.faq h2,
.contact h2,
.coverage h2 { line-height: .98; }
.sector-panel__intro h3 { line-height: 1; }

/* The complete lockup is optically centered while the menu remains reachable. */
.site-header__inner { position: relative; justify-content: flex-end; }
.brand {
  position: absolute;
  left: 50%;
  width: 158px;
  min-width: 158px;
  place-items: center;
  transform: translateX(-50%);
}
.brand img,
.site-header.is-scrolled .brand img {
  width: 158px;
  object-position: center;
  transform: none;
}
.menu-toggle { margin-left: auto; border-radius: 12px; }
.menu-toggle__disc { border-radius: 12px; }

/* Sector navigation: restrained editorial tabs without decorative bubbles. */
.project-filters { gap: 10px; padding-bottom: 16px; }
.project-filters button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  overflow: visible;
  border: 1px solid rgba(17,17,17,.16);
  background: rgba(255,255,255,.62);
  box-shadow: inset 0 1px rgba(255,255,255,.75), 0 8px 22px rgba(17,17,17,.045);
  color: #25261f;
  letter-spacing: .045em;
  transition: transform .35s var(--ease), border-color .35s, background .35s, color .35s, box-shadow .35s;
}
.project-filters button::after { display: none; }
.project-filters button > span {
  color: var(--olive-dark);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.project-filters button.is-active {
  min-width: 0;
  border-color: #727f50;
  background: linear-gradient(135deg,#171813,#343a29);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(27,31,20,.2), inset 0 1px rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.project-filters button.is-active > span { color: #c6d0aa; }
@media (hover:hover) {
  .project-filters button:not(.is-active):hover {
    border-color: rgba(79,91,53,.58);
    background: rgba(255,255,255,.9);
    box-shadow: 0 13px 30px rgba(17,17,17,.1);
    transform: translateY(-3px);
  }
}

/* Main portfolio images keep their complete frame and define their own height. */
.portfolio-stage { background: transparent; }
.portfolio-stage__picture {
  min-height: 0;
  display: block;
  background: transparent;
  line-height: 0;
}
.portfolio-stage__picture img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
}
.portfolio-thumb { padding: 0; background: #d8d3ca; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-thumb.is-active {
  border-color: #7d8b58;
  background: #7d8b58;
  box-shadow: 0 8px 18px rgba(45,51,31,.2);
}
.portfolio-stage__controls button { border-radius: 10px; }

/* Other photographic areas are full-bleed: no artificial black margins. */
.color-panel__image { min-height: 0; background: transparent; }
.color-panel__image picture,
.process-stage picture { display: block; min-height: 0; line-height: 0; }
.color-panel__image img,
.process-stage img { width: 100%; height: auto; max-height: none; object-fit: initial; }
.proof__reel picture { overflow: hidden; }
.proof__reel picture img { width: 100%; height: 100%; object-fit: cover; }
.journal-card__media { min-height: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.journal-card__media picture { width: 100%; height: 100%; display: block; }
.journal-card__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.process-stage { background: transparent; }

@media (max-width: 819px) {
  .brand,
  .brand img,
  .site-header.is-scrolled .brand img { width: 146px; min-width: 146px; }
  .menu-toggle__label { display: none; }
  .hero h1 { line-height: .94; letter-spacing: -.035em; }
  .hero__lead { text-align: justify; }
  .section { padding: 74px 0; }
  .section-heading { gap: 28px; }
  .section-heading h2,
  .process h2,
  .faq h2,
  .contact h2,
  .coverage h2 { font-size: clamp(2.7rem,11.6vw,4.25rem); }
  .sector-panel__intro h3 { font-size: clamp(2.55rem,10.8vw,4.15rem); }
}

@media (min-width: 820px) {
  .portfolio-stage__picture { min-height: 0; }
  .portfolio-stage__picture img { max-height: none; }
  .portfolio-viewer { align-items: start; }
}

@media (min-width: 980px) {
  .site-nav__visual picture,
  .site-nav__visual img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
}

/* v1.2.2.1 — mobile-first portfolio and premium navigation refinement */
.section, .proof, .coverage, .impact-banner, .contact { scroll-margin-top: calc(var(--header-h) + 54px); }
.section-heading h2, .sector-panel__intro h3, .proof h2, .process h2, .coverage h2, .faq h2, .contact h2, .color-panel__copy h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  line-height: 1.02;
  text-wrap: balance;
}
.section-heading { gap: 26px; margin-bottom: 38px; }
.section-heading h2, .process h2, .faq h2, .contact h2, .coverage h2 { font-size: clamp(2.85rem,12vw,4.6rem); }
.section-heading > p, .sector-panel__intro p, .proof__lead, .coverage__copy > p:not(.eyebrow) { line-height: 1.72; }

/* Complete logo lockup remains inside the header at every scroll position. */
.brand { width: 158px; min-width: 158px; height: 66px; overflow: visible; }
.brand img, .site-header.is-scrolled .brand img { width: 158px; max-height: 66px; object-fit: contain; object-position: left center; transform: none; }

/* Purposeful menu trigger and cinematic overlay. */
.menu-toggle { width: auto; height: 52px; display: flex; align-items: center; gap: 10px; padding: 4px 0 4px 10px; }
.menu-toggle__label { width: auto !important; height: auto !important; background: transparent !important; font-size: .58rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.menu-toggle__disc { position: relative; width: 42px !important; height: 42px !important; display: grid !important; place-items: center; border: 1px solid currentColor; border-radius: 50%; background: rgba(17,17,17,.08) !important; overflow: hidden; transition: transform .55s var(--ease-spring), background .35s !important; }
.site-header:not(.is-scrolled) .menu-toggle__disc { background: rgba(255,255,255,.1) !important; }
.menu-toggle__disc i { position: absolute; width: 17px; height: 1px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle__disc i:first-child { top: 16px; }.menu-toggle__disc i:nth-child(2) { top: 23px; }
.menu-toggle__disc b { width: 3px; height: 3px; border-radius: 50%; background: var(--olive); transform: translateX(12px); transition: opacity .3s; }
.menu-toggle:hover .menu-toggle__disc { transform: rotate(12deg) scale(1.06); }
body.menu-open .menu-toggle > .menu-toggle__label:nth-child(1) { width: auto; opacity: 1; transform: none; }
body.menu-open .menu-toggle > .menu-toggle__disc:nth-child(2) { width: 42px; opacity: 1; transform: rotate(90deg); }
body.menu-open .menu-toggle__disc { transform: rotate(90deg); background: var(--ink) !important; color: var(--white); }
body.menu-open .menu-toggle__disc i:first-child { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-toggle__disc i:nth-child(2) { top: 20px; transform: rotate(-45deg); }
body.menu-open .menu-toggle__disc b { opacity: 0; }
.site-nav__panel { display: grid; padding: calc(var(--header-h) + env(safe-area-inset-top) + 24px) var(--safe) max(28px,env(safe-area-inset-bottom)); transform: translateX(14px) scale(.99); }
.site-nav__content { min-width: 0; }
.site-nav__visual { display: none; }
.site-nav__eyebrow { margin-bottom: 18px; }
.site-nav__list { margin-bottom: 20px; }
.site-nav__list a { grid-template-columns: 30px 1fr; min-height: 54px; font-size: clamp(1.85rem,8.5vw,2.7rem); transition: color .3s, padding-left .45s var(--ease); }
.site-nav__list a:hover, .site-nav__list a:focus-visible { color: var(--olive-dark); padding-left: 8px; }
.nav-whatsapp { position: relative; display: grid; grid-template-columns: 43px 1fr 18px; gap: 12px; align-items: center; padding: 14px; overflow: hidden; border-radius: 16px; background: linear-gradient(125deg,#354025,var(--olive),#879566); background-size: 200% 100%; color: var(--white); box-shadow: 0 20px 48px rgba(52,61,35,.24); animation: premiumGradient 7s ease infinite alternate; }
.nav-whatsapp::after, .sector-quote::after, .whatsapp-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg,transparent 32%,rgba(255,255,255,.2),transparent 68%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.nav-whatsapp:hover::after, .sector-quote:hover::after, .whatsapp-cta:hover::after { transform: translateX(120%); }
.nav-whatsapp__seal { width: 43px; height: 43px; display: grid !important; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; font-family: var(--serif) !important; font-size: 1.55rem !important; }
.nav-whatsapp small, .nav-whatsapp strong { display: block; }
.nav-whatsapp strong { font-family: var(--serif); font-size: 1.13rem; font-weight: 600; line-height: 1.08; }
@keyframes premiumGradient { to { background-position: 100% 50%; } }

/* Hero cinemagraph is the media itself; there are no rain or wind overlay layers. */
.hero__picture { display: block; }
@media (max-width: 819px) {
  .hero { min-height: 100svh; }
  .hero__media img { object-position: center center; animation: none; }
  .hero__inner { gap: 24px; padding-top: calc(var(--header-h) + 104px); padding-bottom: max(34px,calc(24px + env(safe-area-inset-bottom))); }
  .hero h1 { font-size: clamp(3.35rem,14vw,5.15rem); line-height: .86; }
  .hero__lead { margin-block: 24px; font-size: .95rem; line-height: 1.62; }
  .hero__actions { gap: 13px 18px; }
}

/* Crisp one-line value ribbon that never pauses. */
.brand-ribbon { height: 58px; contain: layout paint; border-block: 1px solid rgba(255,255,255,.15); }
.brand-ribbon__track { position: absolute; inset: 0 auto 0 0; height: 100%; width: max-content; display: flex; flex-wrap: nowrap; align-items: center; gap: 24px; padding: 0 24px; white-space: nowrap; backface-visibility: hidden; will-change: transform; animation: ribbonMove 46s linear infinite; }
.brand-ribbon__track span { flex: 0 0 auto; max-width: none; font-family: var(--sans); font-size: .67rem; font-weight: 600; letter-spacing: .075em; line-height: 1; text-transform: uppercase; transform: translateZ(0); }
.brand-ribbon__track i { flex: 0 0 5px; width: 5px; height: 5px; }
.brand-ribbon:hover .brand-ribbon__track { animation-play-state: running; }

/* Unified sector portfolio: one large uncropped view and fast thumb navigation. */
.projects--unified { background: linear-gradient(180deg,var(--paper-light),#e7e3dc); }
.portfolio-label { margin: 0 0 13px; color: var(--olive-dark); font-size: .61rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.project-filters { margin-bottom: 34px; }
.project-filters button { position: relative; min-height: 52px; padding: 0 16px; overflow: hidden; border-radius: 14px; background: rgba(255,255,255,.42); transition: flex-basis .42s var(--ease-spring),transform .35s,background .35s,color .35s; }
.project-filters button::after { content: ""; position: absolute; width: 40px; height: 40px; right: -22px; bottom: -24px; border: 1px solid currentColor; border-radius: 50%; opacity: .25; transition: transform .5s var(--ease-spring); }
.project-filters button.is-active { min-width: 132px; background: var(--ink); border-color: var(--ink); transform: translateY(-3px); }
.project-filters button.is-active::after { transform: scale(1.75); }
.sector-panel__intro { gap: 17px; margin-bottom: 29px; }
.sector-panel__intro h3 { font-size: clamp(2.65rem,11.3vw,4.5rem); line-height: 1; }
.portfolio-viewer { display: grid; gap: 11px; }
.portfolio-stage { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 18px; background: #11120f; color: var(--white); box-shadow: 0 22px 58px rgba(17,17,17,.17); }
.portfolio-stage__picture { min-height: min(68svh,620px); display: flex; align-items: center; justify-content: center; background: #11120f; }
.portfolio-stage__picture img { width: 100%; height: auto; max-height: min(68svh,720px); object-fit: contain; transition: opacity .3s ease, transform .65s var(--ease); }
.portfolio-stage.is-changing img { opacity: .08; transform: scale(.985); }
.portfolio-stage figcaption { display: grid; gap: 3px; padding: 18px 82px 19px 18px; border-top: 1px solid rgba(255,255,255,.13); background: linear-gradient(120deg,#11120f,#22251d); }
.portfolio-stage figcaption span { color: #b9c49c; font-size: .55rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-stage figcaption strong { font-family: var(--serif); font-size: 1.52rem; font-weight: 600; line-height: 1.05; }
.portfolio-stage figcaption small { color: #bdbdb5; font-size: .68rem; }
.portfolio-stage__controls { position: absolute; right: 13px; bottom: 17px; display: flex; align-items: center; gap: 8px; }
.portfolio-stage__controls button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.portfolio-stage__controls button:first-child .arrow-svg { transform: rotate(-135deg); }
.portfolio-stage__controls .arrow-svg { width: 15px; height: 15px; }
.portfolio-stage__controls b { display: none; color: #d0d4c5; font-size: .57rem; letter-spacing: .08em; }
.portfolio-thumbs { width: calc(100% + var(--safe)); display: flex; gap: 8px; padding: 2px var(--safe) 12px 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.portfolio-thumbs::-webkit-scrollbar { display: none; }
.portfolio-thumb { position: relative; flex: 0 0 92px; height: 76px; display: grid; place-items: center; padding: 4px; overflow: hidden; border: 1px solid rgba(17,17,17,.2); border-radius: 12px; background: rgba(255,255,255,.44); scroll-snap-align: center; cursor: pointer; transition: border-color .3s,transform .35s,background .3s; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: contain; }
.portfolio-thumb span { position: absolute; right: 5px; bottom: 4px; min-width: 20px; padding: 2px 4px; border-radius: 8px; background: rgba(17,17,17,.72); color: #fff; font-size: .48rem; }
.portfolio-thumb.is-active { border-color: var(--olive-dark); background: var(--olive-dark); transform: translateY(-3px); }
.sector-quote { position: relative; overflow: hidden; border-radius: 15px; }

/* Real images are always shown in their complete original frame. */
.color-panel__image { min-height: 0; display: grid; place-items: center; background: #171814; }
.color-panel__image picture { width: 100%; display: flex; align-items: center; justify-content: center; }
.color-panel__image img { width: 100%; height: auto; max-height: 680px; object-fit: contain; animation: none; }
.proof__reel { display: grid; place-items: center; background: #10110f; }
.proof__reel picture { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: proofReelPicture 24s infinite; }
.proof__reel picture:nth-child(2) { animation-delay: 8s; }.proof__reel picture:nth-child(3) { animation-delay: 16s; }
.proof__reel picture img { position: static; width: 100%; height: 100%; object-fit: contain; opacity: 1; transform: none; animation: none; }
@keyframes proofReelPicture { 0% { opacity: 0; transform: scale(1.025); } 6%,29% { opacity: 1; } 36%,100% { opacity: 0; transform: scale(1); } }
.journal-card__media { height: auto; min-height: 190px; display: grid; place-items: center; background: #11120f; }
.journal-card__media picture { width: 100%; display: flex; align-items: center; justify-content: center; }
.journal-card__media img { width: 100%; height: auto; max-height: 260px; object-fit: contain; }

/* Manual process scene: no autoplay or timing bar. */
.process-stage { position: relative; margin: 0; overflow: hidden; border-radius: 18px; background: #11120f; box-shadow: 0 25px 60px rgba(17,17,17,.16); }
.process-stage picture { min-height: 430px; display: flex; align-items: center; justify-content: center; }
.process-stage img { width: 100%; height: auto; max-height: 660px; object-fit: contain; transition: opacity .3s,transform .6s var(--ease); }
.process-stage.is-changing img { opacity: .08; transform: scale(.985); }
.process-stage figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(17,17,17,.82); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.process-stage figcaption span { color: #b9c49c; font-size: .59rem; }
.process-stage figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.process-list button[aria-expanded="true"] { color: var(--olive-dark); }

/* Accurate national map with routes originating in central Mexico. */
.mexico-map { padding: 12px; border-radius: 18px; background: radial-gradient(circle at 58% 64%,rgba(138,151,96,.2),rgba(17,17,17,.11) 52%); }
.mexico-map__outline { fill: url(#mexicoFill); stroke: #dce3cc; stroke-width: 1.35; filter: drop-shadow(0 18px 28px rgba(0,0,0,.28)); }
.mexico-map__route { fill: none; stroke: rgba(241,243,235,.62); stroke-width: 1.5; stroke-dasharray: 8 12; animation: mapRoute 6s linear infinite; }
.mexico-map__origin { fill: #f3f1ea; }
.mexico-map__pulse { fill: none; stroke: #f3f1ea; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s ease-out infinite; }
.mexico-map > p { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 13px 14px; border-top: 1px solid rgba(255,255,255,.14); }
.mexico-map > p strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; }
.mexico-map > p span { color: #c4c8bc; font-size: .61rem; line-height: 1.5; }

/* Premium WhatsApp access remains understandable on touchscreens. */
.whatsapp-float { right: 10px; bottom: max(10px,env(safe-area-inset-bottom)); width: min(340px,calc(100vw - 20px)); min-width: 0; min-height: 60px; padding: 8px 14px 8px 8px; border-radius: 18px; background: linear-gradient(125deg,#303a22,#66744a,#899665); background-size: 220% 100%; animation: premiumGradient 6s ease infinite alternate, whatsappLift 4s ease-in-out infinite; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.whatsapp-float__copy { white-space: normal; }
.whatsapp-float__copy strong { display: block; font-size: 1rem; line-height: 1.02; }
@keyframes whatsappLift { 50% { transform: translateY(-4px); box-shadow: 0 21px 48px rgba(17,17,17,.34); } }

@media (min-width: 600px) {
  .portfolio-stage__controls b { display: block; }
  .portfolio-stage figcaption { padding-right: 190px; }
}

@media (min-width: 820px) {
  .section-heading { gap: clamp(40px,6vw,78px); margin-bottom: 58px; }
  .project-filters { width: 100%; padding-right: 0; overflow: visible; flex-wrap: wrap; }
  .project-filters button { flex: 1 1 170px; }
  .portfolio-viewer { grid-template-columns: minmax(0,1fr) 112px; gap: 12px; }
  .portfolio-thumbs { width: 112px; max-height: 720px; display: grid; align-content: start; padding: 0 5px 0 0; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y proximity; }
  .portfolio-thumb { width: 100%; height: 84px; }
  .portfolio-stage__picture { min-height: 660px; }
  .portfolio-stage__picture img { max-height: 720px; }
  .sector-panel__intro { grid-template-columns: minmax(0,1.15fr) minmax(300px,.6fr); }
  .sector-panel__intro > span { grid-column: 1 / -1; }
}

/* Keep the animated overlay menu on desktop as well. */
@media (min-width: 980px) {
  :root { --header-h: 88px; }
  .menu-toggle { display: flex; }
  .site-nav { position: fixed; inset: 0; visibility: hidden; pointer-events: none; }
  .site-nav__backdrop { display: block; }
  .site-nav__panel { position: absolute; inset: 0 0 0 auto; width: min(1120px,92vw); max-height: 100dvh; display: grid; grid-template-columns: minmax(320px,.78fr) minmax(480px,1fr); gap: 0; overflow: hidden; padding: 0; background: var(--paper-light); color: var(--ink); transform: translateX(5%); opacity: 0; }
  body.menu-open .site-nav { visibility: visible; pointer-events: auto; }
  body.menu-open .site-nav__panel { transform: none; opacity: 1; }
  .site-nav__visual { position: relative; display: grid; place-items: center; min-width: 0; min-height: 100%; overflow: hidden; background: #10120f; }
  .site-nav__visual picture { width: 100%; display: flex; align-items: center; justify-content: center; }
  .site-nav__visual img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; transition: opacity .3s,transform .6s var(--ease); }
  .site-nav__visual img.is-changing { opacity: .05; transform: scale(.985); }
  .site-nav__visual > span { position: absolute; right: 28px; bottom: 25px; left: 28px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.34); color: #fff; font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }
  .site-nav__content { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 34px) clamp(42px,6vw,86px) 46px; overflow-y: auto; }
  .site-nav__eyebrow { display: block; }
  .site-nav__list { display: grid; margin-bottom: 28px; border-top: 1px solid var(--line); }
  .site-nav__list li { opacity: 0; transform: translateY(14px); }
  .site-nav__list a { display: grid; grid-template-columns: 38px 1fr; min-height: 66px; padding: 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(2.35rem,3.6vw,4rem); font-weight: 600; letter-spacing: 0; line-height: 1; text-transform: none; }
  .site-nav__list a span { display: block; }
  .site-nav__list a::after { display: none; }
  .nav-whatsapp, .site-header:not(.is-scrolled) .nav-whatsapp { min-height: 70px; display: grid; grid-template-columns: 46px 1fr 19px; padding: 12px 15px; background: linear-gradient(125deg,#354025,var(--olive),#879566); color: #fff; }
  .nav-whatsapp__seal, .nav-whatsapp small { display: grid; }
  .nav-whatsapp strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0; text-transform: none; }
  body.admin-bar .site-nav { top: 32px; }
  .whatsapp-float { width: 68px; min-width: 68px; border-radius: 99px; transition: width .55s var(--ease-spring),transform .35s,box-shadow .35s; animation: premiumGradient 6s ease infinite alternate, whatsappLift 4s ease-in-out infinite; }
  .whatsapp-float__copy { width: 0; opacity: 0; white-space: nowrap; transition: width .45s var(--ease),opacity .3s .05s; }
  .whatsapp-float:hover, .whatsapp-float:focus-visible { width: 410px; transform: translateY(-6px); }
  .whatsapp-float:hover .whatsapp-float__copy, .whatsapp-float:focus-visible .whatsapp-float__copy { width: 328px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-ribbon__track, .nav-whatsapp, .whatsapp-float, .proof__reel picture, .mexico-map__route, .mexico-map__pulse { animation: none !important; }
  .proof__reel picture:first-child { opacity: 1; }
}

/* v1.2.3 — crisp mobile typography, full-frame photography and fast controls. */
body,
button,
input,
textarea,
select,
main p,
main li,
h1,
h2,
h3,
h4 {
  word-spacing: normal;
  text-justify: auto;
  hyphens: none;
}
main p:not(.eyebrow):not(.portfolio-label),
.hero__lead,
.section-heading > p,
.sector-panel__intro p,
.proof__lead,
.coverage__copy > p,
.faq p,
.entry-content p,
.entry-content li {
  text-align: left;
  text-wrap: pretty;
}
.section-heading h2,
.sector-panel__intro h3,
.proof h2,
.process h2,
.coverage h2,
.faq h2,
.contact h2,
.color-panel__copy h3 {
  line-height: 1.06;
  letter-spacing: -.025em;
}

/* The full logo lockup is anchored to the left at every breakpoint. */
.site-header__inner {
  position: relative;
  justify-content: space-between;
}
.brand,
.site-header.is-scrolled .brand {
  position: relative;
  left: auto;
  margin: 0 auto 0 0;
  place-items: center start;
  transform: none;
}
.brand img,
.site-header.is-scrolled .brand img {
  object-position: left center;
}

/* Editorial menu control: readable, tactile and compact on touchscreens. */
.menu-toggle {
  min-width: 96px;
  height: 44px;
  gap: 7px;
  margin-left: auto;
  padding: 5px 6px 5px 11px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(246,244,238,.08);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.menu-toggle:hover,
.menu-toggle:focus-visible { transform: translateY(-2px); }
.menu-toggle__label {
  display: block;
  font-size: .55rem;
  letter-spacing: .1em;
}
.menu-toggle__disc,
body.menu-open .menu-toggle > .menu-toggle__disc:nth-child(2) {
  width: 31px !important;
  height: 30px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  transform: none;
}
.menu-toggle__disc i { width: 16px; height: 1px; }
.menu-toggle__disc i:first-child { top: 9px; }
.menu-toggle__disc i:nth-child(2) { top: 15px; }
.menu-toggle__disc b {
  position: absolute;
  top: 21px;
  width: 12px;
  height: 1px;
  border-radius: 0;
  background: currentColor;
  transform: translateX(2px);
}
body.menu-open .menu-toggle__disc i:first-child { top: 15px; transform: rotate(45deg); }
body.menu-open .menu-toggle__disc i:nth-child(2) { top: 15px; transform: rotate(-45deg); }
body.menu-open .menu-toggle__disc b { opacity: 0; }
.site-nav__panel,
.site-nav__content { border-radius: 16px 0 0 16px; }
.nav-whatsapp { border-radius: 14px; }

/* Sector tabs have no ornamental bubbles and react without layout shifts. */
.project-filters { gap: 8px; }
.project-filters button {
  min-height: 48px;
  padding-inline: 15px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
  transition: transform .24s ease, border-color .24s, background .24s, color .24s;
}
.project-filters button::after { display: none !important; content: none !important; }
.project-filters button.is-active {
  min-width: 0;
  transform: none;
  box-shadow: 0 10px 24px rgba(17,17,17,.12);
}
.project-filters button:active { transform: scale(.98); }

/* Main gallery always preserves the complete frame, without padded black wells. */
.portfolio-viewer { align-items: start; }
.portfolio-stage {
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(17,17,17,.12);
  touch-action: pan-y;
}
.portfolio-stage__picture {
  min-height: 0 !important;
  display: block;
  background: transparent;
}
.portfolio-stage__picture img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none !important;
  object-fit: initial;
  filter: none;
  transition: opacity .16s ease;
}
.portfolio-stage.is-changing img { opacity: .45; transform: none; }
.portfolio-stage figcaption { padding-block: 16px; }
.portfolio-stage__controls button { border-radius: 10px; }
.portfolio-thumbs {
  gap: 8px;
  overscroll-behavior-inline: contain;
  touch-action: pan-x;
}
.portfolio-thumb {
  flex: 0 0 auto;
  width: auto;
  height: 76px;
  padding: 0;
  border-radius: 10px;
  background: transparent;
}
.portfolio-thumb img {
  display: block;
  width: auto;
  max-width: 118px;
  height: 100%;
  object-fit: contain;
  filter: none;
}
.portfolio-thumb.is-active { transform: translateY(-2px); background: transparent; }

/* Storytelling and editorial images are sharp, edge-to-edge and purposeful. */
.color-panel,
.color-panel__image,
.proof__facts > div,
.process-stage,
.journal-card,
.archive-card,
.archive-card__media,
.entry-cover,
.entry-cover picture,
.entry-cover img,
.mexico-map,
.contact-direct,
.sector-quote {
  border-radius: 14px;
}
.color-panel__image {
  min-height: 0;
  display: block;
  overflow: hidden;
  background: transparent;
}
.color-panel__image picture,
.color-panel__image img,
.process-stage picture,
.process-stage img,
.journal-card__media picture,
.journal-card__media img,
.archive-card__media picture,
.archive-card__media img,
.entry-cover picture,
.entry-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: initial;
  filter: none;
}
.proof__reel picture img {
  filter: none;
  object-fit: cover;
}
.proof__veil { background: linear-gradient(90deg,rgba(9,10,8,.92),rgba(9,10,8,.64) 58%,rgba(9,10,8,.3)); }
.journal-card__media,
.archive-card__media {
  min-height: 0;
  overflow: hidden;
  background: transparent;
}
.process-stage picture { min-height: 0; }
.process-stage.is-changing img { opacity: .45; transform: none; }
.process-stage figcaption,
.proof__facts > div,
.site-header.is-scrolled,
.quick-nav,
.mexico-map {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.entry-cover { margin-bottom: clamp(28px,5vw,58px); overflow: hidden; }

@media (max-width: 819px) {
  .brand,
  .brand img,
  .site-header.is-scrolled .brand img {
    width: 142px;
    min-width: 142px;
  }
  .menu-toggle__label { display: block; }
  .hero__inner { padding-top: calc(var(--header-h) + 82px); }
  .hero h1 { font-size: clamp(3.15rem,13.2vw,4.7rem); line-height: .91; }
  .section { padding-block: 64px; }
  .section-heading { gap: 22px; }
  .project-filters {
    width: calc(100% + var(--safe));
    padding-right: var(--safe);
    overflow-x: auto;
    flex-wrap: nowrap;
    overscroll-behavior-inline: contain;
  }
  .project-filters button { flex: 0 0 auto; }
  .portfolio-stage figcaption { padding-right: 82px; }
  .color-panel__copy { padding: 28px 0 0; }
}

@media (min-width: 820px) {
  .portfolio-viewer { grid-template-columns: minmax(0,1fr) 122px; }
  .portfolio-thumbs {
    width: 122px;
    max-height: 760px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
  }
  .portfolio-thumb { width: 100%; height: auto; min-height: 68px; }
  .portfolio-thumb img { width: 100%; max-width: none; height: auto; }
}

/* Final typography and menu-image quality audit. */
main p,
main li,
main h1,
main h2,
main h3 {
  -webkit-hyphens: none !important;
  hyphens: none !important;
}
@media (min-width: 980px) {
  .site-nav__visual picture,
  .site-nav__visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
}

/* v1.2.4 — cinematic motion, stable galleries and section-aware navigation. */
.hero__media { background: #0b0c0b url("../images/hero-rain-mobile-static.webp") center / cover no-repeat; }
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: none; }
main p, main li, main h1, main h2, main h3, .site-nav, .project-filters button { word-spacing: normal !important; text-align: left; }
main p, main li { letter-spacing: normal; }
main h1, main h2, main h3 { text-wrap: balance; }

/* These sticky controls naturally stop at the end of their own section. */
.projects, .color-story { overflow: visible !important; }
.project-sector-nav {
  position: sticky; z-index: 72; top: calc(var(--header-h) + 49px);
  margin: 0 calc(var(--safe) * -1) 28px; padding: 9px var(--safe) 3px;
  background: rgba(244,242,237,.98); border-block: 1px solid rgba(17,17,17,.09);
  box-shadow: 0 12px 30px rgba(17,17,17,.06);
}
.project-sector-nav .portfolio-label { margin: 0 0 6px; color: #5e6355; font-size: .54rem; letter-spacing: .13em; text-transform: uppercase; }
.project-sector-nav .project-filters { width: calc(100% + var(--safe)); margin: 0; padding: 0 var(--safe) 7px 0; }
.project-filters button { border-color: rgba(17,17,17,.17); background: rgba(255,255,255,.78); }
.project-filters button.is-active { background: linear-gradient(135deg,#344023,#6e7a4d); border-color: transparent; color: #fff; box-shadow: 0 9px 24px rgba(52,64,35,.2); }

/* Fixed media canvas: changing formats can no longer move the page. */
.portfolio-stage {
  --portfolio-media-h: clamp(350px,58svh,560px); position: relative; display: grid;
  grid-template-rows: var(--portfolio-media-h) minmax(106px,auto); overflow: hidden;
  background: #0d0e0c; contain: layout paint; isolation: isolate;
}
.portfolio-stage > .portfolio-stage__picture {
  grid-area: 1 / 1; width: 100%; height: var(--portfolio-media-h) !important;
  min-height: 0 !important; display: grid; place-items: center; background: #0d0e0c;
  opacity: 1; transform: scale(1);
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
}
.portfolio-stage > .portfolio-stage__picture img {
  width: 100%; height: 100% !important; max-height: none !important; object-fit: contain !important;
  object-position: center; filter: none !important; transform: none !important; transition: none !important;
}
.portfolio-stage > .portfolio-stage__picture--incoming { z-index: 2; opacity: 0; transform: scale(1.012); }
.portfolio-stage > .portfolio-stage__picture--incoming.is-ready { opacity: 1; transform: scale(1); }
.portfolio-stage > .portfolio-stage__picture--outgoing { opacity: 0; transform: scale(.994); }
.portfolio-stage figcaption { z-index: 4; grid-row: 2; min-height: 106px; align-content: center; padding: 17px 74px 18px 18px; }
.portfolio-stage__controls {
  z-index: 6; top: 0; right: 0; bottom: auto; left: 0; height: var(--portfolio-media-h);
  justify-content: space-between; padding: 0 10px; pointer-events: none;
}
.portfolio-stage__controls button {
  width: 46px; height: 46px; border-radius: 13px; border-color: rgba(255,255,255,.42);
  background: rgba(13,14,12,.72); box-shadow: 0 8px 24px rgba(0,0,0,.2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: auto;
  touch-action: manipulation; transition: transform .22s ease, background .22s ease;
}
.portfolio-stage__controls button:active { transform: scale(.94); }
.portfolio-stage__controls button:last-child .arrow-svg { transform: rotate(45deg); }
.portfolio-stage__controls b { position: absolute; top: 13px; right: 13px; display: block; padding: 5px 8px; border-radius: 8px; background: rgba(13,14,12,.72); }
.portfolio-thumbs { margin-top: 9px; }
.portfolio-thumb { width: 94px; height: 72px; overflow: hidden; border-radius: 11px; background: #111; }
.portfolio-thumb img { width: 100%; max-width: none; height: 100%; object-fit: cover; }
.sector-panel, .residential-motion, .motion-card { border-radius: 16px; }
.sector-panel { padding-inline: 1px; }

/* The four residential videos are loaded only when this sector is opened. */
.residential-motion { margin-top: 54px; padding: clamp(24px,5vw,56px); overflow: hidden; background: #171914; color: #f4f2ed; }
.residential-motion[hidden] { display: none; }
.residential-motion__heading { max-width: 760px; margin-bottom: 26px; }
.residential-motion__heading h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(2.5rem,8.8vw,4.8rem); font-weight: 600; line-height: .98; }
.residential-motion__heading > p:last-child { color: #c7c9c0; }
.residential-motion__track {
  width: calc(100% + 24px); display: flex; align-items: flex-start; gap: 12px;
  margin-right: -24px; padding-right: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-inline: contain;
}
.residential-motion__track::-webkit-scrollbar { display: none; }
.motion-card { flex: 0 0 min(84vw,430px); margin: 0; overflow: hidden; scroll-snap-align: start; background: #080908; border: 1px solid rgba(255,255,255,.16); }
.motion-card video { display: block; width: 100%; height: auto; min-height: 220px; max-height: 68svh; object-fit: contain; background: #080908; }
.motion-card figcaption { display: flex; align-items: center; gap: 13px; min-height: 68px; padding: 13px 15px; border-top: 1px solid rgba(255,255,255,.13); }
.motion-card figcaption span { color: #b7c49b; font-size: .58rem; }
.motion-card figcaption strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }

/* Stronger proof narrative with sharp photography and restrained motion. */
.proof__reel picture img { filter: none !important; }
.proof__reel picture:nth-child(odd) img { animation: proofDriftA 16s ease-in-out infinite alternate; }
.proof__reel picture:nth-child(even) img { animation: proofDriftB 16s ease-in-out infinite alternate; }
.proof__signal { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.proof__signal i { position: absolute; left: -35%; width: 70%; height: 1px; background: linear-gradient(90deg,transparent,rgba(190,205,153,.64),transparent); animation: proofSignal 9s linear infinite; }
.proof__signal i:nth-child(1) { top: 25%; }
.proof__signal i:nth-child(2) { top: 58%; animation-delay: -3s; animation-duration: 12s; }
.proof__signal i:nth-child(3) { top: 82%; animation-delay: -6s; animation-duration: 15s; }
.proof__facts > div { position: relative; overflow: hidden; border-radius: 15px; background: rgba(11,12,10,.76); }
.proof__facts > div::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: linear-gradient(90deg,transparent,#aebc89,transparent); transform: translateX(-100%); animation: proofCardLine 7s ease-in-out infinite; }
.proof__facts > div:nth-child(2)::after { animation-delay: -2.3s; }
.proof__facts > div:nth-child(3)::after { animation-delay: -4.6s; }
@keyframes proofDriftA { to { transform: scale(1.045) translate3d(-1.2%,.5%,0); } }
@keyframes proofDriftB { to { transform: scale(1.045) translate3d(1.2%,-.5%,0); } }
@keyframes proofSignal { to { transform: translateX(195%); } }
@keyframes proofCardLine { 0%,28% { transform: translateX(-100%); } 55%,100% { transform: translateX(100%); } }

/* Color navigation stays available only while the color story is on screen. */
.color-tabs {
  position: sticky; z-index: 70; top: calc(var(--header-h) + 49px);
  width: calc(100% + var(--safe) * 2); margin: 0 calc(var(--safe) * -1) 22px;
  padding: 9px var(--safe); background: rgba(235,232,224,.98);
  border-block: 1px solid rgba(17,17,17,.09); box-shadow: 0 12px 30px rgba(17,17,17,.05);
}
.color-panel { overflow: hidden; }
.color-panel__image::after { display: none !important; }
.color-panel__image img { filter: none !important; opacity: 1 !important; animation: none !important; }

/* An animated coverage signal without extra map assets. */
.mexico-map { position: relative; overflow: hidden; }
.mexico-map::before { content: ""; position: absolute; inset: -45%; background: conic-gradient(from 0deg,transparent 0 82%,rgba(202,214,174,.12) 90%,transparent 97%); animation: mapRadar 9s linear infinite; pointer-events: none; }
.mexico-map svg, .mexico-map > p { position: relative; z-index: 1; }
.mexico-map__sweep { fill: none; stroke: rgba(243,241,234,.52); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: mapSweep 3.3s ease-out infinite; }
.mexico-map__point { fill: #f3f1ea; transform-box: fill-box; transform-origin: center; }
@keyframes mapRadar { to { transform: rotate(360deg); } }
@keyframes mapSweep { from { opacity: .8; transform: scale(.25); } to { opacity: 0; transform: scale(2.6); } }

@media (min-width: 820px) {
  .hero__media { background-image: url("../images/hero-rain-desktop-static.webp"); }
  .portfolio-stage { --portfolio-media-h: clamp(600px,68svh,760px); }
  .portfolio-viewer { grid-template-columns: minmax(0,1fr) 122px; }
  .portfolio-thumbs { max-height: calc(var(--portfolio-media-h) + 106px); }
  .residential-motion__track { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; overflow: visible; }
  .motion-card { min-width: 0; }
  .motion-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(0,0,0,.24); }
  .project-sector-nav .project-filters { width: 100%; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .proof__signal, .mexico-map::before { display: none; }
  .proof__reel picture img, .proof__facts > div::after, .mexico-map__sweep { animation: none !important; }
}

/* v1.2.5 final cascade — intentionally last. */
:root { --safe: clamp(20px,5.5vw,34px); }
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { overflow-x: clip; }
.shell { min-width: 0; }
main p, main li, main h1, main h2, main h3, main strong, main small {
  max-width: 100%; word-spacing: 0 !important; overflow-wrap: normal; word-break: normal;
  hyphens: none; text-align: left; text-justify: auto;
}
main h1, main h2, main h3 { text-wrap: balance; line-height: 1.01; }
.quick-nav { position: relative !important; top: auto !important; }
.projects, .color-story { overflow: visible !important; }

.menu-toggle {
  min-width: 104px; width: auto; height: 44px; display: flex; align-items: center; gap: 9px;
  margin-left: auto; padding: 5px 6px 5px 13px; border: 1px solid rgba(255,255,255,.42);
  border-radius: 13px; background: rgba(17,17,17,.16); color: inherit;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); transform: none;
}
.site-header.is-scrolled .menu-toggle, body.menu-open .menu-toggle { border-color: rgba(17,17,17,.18); background: rgba(255,255,255,.68); }
.menu-toggle:hover, .menu-toggle:focus-visible { background: var(--olive); color: #fff; transform: translateY(-2px); }
.menu-toggle__label { display: block; width: auto !important; height: auto !important; background: transparent !important; font-size: .55rem; letter-spacing: .1em; }
.menu-toggle__disc, body.menu-open .menu-toggle > .menu-toggle__disc:nth-child(2) {
  position: relative; width: 31px !important; height: 31px !important; display: block !important;
  border: 0 !important; border-radius: 10px !important; background: rgba(110,122,77,.22) !important; transform: none;
}
.menu-toggle__disc i, .menu-toggle__disc b {
  position: absolute; top: 14px !important; width: 3px !important; height: 3px !important;
  border: 0; border-radius: 50% !important; background: currentColor; transform: none;
  transition: left .35s var(--ease), width .35s var(--ease), transform .4s var(--ease), opacity .25s;
}
.menu-toggle__disc i:first-child { left: 7px; }.menu-toggle__disc i:nth-child(2) { left: 14px; }.menu-toggle__disc b { left: 21px; }
body.menu-open .menu-toggle__disc i { top: 15px !important; left: 7px; width: 17px !important; height: 1.5px !important; border-radius: 2px !important; }
body.menu-open .menu-toggle__disc i:first-child { transform: rotate(45deg); }
body.menu-open .menu-toggle__disc i:nth-child(2) { transform: rotate(-45deg); }
body.menu-open .menu-toggle__disc b { opacity: 0; }
.site-nav__panel { border-radius: 18px 0 0 18px; }
.site-nav__list a { border-radius: 11px; }
.nav-whatsapp { border-radius: 15px; }

.project-sector-nav {
  position: sticky; z-index: 72; top: calc(var(--header-h) + 6px); width: 100%;
  margin: 0 0 28px; padding: 6px; border: 1px solid rgba(17,17,17,.1); border-radius: 14px;
  background: rgba(244,242,237,.94); box-shadow: 0 9px 28px rgba(17,17,17,.07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
body.admin-bar .project-sector-nav, body.admin-bar .color-tabs { top: calc(var(--header-h) + 38px); }
.project-sector-nav .portfolio-label { display: none; }
.project-sector-nav .project-filters { width: 100%; margin: 0; padding: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.project-filters button {
  flex: 0 0 auto; min-width: 0; min-height: 40px; padding: 0 13px;
  border: 1px solid rgba(17,17,17,.13); border-radius: 10px; background: rgba(255,255,255,.64);
  box-shadow: none; transform: none; font-size: .58rem; letter-spacing: .055em; white-space: nowrap;
}
.project-filters button > span { display: none; }
.project-filters button.is-active { min-width: 0; border-color: transparent; background: linear-gradient(135deg,#303a23,#6e7a4d); box-shadow: 0 7px 18px rgba(52,64,35,.17); transform: none; }

.portfolio-stage {
  position: relative; display: block; contain: none; isolation: isolate; margin: 0; overflow: hidden;
  border-radius: 15px; background: #e3e0d8; color: #fff; box-shadow: 0 20px 52px rgba(17,17,17,.13);
}
.portfolio-stage__media {
  --stage-height: min(58svh,560px); position: relative; width: 100%; height: var(--stage-height);
  min-height: 300px; overflow: hidden; background: #e3e0d8; transition: height .66s cubic-bezier(.22,.72,.22,1);
}
.portfolio-stage__media > .portfolio-stage__picture {
  position: absolute; z-index: 1; inset: 0; width: 100%; height: 100% !important; min-height: 0 !important;
  display: grid; place-items: center; overflow: hidden; background: transparent;
  opacity: 1; clip-path: inset(0 round 0); transform: scale(1);
  transition: opacity .58s ease, transform .72s var(--ease), clip-path .72s var(--ease);
}
.portfolio-stage__media > .portfolio-stage__picture img {
  width: 100%; height: 100% !important; max-height: none !important; object-fit: contain !important;
  object-position: center; filter: none !important; transform: none !important;
}
.portfolio-stage__media > .portfolio-stage__picture--incoming { z-index: 2; opacity: 0; clip-path: inset(0 5% round 15px); transform: scale(1.014); }
.portfolio-stage__media > .portfolio-stage__picture--incoming.is-ready { opacity: 1; clip-path: inset(0 round 0); transform: scale(1); }
.portfolio-stage__media > .portfolio-stage__picture--outgoing { opacity: 0; transform: scale(.988); }
.portfolio-stage figcaption {
  position: relative; z-index: 5; min-height: 102px; display: grid; align-content: center; gap: 3px;
  padding: 17px 20px 18px; border-top: 0; background: linear-gradient(120deg,#11120f,#23261d);
  transition: opacity .3s ease, transform .4s var(--ease);
}
.portfolio-stage figcaption.is-changing { opacity: .35; transform: translateY(4px); }
.portfolio-stage__controls {
  position: absolute; z-index: 8; inset: 0; height: auto; display: flex; align-items: center;
  justify-content: space-between; padding: 0 9px; pointer-events: none;
}
.portfolio-stage__controls button {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  border: 1px solid rgba(255,255,255,.5); border-radius: 12px; background: rgba(12,13,11,.68);
  color: #fff; box-shadow: 0 7px 20px rgba(0,0,0,.18); pointer-events: auto;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.portfolio-stage__controls button:first-child .arrow-svg { transform: rotate(-135deg); }
.portfolio-stage__controls button:last-child .arrow-svg { transform: rotate(45deg); }
.portfolio-stage__controls b { position: absolute; top: 10px; right: 10px; display: block; padding: 4px 7px; border-radius: 8px; background: rgba(12,13,11,.72); }
.portfolio-thumbs { width: 100%; margin-top: 9px; padding: 2px 0 10px; gap: 7px; overflow-x: auto; overscroll-behavior-inline: contain; }
.portfolio-thumb { flex: 0 0 86px; width: 86px; height: 68px; padding: 3px; border-radius: 11px; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.residential-motion { width: 100%; margin-top: 48px; padding: clamp(22px,5vw,50px); border-radius: 16px; }
.residential-motion__track { width: 100%; margin-right: 0; padding-right: 0; gap: 11px; }
.motion-card { border-radius: 14px; }
.motion-card video { width: 100%; height: auto; min-height: 0; max-height: 70svh; object-fit: contain; background: #080908; }

.proof { overflow: hidden; }
.proof__reel picture img { width: 100%; height: 100%; object-fit: cover; filter: none !important; }
.proof__veil { background: linear-gradient(90deg,rgba(8,9,8,.93),rgba(8,9,8,.59) 60%,rgba(8,9,8,.24)); }
.proof__facts { width: 100%; padding-right: 0; }
.color-tabs {
  position: sticky; z-index: 70; top: calc(var(--header-h) + 6px); width: 100%; margin: 0 0 22px;
  padding: 6px; gap: 5px; border: 1px solid rgba(17,17,17,.1); border-radius: 14px;
  background: rgba(235,232,224,.94); box-shadow: 0 9px 28px rgba(17,17,17,.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.color-tabs button { min-height: 40px; padding: 0 11px; border-radius: 10px; white-space: nowrap; }
.color-panel { border-radius: 15px; overflow: hidden; }
.color-panel__image { min-height: 0; display: block; overflow: hidden; background: #dedbd3; }
.color-panel__image picture { width: 100%; height: auto; display: block; }
.color-panel__image img { width: 100%; height: auto; max-height: none; object-fit: contain; filter: none !important; opacity: 1 !important; animation: none !important; }
.color-panel__copy { min-width: 0; padding: clamp(24px,6vw,54px); }
.journal__grid, .project-gallery, .solutions__track { width: 100%; padding-right: 0; }

@media (max-width: 819px) {
  .section { padding-block: 70px; }
  .section-heading { gap: 20px; margin-bottom: 34px; }
  .section-heading h2, .process h2, .faq h2, .coverage h2, .contact h2 { font-size: clamp(2.65rem,11.5vw,4.25rem); }
  .sector-panel__intro h3, .color-panel__copy h3 { font-size: clamp(2.25rem,10vw,3.8rem); }
  .project-sector-nav, .color-tabs { top: calc(var(--header-h) + 5px); }
  body.admin-bar .project-sector-nav, body.admin-bar .color-tabs { top: calc(var(--header-h) + 51px); }
  .color-tabs { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .color-tabs button { flex: 0 0 auto; }
  .portfolio-stage__media { min-height: 280px; }
  .portfolio-stage figcaption { min-height: 112px; padding-right: 18px; }
  .portfolio-stage__controls b { font-size: .54rem; }
  .residential-motion { padding-inline: 20px; }
  .residential-motion__heading h3 { font-size: clamp(2.35rem,10.5vw,3.7rem); }
  .proof__content { padding-block: 84px; }
  .proof__facts { display: grid; gap: 8px; overflow: visible; }
  .proof__facts > div { width: 100%; }
}

@media (min-width: 820px) {
  .portfolio-viewer { grid-template-columns: minmax(0,1fr) 112px; align-items: start; }
  .portfolio-stage__media { --stage-height: min(76vh,760px); min-height: 560px; }
  .portfolio-thumbs { width: 112px; max-height: calc(min(76vh,760px) + 102px); padding: 0 5px 0 0; overflow-x: hidden; overflow-y: auto; }
  .portfolio-thumb { width: 100%; height: 76px; }
  .residential-motion__track { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
}

/* v1.2.6 final cascade: complete frames, faster transitions and editorial video story. */
.hero__media {
  background: #171914 url('../images/hero-rain-mobile-static.webp') center / cover no-repeat;
}
.hero__video {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: translateZ(0); backface-visibility: hidden;
}

.portfolio-stage__media {
  min-height: 0; overflow: hidden; overflow-anchor: none; contain: layout paint;
  background: #dedbd3; transition: height .48s cubic-bezier(.22,.72,.22,1);
}
.portfolio-stage__media > .portfolio-stage__picture {
  clip-path: none !important; transform: translate3d(0,0,0) scale(1);
  transition: opacity .38s ease, transform .48s cubic-bezier(.22,.72,.22,1);
  will-change: auto;
}
.portfolio-stage__media[aria-busy="true"] > .portfolio-stage__picture { will-change: opacity,transform; }
.portfolio-stage__media > .portfolio-stage__picture img {
  width: 100%; height: 100% !important; object-fit: contain !important; object-position: 50% 50%;
}
.portfolio-stage__media > .portfolio-stage__picture--incoming {
  opacity: 0; clip-path: none !important; transform: translate3d(1.8%,0,0) scale(1.006);
}
.portfolio-stage__media > .portfolio-stage__picture--incoming.is-ready {
  opacity: 1; transform: translate3d(0,0,0) scale(1);
}
.portfolio-stage__media > .portfolio-stage__picture--outgoing {
  opacity: 0; transform: translate3d(-1.2%,0,0) scale(.997);
}
.portfolio-stage figcaption.is-changing { opacity: .58; transform: translateY(2px); }
.portfolio-thumb img { object-fit: contain !important; background: #dedbd3; }

.site-nav__visual { background: #11120f; }
.site-nav__visual picture,
.site-nav__visual img { width: 100%; height: 100%; }
.site-nav__visual img { object-fit: contain !important; object-position: center; filter: none !important; }

.journal-card__media,
.archive-card__media,
.entry-cover {
  height: auto !important; min-height: 0 !important; aspect-ratio: auto !important;
  display: block; overflow: hidden; background: #dedbd3;
}
.journal-card__media picture,
.archive-card__media picture,
.entry-cover picture { display: block; width: 100%; height: auto !important; }
.journal-card__media img,
.archive-card__media img,
.entry-cover img {
  display: block; width: 100%; height: auto !important; max-height: none !important;
  object-fit: contain !important; object-position: center; filter: none !important;
}

.motion-story {
  position: relative; overflow: hidden; padding-block: clamp(78px,10vw,150px);
  background:
    radial-gradient(circle at 90% 8%,rgba(110,122,77,.22),transparent 35%),
    linear-gradient(145deg,#11120f 0%,#1d2118 52%,#0b0c0a 100%);
  color: #f4f2ed;
}
.motion-story::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background: linear-gradient(115deg,transparent 28%,rgba(255,255,255,.08) 49%,transparent 67%);
  transform: translateX(-100%); animation: motionStoryLight 11s ease-in-out infinite;
}
@keyframes motionStoryLight { 0%,18% { transform: translateX(-100%); } 62%,100% { transform: translateX(100%); } }
.motion-story__heading { position: relative; z-index: 1; max-width: 900px; margin-bottom: clamp(52px,8vw,96px); }
.motion-story__heading h2 {
  max-width: 820px; margin: 12px 0 22px; font-family: var(--serif);
  font-size: clamp(3rem,7.5vw,7rem); font-weight: 600; line-height: .94;
}
.motion-story__heading > p:last-child { max-width: 690px; color: #c7c9c0; line-height: 1.75; }
.motion-story__chapters { position: relative; z-index: 1; display: grid; gap: clamp(48px,9vw,112px); }
.motion-story__chapter { display: grid; gap: 24px; align-items: center; }
.motion-story__chapter figure {
  position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; background: #080908; box-shadow: 0 28px 72px rgba(0,0,0,.27);
}
.motion-story__chapter figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}
.motion-story__chapter video { display: block; width: 100%; height: auto; max-height: 76svh; object-fit: contain; background: #080908; }
.motion-story__chapter > div { max-width: 490px; }
.motion-story__chapter > div > span { color: #aeb993; font-size: .62rem; letter-spacing: .16em; }
.motion-story__chapter h3 { margin: 14px 0 17px; font-family: var(--serif); font-size: clamp(2.2rem,5vw,4.5rem); font-weight: 600; line-height: .98; }
.motion-story__chapter p { color: #c5c7bf; line-height: 1.75; }

@media (max-width: 819px) {
  .portfolio-stage__media { min-height: 280px !important; }
  .portfolio-stage__controls { padding-inline: 7px; }
  .portfolio-stage__controls button { width: 40px; height: 40px; }
  .motion-story__heading h2 { font-size: clamp(3rem,13vw,4.8rem); }
  .motion-story__chapter { gap: 20px; }
  .motion-story__chapter > div { padding-inline: 3px; }
  .motion-story__chapter h3 { font-size: clamp(2.25rem,9.5vw,3.45rem); }
  .site-nav__visual img { object-position: center; }
}

@media (min-width: 820px) {
  .hero__media { background-image: url('../images/hero-rain-desktop-static.webp'); }
  .portfolio-stage__media { min-height: 430px !important; }
  .portfolio-thumbs { max-height: calc(min(78vh,780px) + 102px); }
  .motion-story__chapter { grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: clamp(48px,7vw,110px); }
  .motion-story__chapter:nth-child(even) { grid-template-columns: minmax(300px,.65fr) minmax(0,1.35fr); }
  .motion-story__chapter:nth-child(even) figure { order: 2; }
  .motion-story__chapter:nth-child(even) > div { order: 1; justify-self: end; }
  .motion-story__chapter:nth-child(odd) > div { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-story::before { animation: none; }
  .portfolio-stage__media,
  .portfolio-stage__media > .portfolio-stage__picture { transition-duration: .01ms !important; }
}

/* v1.2.7 — stable full-frame media on every viewport. */
.portfolio-stage__media {
  --stage-height: clamp(360px,62svh,560px) !important;
  height: var(--stage-height) !important;
  min-height: 0 !important;
  transition: none !important;
  overflow-anchor: none;
}
.portfolio-stage__media > .portfolio-stage__picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
.portfolio-stage__media > .portfolio-stage__picture--incoming {
  transform: translate3d(2.4%,0,0) scale(1.004);
}
.portfolio-stage__media > .portfolio-stage__picture--incoming.is-ready {
  transform: translate3d(0,0,0) scale(1);
}
.portfolio-stage__media > .portfolio-stage__picture--outgoing {
  transform: translate3d(-1.8%,0,0) scale(.998);
}
.portfolio-stage__controls { touch-action: manipulation; }
.portfolio-stage__controls button { -webkit-user-select: none; user-select: none; }

.journal-card__media,
.archive-card__media,
.entry-cover {
  overflow: hidden;
  border-radius: 12px;
}
.journal-card__media img,
.archive-card__media img,
.entry-cover img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.motion-story__chapter figure,
.motion-story__chapter video { width: 100%; }
.motion-story__chapter video { max-height: none; }

@media (max-width: 819px) {
  .portfolio-stage__media { --stage-height: clamp(360px,62svh,540px) !important; }
  .motion-story__chapters { gap: 64px; }
  .motion-story__chapter { grid-template-columns: minmax(0,1fr); }
  .motion-story__chapter figure { width: calc(100% + (var(--safe) * .65)); margin-left: calc(var(--safe) * -.325); }
  .motion-story__chapter video { max-height: 78svh; object-fit: contain; }
}

@media (min-width: 820px) {
  .portfolio-stage__media { --stage-height: clamp(580px,72vh,780px) !important; }
  .motion-story__chapter:first-child { grid-template-columns: minmax(0,1.55fr) minmax(300px,.55fr); }
  .motion-story__chapter figure { min-width: 0; }
}
