:root {
  --black: #000000;
  --ink: #030303;
  --charcoal: #080808;
  --concrete: #242424;
  --ash: #8f8f8f;
  --stone: #ffffff;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.22);
  --soft-line: rgba(255, 255, 255, 0.075);
  --shadow: rgba(0, 0, 0, 0.88);
  --mx: 0;
  --my: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  overflow: hidden;
  background: var(--black);
  color: var(--stone);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  border-radius: 0;
  font: inherit;
}

button {
  cursor: pointer;
}

.soft-button,
.notify button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  color: var(--black);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 44%, #f0f0f0 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -10px 18px rgba(0, 0, 0, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 20px 26px rgba(255, 255, 255, 0.18),
    0 28px 42px rgba(0, 0, 0, 0.58);
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, filter 170ms ease;
}

.soft-button::before,
.notify button::before {
  position: absolute;
  inset: 3px 4px auto;
  z-index: -1;
  height: 40%;
  border-radius: 13px 13px 9px 9px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  content: "";
  pointer-events: none;
}

.soft-button::after,
.notify button::after {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -12px;
  z-index: -2;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  filter: blur(18px);
  content: "";
  pointer-events: none;
}

.soft-button:hover,
.notify button:hover {
  color: var(--black);
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #eeeeee 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 1),
    inset 0 -10px 18px rgba(0, 0, 0, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 23px 30px rgba(255, 255, 255, 0.22),
    0 30px 48px rgba(0, 0, 0, 0.62);
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.soft-button:active,
.notify button:active {
  transform: translateY(1px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, transparent calc(25% - 1px), var(--soft-line) calc(25% - 1px), var(--soft-line) 25%, transparent 25%),
    linear-gradient(90deg, transparent calc(50% - 1px), var(--soft-line) calc(50% - 1px), var(--soft-line) 50%, transparent 50%),
    linear-gradient(90deg, transparent calc(75% - 1px), var(--soft-line) calc(75% - 1px), var(--soft-line) 75%, transparent 75%),
    linear-gradient(180deg, transparent calc(50% - 1px), var(--soft-line) calc(50% - 1px), var(--soft-line) 50%, transparent 50%),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.035), transparent 38%),
    var(--black);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.scanline {
  position: absolute;
  inset: -20% auto -20% 50%;
  z-index: 12;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.3;
  animation: scan 5.6s cubic-bezier(0.66, 0, 0.34, 1) infinite;
}

.site-header,
.site-footer {
  position: fixed;
  left: clamp(18px, 3.2vw, 46px);
  right: clamp(18px, 3.2vw, 46px);
  z-index: 20;
  align-items: center;
  color: var(--stone);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-header {
  top: clamp(18px, 3.2vw, 40px);
  display: flex;
  justify-content: space-between;
}

.site-footer {
  bottom: 0;
  display: flex;
  min-height: clamp(92px, 10vh, 112px);
  align-items: center;
  justify-content: center;
  padding: 0;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.footer-copy {
  display: inline-flex;
  justify-self: start;
  white-space: nowrap;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-solution a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.social-link:hover {
  color: var(--black);
  border-color: var(--white);
  background: var(--white);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.96),
    0 12px 28px rgba(0, 0, 0, 0.46);
  transform: translateY(-2px);
}

.social-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-link {
  padding: 0;
}

.footer-brand-status {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
  white-space: nowrap;
}

.footer-logo {
  display: block;
  width: clamp(82px, 8vw, 120px);
  height: auto;
}

.logo-wrap {
  display: block;
  width: clamp(132px, 16vw, 220px);
  overflow: hidden;
}

.logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.top-nav a,
.top-nav span {
  position: relative;
}

.top-nav a:not(.soft-button)::after,
.top-nav span::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--stone);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.top-nav a:not(.soft-button):hover::after {
  transform: scaleX(1);
}

.nav-contact {
  min-height: 48px;
  padding: 0 30px;
  border-radius: 16px;
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
}

.hero {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(18px, 1fr) minmax(0, 1260px) minmax(18px, 1fr);
  align-items: center;
}

.meta-left {
  position: absolute;
  left: clamp(18px, 3.2vw, 46px);
  top: 50%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ash);
  font-size: clamp(0.66rem, 0.8vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.composition {
  position: relative;
  grid-column: 2;
  width: 100%;
  height: min(70vh, 640px);
  min-height: 500px;
  transform: translate(calc(var(--mx) * -0.016px), calc(var(--my) * -0.012px));
}

.slab {
  position: absolute;
  background: var(--charcoal);
  border: 1px solid var(--soft-line);
  box-shadow: 0 36px 90px var(--shadow);
}

.slab-left {
  left: 10%;
  top: 8%;
  width: 28%;
  height: 78%;
  opacity: 0.56;
  transform: skewY(-7deg);
}

.slab-right {
  right: 6%;
  top: 3%;
  width: 37%;
  height: 88%;
  background: #050505;
  opacity: 0.72;
  transform: skewY(7deg);
}

.building {
  position: absolute;
  left: 38%;
  top: 2%;
  width: min(41vw, 540px);
  height: 92%;
  border: 1px solid rgba(187, 183, 176, 0.32);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(22, 22, 22, 0.38)),
    var(--concrete);
  box-shadow: 0 40px 90px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  filter: grayscale(1) contrast(1.02);
  animation: buildingFloat 8s ease-in-out infinite;
}

.building::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 16%, rgba(0, 0, 0, 0.28) 16% 17%, transparent 17% 32%, rgba(0, 0, 0, 0.24) 32% 33%, transparent 33% 49%, rgba(0, 0, 0, 0.2) 49% 50%, transparent 50% 66%, rgba(0, 0, 0, 0.24) 66% 67%, transparent 67% 83%, rgba(0, 0, 0, 0.2) 83% 84%, transparent 84%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 36%, rgba(0, 0, 0, 0.28));
  content: "";
}

