@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #fffaf8;
  --paper: rgba(255, 255, 255, 0.78);

  --ink: #3e323a;
  --muted: #907f89;
  --line: rgba(126, 92, 111, 0.16);

  --rose: #cb8da2;
  --rose-deep: #9e6478;
  --rose-gold: #cb9785;
  --champagne: #ecd3c1;

  --pink: #f7dce7;
  --peach: #f8e3d5;
  --lilac: #e7ddf5;
  --blue: #dceaf5;
  --mint: #dfede4;
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  overflow-x: hidden;

  color: var(--ink);
  font-family: 'Inter', sans-serif;

  background:
    radial-gradient(circle at 8% 8%, rgba(246, 216, 229, 0.74), transparent 25%),
    radial-gradient(circle at 92% 14%, rgba(214, 232, 247, 0.72), transparent 24%),
    radial-gradient(circle at 52% 96%, rgba(229, 216, 246, 0.7), transparent 27%),
    radial-gradient(circle at 88% 78%, rgba(247, 226, 210, 0.45), transparent 20%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      transparent 8%,
      rgba(255, 255, 255, 0.3) 30%,
      rgba(245, 205, 223, 0.14) 43%,
      rgba(207, 226, 243, 0.15) 56%,
      rgba(226, 210, 242, 0.16) 70%,
      transparent 90%
    );

  mix-blend-mode: screen;
}

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


/* ---------------------------------
   FLOATY PEARL GLOWS
--------------------------------- */

.page-glow {
  position: fixed;
  z-index: 0;

  border-radius: 50%;
  filter: blur(105px);

  pointer-events: none;
}

.glow-a {
  width: 430px;
  height: 430px;

  top: -180px;
  left: -140px;

  background: rgba(247, 196, 219, 0.48);
}

.glow-b {
  width: 450px;
  height: 450px;

  top: 22%;
  right: -160px;

  background: rgba(194, 221, 242, 0.46);
}

.glow-c {
  width: 390px;
  height: 390px;

  bottom: -150px;
  left: 40%;

  background: rgba(216, 197, 239, 0.46);
}


/* ---------------------------------
   OVERALL LAYOUT
--------------------------------- */

