:root {
  --ink: #f2f2ee;
  --muted: rgba(242, 242, 238, 0.72);
  --soft: rgba(242, 242, 238, 0.52);
  --shadow: rgba(0, 0, 0, 0.54);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #101010;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #101010;
  font-family:
    "Courier New", Courier, ui-monospace, SFMono-Regular, Menlo, Monaco,
    monospace;
}

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

img {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.92), rgba(15, 15, 15, 0.18) 48%, rgba(15, 15, 15, 0.88)),
    linear-gradient(180deg, rgba(15, 15, 15, 0.28), rgba(15, 15, 15, 0.9)),
    url("./public/images/bg.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.1), transparent 26rem),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 4px
    );
  mix-blend-mode: overlay;
  opacity: 0.42;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0 36%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.topbar,
.hero-layout,
.contact-link {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: center;
}

.brand-logo {
  width: clamp(8rem, 18vw, 16rem);
  height: auto;
  filter: drop-shadow(0 1rem 1.6rem var(--shadow));
}

.hero-layout {
  display: grid;
  width: min(100%, 96rem);
  min-height: calc(100svh - clamp(8rem, 18vw, 16rem) - clamp(3rem, 9vh, 7rem));
  grid-template-columns: minmax(0, 0.82fr) minmax(30rem, 1.18fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: center;
  margin: clamp(3rem, 9vh, 7rem) auto 0;
  padding-bottom: clamp(2rem, 5vh, 4rem);
}

.hero-copy {
  align-self: center;
}

h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(4.2rem, 9vw, 9rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.88;
  text-transform: none;
  text-shadow: 0 0.65rem 2.5rem var(--shadow);
}

.hero-copy p {
  width: min(100%, 40rem);
  margin: clamp(2rem, 4vw, 3.2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 400;
  line-height: 1.85;
  text-shadow: 0 0.45rem 1.5rem var(--shadow);
}

.hero-art {
  position: absolute;
  right: clamp(-18rem, -16vw, -8rem);
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  width: min(68vw, 78rem);
  min-width: 30rem;
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 2rem 3.2rem rgba(0, 0, 0, 0.72));
}

.contact-link {
  position: fixed;
  right: clamp(1.2rem, 3vw, 3rem);
  top: 50%;
  color: var(--soft);
  font-size: clamp(0.8rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-orientation: mixed;
  transform: translateY(-50%);
  transition: color 160ms ease;
  writing-mode: vertical-rl;
}

.contact-link:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .hero {
    display: grid;
    align-content: start;
    padding: 1.6rem 1.6rem 0;
    background-position: center;
  }

  .topbar {
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(54vw, 13rem);
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.8rem;
    margin: 5rem 0 0;
    padding-bottom: min(88vw, 24rem);
  }

  .hero-copy {
    max-width: 34rem;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.8rem);
  }

  .hero-copy p {
    width: min(100%, 26rem);
    line-height: 1.75;
  }

  .hero-art {
    right: 50%;
    bottom: 0;
    justify-content: center;
    width: min(128vw, 42rem);
    min-width: 0;
    transform: translateX(50%);
  }

  .hero-art img {
    width: 100%;
  }

  .contact-link {
    position: relative;
    right: auto;
    top: auto;
    display: inline-flex;
    margin-top: 4rem;
    transform: none;
    writing-mode: horizontal-tb;
  }
}
