:root {
  --bg: #fbfcff;
  --bg2: #f3f7ff;
  --text: #111528;
  --muted: rgba(17, 21, 40, 0.72);
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(17, 21, 40, 0.12);
  --borderpink: rgba(245, 40, 145, 0.8);
  --accent: #6b6cff; /* soft periwinkle */
  --accent2: #ff4fd8; /* your logo pink vibe */
  --shadow: 0 18px 50px rgba(10, 15, 40, 0.12);

  --radius: 18px;
  --radius2: 26px;

  --wrap: 1100px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      900px 360px at 20% 0%,
      rgba(107, 108, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 360px at 90% 10%,
      rgba(255, 79, 216, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 9999;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba (0, 0, 0, 0.72);
  border-bottom: 1px solid var(--border);
}

.headerInner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 0;
  flex-direction: column;
}

.brand__logo {
  height: auto;
  width: auto;
  margin: 0, auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 999px;
}
.nav__link:hover {
  background: rgba(107, 108, 255, 0.1);
  color: var(--text);
}
.nav__cta {
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.22);
}

.hero {
  padding: 46px 0 10px;
}

.heroInner {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}

.kicker {
  margin: 0 0 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(17, 21, 40, 0.55);
}

.heroTitle {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
}
.heroName {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.heroLead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.heroActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  color: rgba(17, 21, 40, 0.7);
  font-size: 13px;
  font-weight: 600;
}

.heroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.heroCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}