.building::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)' opacity='0.38'/%3E%3C/svg%3E");
  opacity: 0.32;
  mix-blend-mode: overlay;
  content: "";
}

.building-top,
.building-side {
  position: absolute;
  z-index: 2;
  background: #080808;
  border: 1px solid var(--line);
}

.building-top {
  left: 10%;
  right: 10%;
  top: 10%;
  height: 12%;
}

.building-side {
  right: 8%;
  top: 22%;
  width: 14%;
  height: 60%;
}

.window-grid,
.window-grid-two {
  position: absolute;
  z-index: 3;
  left: 11%;
  top: 30%;
  width: 54%;
  height: 44%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 7px, transparent 7px 22px),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0 3px, transparent 3px 35px);
  opacity: 0.5;
}

.window-grid-two {
  left: auto;
  right: 28%;
  top: 52%;
  width: 18%;
  height: 30%;
  opacity: 0.36;
}

.concrete-band {
  position: absolute;
  z-index: 4;
  left: -8%;
  right: -8%;
  height: 16%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.34);
}

.band-one {
  top: 42%;
  transform: rotate(-8deg);
}

.band-two {
  bottom: 14%;
  transform: rotate(6deg);
}

.circle-cut {
  position: absolute;
  z-index: 5;
  right: 12%;
  top: 30%;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, var(--black) 0 33%, transparent 34% 100%);
  opacity: 0.75;
}

.title-block {
  position: absolute;
  left: clamp(26px, 7vw, 108px);
  top: 48%;
  z-index: 11;
  width: min(88vw, 980px);
  transform: translateY(-50%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--ash);
  font-size: clamp(0.7rem, 0.9vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--stone);
  font-size: clamp(5.8rem, 14vw, 13.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.78;
  text-transform: uppercase;
}

h1 span {
  display: block;
  overflow: hidden;
  text-shadow: 0 24px 50px rgba(0, 0, 0, 0.48);
  animation: typeIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--stone);
  animation-delay: 120ms;
}

.copy-panel {
  position: absolute;
  right: clamp(24px, 5vw, 82px);
  bottom: clamp(92px, 12vh, 140px);
  z-index: 13;
  width: min(360px, 30vw);
  color: var(--stone);
}

