.photobook-page {
  --photobook-bg: #0b090c;
  --photobook-panel: rgba(23, 18, 23, .76);
  --photobook-ink: #fbf7f8;
  --photobook-muted: rgba(251, 247, 248, .62);
  --photobook-pink: #ff8fb3;
  --photobook-line: rgba(255, 143, 179, .25);
  min-height: 100vh;
  background-color: var(--photobook-bg);
  background-image:
    linear-gradient(180deg, rgba(11, 9, 12, .84), rgba(11, 9, 12, .92)),
    url("/images/aemeath-background.png");
  background-position: center, 43% center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  color: var(--photobook-ink);
}

.photobook-page header.log-header {
  border-bottom: none;
}

.photobook-page footer.log-footer {
  border-top: none;
}

.photobook-landing {
  position: relative;
  isolation: isolate;
  max-width: 1320px;
  padding-top: clamp(34px, 4vw, 62px);
  padding-bottom: clamp(90px, 10vw, 150px);
}

.photobook-back {
  display: inline-block;
  color: var(--photobook-muted);
  font-size: 13px;
  letter-spacing: .04em;
}

.photobook-back:hover {
  color: var(--photobook-pink);
}

.photobook-hero {
  max-width: 1000px;
  padding: clamp(76px, 10vw, 150px) 0 clamp(70px, 9vw, 132px);
}

.photobook-hero h1 {
  margin: 0;
  font-family: "HackGenConsole", monospace;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: 1.08;
}

.photobook-hero h1 span {
  color: var(--photobook-pink);
  text-decoration: none;
}

.photobook-lead {
  max-inline-size: min(100%, 780px);
  margin: 38px 0 0;
  color: var(--photobook-muted);
  font-family: "HackGenConsole", monospace;
  font-size: clamp(18px, 1.5vw, 20px);
  letter-spacing: 0;
  line-height: 2;
}

.photobook-entrances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  font-size: inherit;
}

.photobook-entrance {
  position: relative;
  display: flex;
  min-height: clamp(260px, 23vw, 330px);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--photobook-line);
  background: var(--photobook-panel);
  padding: clamp(68px, 7vw, 92px) clamp(96px, 9vw, 132px) clamp(42px, 5vw, 62px) clamp(34px, 4vw, 58px);
  color: var(--photobook-ink);
  backdrop-filter: blur(18px);
  transition: color .35s ease, border-color .35s ease, transform .35s ease;
}

.photobook-entrance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 25%, rgba(255, 143, 179, .15));
  opacity: 0;
  transition: opacity .35s ease;
}

.photobook-entrance:hover,
.photobook-entrance:focus-visible {
  border-color: rgba(255, 143, 179, .72);
  color: #ffffff;
  transform: translateY(-5px);
}

.photobook-entrance:hover::before,
.photobook-entrance:focus-visible::before {
  opacity: 1;
}

.photobook-entrance-number,
.photobook-entrance-copy,
.photobook-entrance-arrow {
  position: relative;
  z-index: 1;
}

.photobook-entrance-number {
  position: absolute;
  top: clamp(25px, 3vw, 38px);
  left: clamp(28px, 3.5vw, 48px);
  color: var(--photobook-pink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .14em;
}

.photobook-entrance-copy {
  display: flex;
  min-width: 0;
  width: 100%;
  flex-direction: column;
}

.photobook-entrance-label {
  margin-bottom: 18px;
  color: var(--photobook-pink);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.photobook-entrance strong {
  font-family: "HackGenConsole", monospace;
  font-size: clamp(24px, 2.45vw, 36px);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.25;
  white-space: nowrap;
}

.photobook-entrance small {
  margin-top: 11px;
  color: var(--photobook-muted);
  font-family: "HackGenConsole", monospace;
  font-size: clamp(15px, 1.35vw, 19px);
  font-style: italic;
  letter-spacing: .035em;
}

.photobook-entrance-arrow {
  position: absolute;
  top: 50%;
  right: clamp(26px, 3.5vw, 48px);
  display: grid;
  width: clamp(44px, 5vw, 64px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--photobook-line);
  border-radius: 50%;
  color: var(--photobook-pink);
  font-family: Arial, sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  transform: translateY(-50%);
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}

.photobook-entrance:hover .photobook-entrance-arrow,
.photobook-entrance:focus-visible .photobook-entrance-arrow {
  background: var(--photobook-pink);
  color: #171117;
  transform: translate(5px, -50%);
}

.photobook-note {
  margin: 28px 0 0;
  color: var(--photobook-muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

.photobook-note span {
  margin: 0 8px;
  color: var(--photobook-pink);
}

@media (max-width: 760px) {
  .photobook-page {
    background-position: center, 42% top;
    background-attachment: fixed, fixed;
  }

  .photobook-hero {
    padding-top: 84px;
  }

  .photobook-hero h1 {
    font-size: clamp(40px, 11vw, 72px);
    line-height: 1.05;
  }

  .photobook-entrances {
    grid-template-columns: 1fr;
  }

  .photobook-entrance {
    min-height: 220px;
    padding: 64px 78px 38px 26px;
  }

  .photobook-entrance strong {
    font-size: clamp(22px, 6.7vw, 32px);
  }

  .photobook-entrance-arrow {
    right: 22px;
  }

  .photobook-note {
    text-align: left;
  }
}

@media (max-width: 440px) {
  .photobook-entrance-number {
    top: 24px;
    left: 24px;
  }

  .photobook-entrance-arrow {
    width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photobook-entrance,
  .photobook-entrance::before,
  .photobook-entrance-arrow {
    transition: none;
  }
}