.cardTitle {
  margin: 0 0 8px;
  font-size: 16px;
}
.cardText {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.cardLinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cardLink {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}
.cardLink:hover {
  border-color: rgba(107, 108, 255, 0.35);
  background: rgba(107, 108, 255, 0.08);
}

.section {
  padding: 44px 0;
}
.section--alt {
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sectionHead {
  margin-bottom: 18px;
}
.sectionTitle {
  margin: 0 0 8px;
  font-size: 26px;
}
.sectionSub {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 14px;
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.postCard,
.hubCard,
.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 30px rgba(10, 15, 40, 0.08);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(107, 108, 255, 0.14);
  border: 1px solid rgba(107, 108, 255, 0.22);
  margin: 0 0 10px;
}
.tag--soft {
  background: rgba(255, 79, 216, 0.12);
  border-color: rgba(255, 79, 216, 0.18);
}

.postTitle,
.hubTitle,
.panelTitle {
  margin: 0 0 8px;
}
.postExcerpt,
.hubText,
.panelText {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
}

.panel {
  margin-top: 14px;
}

.indexList {
  margin: 10px 0 0;
  padding-left: 18px;
}
.indexList a {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
}
.indexList a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(107, 108, 255, 0.6);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.aboutImg {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.aboutName {
  margin: 0 0 10px;
  font-size: 16px;
}
.muted {
  color: var(--muted);
  font-weight: 600;
}

.aboutText {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

.aboutList {
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.aboutActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}
.field {
  display: grid;
  gap: 8px;
}
.fieldLabel {
  font-weight: 800;
  font-size: 13px;
  color: rgba(17, 21, 40, 0.78);
}
.fieldInput {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  padding: 12px 12px;
  font-size: 16px;
  outline: none;
}
.fieldInput:focus {
  border-color: rgba(107, 108, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(107, 108, 255, 0.12);
}

.fineprint {
  margin: 0;
  font-size: 12px;
  color: rgba(17, 21, 40, 0.62);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
}
.btn--primary {
  border-color: rgba(107, 108, 255, 0.4);
  background: linear-gradient(
    90deg,
    rgba(107, 108, 255, 0.18),
    rgba(255, 79, 216, 0.14)
  );
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.45);
}
.btn--small {
  padding: 10px 12px;
  font-size: 13px;
}

.link {
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255, 79, 216, 0.65);
}

.footer {
  padding: 22px 0;
}
.footerInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.footerText {
  margin: 0;
  color: rgba(17, 21, 40, 0.7);
  font-size: 13px;
}
.footerLinks {
  display: flex;
  gap: 12px;
}

@media (max-width: 920px) {
  .heroInner {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .grid--2 {
    grid-template-columns: 1fr;
  }
}
/* Under Construction Countdown */
.uc {
  padding: 44px 0;
}
.uc__inner {
  display: flex;
  justify-content: center;
}
.uc__card {
  width: min(880px, 100%);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.uc__card::before {
  content: "";
  position: absolute;
  inset: -60px -80px auto auto;
  width: 360px;
  height: 220px;
  background:
    radial-gradient(
      160px 110px at 30% 45%,
      rgba(255, 63, 200, 0.18),
      transparent 70%
    ),
    radial-gradient(
      160px 110px at 70% 55%,
      rgba(106, 169, 255, 0.18),
      transparent 70%
    );
  transform: rotate(12deg);
  pointer-events: none;
}
.uc__kicker {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(23, 22, 37, 0.6);
}
.uc__title {
  margin: 0 0 8px;
  font-size: 26px;
}
.uc__sub {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

.uc__countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}
.uc__unit {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.uc__num {
  display: block;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uc__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 22, 37, 0.65);
}

.uc__note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(23, 22, 37, 0.62);
  line-height: 1.5;
}
.uc__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

@media (max-width: 680px) {
  .uc__countdown {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================
   Journal Entry Template
   ========================= */

.header__inner--stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0;
}

.entryHero {
  position: relative;
  padding: 40px 0 18px;
}
.entryHero__inner {
  display: grid;
  gap: 16px;
}

.crumbs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(23, 22, 37, 0.65);
}
.crumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs__current {
  color: rgba(23, 22, 37, 0.82);
  font-weight: 700;
}

.entryHead {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
}

.entryMeta {
  margin: 0 0 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: rgba(23, 22, 37, 0.68);
  font-size: 13px;
}
.entryMeta__dot {
  opacity: 0.6;
}

.entryTitle {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
}
.entrySub {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 70ch;
}
.entryActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.entryHero__glow {
  position: absolute;
  inset: -70px -20px auto -20px;
  height: 240px;
  background:
    radial-gradient(
      320px 180px at 25% 60%,
      rgba(255, 63, 200, 0.14),
      transparent 70%
    ),
    radial-gradient(
      320px 180px at 80% 50%,
      rgba(106, 169, 255, 0.16),
      transparent 70%
    ),
    radial-gradient(
      320px 180px at 15% 40%,
      rgba(255, 63, 200, 0.14),
      transparent 70%
    );
  pointer-events: none;
  z-index: -1;
}

/* Layout: sidebar + article */
.entryLayout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
  align-items: start;
}

.entrySide__panel {
  position: sticky;
  top: 110px;
}

.entryArticle .entryCard {
  padding: 22px;
}

/* Article typography */
.entryCard h2 {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 20px;
}
.entryCard h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 16px;
}
.entryCard p,
.entryCard li {
  line-height: 1.75;
  color: rgba(23, 22, 37, 0.82);
}
.entryCard a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Table of contents */
.toc {
  margin: 0;
  padding-left: 18px;
}
.toc li {
  margin: 8px 0;
}

/* Details list */
.details {
  margin: 0;
  padding-left: 18px;
  color: rgba(23, 22, 37, 0.78);
}
.details li {
  margin: 8px 0;
}

/* Quote + callout */
.quote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 4px solid rgba(255, 63, 200, 0.45);
  background: rgba(180, 156, 255, 0.1);
  border-radius: 12px;
  color: rgba(23, 22, 37, 0.75);
}

.callout {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(32, 32, 56, 0.14);
  background: rgba(32, 32, 56, 0.22);
  border-radius: 14px;
  color: rgba(23, 22, 37, 0.74);
}

.entryFooterNav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 940px) {
  .entryLayout {
    grid-template-columns: 1fr;
  }
  .entrySide__panel {
    position: static;
  }
}
.moodImg {
  width: 100%;
  align-content: center;
  justify-content: center;
  object-fit: contain;
  border-radius: var(--radius2);
  border: 5px solid transparent; /* must be transparent for gradient border */
  box-shadow: var(--shadow);
  cursor: zoom-in;

  /* gradient border setup */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(var(--angle), rgba(255, 63, 200, 0.45), #687aff) border-box;

  /* rotation animation */
  animation: rotateBorder 2.5s linear infinite;
}

a:hover .moodImg {
  box-shadow: 0 0 0 4px rgba(104, 122, 255, 0.25);
}

/* animate the angle smoothly */
@keyframes rotateBorder {
  from {
    --angle: 0deg;
  }
  to {
    --angle: 360deg;
  }
}

/* register the property so browsers can animate it */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.hero__visual {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

/* ===== Glass Card ===== */
.glass-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(104, 122, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(227, 138, 184, 0.25);
}

/* ===== Top Bar ===== */
.glass-card__top {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(90deg, #f6e9f2, #eef1ff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}

.dot--a {
  background: #ff9bbf;
}
.dot--b {
  background: #ffd88a;
}
.dot--c {
  background: #8be1c7;
}

/* ===== Body ===== */
.glass-card__body {
  padding: 1rem 1rem 1.25rem;
}

/* ===== Grid ===== */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mini-link {
  display: block;
  position: relative;
  border-radius: 0.9rem;
  padding: 2px;
  background: linear-gradient(120deg, #687aff, #e38ab8, #bca7ff, #687aff);
  background-size: 300% 300%;
  transition: transform 0.25s ease;
}

.mini-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.mini-link:hover::before {
  opacity: 0.65;
  animation: glowShift 6s linear infinite;
}

.mini-link:hover {
  transform: translateY(-2px);
  animation: glowShift 6s linear infinite;
}

.mini-tile {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.75rem;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(104, 122, 255, 0.12);
  cursor: zoom-in;
}

/* ===== Caption ===== */
.mini-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #5f5f7a;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== Gradient Animation ===== */
@keyframes glowShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.moodCaption {
  text-align: center;
  font-size: 0.85rem;
  color: #5f5f7a;
  font-weight: 500;
  letter-spacing: 0.02em;
}