.copy-panel p {
  margin: 0 0 26px;
  color: var(--stone);
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 700;
  line-height: 1.6;
}

.notify {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
}

.notify input {
  min-width: 0;
  height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.76);
}

.notify input::placeholder {
  color: var(--ash);
}

.notify button {
  min-height: 58px;
  padding: 0 32px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.copy-panel > span {
  display: block;
  margin-top: 12px;
  color: var(--ash);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(92px, 13vh, 140px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding-right: 0.18em;
  font-size: clamp(5.8rem, 13vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes typeIn {
  from {
    opacity: 0;
    transform: translateY(0.36em);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buildingFloat {
  50% {
    transform: translate3d(-1.4%, 1.2%, 0) scale(1.015);
  }
}

@keyframes scan {
  0%, 100% {
    transform: translateX(-36vw);
  }

  50% {
    transform: translateX(36vw);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .page {
    min-height: 620px;
  }

  .site-header,
  .site-footer {
    left: 18px;
    right: 18px;
  }

  .site-footer {
    bottom: 18px;
    display: flex;
    min-height: 30px;
    justify-content: center;
    padding-top: 0;
    border-top: 0;
    pointer-events: auto;
  }

  .footer-copy,
  .footer-solution,
  .footer-brand-status {
    display: none;
  }

  .footer-center {
    gap: 0;
  }

  .logo-wrap {
    width: 138px;
  }

  .top-nav {
    gap: 14px;
  }

  .top-nav span {
    display: none;
  }

  .meta-left {
    display: none;
  }

  .composition {
    height: 68vh;
    min-height: 500px;
  }

  .building {
    left: 34%;
    width: 62vw;
    opacity: 0.82;
  }

  .slab-left {
    left: 2%;
    width: 36%;
  }

  .slab-right {
    right: -8%;
    width: 48%;
  }

  .title-block {
    left: 18px;
    top: 45%;
    width: calc(100vw - 36px);
  }

  h1 {
    font-size: clamp(4.9rem, 24vw, 8rem);
  }

  .copy-panel {
    left: 18px;
    right: 18px;
    bottom: 74px;
    width: auto;
  }

  .copy-panel p {
    max-width: 390px;
    margin-bottom: 18px;
  }

  .marquee {
    height: 86px;
  }
}

@media (max-width: 540px) {
  .page {
    min-height: 640px;
  }

  .site-header {
    align-items: flex-start;
    right: 92px;
  }

  .logo-wrap {
    width: 118px;
  }

  .top-nav {
    font-size: 0.62rem;
  }

  .nav-contact {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 14px;
  }

  .composition {
    height: 54vh;
    min-height: 390px;
    transform: translate(calc(var(--mx) * -0.008px), calc(var(--my) * -0.008px));
  }

  .building {
    left: 28%;
    top: 4%;
    width: 84vw;
    height: 92%;
  }

  .slab-left {
    display: none;
  }

  .slab-right {
    right: -22%;
    top: 5%;
    width: 78%;
    height: 86%;
  }

  .title-block {
    top: 40%;
  }

  .kicker {
    margin-bottom: 12px;
    font-size: 0.62rem;
  }

  h1 {
    font-size: clamp(3.8rem, 19vw, 4.7rem);
    letter-spacing: -0.035em;
  }

  h1 span:nth-child(2) {
    color: rgba(255, 255, 255, 0.16);
    -webkit-text-stroke: 1.1px rgba(255, 255, 255, 0.78);
  }

  .copy-panel {
    bottom: 52px;
  }

  .copy-panel p {
    max-width: 300px;
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .notify {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .notify button {
    min-height: 56px;
  }

  .copy-panel > span {
    font-size: 0.62rem;
  }

  .marquee {
    height: 66px;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .composition {
    transform: translate(calc(var(--mx) * -0.016px), calc(var(--my) * -0.012px)) scale(0.9);
  }

  .copy-panel {
    bottom: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
