:root {
  --bg: #ffffff;
  --text: #111111;
  --text-soft: #4d4d4d;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.2);
  --transition: 320ms ease;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: grid;
  place-items: center;
  z-index: 999;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
  padding: 24px;
}

.logo-wordmark {
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: #111111;
  text-transform: uppercase;
}

.logo-subline {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #5a5a5a;
}

.main {
  min-height: 100vh;
  background: #ffffff;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero-inner {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  justify-content: center;
}

.brand-line {
  width: 72px;
  height: 1px;
  background: var(--line-strong);
}

.brand-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #111111;
  white-space: nowrap;
}

.rotating-copy {
  margin: 42px 0 42px;
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.9rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #111111;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.rotating-copy.is-changing {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-frame {
  width: min(100%, 280px);
  padding: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.qr-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #ffffff;
}

.qr-copy {
  max-width: 480px;
  margin: 24px 0 14px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.direct-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #111111;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.22);
  transition: opacity var(--transition), border-color var(--transition);
}

.direct-link:hover {
  opacity: 0.65;
  border-color: rgba(17, 17, 17, 0.42);
}

@media (max-width: 768px) {
  .hero {
    padding: 24px;
  }

  .brand {
    gap: 12px;
  }

  .brand-line {
    width: 34px;
  }

  .brand-title {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .rotating-copy {
    margin: 34px 0 34px;
    font-size: clamp(1.5rem, 8vw, 2.6rem);
  }

  .qr-copy {
    font-size: 0.94rem;
  }

  .logo-subline {
    letter-spacing: 0.22em;
    line-height: 1.7;
  }
}
.footer {
  width: 100%;
  padding: 0 24px 28px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6a6a;
}
