:root {
  --paper: #fff;
  --ink: #111;
  --ink-2: #262626;
  --ink-3: #747474;
  --ink-4: #a3a3a3;
  --rule: #d6d6d6;
  --pill: rgba(14, 14, 14, .6);
  --column-gap: 1rem;
  --row-gap: 0;
  --xxl-space: 8.5rem;
  --ease-house: cubic-bezier(0, 0, .13, .99);
  --ease-reveal: cubic-bezier(.14, .83, .4, 1);
  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --panel-h: 28.5rem;
  --pin-distance: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; scrollbar-gutter: stable; }
html.is-locked, html.is-locked body { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: .1rem dashed rgb(227, 193, 170); outline-offset: .2rem; }

[data-market="vivienda"]   { --market-main: rgb(96, 86, 84);    --market-content: #fff;    --market-contrast: #262626; }
[data-market="interiores"] { --market-main: rgb(150, 88, 56);   --market-content: #fff;    --market-contrast: #262626; }
[data-market="educacion"]  { --market-main: rgb(203, 212, 223); --market-content: #262626; --market-contrast: #fff; }
[data-market="civico"]     { --market-main: rgb(110, 118, 106); --market-content: #fff;    --market-contrast: #262626; }
[data-market="comercial"]  { --market-main: rgb(228, 196, 172); --market-content: #262626; --market-contrast: #fff; }

.t-3xl { font-size: clamp(4.6rem, .25rem + 5.6640625vw, 7.5rem); line-height: 1; font-weight: 400; }
.t-2xl { font-size: clamp(4.4rem, .2857rem + 5.3571vw, 5.6rem); line-height: 1.1; font-weight: 400; }
.t-xl  { font-size: clamp(3.4rem, .5rem + 3.5vw, 5rem); line-height: 1.1; font-weight: 400; }
.t-l   { font-size: clamp(2.8rem, -.6286rem + 4.4643vw, 3.8rem); line-height: 1.1; font-weight: 400; }
.t-m   { font-size: clamp(2.4rem, 1.0286rem + 1.7857vw, 2.8rem); line-height: 1.3; font-weight: 400; }
.t-sm  { font-size: clamp(2rem, .6286rem + 1.7857vw, 2.4rem); line-height: 1.35; font-weight: 400; }
.t-s   { font-size: 1.4rem; line-height: 1.35; font-weight: 400; }
.t-xs  { font-size: 1.2rem; line-height: 1.4; font-weight: 400; }
.t-b   { font-size: 1.6rem; line-height: 1.35; font-weight: 400; }
.t-semibold { font-weight: 600; }

.grid {
  display: grid;
  gap: var(--row-gap) var(--column-gap);
  grid-template-columns: [full-start] minmax(1.5rem, 1fr) [main-start] repeat(4, minmax(0, 100px)) [main-end] minmax(1.5rem, 1fr) [full-end];
}
@media (min-width: 480px) {
  .grid { grid-template-columns: [full-start] minmax(1.5rem, 1fr) [main-start] repeat(6, minmax(0, 100px)) [main-end] minmax(1.5rem, 1fr) [full-end]; }
}
@media (min-width: 768px) {
  .grid { grid-template-columns: [full-start] minmax(3rem, 1fr) [main-start] repeat(12, minmax(0, 100px)) [main-end] minmax(3rem, 1fr) [full-end]; }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: [full-start] minmax(4rem, 1fr) [main-start] repeat(20, minmax(50px, 80px)) [main-end] minmax(4rem, 1fr) [full-end]; }
}

.wordmark { width: 100%; height: 100%; color: currentColor; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  min-width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--ink-2);
  color: #fff;
}
html:not(.js) .preloader { display: none; }
.preloader__words { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.preloader__section { display: flex; flex-direction: column; width: fit-content; position: relative; will-change: transform; }
.preloader__section::before { content: ""; position: absolute; height: 100%; width: 4rem; left: 1rem; top: 0; background: var(--ink-2); z-index: 3; }
.preloader__word { display: flex; margin: 0 5rem; width: fit-content; overflow: hidden; opacity: 0; }
.preloader__initial { position: relative; z-index: 2; display: block; background: var(--ink-2); }
.preloader__rest { position: relative; z-index: 1; display: block; transform: translateX(-150%); }
.preloader__media {
  position: relative;
  z-index: 10;
  width: auto;
  height: 20rem;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  transform: scale(0);
  clip-path: polygon(4rem 0, 100% 0, 100% calc(100% - 4rem), calc(100% - 4rem) 100%, 0 100%, 0 4rem);
}
.preloader__video { width: 100%; height: 100%; object-fit: cover; }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; pointer-events: none; color: #fff; }
.topbar {
  grid-column: main;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  position: relative;
  z-index: 10;
  margin: 2.5rem -1rem;
  padding: 1rem;
}
.topbar__logo { grid-column: 1; width: 6rem; height: 3rem; display: flex; align-items: center; justify-content: center; pointer-events: auto; color: #fff; transition: opacity .2s; }
.topbar__items { grid-column: -2; justify-self: end; display: flex; pointer-events: auto; }

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 .7rem 0 0;
  border-radius: .6rem;
  background: var(--pill);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: #fff;
  transition: background-color .3s, color .3s;
}
.menu-button__chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.4rem;
  margin: 0 .5rem 0 .3rem;
  padding: 0 .7rem;
  border-radius: .4rem;
  background: var(--ink-2);
  color: #fff;
  white-space: nowrap;
}
.menu-button__label--close { display: none; }
.menu-button__icon { width: 3rem; height: 3rem; min-height: 3rem; flex: none; }
.menu-button__line, .menu-button__group { transform-box: fill-box; transform-origin: center; }
.menu-button__line--c { opacity: 0; }
.menu-button[data-menu="open"] { background: #fff; color: #000; }
.menu-button[data-menu="open"] .menu-button__label--open { display: none; }
.menu-button[data-menu="open"] .menu-button__label--close { display: block; }

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  grid-template-rows: auto 1fr;
  padding-bottom: 3.5rem;
  background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(35px);
  backdrop-filter: blur(35px);
  pointer-events: auto;
  transform: translateY(100vh);
  display: none;
  overflow: hidden;
  color: #fff;
}
.menu.is-visible { display: grid; }
.menu__rule { grid-column: 2 / -2; grid-row: 1; height: 10rem; border-bottom: .1rem solid #fff; opacity: .3; position: sticky; top: 0; }
.menu__wrap {
  grid-column: full;
  grid-row: 2;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.menu__primary { grid-column: 2 / -2; grid-row: 1; display: flex; flex-direction: column; height: fit-content; padding-bottom: 3rem; border-bottom: .1rem solid rgba(255, 255, 255, .3); }
.menu__group-title { padding: 1rem 0; color: var(--ink-3); margin-bottom: .7rem; }
.menu__primary-item { width: fit-content; margin-bottom: .7rem; }
.menu__primary-item a { display: flex; align-items: center; transition: filter .3s; }
.menu__primary-item[data-blurred="true"] a { filter: blur(.2rem); }
.menu__secondary { grid-column: 2 / -2; grid-row: 2; display: flex; flex-direction: column; height: fit-content; }
.menu__group { display: flex; flex-direction: column; gap: .3rem; }
.menu__group--explore { padding-bottom: 3rem; border-bottom: .1rem solid rgba(255, 255, 255, .3); }
.menu__group--explore[data-blurred="true"] { filter: blur(.2rem); }
.menu__secondary-item a { display: flex; align-items: center; transition: filter .3s; }
.menu__secondary-item[data-blurred="true"] a { filter: blur(.2rem); }
.menu__social { grid-column: 2; grid-row: 3; align-self: end; display: flex; gap: 2rem; margin-top: 5rem; margin-bottom: 5vh; }
.menu__contact { display: none; grid-row: 3; align-self: end; }

.office { display: flex; flex-direction: column; align-items: flex-start; color: #fff; }
.office__city { font-size: 1.6rem; line-height: 1.35; font-weight: 400; margin-bottom: 1.4rem; }
.office__address p { margin: 0 0 1rem; }
.office__phone { margin-bottom: .8rem; }

@media (min-width: 768px) {
  .menu { padding-bottom: 3.5rem; }
  .menu__wrap { grid-template-rows: auto 1fr; }
  .menu__primary { grid-column: 2 / 8; grid-row: 1; padding-bottom: 0; border-bottom: none; }
  .menu__group-title { padding: 1.6rem 0 1rem; }
  .menu__secondary { grid-column: 8 / -2; grid-row: 1; gap: 4.5rem; width: fit-content; }
  .menu__group--explore { padding-bottom: 0; border-bottom: none; }
  .menu__social { grid-row: 2; margin-top: 0; margin-bottom: 0; }
  .menu__contact { display: block; grid-row: 2; }
  .menu__contact--one { grid-column: -8 / -5; }
  .menu__contact--two { grid-column: -5 / -2; }
}
@media (min-width: 992px) {
  .menu__contact--one { grid-column: -8 / -6; }
}
@media (min-width: 1280px) {
  .menu__rule { height: 13rem; }
  .menu__primary { grid-column: 2 / 10; }
  .menu__secondary { grid-column: -9 / -2; }
  .menu__contact--one { grid-column: -9 / -6; max-width: 90%; }
  .menu__contact--two { grid-column: -5 / -2; width: 100%; }
}
@media (min-width: 1440px) {
  .menu__contact--two { grid-column: -6 / -3; }
}

.btn-arrow {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: fit-content;
  height: 2.7rem;
  color: var(--ink-2);
  background: transparent;
  z-index: 10;
}
.btn-arrow__label { margin-bottom: -1rem; padding-bottom: .5rem; border-bottom: .1rem solid var(--rule); white-space: nowrap; }
.btn-arrow--plain .btn-arrow__label { border-bottom: none; }
.btn-arrow__circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  max-height: 2.7rem;
  margin-bottom: -.5rem;
  border-radius: 50%;
  background: #fff;
  color: #111;
  border: .1rem solid var(--rule);
  overflow: hidden;
  transition: width .3s ease, border-radius .3s ease;
}
.btn-arrow__glyph { position: absolute; top: 50%; left: 50%; width: 1.4rem; height: 1.4rem; }
.btn-arrow__glyph--a { transform: translate(-50%, -50%); }
.btn-arrow__glyph--b { transform: translate(-175%, -50%); }
.btn-arrow--slate .btn-arrow__circle { color: var(--ink-2); background: var(--rule); }
.btn-arrow--ghost { color: #fff; }
.btn-arrow--ghost .btn-arrow__circle { background: transparent; color: #fff; border-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-arrow:hover .btn-arrow__circle, .hover-arrow:hover .btn-arrow .btn-arrow__circle { width: 3.7rem; border-radius: 1.35rem; }
  .btn-arrow:hover .btn-arrow__glyph--a, .hover-arrow:hover .btn-arrow .btn-arrow__glyph--a { transform: translate(75%, -50%); transition: transform .3s ease; }
  .btn-arrow:hover .btn-arrow__glyph--b, .hover-arrow:hover .btn-arrow .btn-arrow__glyph--b { transform: translate(-50%, -50%); transition: transform .3s .3s ease; }
}

.btn-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  padding: 1.2rem;
  border-radius: 50%;
  border: .1rem solid var(--ink-2);
  color: var(--ink-2);
  background: transparent;
  overflow: hidden;
  transition: color .3s var(--ease-house);
}
.btn-circle__glyph { position: relative; z-index: 2; width: 1.9rem; height: 1.9rem; }
.btn-circle__bg { z-index: 1; position: absolute; right: 0; bottom: 0; left: 0; top: 100%; border-radius: 100%; background: var(--ink-2); transition: all .3s var(--ease-house); }
.btn-circle--white { color: #fff; border-color: #fff; }
.btn-circle--white .btn-circle__bg { background: #fff; }
.btn-circle--market { color: var(--market-content); border-color: var(--market-content); }
.btn-circle--market .btn-circle__bg { background: var(--market-content); }
@media (hover: hover) and (pointer: fine) {
  .btn-circle:hover, .hover-circle:hover .btn-circle { color: #fff; }
  .btn-circle:hover .btn-circle__bg, .hover-circle:hover .btn-circle .btn-circle__bg { top: 0; border-radius: 25%; }
  .btn-circle--white:hover, .hover-circle:hover .btn-circle--white { color: var(--ink-2); }
  .btn-circle--market:hover, .hover-circle:hover .btn-circle--market { color: var(--market-contrast); }
}

.btn-line { display: flex; flex-direction: column; width: fit-content; height: fit-content; color: #fff; background: transparent; transition: color .3s var(--ease-house); }
.btn-line__track { position: relative; width: 100%; height: .1rem; margin-top: .3rem; overflow: hidden; }
.btn-line__bar { position: absolute; top: 0; left: 0; width: 100%; height: .1rem; background: #fff; }
.btn-line__bar--b { transform: translateX(-105%); }
.btn-line--muted { color: var(--ink-3); margin-top: .2rem; transition: color .3s ease; }
.btn-line--muted .btn-line__bar--a { transform: translateX(-105%); }
.btn-line--muted .btn-line__bar--b { transform: translateX(0); opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn-line:hover .btn-line__bar--a { transform: translateX(105%); transition: all .3s; }
  .btn-line:hover .btn-line__bar--b { transform: translateX(0); transition: all .3s; transition-delay: .3s; }
  .btn-line--muted:hover { color: #fff; }
  .btn-line--muted:hover .btn-line__bar--a { transform: translateX(0); transition: all .3s; }
  .btn-line--muted:hover .btn-line__bar--b { opacity: 1; transition: all .3s; transition-delay: .3s; }
  .btn-line--muted:not(:hover) .btn-line__bar--b { opacity: 1; transform: translateX(105%); transition: all .3s; }
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100vw;
  background: transparent;
}
.hero__pin { position: relative; }
.hero__main {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  display: grid;
  gap: 0 var(--column-gap);
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 6rem 1fr auto auto auto;
  padding: 6rem 1.5rem 3rem;
  color: #fff;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); z-index: 5; pointer-events: none; }
.hero__video { position: absolute; top: 0; left: 0; width: 100vw; height: 100%; object-fit: cover; z-index: 0; filter: brightness(.5); }
.hero__detail { position: relative; z-index: 2; color: #fff; gap: 1rem; grid-row: 3; }
.hero__detail--one { grid-column: 1 / 8; }
.hero__detail--two { grid-column: 1 / -1; grid-row: 4; margin-top: .4rem; }
.hero__detail--three {
  position: relative;
  grid-row: 5;
  grid-column: 1 / -1;
  place-self: end start;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  height: fit-content;
  margin-top: 3rem;
  padding-bottom: .8rem;
  border-bottom: .1rem solid #fff;
  cursor: pointer;
}
.hero__detail-mouse { display: none; }
.hero__detail--three .btn-arrow { display: none; }
.hero__title {
  position: relative;
  isolation: isolate;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin-bottom: 2.5rem;
  max-width: 90rem;
  display: inline-block;
  color: #fff;
}
.hero__title h1 { font-weight: 400; }
.hero__title-button { position: relative; margin-left: 2rem; display: none; }
.hero__title-button .btn-circle { position: absolute; top: 55%; left: 50%; transform: translateY(-50%); height: auto; }
.hero__alt-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0; display: none; filter: brightness(.5); }
.hero__strip { display: flex; flex-direction: column; width: 100%; }
.hero__strip-end { display: none; }

.sector-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  width: 100%;
  color: var(--market-content);
  overflow: hidden;
  will-change: transform, opacity, filter;
}
.sector-card__image { position: relative; grid-column: 1 / -1; grid-row: 1; display: block; width: 100%; aspect-ratio: 6 / 5; overflow: hidden; cursor: pointer; z-index: 2; contain: paint; background-color: #262523; }
.sector-card__image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); backface-visibility: hidden; transform: translateZ(0); transform-origin: center; }
.sector-card__panel { position: relative; grid-column: 1 / -1; grid-row: 2; width: 100%; background: var(--market-main); color: var(--market-content); }
.sector-card__content { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; padding: 2rem 2.5rem; }
.sector-card__plus { grid-column: 2; grid-row: 1; margin-left: auto; color: #fff; border-color: #fff; z-index: 3; align-self: start; }
.sector-card__subpages { grid-column: 1; grid-row: 1; width: calc(100% - 3.5rem); margin-bottom: 1rem; }
.sector-card__subpages ul { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.sector-card__subpage a { display: flex; align-items: center; justify-content: space-between; width: calc(100% + 1rem); padding-bottom: .8rem; border-bottom: .1rem solid currentColor; }
.sector-card__subpage span { display: block; max-width: 13rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sector-card__subpage svg { width: .6rem; height: 1.1rem; flex: none; }
.sector-card__title { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 1.3rem; height: fit-content; width: 100%; padding: 0; }
.sector-card__subtitle { grid-column: 1; grid-row: 3; justify-self: start; width: 100%; max-width: 14rem; margin-top: 3rem; text-align: left; }
.sector-card__count { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; padding: 0; }

@media (pointer: fine) and (min-width: 768px) {
  .hero { height: calc(100vh + var(--pin-distance)); margin-bottom: 20rem; overflow: visible; }
  .hero__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 100vw;
    grid-template-rows: auto auto;
    overflow: visible;
    background-color: #262523;
  }
  .hero__main {
    position: absolute;
    top: 0;
    left: 0;
    height: 100svh;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(22, 1fr);
    grid-template-rows: 1fr auto 1fr;
    padding: 6rem 3rem;
    z-index: 1;
  }
  .hero__detail { grid-row: 2; }
  .hero__detail--one { grid-column: 1 / 8; grid-row: 2; }
  .hero__detail--two { grid-column: 8 / -1; grid-row: 2; margin-top: 0; }
  .hero__detail--three {
    grid-row: 2;
    grid-column: -5 / -1;
    place-self: start end;
    width: 100%;
    justify-content: flex-end;
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .hero__detail-touch { display: none; }
  .hero__detail-mouse { display: block; }
  .hero__detail--three .btn-arrow { display: flex; margin-top: -.5rem; }
  .hero__title { grid-row: 3; grid-column: 1 / -1; width: 90vw; margin-bottom: 0; }
  .hero__title-button { display: inline; }
  .hero__strip {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-flow: row nowrap;
    height: 100vh;
    width: fit-content;
    z-index: 2;
    will-change: transform;
  }
  .sector-card {
    height: 100%;
    width: calc(100vh * 6 / 7);
    min-width: 50rem;
    max-width: 80vw;
    aspect-ratio: 6 / 7;
    margin-right: -.2rem;
    grid-template-rows: calc(100vh - var(--panel-h)) var(--panel-h);
  }
  .sector-card__image { aspect-ratio: auto; height: 100%; }
  .sector-card__image img { height: calc(100vh - var(--panel-h)); filter: brightness(1); }
  .sector-card__panel { height: 100%; }
  .sector-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: var(--panel-h);
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    padding: 4rem 3rem 0;
  }
  .sector-card__plus { opacity: 0; }
  .sector-card__subpages { grid-column: 1 / -1; grid-row: 1; align-self: start; margin-bottom: 0; }
  .sector-card__subpages ul { width: fit-content; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1.5rem 4rem; }
  .sector-card__subpage { width: calc(100% + 1.5rem); }
  .sector-card__subpage span { transition: transform .3s var(--ease-house); }
  .sector-card__subpage a:hover span { transform: translateX(.5rem); }
  .sector-card__title { grid-row: 2; grid-column: 1; width: 50%; }
  .sector-card__subtitle { grid-row: 2; grid-column: 2; place-self: end end; width: 100%; max-width: 16rem; margin-top: 0; font-size: 1.6rem; text-align: right; }
  .sector-card__count { grid-column: 1; grid-row: 3; justify-self: start; padding: 1rem 0 3rem; }
  .hero__strip-end { display: block; height: 100%; width: calc(100vh * 6 / 7); min-width: 50rem; max-width: 80vw; aspect-ratio: 6 / 7; margin-right: -.2rem; background: #fff; }
}
@media (pointer: fine) and (min-width: 992px) {
  .hero__main { padding: 6rem 4rem 6rem 5rem; }
}
@media (pointer: fine) and (min-width: 1280px) {
  .hero__pin { grid-template-columns: calc(100vw - 20rem); }
  .hero__main { max-width: calc(100vw - 20rem); }
  .hero__detail--one { grid-column: 1 / 7; }
  .hero__detail--two { grid-column: 6 / span 6; }
  .sector-card, .hero__strip-end { max-width: 90rem; }
}
@media (pointer: fine) and (min-width: 2150px) {
  .hero__main { padding: 6rem 5rem 6rem 8.5rem; }
}

.blob {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: var(--pill);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 300;
  font-size: 1.6rem;
  pointer-events: none;
  opacity: 0;
  will-change: left, top, scale;
}
@media (pointer: fine) and (min-width: 992px) { .blob { display: flex; } }
.blob[data-show="true"] { opacity: 1; }

.intro { margin: 5rem 0; }
.intro__title { grid-column: 2 / -2; margin-bottom: 5rem; }
.intro__tagline { grid-column: 2 / 4; margin-bottom: 2.5rem; color: var(--ink); }
.intro__text { grid-column: 2 / -2; margin-bottom: 4rem; }
.intro__button { grid-column: 2 / 5; }
@media (min-width: 768px) {
  .intro__tagline { grid-row: 2; }
  .intro__text { grid-row: 2; grid-column: 6 / -2; }
  .intro__button { grid-column: 6 / -2; }
}
@media (min-width: 992px) {
  .intro { margin: 6rem 0; }
  .intro__title { margin-bottom: 6rem; grid-column: 2 / -3; }
  .intro__text { grid-column: 6 / -3; }
}
@media (min-width: 1280px) {
  .intro__title { grid-column: 2 / -8; }
  .intro__text { grid-column: 7 / -5; }
  .intro__button { grid-column: 7 / -5; }
}
@media (min-width: 1440px) {
  .intro__title { grid-column: 2 / -12; }
}

.projects { margin: 10rem 0; }
.projects__header {
  grid-column: 2 / -2;
  display: grid;
  grid-template-columns: subgrid;
  padding-bottom: 1rem;
  margin: 0 0 2.5rem;
  border-bottom: .1rem solid var(--rule);
}
.projects__title { grid-column: 1 / -1; grid-row: 1; }
.projects__all { grid-column: 1 / -1; grid-row: 2; padding-bottom: 2rem; margin-bottom: 1rem; border-bottom: .1rem solid var(--rule); align-self: end; z-index: 50; margin-top: 1.5rem; }
.filter { grid-column: 1 / -1; grid-row: 4; }
.filter__title { white-space: nowrap; margin-right: 2rem; margin-bottom: 1.5rem; }
.filter__scroller { position: relative; grid-column: 1 / -1; overflow: hidden; margin-left: -1.5rem; width: calc(100% + 1rem); }
.filter__scroller::before, .filter__scroller::after { content: ""; position: absolute; top: 0; height: 100%; width: 2rem; pointer-events: none; z-index: 3; }
.filter__scroller::before { left: 0; background: linear-gradient(to right, rgb(255, 255, 255), transparent); }
.filter__scroller::after { right: 0; background: linear-gradient(to left, rgb(255, 255, 255), transparent); }
.filter__items { display: flex; flex-flow: row nowrap; gap: 3rem; white-space: nowrap; padding: 0 1.5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; user-select: none; }
.filter__items::-webkit-scrollbar { display: none; }
.filter__item { display: flex; flex-direction: row; align-items: flex-start; gap: .2rem; color: var(--ink-3); transition: color .3s ease; user-select: none; }
.filter__item:hover { color: var(--ink-2); }
@media (min-width: 768px) {
  .projects__header { padding-bottom: 1.75rem; }
  .projects__title { grid-column: 1 / -4; }
  .projects__all { grid-row: 1; grid-column: -1 / -4; justify-self: end; border-bottom: 0; margin: 0; padding: 0; }
  .filter { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; align-self: end; margin-top: 2.5rem; }
  .filter__title { margin-bottom: 0; }
  .filter__scroller { grid-column: 4 / -1; grid-row: 2; margin-left: 0; width: fit-content; margin-right: -1.5rem; }
}
@media (min-width: 992px) {
  .projects__all { grid-column: 1 / 4; grid-row: 2; justify-self: start; margin-bottom: 0; padding-bottom: 0; }
  .filter { justify-content: flex-end; }
}

.projects__layout { grid-column: 2 / -2; display: grid; grid-template-columns: subgrid; padding: 0 0 5rem; }
.projects__layout:last-of-type { margin-bottom: 0; padding: 0; }
.projects__layout [data-large] { justify-self: end; }
.projects__layout--one [data-large] { justify-self: start; }
.projects__layout--one .projects__pair { justify-self: end; }
.projects__pair { grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; gap: 5rem; width: 100%; justify-self: start; }
.project-card { display: block; width: 100%; height: fit-content; overflow: hidden; color: var(--ink); grid-column: span 1; top: var(--sticky-offset, 0px); }
.project-card[data-large] { position: relative; top: 0; width: 100%; grid-column: 1 / -1; grid-row: 1; margin-bottom: 5rem; }
.project-card__frame { width: 100%; display: block; aspect-ratio: 5 / 3; overflow: hidden; }
.project-card[data-large] .project-card__frame { aspect-ratio: 12 / 5; }
.project-card[data-corner="tl"] .project-card__frame { --cut: 6rem; clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.project-card[data-corner="br"] .project-card__frame { --cut: 6rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.project-card__image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .3s ease-in-out, clip-path 1.2s var(--ease-reveal), opacity 1.2s var(--ease-reveal); }
.project-card__image:hover { transform: scale(1); }
.project-card__text { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.project-card__title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; height: fit-content; }
.project-card__place { color: var(--ink-3); }
.js .reveal-image { clip-path: inset(40% 0 0 0); opacity: 0; }
.js .reveal-image.is-in { clip-path: inset(0 0 0 0); opacity: 1; }
@media (min-width: 768px) {
  .projects__pair { flex-direction: row; gap: 1rem; }
}
@media (min-width: 992px) {
  .projects__pair { grid-column: span 6; grid-row: 1; align-self: stretch; }
  .project-card { position: sticky; overflow: visible; }
  .project-card[data-large] { grid-column: span 6; grid-row: 1; margin-bottom: 0; }
}
@media (min-width: 1280px) {
  .projects__pair { grid-column: span 10; }
  .project-card[data-large] { grid-column: span 10; }
}

.news { position: relative; margin: 10rem 0; }
.news__title { grid-column: 2 / -2; padding-bottom: 1.5rem; border-bottom: .1rem solid var(--rule); }
.news__list { grid-column: 2 / -2; display: grid; grid-template-columns: subgrid; }
.news-item { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; padding: 1.5rem 0; border-bottom: .1rem solid var(--rule); will-change: transform; cursor: pointer; }
.news-item__link { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; }
.news-item__title {
  grid-column: 1 / -1;
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: padding-left .3s var(--ease-house);
}
.news-item__excerpt { grid-column: 1 / -1; margin-top: .4rem; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-width: 0; }
.news-item__date { grid-column: 1; align-self: end; margin-top: .8rem; }
.news-item__button { grid-column: -2 / -1; grid-row: 3; place-self: end end; }
.news__float {
  position: absolute;
  top: 0;
  left: 40%;
  width: 33rem;
  height: 21rem;
  display: none;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  --cut: 3rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  z-index: 20;
}
.news__float div { position: absolute; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.news__float img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.news__float.is-on { visibility: visible; }
.news__all { grid-column: 2 / 7; margin-top: 3rem; }
@media (min-width: 480px) {
  .news-item__title { grid-column: 1 / -1; }
  .news-item__excerpt { max-width: calc(100% - 3rem); }
}
@media (min-width: 768px) {
  .news__float { display: block; }
  .news-item__title { grid-column: 1 / -2; -webkit-line-clamp: 1; line-clamp: 1; }
  .news-item__excerpt { grid-column: 1 / -2; }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .news-item:hover .news-item__title { padding-left: 2rem; }
}
@media (min-width: 992px) {
  .news { margin: 12rem 0; }
  .news-item__title { grid-column: 1 / 7; align-self: center; margin-top: 0; max-height: calc(100% - .5rem); max-width: calc(100% - 3rem); }
  .news-item__excerpt { grid-column: 7 / -2; grid-row: 1; align-self: center; margin-top: 0; max-height: calc(100% - .5rem); }
  .news-item__date { grid-column: -3 / -1; grid-row: 1; align-self: center; text-align: right; padding-right: 5rem; margin-top: 0; }
  .news-item__button { grid-row: 1; place-self: center end; }
}
@media (min-width: 1280px) {
  .news-item__title { grid-column: 1 / 10; max-width: 100%; }
  .news-item__excerpt { grid-column: 11 / 19; max-width: 100%; }
  .news-item__date { grid-column: -3 / -2; padding-right: 0; }
}
@media (min-width: 1440px) {
  .news-item__excerpt { grid-column: 11 / 18; }
  .news-item__date { grid-column: -4 / -3; }
}

.footer { height: fit-content; grid-template-rows: auto auto; padding-top: 10rem; background: var(--paper); color: #fff; }
.footer__top {
  position: relative;
  grid-column: full;
  grid-row: 1;
  z-index: 2;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: auto auto;
  gap: var(--row-gap) var(--column-gap);
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink-2);
  isolation: isolate;
}
.footer__top::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); z-index: -1; }
.footer__image { position: absolute; top: 0; left: 0; grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100vh; z-index: -2; transform: scale(1.4); will-change: transform; }
.footer__image img { width: 100%; height: 100%; object-fit: cover; }
.news__float img { height: 100%; }
.footer__rule { grid-column: 2 / -2; grid-row: 1; height: 3rem; margin-bottom: 1rem; border-bottom: .1rem solid #fff; opacity: .3; }
.footer__primary { grid-column: 2 / -2; grid-row: 1; display: flex; flex-direction: column; gap: .7rem; height: fit-content; margin-top: 4rem; padding: 0 0 8rem; transition: filter .2s; }
.footer__primary-item { width: fit-content; }
.footer__primary-item a, .footer__secondary-item a { display: flex; align-items: center; transition: all .3s; }
.footer__secondary { grid-column: 2 / -2; grid-row: 2; display: flex; flex-direction: column; gap: .7rem; height: fit-content; margin-top: 4rem; }
.footer__bottom {
  grid-column: full;
  grid-row: 2;
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: auto auto auto;
  height: fit-content;
  background: var(--ink-2);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.footer__row { grid-column: full; display: grid; grid-template-columns: subgrid; }
.footer__row--one { grid-template-rows: auto 1fr auto; margin: 2.5rem 0; }
.footer__logo { grid-column: 2; grid-row: 1; height: fit-content; margin-top: 2rem; margin-left: -.7rem; color: #fff; }
.footer__logo .wordmark { width: 7.5rem; height: 2.5rem; }
.footer__bottom-menu { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-top: 6.5rem; }
.footer__focus { grid-column: 2 / 4; grid-row: 2; display: flex; flex-direction: column; gap: 1rem; z-index: 1; color: var(--ink-3); }
.footer__focus-toggle { display: flex; align-items: center; color: #fff; cursor: pointer; }
.footer__focus-plus { display: none; width: 1.4rem; height: 1.4rem; margin-left: .8rem; transition: transform .3s ease-in-out; }
.footer__focus-title { color: #fff; }
.footer__focus-item { display: flex; align-items: center; }
.footer__links { grid-column: 5 / -2; grid-row: 2; display: flex; flex-direction: column; gap: 1rem; color: var(--ink-3); }
.footer__row--two { border-top: .1rem solid rgba(255, 255, 255, .3); border-bottom: .1rem solid rgba(255, 255, 255, .3); }
.footer__social { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 2rem; align-self: end; margin-top: 5rem; }
.footer__office { grid-row: 2; margin-top: 2rem; margin-bottom: 3rem; }
.footer__office--one { grid-column: 2 / 4; }
.footer__office--two { grid-column: 4 / -2; width: 95%; }
.footer__row--three { grid-column: main; padding: 2.5rem 0; align-items: center; }
.footer__copyright { grid-column: 1 / -1; grid-row: 1; color: var(--ink-4); }
.footer__top-link { grid-column: 1 / -1; grid-row: 2; justify-self: start; display: flex; align-items: center; gap: .8rem; color: #fff; margin-top: 1rem; }
.footer__top-arrow { width: 1.2rem; height: 1.2rem; transform: rotate(-90deg); }
.footer__credit { grid-column: 1 / -1; grid-row: 3; color: var(--ink-4); margin-top: 1rem; }
.footer__credit-link { color: #fff; border-bottom: .1rem solid #fff; padding-bottom: .2rem; }
@media (min-width: 768px) {
  .footer__top { padding-bottom: 3.5rem; }
  .footer__rule { height: 4rem; }
  .footer__primary { margin-top: 5rem; padding-bottom: 0; grid-column: 2 / 8; grid-row: 1; }
  .footer__primary:hover > li { filter: blur(.2rem); transition: filter .2s; }
  .footer__primary:hover > li:hover { filter: none; transition: filter .2s; }
  .footer__secondary { margin-top: 5rem; grid-column: 8 / -2; grid-row: 1; width: fit-content; }
  .footer__logo { grid-column: -2 / -4; place-self: center end; margin: 5rem 0; }
  .footer__bottom-menu {
    grid-column: 2 / -4;
    grid-row: 1;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    position: relative;
    scrollbar-width: none;
  }
  .footer__bottom-menu::before { content: ""; position: absolute; left: 0; top: 0; width: 2rem; height: 100%; pointer-events: none; z-index: 2; background: linear-gradient(to left, transparent, rgb(38, 38, 38)); }
  .footer__bottom-menu::after { content: ""; position: absolute; right: 0; top: 0; width: 3rem; height: 100%; pointer-events: none; z-index: 2; background: linear-gradient(to right, transparent, rgb(38, 38, 38)); }
  .footer__focus { flex-direction: row; align-items: center; margin: 0; grid-row: 1; gap: 2rem; min-width: fit-content; color: #fff; }
  .footer__focus-plus { display: block; }
  .footer__focus-title { padding-left: 1.5rem; }
  .footer__focus-item { white-space: nowrap; overflow: hidden; }
  .footer__focus-item:last-child::after { content: ""; display: flex; margin-left: 1.5rem; margin-right: -1.5rem; height: 1rem; width: .1rem; background: var(--ink-3); }
  .footer__links { flex-direction: row; grid-row: 1; gap: 2rem; min-width: fit-content; }
  .footer__row--two { padding-bottom: 13rem; }
  .footer__social { flex-direction: row; grid-column: -2 / -5; grid-row: 1; justify-self: end; gap: 2.5rem; margin-top: 2.5rem; align-self: start; }
  .footer__office { margin-bottom: 0; }
  .footer__office--one { grid-column: 2 / 4; }
  .footer__office--two { grid-column: 5 / 8; width: 90%; }
  .footer__copyright { grid-column: 1 / -4; grid-row: 1; }
  .footer__top-link { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin: 0; }
  .footer__credit { grid-column: -4 / -1; grid-row: 1; justify-self: end; margin: 0; }
}
@media (min-width: 992px) {
  .footer { padding-top: 12rem; }
  .footer__row--two { padding-bottom: 16rem; }
}
@media (min-width: 1280px) {
  .footer__primary { grid-column: 2 / 10; }
  .footer__office--one { grid-column: 2 / 5; width: 90%; }
  .footer__office--two { grid-column: 6 / 9; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal-image, .js .reveal-image.is-in { clip-path: none; opacity: 1; transition: none; }
  .preloader { display: none !important; }
  .project-card__image, .btn-arrow__circle, .btn-arrow__glyph, .btn-circle__bg, .btn-line__bar, .news-item__title, .menu-button, .topbar__logo { transition: none !important; }
}