.site-wrap {
  position: relative;
  z-index: 1;

  width: min(1200px, 94%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 205px minmax(0, 620px) 215px;
  gap: 34px;

  padding: 30px 0 48px;
}


/* ---------------------------------
   LEFT SIDEBAR
--------------------------------- */

.sidebar {
  position: sticky;
  top: 28px;

  height: fit-content;
}

.title-block {
  margin-bottom: 28px;
}

.tiny {
  display: block;

  margin-bottom: 4px;

  color: var(--rose-deep);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
}

.title-block h1 {
  margin: 0;

  font-family: 'Bodoni Moda', serif;
  font-size: 45px;
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.05em;

  background:
    linear-gradient(
      90deg,
      #905a70,
      #c38c80,
      #aa87bf,
      #83a5b8
    );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 18px 0 0;

  color: var(--muted);

  font-family: 'Bodoni Moda', serif;
  font-size: 14px;
  line-height: 1.45;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 9px;

  margin-bottom: 34px;
}

nav a {
  width: fit-content;

  color: var(--muted);

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: lowercase;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

nav a:hover {
  color: var(--rose-deep);
  transform: translateX(2px);
}

nav a.active {
  color: var(--rose-deep);
}

nav a.active::before {
  content: "✦";
  margin-right: 6px;

  color: var(--rose-gold);
}

.sidebar-widget {
  margin-top: 18px;
  padding-top: 15px;

  border-top: 1px solid var(--line);
}

.widget-title {
  display: block;

  margin-bottom: 8px;

  color: var(--rose-deep);

  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sidebar-widget p {
  margin: 0;

  color: var(--muted);

  font-family: 'Bodoni Moda', serif;
  font-size: 13px;
  line-height: 1.42;
}

.sidebar-footer {
  margin-top: 28px;

  color: #b28e9f;

  font-family: 'Bodoni Moda', serif;
  font-size: 12px;
  font-style: italic;
}


/* ---------------------------------
   CENTER FEED
--------------------------------- */

.feed {
  min-width: 0;
}

.feed-header {
  margin-bottom: 15px;
}

.feed-header p {
  margin: 0;

  color: var(--muted);

  font-family: 'Bodoni Moda', serif;
  font-size: 14px;
  font-style: italic;
}


/* ---------------------------------
   GENERAL POST STYLE
--------------------------------- */

.post {
  position: relative;

  margin-bottom: 18px;
  padding: 24px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.84),
      rgba(255, 255, 255, 0.52)
    );

  border: 1px solid rgba(141, 102, 122, 0.14);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px rgba(118, 84, 102, 0.045);

  backdrop-filter: blur(9px);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.post:hover {
  transform: translateY(-2px);

  border-color: rgba(196, 137, 164, 0.24);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 15px 34px rgba(135, 96, 118, 0.075);
}


/* holographic blob */

.post::after {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  right: -62px;
  bottom: -75px;

  border-radius: 50%;

  opacity: 0.52;
  filter: blur(9px);

  background:
    conic-gradient(
      rgba(244, 191, 214, 0.72),
      rgba(243, 211, 183, 0.68),
      rgba(210, 197, 239, 0.72),
      rgba(189, 220, 239, 0.68),
      rgba(207, 231, 214, 0.63),
      rgba(244, 191, 214, 0.72)
    );
}

.post > * {
  position: relative;
  z-index: 1;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;

  margin-bottom: 10px;

  color: var(--rose-deep);

  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.post h2 {
  max-width: 540px;

  margin: 0 0 14px;

  font-family: 'Bodoni Moda', serif;
  font-size: clamp(30px, 3.1vw, 38px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.post h3 {
  margin: 0 0 10px;

  font-family: 'Bodoni Moda', serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.03;
}

.post p {
  margin: 0 0 12px;

  color: #766771;

  font-size: 12px;
  line-height: 1.62;
}

.post-link {
  display: inline-block;

  margin-top: 4px;

  color: var(--rose-deep);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.post-link:hover {
  color: #7f4d60;
}


/* ---------------------------------
   TAGS
--------------------------------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 18px;
  padding-top: 12px;

  border-top: 1px solid var(--line);
}

.tags span {
  color: #a48b98;

  font-size: 9px;
}


/* ---------------------------------
   QUOTE POST
--------------------------------- */

.quote-post {
  padding: 30px 30px 26px;

  background:
    linear-gradient(
      135deg,
      rgba(250, 229, 238, 0.78),
      rgba(240, 233, 249, 0.68)
    );
}

.quote-mark {
  display: block;

  margin-bottom: -8px;

  color: var(--rose-gold);

  font-family: 'Bodoni Moda', serif;
  font-size: 48px;
  line-height: 1;
}

.quote-post blockquote {
  margin: 0;

  color: var(--ink);

  font-family: 'Bodoni Moda', serif;
  font-size: 27px;
  font-style: italic;
  line-height: 1.17;
}

.quote-post p {
  margin: 11px 0 0;

  font-size: 10px;
}


/* ---------------------------------
   MINI POST
--------------------------------- */

.mini-post {
  width: calc(100% - 42px);
  margin-left: 42px;

  background:
    linear-gradient(
      135deg,
      rgba(230, 220, 247, 0.76),
      rgba(255, 255, 255, 0.63)
    );
}


/* ---------------------------------
   CHARACTER FEATURE
--------------------------------- */

.feature-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(222, 236, 248, 0.68),
      rgba(255, 255, 255, 0.72)
    );
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.role {
  margin-top: -2px !important;

  color: var(--rose-deep) !important;

  font-size: 9px !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-stamp {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--rose-gold);

  font-family: 'Bodoni Moda', serif;
  font-size: 50px;
}


/* ---------------------------------
   LINK DIRECTORY POST
--------------------------------- */

.small-label {
  margin-top: 0 !important;

  color: var(--rose-deep) !important;

  font-size: 8px !important;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  margin-top: 15px;
}

.link-grid a {
  padding: 11px 14px;

  border-left: 1px solid var(--line);

  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.link-grid a:first-child {
  border-left: 0;
}

.link-grid a:hover {
  transform: translateY(-2px);

  background:
    linear-gradient(
      135deg,
      rgba(247, 220, 231, 0.28),
      rgba(220, 234, 247, 0.25)
    );
}

.link-grid strong {
  display: block;

  font-family: 'Bodoni Moda', serif;
  font-size: 18px;
  font-weight: 500;
}

.link-grid span {
  display: block;

  margin-top: 3px;

  color: var(--muted);

  font-size: 9px;
}


/* ---------------------------------
   RIGHT SIDEBAR
--------------------------------- */

.rightbar {
  position: sticky;
  top: 28px;

  height: fit-content;
}

.right-widget {
  margin-bottom: 22px;
  padding-bottom: 18px;

  border-bottom: 1px solid var(--line);
}

.right-widget p {
  margin: 0;

  color: var(--muted);

  font-family: 'Bodoni Moda', serif;
  font-size: 13px;
  line-height: 1.42;
}

.right-widget > a {
  display: block;

  margin-bottom: 7px;

  color: #806d78;

  font-family: 'Bodoni Moda', serif;
  font-size: 13px;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.right-widget > a:hover {
  color: var(--rose-deep);
  transform: translateX(2px);
}


/* ---------------------------------
   MOOD SWATCH
--------------------------------- */

.mood-gradient {
  height: 62px;

  margin-bottom: 10px;

  border: 1px solid rgba(137, 102, 122, 0.1);

  background:
    linear-gradient(
      105deg,
      var(--pink),
      var(--peach),
      var(--lilac),
      var(--blue),
      var(--mint)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 20px rgba(123, 90, 108, 0.04);
}


/* ---------------------------------
   RESPONSIVE
--------------------------------- */

@media (max-width: 1050px) {

  .site-wrap {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
  }

  .rightbar {
    display: none;
  }
}

@media (max-width: 760px) {

  .site-wrap {
    display: block;

    width: min(640px, 92%);
    padding-top: 24px;
  }

  .sidebar {
    position: relative;
    top: auto;

    margin-bottom: 28px;
  }

  .title-block h1 {
    font-size: 42px;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 13px;

    margin-bottom: 18px;
  }

  .sidebar-widget,
  .sidebar-footer {
    display: none;
  }

  .mini-post {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 520px) {

  .post {
    padding: 20px;
  }

  .post h2 {
    font-size: 29px;
  }

  .quote-post blockquote {
    font-size: 23px;
  }

  .feature-post {
    grid-template-columns: 1fr;
  }

  .feature-stamp {
    display: none;
  }

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

  .link-grid a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .link-grid a:first-child {
    border-top: 0;
  }
}
