:root {
  color-scheme: dark;
  --background: #08090f;
  --surface: rgba(13, 15, 23, 0.48);
  --surface-soft: rgba(255, 255, 255, 0.07);
  --ink: #fff8f7;
  --muted: #d7ccd2;
  --line: rgba(255, 255, 255, 0.15);
  --accent: #f0b5ca;
  --accent-strong: #ffd1a4;
  --shadow: 0 34px 96px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--background) url("/background.webp") center / cover no-repeat;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 15, 0.16), rgba(8, 9, 15, 0.48) 45%, rgba(8, 9, 15, 0.84)),
    linear-gradient(180deg, rgba(8, 9, 15, 0.06), rgba(8, 9, 15, 0.62));
}

a {
  color: inherit;
  text-decoration-color: rgba(185, 167, 123, 0.5);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid rgba(240, 181, 202, 0.28);
  outline-offset: 4px;
  border-radius: 2px;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(1.2rem, 4.5vw, 4.75rem);
}

.content {
  width: min(100%, 720px);
  padding: clamp(1.35rem, 3.8vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left-color: rgba(240, 181, 202, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(116%);
}

.eyebrow {
  margin: 0 0 clamp(0.85rem, 2vw, 1.15rem);
  color: var(--accent);
  font-size: clamp(0.68rem, 1.9vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.4rem, 10vw, 7.2rem);
  line-height: 0.9;
  font-weight: 680;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.intro {
  max-width: 58ch;
  margin: clamp(1.3rem, 3.5vw, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.25vw, 1.22rem);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: clamp(1.35rem, 3.5vw, 2.25rem) 0 0;
  padding: 0;
  background: transparent;
}

.details div {
  min-width: 0;
  padding: clamp(0.85rem, 2.5vw, 1.1rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.details dt {
  margin: 0 0 0.2rem;
  color: rgba(255, 209, 164, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.details dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  font-weight: 560;
  overflow-wrap: anywhere;
}

.footer {
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: clamp(0.8rem, 2.4vw, 1.35rem);
  padding: 0 1rem;
  color: rgba(255, 248, 247, 0.72);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 680px) {
  body {
    background-position: 39% center;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 15, 0.46), rgba(8, 9, 15, 0.72)),
      linear-gradient(90deg, rgba(8, 9, 15, 0.28), rgba(8, 9, 15, 0.72));
  }

  .page {
    align-items: center;
    justify-items: center;
    padding: 1rem;
  }

  .content {
    padding: clamp(1.3rem, 7vw, 2rem);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .details {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-height: 620px) {
  .page {
    padding-top: 0.85rem;
    padding-bottom: 2.75rem;
  }

  .content {
    padding: 1rem;
  }

  .eyebrow {
    margin-bottom: 0.55rem;
  }

  h1 {
    font-size: clamp(2.5rem, 12vh, 4.2rem);
  }

  .intro,
  .details {
    margin-top: 0.9rem;
  }

  .details div {
    padding: 0.62rem 0.8rem;
  }
}
