:root {
  --tpw-black: #050505;
  --tpw-white: #ffffff;
  --tpw-muted: #73737a;
  --tpw-line: #dedee2;
}

* {
  box-sizing: border-box;
}

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

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

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > * {
  margin-block-start: 0;
}

.tpw-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 3vw, 48px);
  overflow: hidden;
}

.tpw-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.tpw-brand,
.tpw-status,
.tpw-command {
  margin: 0;
}

.tpw-brand,
.tpw-status {
  font-size: clamp(.68rem, .9vw, .82rem);
  font-weight: 760;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.tpw-status {
  color: var(--tpw-muted);
  white-space: nowrap;
}

.tpw-visual {
  position: absolute;
  z-index: 0;
  inset: clamp(62px, 7vh, 88px) 0 clamp(154px, 18vh, 210px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.tpw-visual img {
  display: block;
  width: min(100%, 1536px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 95%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.tpw-command {
  position: relative;
  z-index: 2;
  align-self: end;
  padding-top: clamp(16px, 2vw, 28px);
  border-top: 1px solid var(--tpw-line);
  font-size: clamp(3.25rem, 8.7vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .78;
}

@media (max-width: 640px) {
  .tpw-stage {
    padding: 22px;
  }

  .tpw-brand {
    max-width: 12ch;
    line-height: 1.2;
  }

  .tpw-visual img {
    width: 142vw;
    max-width: none;
  }

  .tpw-visual {
    inset: 96px 0 132px;
  }

  .tpw-command {
    font-size: clamp(3.35rem, 17vw, 5rem);
    line-height: .82;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tpw-topline,
  .tpw-command {
    animation: tpw-reveal .65s cubic-bezier(.22, 1, .36, 1) both;
  }

  .tpw-visual {
    animation: tpw-image-reveal .85s .08s cubic-bezier(.22, 1, .36, 1) both;
  }

  .tpw-command {
    animation-delay: .16s;
  }
}

@keyframes tpw-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes tpw-image-reveal {
  from {
    opacity: 0;
    transform: scale(.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}
