* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0d;
  --bg-soft: rgba(255, 255, 255, 0.05);
  --card: rgba(14, 14, 18, 0.74);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4efe9;
  --muted: #b7b0aa;
  --accent: #d8c1a6;
  --accent-soft: rgba(216, 193, 166, 0.15);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

body {
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 193, 166, 0.09), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.04), transparent 20%),
    radial-gradient(circle at 70% 70%, rgba(130, 130, 160, 0.08), transparent 25%),
    linear-gradient(135deg, #050507 0%, #0b0b10 48%, #111116 100%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 3px,
      transparent 4px
    );
  mix-blend-mode: screen;
  opacity: 0.7;
}

.page {
  min-height: 100vh;
  padding: 4rem 6rem 2rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* floating butterflies */

.butterfly {
  position: absolute;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  filter: blur(0.2px);
  animation: drift 8s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

.b1 {
  top: 12%;
  left: 18%;
  animation-delay: 0s;
}

.b2 {
  top: 26%;
  left: 42%;
  animation-delay: 1.2s;
}

.b3 {
  top: 70%;
  left: 14%;
  animation-delay: 2.1s;
}

.b4 {
  top: 18%;
  right: 20%;
  animation-delay: 3s;
}

.b5 {
  bottom: 10%;
  right: 12%;
  animation-delay: 1.8s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0px) rotate(-4deg);
    opacity: 0.25;
  }

  50% {
    transform: translateY(-14px) rotate(4deg);
    opacity: 0.5;
  }
}

/* top-right hanging bubble menu */

.hanging-menu {
  position: fixed;
  top: 0;
  right: 2.25rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.string {
  width: 1px;
  height: 70px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.18)
  );
}

.menu-bubble {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.04) 55%,
      rgba(0, 0, 0, 0.3) 100%
    );
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.45s ease, background 0.35s ease;
  padding: 1rem;
}

.menu-bubble:hover,
.hanging-menu.active .menu-bubble {
  transform: translateY(6px) scale(1.03);
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(216, 193, 166, 0.22),
      rgba(255, 255, 255, 0.05) 55%,
      rgba(0, 0, 0, 0.34) 100%
    );
}

.menu-panel {
  margin-top: 1rem;
  width: 220px;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(11, 11, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

.hanging-menu:hover .menu-panel,
.hanging-menu.active .menu-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-panel p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.menu-links {
  display: grid;
  gap: 0.7rem;
}

.menu-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  text-align: center;
  transition: all 0.3s ease;
}

.menu-links a:hover {
  background: var(--accent-soft);
  border-color: rgba(216, 193, 166, 0.35);
  transform: translateX(4px);
}

/* card wrapper and main card */

.card-wrap {
  position: relative;
  width: min(620px, 100%);
  margin-left: clamp(0rem, 3vw, 2rem);
}

.editorial-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.editorial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 30%),
    radial-gradient(circle at top right, rgba(216, 193, 166, 0.08), transparent 30%);
  pointer-events: none;
}

.eyebrow {
  position: relative;
  z-index: 2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.92;
  font-weight: 400;
  margin-bottom: 1.25rem;
  max-width: 8ch;
}

.subcopy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.mini-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 22px;
  padding: 1rem;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.mini-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 193, 166, 0.28);
}

.mini-card span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.mini-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.15;
  margin: 0.8rem 0;
}

.mini-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.button-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button-row a {
  text-decoration: none;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.button-row a:hover {
  background: var(--accent-soft);
  border-color: rgba(216, 193, 166, 0.35);
  transform: translateY(-2px);
}

/* tucked note */

.floating-note {
  position: absolute;
  text-align: right ;
  right: -142px;
  bottom: 34px;
  width: 165px;
  padding: 0.9rem;
  padding-left: 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-5deg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1;
}

.floating-note small {
  display: right;
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  font-size: 0.58rem;
}

.floating-note p {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.28;
}

/* responsive */

@media (max-width: 900px) {
  .page {
    padding: 8rem 2rem 2rem;
    align-items: flex-start;
  }

  .card-wrap {
    margin-left: 0;
  }

  .floating-note {
    right: -12px;
    bottom: 28px;
    width: 150px;
    transform: rotate(-4deg);
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hanging-menu {
    right: 1rem;
  }

  .menu-bubble {
    width: 90px;
    height: 90px;
    font-size: 0.75rem;
  }

  .string {
    height: 50px;
  }
}

@media (max-width: 560px) {
  h1 {
    max-width: 100%;
  }

  .button-row a {
    width: 100%;
    text-align: center;
  }

  .menu-panel {
    width: 200px;
  }

  .floating-note {
    position: static;
    width: 100%;
    margin-top: 1rem;
    transform: none;
  }

  .card-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}