* {
  box-sizing: border-box;
}

/* Brand palette */
:root {
  --color-shadow-grey: #252222;
  --color-midnight-blue: #191674;
  --color-porcelain: #f2f5f1;
  --color-frosted-blue: #90d8e7;
  --color-watermelon: #ef2e4d;
  --color-yellow-green: #87c540;
  --color-white: #fff;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--color-porcelain);
  color: var(--color-shadow-grey);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.construction-page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.construction-layout {
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
}

.construction-sidebar {
  width: 280px;
  min-width: 280px;
  background: var(--color-yellow-green);
  padding: 30px 20px 30px 0;
  display: flex;
  justify-content: space-between;
}

.construction-sidebar .sidebar-top {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.construction-sidebar .logo-container {
  width: 100%;
  padding: 18px 24px 18px 20px;
  background: var(--color-white);
  border-radius: 0 60px 60px 0;
}
.construction-sidebar .logo-container img {
  width: 80%;
  height: auto;
  display: block;
}

.construction-sidebar .sidebar-top > img {
  width: 100%;
  height: auto;
  margin-top: auto;
}

.construction-main {
  position: relative;
  flex: 1;
  background: var(--color-porcelain);
  padding: 38px 44px 34px 44px;
  display: flex;
  overflow: hidden;
  align-content: space-around;
  justify-content: space-around;
  align-items: center;
}

.construction-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-top: 12px;
}

.construction-copy h1 {
  margin: 0;
  color: var(--color-midnight-blue);
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.construction-copy h1 span {
  display: block;
  color: var(--color-frosted-blue);
}

.construction-copy p {
  margin: 26px 0 30px;
  max-width: 520px;
  font-size: clamp(1.15rem, 1.6vw, 1.8rem);
  line-height: 1.45;
  color: var(--color-midnight-blue);
  font-weight: 500;
}
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-watermelon);
  color: var(--color-white);
  border: 2px solid rgba(21, 115, 68, 0.15);
  padding: 15px 28px 14px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(58, 110, 60, 0.12);
  transition: transform 0.2s ease;
}

.home-button:hover {
  transform: translateY(-1px);
}

.button-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.construction-art {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(52vw, 670px);
  height: 500px;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(87, 188, 122, 0.8);
  box-shadow: 0 0 0 5px rgba(87, 188, 122, 0.1);
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 22px;
  background: rgba(87, 188, 122, 0.8);
  transform: translate(-50%, -50%);
}

.spark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.spark-one {
  top: 20px;
  right: 150px;
}

.spark-two {
  top: 52px;
  right: 76px;
  transform: scale(0.8);
}

.spark-three {
  top: 120px;
  right: 220px;
  transform: scale(0.7);
}

.laptop {
  position: absolute;
  right: 210px;
  bottom: 110px;
  width: 420px;
  height: 250px;
}

.screen {
  position: absolute;
  inset: 0 0 30px 0;
  background: #f0f5ef;
  border: 8px solid #1d2f77;
  border-radius: 14px 14px 10px 10px;
  box-shadow: 0 8px 0 rgba(14, 26, 72, 0.15);
  overflow: hidden;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
}

.gear-wrap {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(109, 199, 111, 0.18);
}

.gear {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: var(--color-frosted-blue);
  border: 7px solid rgba(31, 101, 66, 0.22);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.gear::before,
.gear::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 9px solid rgba(21, 98, 79, 0.2);
}

.gear::after {
  inset: 5px;
  border-color: rgba(21, 98, 79, 0.16);
}

.gear-inner {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 8px solid rgba(21, 98, 79, 0.22);
}

.screen-bar {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 176px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: linear-gradient(
    90deg,
    rgba(106, 179, 76, 0.18),
    rgba(106, 179, 76, 0.36),
    rgba(106, 179, 76, 0.18)
  );
}

.keyboard {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 420px;
  height: 18px;
  transform: translateX(-50%);
  background: var(--color-porcelain);
  border-radius: 8px 8px 18px 18px;
  box-shadow: inset 0 -6px 0 rgba(60, 70, 85, 0.06);
}

