:root {
  --ink: #0b1014;
  --steel: #25313a;
  --blue: #104f82;
  --red: #dc2028;
  --muted: #aeb7bd;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  color: white;
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.construction-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 0 max(24px, calc((100vw - 1240px)/2));
  isolation: isolate;
}

.construction-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .28;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, transparent 0%, black 42%, black 100%);
}

.construction-slash {
  position: absolute;
  z-index: -2;
  width: 44vw;
  height: 150vh;
  right: -11vw;
  top: -25vh;
  background: linear-gradient(120deg, rgba(16, 79, 130, .08), rgba(220, 32, 40, .18));
  transform: skewX(-14deg);
  border-left: 1px solid rgba(220, 32, 40, .44);
}

.construction-header, .construction-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.construction-header {
  min-height: 108px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.header-logo {
  display: block;
  width: 100px;
  max-width: 30vw;
  height: auto;
}

.location {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.header-contact {
  padding: .55rem .85rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 3px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .18s ease, background .18s ease;
}

.header-contact:hover,
.header-contact.active {
  border-color: var(--red);
  background: var(--red);
}

.construction-content {
  align-self: center;
  width: 100%;
  padding: 4.5rem 0;
}

.status-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.5rem;
  color: #d6dad8;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.status-label span {
  width: 9px;
  height: 9px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(213, 43, 47, .12);
}

.logo-stage {
  width: min(500px, 85vw);
  perspective: 1200px;
}

.logo-frame {
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, #53616b 0%, #1a242b 16%, #36434c 50%, #11191f 84%, #52606a 100%);
  clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .09);
  animation: sign-arrive .8s cubic-bezier(.2, .72, .15, 1) both;
}

.logo-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: 2;
  pointer-events: none;
  clip-path: inherit;
  border: 1px solid rgba(255, 255, 255, .28);
  animation: frame-charge 1.8s .15s ease-out both;
}

.logo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  filter: blur(24px);
  opacity: 0;
  animation: afterglow 2.2s .2s ease-out both;
}

.logo-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.58 / 1;
  background: #f7f7f7;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.logo-panel img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-5.7%);
}

.star-twinkle {
  position: absolute;
  z-index: 3;
  width: 3.2%;
  min-width: 10px;
  max-width: 22px;
  aspect-ratio: 1;
  opacity: 0;
  background: radial-gradient(circle, #fff 0 13%, rgba(255, 255, 255, .96) 14%, rgba(255, 255, 255, .15) 32%, transparent 58%);
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 11px #fff) drop-shadow(0 0 20px rgba(124, 204, 255, .95));
  transform: translate(-50%, -50%) scale(.1);
  animation: star-twinkle 1.05s ease-in-out 2 both;
}

.star-twinkle::before, .star-twinkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), #fff, rgba(255, 255, 255, .45), transparent);
  box-shadow: 0 0 7px #fff;
  transform: translate(-50%, -50%);
}

.star-twinkle::before {
  width: 190%;
  height: 8%;
}

.star-twinkle::after {
  width: 8%;
  height: 190%;
}

.star-one {
  left: 16.4%;
  top: 46.4%;
  animation-delay: .25s;
}

.star-two {
  left: 21.6%;
  top: 25.1%;
  animation-delay: .4s;
}

.star-three {
  left: 29.9%;
  top: 21.9%;
  animation-delay: .55s;
}

.star-four {
  left: 26.9%;
  top: 38.1%;
  width: 2.2%;
  animation-delay: .7s;
}

.star-five {
  left: 32.7%;
  top: 36.3%;
  animation-delay: .85s;
}

.logo-sweep {
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 18%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), rgba(255, 255, 255, .95), rgba(255, 255, 255, .2), transparent);
  filter: blur(7px);
  transform: skewX(-16deg) translateX(-180%);
  mix-blend-mode: screen;
  animation: logo-sweep 1.35s .72s cubic-bezier(.45, .05, .2, 1) both;
}

.energy-rail {
  position: absolute;
  z-index: 4;
  left: 9%;
  right: 5%;
  bottom: 5px;
  height: 3px;
  overflow: visible;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent 0%, var(--red) 8%, #ff5960 82%, white 100%);
  box-shadow: 0 0 8px rgba(220, 32, 40, .9), 0 0 22px rgba(220, 32, 40, .55);
  animation: energy-trace 1.15s 1s cubic-bezier(.16, .82, .28, 1) both;
}

.energy-rail::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 9px 3px white, 0 0 22px 8px var(--red);
  transform: translateY(-50%);
  animation: spark-out .5s 1.95s ease-out both;
}

