
	/*
		Theme Name: Tapia McMahon
		Author: Nodo
		Author URI: https://nodo.pw/
		Description: Hoja de estilos de la página de Tapia McMahon
		Version: 1.0
		*/
/* <---------- Valores Stylus ----------> */
@font-face {
  font-family: 'metricLight';
  src: url("assets/fonts/Metric-Light.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'metricRegular';
  src: url("assets/fonts/Metric-Regular.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'metricSemibold';
  src: url("assets/fonts/Metric-Semibold.woff2") format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

	/*
		reset
		framework
		base
		components
		sections
		variations
	*/
	@layer reset, framework, base, components, sections, variations, pages;
@layer reset {
  *,
  *:before,
  *:after {
    box-sizing: border-box;
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: top;
  }
  *:focus,
  *:before:focus,
  *:after:focus {
    outline: 0;
  }
  ::-moz-selection {
    background: #1d1d1b;
    color: #fff;
    text-shadow: none;
  }
  ::selection {
    background: #1d1d1b;
    color: #fff;
    text-shadow: none;
  }
  a {
    color: #1d1d1b;
    text-decoration: none;
    transition: 0.3s all ease;
  }
  a img {
    border: 0;
  }
  a:focus,
  a:active,
  a:hover {
    opacity: 0.9;
  }
  blockquote,
  q {
    quotes: "" "";
  }
  blockquote:before,
  q:before,
  blockquote:after,
  q:after {
    content: "";
  }
  body {
    color: #1d1d1b;
    background: #fff;
    display: flex;
    flex-direction: column;
    font-family: "metricRegular", sans-serif;
    font-size: 17px;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    min-height: 100vh;
    width: 100%;
  }
  button {
    border: none;
    background: none;
    cursor: pointer !important;
    -webkit-appearance: none;
  }
  caption,
  th,
  td {
    font-weight: normal;
    text-align: left;
  }
  em {
    font-style: italic;
  }
  fieldset {
    border: none;
    margin-bottom: 1.5rem;
  }
  figure {
    margin: 0;
  }
  html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font: 17px "metricRegular", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    overflow-y: scroll;
    background: #1d1d1b;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  input,
  textarea {
    background: none;
    border: none;
    box-sizing: border-box;
    padding: 1rem;
  }
  ol,
  ul {
    list-style: none;
  }
  strong {
    font-weight: 700;
  }
  svg:not(:root) {
    overflow: hidden;
  }
  table {
    border-collapse: separate;
    border-spacing: 0;
  }
}
:where(figure) {
  margin: 0;
}
@layer framework {
  .animacion {
    transition: 0.3s all ease;
  }
  .block {
    margin-bottom: 4.5rem;
  }
  .blocks--flex {
    display: flex;
  }
  .blocks--reticula {
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
  }
  .blocks--reticula--centrado {
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    -ms-align-items: center;
    align-items: center;
  }
  .blocks--reticula--around {
    display: flex;
    justify-content: space-around;
    -webkit-justify-content: space-around;
    -ms-justify-content: space-around;
  }
  .blocks--reticula__renglon {
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
  }
  .blocks__renglon {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
  }
  .blocks__renglon--centrado {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
  }
  .blocks--renglones {
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    flex-direction: column;
  }
  .blocks--renglones--centrado {
    -ms-align-items: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
  }
  .block--fixed {
    flex-shrink: 0;
  }
  .block--grow {
    flex-grow: 1;
  }
  .block--cuarto {
    width: 25%;
  }
  .block--full {
    width: 100%;
  }
  .block--mitad {
    width: 49%;
  }
  .block--tercio {
    width: calc(100% / 3);
  }
  .block__columnas {
    margin-top: 1rem;
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-gap: 56px;
    column-gap: 56px;
  }
  .m-1 {
    margin: 0.5rem;
  }
  .m-2 {
    margin: 1rem;
  }
  .m-3 {
    margin: 1.5rem;
  }
  .m-4 {
    margin: 2rem;
  }
  .mb-0 {
    margin-bottom: 0rem !important;
  }
  .mb-1 {
    margin-bottom: 0.5rem;
  }
  .mb-2 {
    margin-bottom: 1rem;
  }
  .mb-3 {
    margin-bottom: 1.5rem;
  }
  .mb-4 {
    margin-bottom: 2rem;
  }
  .mt-1 {
    margin-top: 0.5rem;
  }
  .mt-2 {
    margin-top: 1rem;
  }
  .mt-3 {
    margin-top: 1.5rem;
  }
  .mt-4 {
    margin-top: 2rem;
  }
  .ml-1 {
    margin-left: 0.5rem;
  }
  .ml-2 {
    margin-left: 1rem;
  }
  .ml-3 {
    margin-left: 1.5rem;
  }
  .ml-4 {
    margin-left: 2rem;
  }
  .mr-1 {
    margin-right: 0.5rem;
  }
  .mr-2 {
    margin-right: 1rem;
  }
  .mr-3 {
    margin-right: 1.5rem;
  }
  .mr-4 {
    margin-right: 2rem;
  }
  .my-1 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .my-2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .my-3 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .my-4 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .mx-1 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .mx-2 {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .mx-3 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  .mx-4 {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .p-1 {
    padding: 0.5rem;
  }
  .p-2 {
    padding: 1rem;
  }
  .p-3 {
    padding: 1.5rem;
  }
  .p-4 {
    padding: 2rem;
  }
  .pb-1 {
    padding-bottom: 0.5rem;
  }
  .pb-2 {
    padding-bottom: 1rem;
  }
  .pb-3 {
    padding-bottom: 1.5rem;
  }
  .pb-4 {
    padding-bottom: 2rem;
  }
  .pt-1 {
    padding-top: 0.5rem;
  }
  .pt-2 {
    padding-top: 1rem;
  }
  .pt-3 {
    padding-top: 1.5rem;
  }
  .pt-4 {
    padding-top: 2rem;
  }
  .pl-1 {
    padding-left: 0.5rem;
  }
  .pl-2 {
    padding-left: 1rem;
  }
  .pl-3 {
    padding-left: 1.5rem;
  }
  .pl-4 {
    padding-left: 2rem;
  }
  .pr-1 {
    padding-right: 0.5rem;
  }
  .pr-2 {
    padding-right: 1rem;
  }
  .pr-3 {
    padding-right: 1.5rem;
  }
  .pr-4 {
    padding-right: 2rem;
  }
  .py-1 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .py-2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .py-3 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .px-1 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .px-2 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .px-3 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .px-4 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  ._oculto {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  ._oculto.focusable:active,
  ._oculto.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
  }
  .txt__white {
    color: #fff;
  }
  .txt__white a {
    color: #fff;
  }
  .txt__center {
    text-align: center;
  }
  .txt__left {
    text-align: left;
  }
  .txt__left p {
    text-align: left;
  }
  .txt__small {
    font-size: 0.813rem;
  }
  input[type="text"],
  input[type="email"],
  input[type="search"],
  input[type="password"] {
    -webkit-appearance: caret;
    -moz-appearance: caret; /* mobile firefox too! */
  }
  ::-webkit-input-placeholder {
    color: rgba(255,255,255,0.7);
  }
  :-moz-placeholder {
    color: rgba(255,255,255,0.7);
  }
  ::-moz-placeholder {
    color: rgba(255,255,255,0.7);
  }
  :-ms-input-placeholder {
    color: rgba(255,255,255,0.7);
  }
  input:-moz-placeholder,
  textarea:-moz-placeholder {
    color: rgba(255,255,255,0.7);
  }
@media screen and (max-width: 720px) {
    .u__wrap {
      width: calc(100% - 2rem);
    }
}
}
.lh-1 {
  line-height: 1;
}
.text-balance {
  text-wrap: balance;
}
@layer base {
  html {
    background: #fff;
  }
  body:not(.home) .main {
    margin-top: 4.7rem;
  }
  p + p {
    margin-top: 1.125rem;
  }
  .main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 0 auto;
    width: 100%;
  }
  .section {
    height: 100vh;
  }
  .single__container {
    padding-bottom: 3rem;
    margin: 2rem auto 1rem;
  }
  .u__wrap {
    margin: 0 auto;
    max-width: 1200px;
    width: calc(100% - 4rem);
  }
@media (max-width: 720px) {
    .u__wrap {
      width: calc(100% - 2rem);
    }
}
}
@layer components {
  .btn {
    font-size: font--sm-m;
    font-weight: font--bold-ex;
    padding: 0.72rem 1.83rem;
    border-radius: radius--sm;
  }
}
@layer variations {
  .btn--primary {
    background: #1d1d1b;
    color: #fff;
  }
}
.grid {
  --grid-columns-count: 2;
  --grid-column-min-width: 5rem;
  --grid-column-max-width: 1fr;
  --grid-gap: 1rem;
  display: grid;
  grid-template-columns: repeat(var(--grid-columns-count), minmax(min(100%, var(--grid-column-min-width)), var(--grid-column-max-width)));
  gap: var(--grid-gap);
}
@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.grid.columns-3 {
  --grid-columns-count: 3;
}
.grid.columns-4 {
  --grid-columns-count: 4;
}
@layer components {
  .nav--top {
    display: flex;
    gap: 2rem;
  }
  .nav--top li {
    transition: 0.3s all ease;
  }
  .nav--top li a {
    display: block;
    color: #fff;
    transition: 0.3s all ease;
    font-family: "metricLight", sans-serif;
    font-size: 17px;
    padding: 0.4rem 0.7vw 0.3rem;
    position: relative;
    text-align: center;
    width: -moz-max-content;
    width: max-content;
    text-transform: uppercase;
  }
  .nav--top .nav--top__list {
    display: flex;
    -ms-align-items: center;
    align-items: center;
  }
  .nav--sections li a:after {
    position: absolute;
    background: #fff;
    bottom: 0;
    content: '';
    height: 1px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: 0.3s ease all;
    width: 0;
    z-index: 2;
  }
  .nav--sections li:hover > a,
  .nav--sections li.current_page_item > a,
  .nav--sections li.current-menu-item > a {
    text-decoration: none;
  }
  .nav--sections li:hover > a:after,
  .nav--sections li.current_page_item > a:after,
  .nav--sections li.current-menu-item > a:after {
    width: calc(100% - 1.4vw);
  }
  .nav--social {
    color: #fff;
  }
  .nav--social li:hover > a {
    color: #808080;
  }
  .nav--social li:hover img {
    opacity: 0.8;
  }
  .nav--social li img {
    height: 17px;
  }
  .checkbox__hack {
    display: none;
  }
  .checkbox__hack:checked ~ .nav--top {
    width: 100vw;
    max-height: 100vh;
  }
  .checkbox__hack:checked ~ .nav--top:after {
    background: url("assets/imgs/icon__close.svg") no-repeat center center !important;
  }
  .checkbox__hack:checked ~ .nav--top .nav--top__list {
    height: auto;
    max-height: 100vh;
    padding: 1rem 1.5rem;
  }
  .checkbox__hack:checked ~ .nav--top .nav--sections {
    margin-top: 80px;
  }
  .checkbox__hack:checked ~ .nav--top .nav--social {
    margin-top: 0;
  }
}
@media (max-width: 720px) {
  @layer components {
    .nav--top {
      background: #1d1d1b;
      cursor: pointer;
      transition: 0.3s all ease;
      flex-direction: column;
      height: 100vh;
      max-height: 0;
      justify-content: space-between;
      -webkit-justify-content: space-between;
      -ms-justify-content: space-between;
      left: 0;
      position: fixed;
      top: 0;
      width: 100vw;
      z-index: 10;
    }
    .nav--top:after {
      background: url("assets/imgs/icon__menu.svg") no-repeat center center;
      background-size: cover;
      content: '';
      transition: 0.3s all ease;
      font-size: 1.06rem;
      height: 18px;
      position: absolute;
      right: 1rem;
      text-align: right;
      top: 26px;
      width: 25px;
    }
    .nav--top li a {
      padding: 0.6rem 0;
      width: 100%;
      text-align: left;
    }
    .nav--top li a:after {
      display: none;
    }
    .nav--top li.nav--logo {
      display: none;
      overflow: hidden;
    }
    .nav--top__list {
      flex-direction: column;
      height: calc(100% - 63px);
      left: 0;
      max-height: 0;
      max-width: 100vw !important;
      overflow: hidden;
      padding: 0;
      transition: all 0.5s ease;
      width: 100%;
      z-index: -1;
    }
    .nav--sections li {
      width: 100%;
    }
    .nav--sections li:not(:last-of-type) {
      border-bottom: 1px solid #fff;
    }
    .nav--sections li a {
      font-size: 1.65rem;
    }
    .nav--social {
      flex-direction: row;
      gap: 0.5rem;
    }
    .nav--social li a {
      font-size: 1.06rem;
    }
    .checkbox-hack__label {
      display: block;
      cursor: pointer;
      height: 40px;
      margin: 0;
      overflow: hidden;
      position: absolute;
      right: 17px;
      top: 1rem;
      width: 60px;
      z-index: 100;
    }
  }
}
@layer variations {
  body:not(.home) .nav--top {
    left: -1rem;
  }
  body:not(.home) .checkbox-hack__label {
    right: 0;
  }
  body:not(.home):not(.term-built):not(.term-unbuilt) .nav--top li a {
    color: #1d1d1b;
  }
@media (max-width: 720px) {
    body:not(.home):not(.term-built):not(.term-unbuilt) .nav--top li a {
      color: #fff;
    }
}
  body:not(.home):not(.term-built):not(.term-unbuilt) .nav--top:after {
    background: url("assets/imgs/icon__menu--black.svg") no-repeat center center;
  }
  body:not(.home):not(.term-built):not(.term-unbuilt) .nav--sections li a:after {
    background: #1d1d1b;
  }
  body:not(.home):not(.term-built):not(.term-unbuilt) .nav--social {
    color: #1d1d1b;
  }
  body:not(.home):not(.term-built):not(.term-unbuilt) .nav--social li:hover > a {
    color: #ccc;
  }
}
@layer base {
  .header {
    padding-block: 1.5rem 1rem;
  }
  .header-section {
    padding-block: 1rem;
    color: #1d1d1b;
  }
  .header-section .title--main {
    text-transform: uppercase;
    position: relative;
    display: inline-block;
  }
  .header-section .title--main:after {
    position: absolute;
    background: currentColor;
    bottom: 0;
    content: '';
    height: 1px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: 0.3s ease all;
    width: 100%;
    z-index: 2;
  }
}
@layer components {
  .header__container {
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
  }
  .header__logo {
    flex-shrink: 0;
  }
  .header__logo a {
    display: block;
  }
  .header__logo img {
    width: 350px;
  }
@media (max-width: 720px) {
    .header__logo img {
      width: 220px;
    }
}
}
@layer variations {
  body:not(.home) .header {
    background: #fff;
    border-bottom: 1px solid #fff;
    position: fixed;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
  }
  body.home .header,
  body.term-built .header,
  body.term-unbuilt .header {
    border-bottom: 1px solid #1d1d1b;
    background: #1d1d1b;
  }
  body.home .header-section,
  body.term-built .header-section,
  body.term-unbuilt .header-section {
    color: #fff;
  }
  body.home .header {
    margin-bottom: 0;
    padding-block: 1.5rem 0.5rem;
  }
  body.term-built .header,
  body.term-unbuilt .header {
    margin-bottom: 1rem;
  }
}
@layer sections {
  .footer-home {
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    color: #fff;
    padding-block: 1.76rem;
  }
@media (max-width: 720px) {
    .footer-home {
      padding-block: 0 1rem;
    }
}
  .footer-pages {
    border-top: 1px solid #1d1d1b;
    font-size: 0.7rem;
    margin-block-start: 2.12rem;
    padding-block: 2.12rem;
    text-align: right;
  }
}
@layer variations {
  body.term-built .footer-pages,
  body.term-unbuilt .footer-pages {
    border-top: 1px solid #fff;
    color: #fff;
  }
}
@layer variations {
  .title--main {
    font-size: 2.12rem;
    font-family: "metricLight", sans-serif;
  }
  .txt--base {
    font-size: 17px;
  }
  .txt--right {
    text-align: right;
  }
  .txt--hl {
    color: #1d1d1b;
  }
  .txt--huge {
    font-size: font--title-xl;
    font-weight: font--bold-ex;
  }
@media (max-width: 720px) {
    .txt--huge {
      font-size: font--xl;
    }
}
  .txt--white {
    color: #fff;
  }
}
@layer components {
@media (max-width: 720px) {
    .slider-counter {
      display: none;
    }
}
  .slider-name {
    font-family: "metricSemibold", sans-serif;
  }
  .slider-name:after {
    content: ".";
    padding: 1rem;
  }
@media (max-width: 720px) {
    .slider-name:after {
      content: '';
      padding: 0;
    }
}
@media (max-width: 720px) {
    .slider-name {
      display: block;
    }
}
}
:root {
  --dynamic-min-width: 20rem;
}
.container-dynamic {
  width: -moz-fit-content;
  width: fit-content;
  min-width: var(--dynamic-min-width);
  margin-inline: auto;
  position: relative;
  z-index: 999;
}
.carousel-header {
  counter-reset: images;
  position: relative;
  display: grid;
  grid-template-areas: "stack";
  place-items: start center;
  padding-bottom: 0.25rem;
  color: #fff;
}
.carousel-header::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "/ " counter(images);
}
@media (max-width: 32rem) {
  .carousel-header::after {
    content: "";
  }
}
.carousel-header > * {
  grid-area: stack;
}
.carousel-header figure {
  margin-inline: auto;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100vw - 2rem);
  scroll-snap-align: center;
  counter-increment: images;
}
@media (max-width: 32rem) {
  .carousel-header figure {
    display: flex;
    flex-direction: column-reverse;
  }
}
.carousel-header figure::after {
  content: counter(images);
  position: absolute;
  bottom: 0;
  right: 1.125rem;
}
@media (max-width: 32rem) {
  .carousel-header figure::after {
    content: "";
  }
}
.carousel-header figure.is-hidden {
  max-width: 0;
  opacity: 0;
}
.carousel-header img {
  display: block;
  max-width: 100%;
  max-height: 80dvh;
  margin-inline: auto;
}
.carousel-header figcaption {
  padding-top: 1rem;
}
.home .header.u__wrap {
  width: unset;
}
.carousel-header:not(.home .carousel-header) {
  display: none;
}
.gallery-grid figure {
  cursor: pointer;
}
.lightbox::backdrop {
  background: #fff;
}
.lightbox {
  place-items: center;
  margin: auto;
  height: -moz-fit-content;
  height: fit-content;
  border: 0;
  outline: 0;
  opacity: 0;
  animation: fade-in 500ms ease forwards;
}
.lightbox[open] {
  display: grid;
  grid-template-areas: "stack";
  gap: 1rem;
  height: 100%;
  padding: 0.5rem;
  background: none;
}
.lightbox[open] > * {
  grid-area: stack;
}
.lightbox img {
  max-width: calc(100dvw - 4rem);
  max-height: inherit;
  -o-object-fit: contain;
     object-fit: contain;
}
.lightbox-container {
  margin-inline: auto;
  max-height: calc(100dvh - 4rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: auto;
  width: 100%;
  -ms-scroll-snap-type: x mandatory;
      scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.lightbox-form-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
}
.lightbox-button-close {
  font-weight: bold;
  font-size: 3rem;
  line-height: 0.5;
  border: 0;
  background: none;
  color: #000;
  cursor: pointer;
}
.lightbox-button-prev,
.lightbox-button-next {
  z-index: 10;
  font-size: 2.5rem;
  color: #000;
  border: 0;
  background: none;
  filter: drop-shadow(0 0 3px #fff);
}
@media (max-width: 32rem) {
  .lightbox-button-prev,
  .lightbox-button-next {
    display: none;
  }
}
.lightbox-button-prev.is-disabled,
.lightbox-button-next.is-disabled {
  color: rgba(153,153,153,0.333);
  pointer-events: none;
}
.lightbox-button-prev {
  place-self: center start;
}
.lightbox-button-next {
  place-self: center end;
}
.lightbox figure {
  display: grid;
  max-height: calc(100dvh - 5rem);
  place-items: center;
  scroll-snap-align: center;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@layer sections {
  .section--home {
    height: 100px;
    display: flex;
    width: -moz-min-content;
    width: min-content;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
  }
@media (max-width: 720px) {
    .section--home {
      width: 100%;
      display: contents;
      height: 100%;
    }
}

		.section--home {
			flex: auto;
		}
  .section--home img {
    max-width: 1200px;
    -o-object-fit: contain;
       object-fit: contain;
    width: auto;
  }
}
@layer variations {
  body.home {
    background: #1d1d1b;
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
    margin-inline: auto;
    max-height: 100vh;
  }
@media (max-width: 720px) {
    body.home {
      grid-template-rows: auto auto 1fr;
    }
}
  body.home .header,
  body.home .main,
  body.home .footer {
    max-width: calc(100vw - 2rem);
  }
@media (max-width: 720px) {
    body.home .main {
      width: 100%;
      order: 2;
    }
}
@media (max-width: 720px) {
    body.home .footer {
      order: 1;
    }
}
}
@layer components {
  .archive-grid {
    display: grid;
    gap: 1.18rem;
    grid-auto-rows: 440px;
    grid-template-columns: repeat(4, 1fr);
  }
@media (max-width: 720px) {
    .archive-grid {
      grid-auto-rows: 230px;
      grid-template-columns: repeat(2, 1fr);
    }
}
  .archive-post {
    grid-area: auto /auto/span 1/span 2;
    overflow: hidden;
    position: relative;
  }
  .archive-post:hover .archive-post-header {
    opacity: 1;
  }
  body.term-built .archive-post:nth-child(1),
  body.term-built .archive-post:nth-child(5) {
    grid-area: auto /auto/span 2/span 2;
  }
  body.term-built .archive-post:nth-child(6),
  body.term-built .archive-post:nth-child(7),
  body.term-built .archive-post:nth-child(10),
  body.term-built .archive-post:nth-child(11),
  body.term-built .archive-post:nth-child(12),
  body.term-built .archive-post:nth-child(13) {
    grid-area: auto /auto/span 1/span 1;
  }
  body.term-unbuilt .archive-post:nth-child(2),
  body.term-unbuilt .archive-post:nth-child(3),
  body.term-unbuilt .archive-post:nth-child(4),
  body.term-unbuilt .archive-post:nth-child(5),
  body.term-unbuilt .archive-post:nth-child(10),
  body.term-unbuilt .archive-post:nth-child(11) {
    grid-area: auto /auto/span 1/span 1;
  }
  body.term-in-progress .archive-post:nth-child(1),
  body.term-in-progress .archive-post:nth-child(2),
  body.term-in-progress .archive-post:nth-child(5),
  body.term-in-progress .archive-post:nth-child(6),
  body.term-in-progress .archive-post:nth-child(7),
  body.term-in-progress .archive-post:nth-child(8) {
    grid-area: auto /auto/span 1/span 1;
  }
  .archive-post-header,
  .archive-post-image {
    grid-area: 1/1/2/2;
  }
  .archive-post-header {
    position: absolute;
    background: rgba(255,255,255,0.8);
    height: 100%;
    opacity: 0;
    transition: 0.3s all ease;
    width: 100%;
    z-index: 9;
  }
  .archive-post-header a {
    -ms-align-items: center;
    align-items: center;
    color: #1d1d1b;
    display: flex;
    height: 100%;
    padding: 2rem;
    width: 100%;
  }
@media (max-width: 720px) {
    .archive-post-header {
      padding: 1rem;
    }
}
  .archive-post-image {
    display: block;
    height: 100%;
    width: 100%;
  }
  .archive-post-image img {
    grid-area: 1/1/2/2;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .archive-post-title {
    font-family: "metricSemibold", sans-serif;
    font-size: 0.88rem;
    text-transform: uppercase;
  }
}
@layer variations {
  body.home,
  body.term-built,
  body.term-unbuilt {
    background: #1d1d1b;
    margin-inline: auto;
  }
}
@layer components {
  .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .gallery-grid figure {
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
  }
  .gallery-grid img {
    max-height: calc(100vh - 80px);
    max-width: 100%;
    -o-object-fit: contain;
       object-fit: contain;
    height: auto;
  }
  .header-grid {
    display: grid;
    grid-template-columns: 100px repeat(3, 1fr);
    font-size: 17px;
    font-family: "metricLight", sans-serif;
    margin-bottom: 2rem;
  }
@media (max-width: 720px) {
    .header-grid {
      grid-template-columns: 1fr;
    }
}
  .header-back {
    padding-top: 5px;
  }
  .header-back img {
    height: 20px;
  }
  .header-column {
    padding: 0 1.18rem;
  }
  .header-column p {
    margin: 0;
  }
  .header-column:last-child,
  .header-column:nth-last-child(2) {
    border-left: 1px solid #1d1d1b;
  }
@media (max-width: 720px) {
    .header-column:last-child,
    .header-column:nth-last-child(2) {
      border-left: none;
    }
}
@media (max-width: 720px) {
    .header-column {
      padding: 0.5rem 0;
    }
}
  .project-title {
    font-size: 17px;
    font-family: "metricSemibold", sans-serif;
  }
}
@media screen and (max-width: 720px) {
  html {
    margin-top: 0 !important;
  }
}
/*

font-size: clamp(2rem, 15cqi, 4rem)

currentColor
border-left: 5px solid currentColor;

// Ejemplo Container query
.wrapper
	container-type: inline-size
	container-name: card
	
@container card (min-width: 400px)
	.c-article
		flex-direction column
*/