.helmet {
  position: absolute;
  left: 110px;
  bottom: 95px;
  width: 170px;
  height: 126px;
  background: #f0bf2e;
  border-radius: 50% 50% 48% 48%;
  transform: rotate(15deg);
  border: 6px solid rgba(27, 41, 86, 0.18);
  box-shadow: inset -12px -12px 0 rgba(255, 255, 255, 0.08);
}

.helmet::before {
  content: "";
  position: absolute;
  inset: 18px 18px 24px 18px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 255, 255, 0.12);
}

.helmet::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -18px;
  height: 44px;
  border-radius: 30px 30px 18px 18px;
  background: linear-gradient(180deg, #f4c83d 0%, #ebbd2d 100%);
  transform: rotate(-4deg);
}

.cone {
  position: absolute;
  bottom: 3px;
  width: 96px;
  height: 120px;
  background: linear-gradient(180deg, #ff8a4d 0%, #f26b36 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  border-radius: 10px 10px 0 0;
}

.cone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 100%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.78);
}

.cone::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 10%;
  bottom: 10%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.8) 0 10px,
    rgba(255, 255, 255, 0) 10px 20px
  );
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
}

.cone-left {
  left: 180px;
}

.barrier {
  position: absolute;
  right: 10px;
  bottom: 58px;
  width: 240px;
  height: 80px;
  border: 6px solid #1d2f77;
  border-radius: 12px;
  background: var(--color-porcelain);
  transform: rotate(8deg);
}
.barrier::before,
.barrier::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 8px;
  background: #1d2f77;
}

.barrier::before {
  left: 34px;
}

.barrier::after {
  right: 34px;
}

.barrier-stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(252, 82, 82, 0.96) 0 14px,
    rgba(255, 255, 255, 0.9) 14px 28px
  );
}

.signature {
  position: absolute;
  right: 44px;
  bottom: 22px;
  z-index: 2;
  color: var(--color-shadow-grey);
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  font-family: "Comic Sans MS", "Bradley Hand", cursive;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.signature img {
  width: 320px;
  max-width: 100%;
  height: auto;
}

.construction-footer {
  position: absolute;
  left: 44px;
  bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--color-shadow-grey);
  font-size: 0.78rem;
}

.construction-footer a {
  color: var(--color-midnight-blue);
}

.construction-footer a:hover {
  color: var(--color-watermelon);
}

@media (max-width: 1100px) {
  .construction-layout {
    flex-direction: column;
  }

  .construction-sidebar {
    width: 100%;
    min-width: 0;
    min-height: 190px;
    padding: 20px;
  }

  .construction-sidebar .logo-container {
    width: 220px;
    margin: 0 auto;
    padding: 14px 20px;
    border-radius: 40px;
  }

  .construction-main {
    min-height: 760px;
    padding-top: 60px;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
  }

  .construction-art {
    right: auto;
    bottom: auto;
    width: min(70vw, 620px);
    height: 420px;
    margin: 36px auto 0;
  }
}

@media (max-width: 700px) {
  .construction-sidebar {
    min-height: 160px;
  }

  .construction-sidebar .sidebar-top > img {
    display: none;
  }

  .construction-sidebar .logo-container {
    width: 190px;
  }

  .construction-main {
    padding: 42px 24px 90px;
    min-height: 600px;
    align-items: stretch;
  }

  .construction-copy {
    max-width: 100%;
  }

  .construction-copy h1 {
    font-size: 3rem;
  }

  .construction-copy p {
    font-size: 1.1rem;
    max-width: 320px;
  }

  .home-button {
    padding: 13px 20px;
    font-size: 1rem;
  }

  .construction-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 420px;
    height: 300px;
    margin: 30px auto 0;
  }

  .signature {
    position: static;
    margin-top: 10px;
    text-align: center;
  }

  .construction-footer {
    position: static;
    justify-content: center;
    margin-top: 34px;
    text-align: center;
  }
}
