:root {
  --ink: #292d31;
  --gold: #ad9060;
  --line: #d8d8d5;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  overflow: hidden;
  background: var(--white);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.landing {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

/* Original architectural line-art image */
.skyline {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  transform: translateX(-50%);
  animation: drawingReveal 1.8s ease-out forwards;
}

/* Clean white background: no tint or dark overlay */
.white-space {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgb(255 255 255 / 44%) 0%,
    rgb(255 255 255 / 83%) 36%,
    rgb(255 255 255 / 39%) 58%,
    rgba(255, 255, 255, 0) 76%
  );
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
  margin-top: -12vh;
  text-align: center;
  animation: brandReveal 1.4s ease-out 0.35s both;
}

.brand-name {
  color: var(--ink);
  font-size: clamp(29px, 5vw, 65px);
  font-weight: 400;
  letter-spacing: clamp(2px, 0.65vw, 8px);
  line-height: 1.35;
  text-transform: uppercase;
}

.brand-name span {
  font-weight: 300;
  color: var(--gold);
}

.gold-line {
  height: 1px;
  width: 0;
  margin: 10px auto 0;
  background: var(--gold);
  animation: lineReveal 1.2s ease-out 1.1s forwards;
}

/* Subtle border details */
.corner {
  position: absolute;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-color: rgba(173, 144, 96, 0.65);
  border-style: solid;
  pointer-events: none;
  animation: fadeIn 1.6s ease-out 0.6s both;
}

.top-left {
  top: 28px;
  left: 28px;
  border-width: 1px 0 0 1px;
}

.top-right {
  top: 28px;
  right: 28px;
  border-width: 1px 1px 0 0;
}

.bottom-left {
  bottom: 28px;
  left: 28px;
  border-width: 0 0 1px 1px;
}

.bottom-right {
  bottom: 28px;
  right: 28px;
  border-width: 0 1px 1px 0;
}

@keyframes drawingReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes brandReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes lineReveal {
  from {
    width: 0;
  }

  to {
    width: min(150px, 35vw);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .skyline {
    width: 100%;
    height: auto;
    max-height: 57%;
    object-fit: contain;
  }

  .white-space {
    background: linear-gradient(
      to bottom,
      #fff 0%,
      rgba(255, 255, 255, 0.97) 45%,
      rgba(255, 255, 255, 0.15) 100%
    );
  }

  .brand {
    margin-top: -15vh;
    padding: 0 18px;
  }

  .brand-name {
    font-size: clamp(24px, 7vw, 38px);
    letter-spacing: 2px;
  }

  .corner {
    width: 19px;
    height: 19px;
  }

  .top-left,
  .top-right {
    top: 17px;
  }

  .bottom-left,
  .bottom-right {
    bottom: 17px;
  }

  .top-left,
  .bottom-left {
    left: 17px;
  }

  .top-right,
  .bottom-right {
    right: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }

  .skyline,
  .brand,
  .corner {
    opacity: 1;
    filter: none;
  }

  .brand {
    transform: none;
  }

  .gold-line {
    width: min(150px, 35vw);
  }
}

.company-email {
  margin-top: 22px;
  opacity: 0;
  animation: emailReveal 1s ease-out 1.4s forwards;
}

.company-email a {
  color: var(--ink);
  font-size: clamp(12px, 2.15vw, 20px);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-email a:hover {
  color: var(--gold);
}

@keyframes emailReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 0.8;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .company-email {
    margin-top: 18px;
  }

  .company-email a {
    font-size: 12px;
    letter-spacing: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-email {
    opacity: 0.8;
    animation: none;
  }
}
