@import url("alebrije.css");

.construction-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}

.construction-back {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.construction-window {
  overflow: hidden;
  border: 1px solid rgba(24, 24, 23, 0.16);
  border-radius: 24px;
  background: rgba(255, 255, 252, 0.94);
  box-shadow: 0 22px 64px rgba(31, 31, 27, 0.1);
}

.construction-window .window-bar {
  border-bottom: 1px solid rgba(24, 24, 23, 0.1);
}

.construction-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 560px;
}

.construction-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ede9df;
}

.construction-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(24, 24, 23, 0.14));
  pointer-events: none;
}

.construction-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.construction-visual--wunder {
  isolation: isolate;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 204, 97, 0.96) 0 12%, transparent 12.5%),
    radial-gradient(circle at 68% 64%, rgba(113, 193, 154, 0.95) 0 15%, transparent 15.5%),
    radial-gradient(circle at 72% 22%, rgba(244, 151, 177, 0.9) 0 9%, transparent 9.5%),
    #e9e4fa;
}

.construction-visual--wunder::before {
  content: "W";
  position: relative;
  z-index: 1;
  width: clamp(150px, 24vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(24, 24, 23, 0.8);
  border-radius: 36% 64% 58% 42% / 46% 38% 62% 54%;
  background: rgba(255, 255, 252, 0.82);
  box-shadow: 14px 16px 0 rgba(24, 24, 23, 0.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 11vw, 9rem);
  font-style: italic;
  transform: rotate(-5deg);
}

.construction-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5.5rem);
}

.construction-status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid rgba(24, 24, 23, 0.14);
  border-radius: 999px;
  background: #fff2a9;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.construction-status::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e46d42;
  box-shadow: 0 0 0 4px rgba(228, 109, 66, 0.14);
}

.construction-kicker {
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.construction-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.construction-description {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.construction-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.construction-tags li {
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(24, 24, 23, 0.13);
  border-radius: 999px;
  background: white;
  font-family: var(--font-display);
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.construction-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(24, 24, 23, 0.1);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.construction-note a {
  color: var(--ink);
  text-decoration: none;
}

.construction-note a:hover,
.construction-note a:focus-visible {
  color: var(--blue);
}

@media (max-width: 820px) {
  .construction-content {
    grid-template-columns: 1fr;
  }

  .construction-visual {
    min-height: 320px;
    max-height: 460px;
  }
}

@media (max-width: 560px) {
  .construction-layout {
    width: min(100% - 1rem, 1180px);
    padding-top: 1.25rem;
  }

  .construction-back {
    margin-bottom: 1.25rem;
  }

  .construction-window {
    border-radius: 18px;
  }

  .construction-visual {
    min-height: 235px;
  }

  .construction-copy {
    padding: 2rem 1.25rem 2.5rem;
  }

  .construction-copy h1 {
    font-size: clamp(2.85rem, 14vw, 4.25rem);
  }

  .construction-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