h1 {
  margin: 2.2rem 0 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

.construction-content>p {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: #c3c9c6;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.7;
}

.construction-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 1.7rem;
  padding: .7rem 1.15rem;
  color: white;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 3px;
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

.construction-contact:hover {
  background: #b91820;
  border-color: #b91820;
}

.contact-content {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  width: 100%;
  padding: 4rem 0;
}

.contact-intro h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.contact-intro h1 em {
  color: var(--red);
  font-style: normal;
}

.contact-intro>p {
  max-width: 520px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-intro .contact-location {
  color: white;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.enquiry-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  color: #171a1c;
  background: #f7f7f7;
  border-top: 5px solid var(--red);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.enquiry-card label {
  display: block;
  font-size: .79rem;
  font-weight: 800;
}

.enquiry-card label span {
  display: block;
}

.enquiry-card input,
.enquiry-card textarea {
  width: 100%;
  margin-top: .38rem;
  padding: .72rem .8rem;
  color: #171a1c;
  background: white;
  border: 1px solid #bfc5c1;
  border-radius: 3px;
  font: inherit;
  outline: none;
}

.enquiry-card input:focus,
.enquiry-card textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220, 32, 40, .13);
}

.enquiry-card textarea {
  resize: vertical;
}

.enquiry-message-field {
  grid-column: 1 / -1;
}

.enquiry-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 1rem;
  color: white;
  background: var(--red);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.enquiry-submit:hover {
  background: #b91820;
}

.enquiry-errors,
.enquiry-success {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-left: 4px solid;
  font-size: .88rem;
}

.enquiry-errors {
  color: #7d171c;
  background: #fff0f0;
  border-color: var(--red);
}

.enquiry-errors ul {
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}

.enquiry-success {
  color: #0d6438;
  background: #e6f6ee;
  border-color: #177a49;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.construction-rule {
  width: min(560px, 80vw);
  height: 3px;
  margin-top: 2.2rem;
  background: #313a40;
  overflow: hidden;
}

.construction-rule span {
  display: block;
  width: 34%;
  height: 100%;
  background: var(--red);
  animation: progress 4s ease-in-out infinite alternate;
}

.construction-footer {
  min-height: 78px;
  color: #747d79;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@keyframes progress {
  from {
    transform: translateX(-35%);
  }

  to {
    transform: translateX(230%);
  }

}

@keyframes sign-arrive {
  from {
    opacity: 0;
    transform: translateY(20px) rotateX(3deg);
  }

  to {
    opacity: 1;
    transform: none;
  }

}

@keyframes frame-charge {
  0% {
    border-color: rgba(255, 255, 255, .08);
    box-shadow: none;
  }

  38% {
    border-color: rgba(255, 255, 255, .75);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, .35), 0 0 22px rgba(220, 32, 40, .4);
  }

  100% {
    border-color: rgba(255, 255, 255, .23);
    box-shadow: none;
  }

}

@keyframes afterglow {
  0%, 100% {
    opacity: 0;
  }

  35% {
    opacity: .34;
  }

}

@keyframes logo-sweep {
  0% {
    left: -35%;
    transform: skewX(-16deg);
    opacity: 0;
  }

  18% {
    opacity: .9;
  }

  82% {
    opacity: .9;
  }

  100% {
    left: 125%;
    transform: skewX(-16deg);
    opacity: 0;
  }

}

@keyframes star-twinkle {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0) scale(.1);
  }

  12% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(24deg) scale(2.1);
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px #fff) drop-shadow(0 0 26px #6bc6ff);
  }

  24% {
    opacity: .18;
    transform: translate(-50%, -50%) rotate(48deg) scale(.55);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(78deg) scale(1.45);
  }

  52% {
    opacity: .3;
    transform: translate(-50%, -50%) rotate(108deg) scale(.7);
  }

  68% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(142deg) scale(2.35);
    filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 17px #fff) drop-shadow(0 0 30px #6bc6ff);
  }

  82% {
    opacity: .2;
    transform: translate(-50%, -50%) rotate(170deg) scale(.5);
  }

}

@keyframes energy-trace {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  78% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(1);
    opacity: .5;
    box-shadow: 0 0 3px rgba(220, 32, 40, .55);
  }

}

@keyframes spark-out {
  from {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-50%) scale(2.4);
  }

}

@media (prefers-reduced-motion: reduce) {
  .logo-frame, .logo-frame::before, .logo-frame::after, .logo-sweep, .star-twinkle, .energy-rail, .energy-rail::after, .construction-rule span {
    animation: none;
  }

  .energy-rail {
    transform: scaleX(1);
    opacity: .5;
  }

}

@media (max-width: 900px) {
  .contact-page {
    overflow: visible;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0 4rem;
  }
}

@media (max-width: 620px) {
  .construction-page {
    padding-inline: 20px;
  }

  .construction-header {
    min-height: 82px;
  }

  .header-logo {
    width: 92px;
    max-width: 42vw;
  }

  .location {
    display: none;
  }

  .header-actions {
    gap: .5rem;
  }

  .construction-content {
    padding-block: 3rem;
  }

  .status-label {
    font-size: .66rem;
  }

  .logo-frame {
    padding: 6px;
    clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
  }

  .logo-panel {
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  }

  h1 {
    margin-top: 1.7rem;
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .construction-content>p {
    line-height: 1.55;
  }

  .contact-intro h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
  }

  .enquiry-message-field {
    grid-column: auto;
  }

  .construction-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
  }

}
