@import url('/assets/css/post-content.css');

:root {
  --pink: #8b3a52;
  --pink-light: #d4a8b5;
  --pink-pale: #e8d0d6;
  --pink-baby: #ffd6e7;
  --pink-hover: #6b2d40;
  --pink-body: #6b2d40;
  --pink-muted: #8f5568;
  --pink-accent: #ff85c1;
  --pink-accent-hover: #ff6aad;
  --latte: #f0e6d8;
  --latte-light: #f8f2ea;
  --surface: var(--latte-light);
  --navbar-bg: var(--surface);
  --white: #ffffff;
  --border-light: #e8ddd0;
  --latte-border: #d9c9b4;
  --font-logo: 'Ballet', cursive;
  --font-label: 'Cormorant SC', Georgia, serif;
  --font-serif: 'Cormorant Upright', Georgia, serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --radius-btn: 999px;
  --max-width: 1140px;
  --bg-image: url('/assets/images/hero-bg.png');
  --bg-image-mobile: url('/assets/images/hero-bg-mobile.png');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--pink-accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.55rem 0.85rem;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  color: var(--pink);
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  color: var(--pink-muted);
  background: var(--surface);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--surface) var(--bg-image) center center / cover no-repeat;
  pointer-events: none;
}

@media (max-width: 1023px) {
  body::before {
    background-image: var(--bg-image-mobile);
    background-position: center top;
  }
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--pink-hover);
}

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

/* Header */
.site-header-sentinel {
  width: 100%;
  height: 1px;
  margin-bottom: -1px;
  pointer-events: none;
  visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--latte-border);
  transition:
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--navbar-bg);
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(139, 58, 82, 0.08);
  border-bottom-color: rgba(139, 58, 82, 0.12);
}

.site-header__butterflies {
  pointer-events: none;
  position: absolute;
  top: 0.55rem;
  right: 1rem;
  left: auto;
  z-index: 0;
  width: 5.25rem;
  height: 3.5rem;
  transform: none;
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-butterfly {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-accent);
  animation: butterfly-float 7s ease-in-out infinite;
}

.header-butterfly__svg {
  position: relative;
  z-index: 1;
  display: block;
  fill: currentColor;
}

.header-butterfly--1 {
  top: 0;
  left: 1.55rem;
  animation-duration: 6s;
  animation-delay: 0s;
}

.header-butterfly--1 .header-butterfly__svg {
  width: 1.55rem;
  height: 1.55rem;
}

.header-butterfly--2 {
  top: 1.85rem;
  left: 0;
  animation-duration: 8s;
  animation-delay: -2s;
}

.header-butterfly--2 .header-butterfly__svg {
  width: 1.1rem;
  height: 1.1rem;
}

.header-butterfly--3 {
  top: 1.65rem;
  left: 3.35rem;
  animation-duration: 7.5s;
  animation-delay: -4s;
}

.header-butterfly--3 .header-butterfly__svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Mobile butterflies: keep cluster between logo and hamburger (see ≤1023 block) */

@keyframes butterfly-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(-2deg);
  }

  25% {
    transform: translate(3px, -2px) rotate(1deg);
  }

  50% {
    transform: translate(-2px, 2px) rotate(-1deg);
  }

  75% {
    transform: translate(2px, 1px) rotate(2deg);
  }
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1rem;
  text-align: center;
  transition:
    padding 0.25s ease,
    gap 0.25s ease;
}

.site-header.is-scrolled .site-header__butterflies {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85);
}

.site-logo {
  display: inline-block;
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--pink);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(248, 242, 234, 0.9);
  line-height: 1.15;
  transition:
    font-size 0.25s ease,
    line-height 0.25s ease;
}

.site-header.is-scrolled .site-logo {
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  line-height: 1.1;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--pink-hover);
}

.site-nav {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--latte-border);
  overflow: visible;
  transition:
    margin 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
  width: 100%;
  overflow: visible;
}

.site-nav__item {
  display: flex;
  align-items: center;
}

.site-nav__item--login {
  gap: 0.85rem;
}

.site-nav a,
.site-nav a:visited,
.site-nav__account-link,
.site-nav__profile-name {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink-accent);
  padding: 0.25rem 0.45rem;
  white-space: nowrap;
}

.site-nav__account-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0;
  text-decoration: none;
  color: var(--pink-accent);
}

.site-nav__profile-name {
  padding: 0;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.site-header.is-scrolled .site-nav a,
.site-header.is-scrolled .site-nav a:visited {
  letter-spacing: 1px;
  padding: 0.25rem 0.45rem;
  color: var(--pink-accent);
}

.site-nav a:hover,
.site-nav a:visited:hover,
.site-nav__account-link:hover,
.site-nav__account-link:hover .site-nav__profile-name {
  color: var(--pink-accent-hover);
}

.site-nav__divider {
  width: 1px;
  height: 1.1em;
  background: var(--latte-border);
  flex-shrink: 0;
}

.site-nav__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(248, 242, 234, 0.65);
  border: 1px solid var(--latte-border);
}

.site-nav__profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav__profile-icon,
.site-nav__profile .site-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
}

.site-nav__item--dropdown {
  position: relative;
  z-index: 2;
}

.site-nav__item--dropdown:hover,
.site-nav__item--dropdown:focus-within,
.site-nav__item--dropdown.is-open {
  z-index: 30;
}

.site-nav__item--dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.site-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.25rem 0.45rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink-accent);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-header.is-scrolled .site-nav__dropdown-toggle {
  letter-spacing: 1px;
  padding: 0.25rem 0.45rem;
}

.site-nav__dropdown-toggle:hover,
.site-nav__item--dropdown.is-open .site-nav__dropdown-toggle {
  color: var(--pink-accent-hover);
}

.site-nav__dropdown-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.site-nav__item--dropdown.is-open .site-nav__dropdown-chevron,
.site-nav__item--dropdown:hover .site-nav__dropdown-chevron,
.site-nav__item--dropdown:focus-within .site-nav__dropdown-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.site-nav__dropdown {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 11.5rem;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(139, 58, 82, 0.1);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}

@media (min-width: 1024px) {
  .site-nav__item--dropdown:hover .site-nav__dropdown,
  .site-nav__item--dropdown:focus-within .site-nav__dropdown,
  .site-nav__item--dropdown.is-open .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.site-nav__dropdown a,
.site-nav__dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pink-accent);
  white-space: nowrap;
}

.site-nav__dropdown a:hover,
.site-nav__dropdown a:focus-visible {
  color: var(--pink-accent-hover);
  background: rgba(248, 242, 234, 0.65);
}

.site-nav__dropdown .site-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.site-nav__dropdown-item--disabled {
  opacity: 0.45;
  cursor: default;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  z-index: 2;
}

@media (min-width: 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
    align-content: start;
    gap: 0;
    min-height: auto;
    padding: 1.25rem 1.5rem 1rem;
    text-align: center;
    box-sizing: border-box;
  }

  .site-header.is-scrolled .site-header__inner {
    padding: 0.95rem 1.5rem 0.75rem;
  }

  .site-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .site-header.is-scrolled .site-logo {
    justify-self: center;
  }

  .site-nav {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--latte-border);
  }

  .site-header.is-scrolled .site-nav {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-top: 0.55rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--latte-border);
  }

  .site-header.is-scrolled .site-nav__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    overflow: visible;
  }

  .site-header.is-scrolled .site-nav__list::-webkit-scrollbar {
    display: none;
  }

  .site-header__tools {
    display: none;
  }
}

.site-profile {
  position: relative;
}

.site-profile__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--pink-accent);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.site-profile__toggle:hover,
.site-profile.is-open .site-profile__toggle {
  color: var(--pink-accent-hover);
  background: rgba(248, 242, 234, 0.65);
  border-color: var(--latte-border);
}

.site-profile__icon {
  display: block;
}

.site-profile__avatar {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-profile__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10.5rem;
  padding: 0.45rem 0;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(139, 58, 82, 0.1);
  z-index: 20;
}

.site-profile__menu[hidden] {
  display: none;
}

.site-profile__label {
  margin: 0;
  padding: 0.35rem 0.85rem 0.25rem;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--pink);
  line-height: 1.3;
}

.site-profile__divider {
  margin: 0.35rem 0.85rem;
  border: 0;
  border-top: 1px solid var(--latte-border);
}

.site-profile__menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pink-accent);
  white-space: nowrap;
}

.site-profile__menu a:hover {
  color: var(--pink-accent-hover);
  background: rgba(248, 242, 234, 0.55);
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--pink-accent);
}

.site-nav-toggle__bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .site-header {
    overflow: visible;
  }

  .site-header__butterflies {
    display: block;
    top: 50%;
    left: auto;
    /* tuck next to hamburger: padding + toggle + small gap */
    right: 4.35rem;
    width: 3.25rem;
    height: 2.2rem;
    transform: translateY(-50%);
  }

  .site-header.is-scrolled .site-header__butterflies {
    transform: translateY(-50%) scale(0.85);
  }

  .header-butterfly--1 {
    top: 0;
    left: 0.85rem;
  }

  .header-butterfly--1 .header-butterfly__svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .header-butterfly--2 {
    top: 1.05rem;
    left: 0;
  }

  .header-butterfly--2 .header-butterfly__svg {
    width: 0.7rem;
    height: 0.7rem;
  }

  .header-butterfly--3 {
    top: 0.95rem;
    left: 1.9rem;
  }

  .header-butterfly--3 .header-butterfly__svg {
    width: 0.85rem;
    height: 0.85rem;
  }

  /* Very narrow: keep clear of logo */
  @media (max-width: 360px) {
    .site-header__butterflies {
      right: 4rem;
      width: 2.9rem;
    }

    .header-butterfly--1 {
      left: 0.7rem;
    }

    .header-butterfly--3 {
      left: 1.7rem;
    }
  }

  .site-header__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    text-align: left;
  }

  .site-logo {
    order: 1;
    font-size: clamp(1.45rem, 6vw, 2rem);
    line-height: 1.1;
    position: relative;
    z-index: 2;
  }

  .site-header__tools {
    order: 2;
    display: flex;
    position: relative;
    z-index: 5;
  }

  .site-nav {
    order: 3;
  }

  .site-header.is-scrolled .site-header__inner {
    padding: 0.7rem 1.15rem;
  }

  .site-header.is-scrolled .site-logo {
    font-size: clamp(1.3rem, 5vw, 1.75rem);
  }

  .site-header:not(.is-scrolled) .site-header__tools {
    position: relative;
  }

  .site-nav-toggle {
    display: flex;
    flex-shrink: 0;
    position: relative;
    z-index: 6;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    margin: 0;
    padding: 0.35rem 1.15rem 0.85rem;
    border-top: 1px solid var(--latte-border);
    border-bottom: 1px solid var(--latte-border);
    background: var(--navbar-bg);
    box-shadow: 0 10px 24px rgba(139, 58, 82, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
    overflow: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header.is-nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-scrolled .site-nav {
    flex: none;
  }

  .site-nav__item {
    border-bottom: 1px solid rgba(217, 201, 180, 0.55);
  }

  .site-nav__item:last-child {
    border-bottom: 0;
  }

  .site-nav__account-link {
    padding: 0.8rem 0;
  }

  .site-nav__profile {
    width: 2rem;
    height: 2rem;
  }

  .site-nav a,
  .site-nav a:visited {
    font-size: 13px;
    padding: 0.8rem 0;
    color: var(--pink-accent);
  }

  .site-nav__item--login {
    gap: 0.75rem;
  }

  .site-nav__dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 13px;
    padding: 0.8rem 0;
  }

  .site-nav__dropdown {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 0.35rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  .site-nav__item--dropdown.is-open .site-nav__dropdown {
    display: block;
    pointer-events: auto;
  }

  .site-nav__dropdown a,
  .site-nav__dropdown-item {
    padding: 0.55rem 0 0.55rem 0.35rem;
    font-size: 12px;
  }

  body.is-nav-open {
    overflow: hidden;
  }
}

.site-main {
  min-height: 50vh;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 2.75rem 1.25rem 2.25rem;
  background: var(--navbar-bg);
  border-top: 1px solid var(--latte-border);
  color: var(--pink-muted);
  font-size: 14px;
}

.site-footer__butterflies {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 1rem;
  z-index: 0;
  width: 6.5rem;
  height: 4.75rem;
  transform: translateY(-50%);
  opacity: 0.9;
}

.footer-butterfly {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-accent);
  animation: butterfly-float 7s ease-in-out infinite;
}

.footer-butterfly .header-butterfly__svg {
  display: block;
  fill: currentColor;
}

.footer-butterfly--1 {
  top: 0;
  left: 0;
  animation-duration: 6.5s;
  animation-delay: -1s;
}

.footer-butterfly--1 .header-butterfly__svg {
  width: 2rem;
  height: 2rem;
}

.footer-butterfly--2 {
  top: 2.55rem;
  left: 2rem;
  animation-duration: 8.5s;
  animation-delay: -3s;
}

.footer-butterfly--2 .header-butterfly__svg {
  width: 1.45rem;
  height: 1.45rem;
}

.footer-butterfly--3 {
  top: 2.2rem;
  left: 4.2rem;
  animation-duration: 7s;
  animation-delay: -5s;
}

.footer-butterfly--3 .header-butterfly__svg {
  width: 1.75rem;
  height: 1.75rem;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.site-footer__tagline {
  font-family: var(--font-serif);
  color: var(--pink-accent);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  margin: 0 0 1.15rem;
  line-height: 1.45;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(217, 201, 180, 0.65);
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--pink-accent);
  text-decoration: none;
}

.site-footer__nav .site-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.site-footer__nav a:hover {
  color: var(--pink-accent-hover);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--pink-muted);
  text-decoration: none;
}

.site-footer__links .site-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.site-footer__links a:hover {
  color: var(--pink-accent);
}

.site-footer__tagline .inline-icon .site-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: var(--pink-muted);
  letter-spacing: 0.3px;
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 2.25rem;
  }

  .site-footer__butterflies {
    left: 0.35rem;
    width: 5rem;
    height: 3.75rem;
    opacity: 0.75;
  }

  .footer-butterfly--1 {
    left: 0.2rem;
  }

  .footer-butterfly--1 .header-butterfly__svg {
    width: 1.55rem;
    height: 1.55rem;
  }

  .footer-butterfly--2 {
    top: 2.1rem;
    left: 1.45rem;
  }

  .footer-butterfly--2 .header-butterfly__svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .footer-butterfly--3 {
    top: 1.85rem;
    left: 3.1rem;
  }

  .footer-butterfly--3 .header-butterfly__svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* Layout bands */
.diary-band {
  background: transparent;
  padding: 2rem 1.25rem;
}

.diary-band--tight {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section--white,
.section--plain {
  background: transparent;
  padding: 0 1.25rem 2.5rem;
}

/* Panels */
.diary-panel,
.y2k-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Home hero — blog intro + featured article on photo bg */
.home-hero {
  position: relative;
  padding: 2rem 1.25rem 2.5rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.home-hero__pinterest,
.home-hero__featured-post {
  width: min(100%, 300px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  container-type: inline-size;
  container-name: hero-side;
}

.home-hero__side-label {
  margin: 0 0 0.45em;
  text-align: center;
  line-height: 1.15;
  box-sizing: border-box;
}

.home-hero__side-label--stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  line-height: 1.15;
  gap: 0.08em;
  min-height: 2.4em;
  height: 2.4em;
  width: 100%;
  overflow: hidden;
}

/* Latest post / Moodboard — same MacBook nadpis size, scales with column */
.home-hero__pinterest .section-label.home-hero__side-label,
.home-hero__featured-post .section-label.home-hero__side-label {
  margin: 0 0 0.4em;
  /* 1.8rem at 300px MacBook side width */
  font-size: 9.6cqw;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
  font-weight: 600;
}

.home-hero__pinterest a[data-pin-do='embedBoard'],
.home-hero__pinterest > span[class*='embed'],
.home-hero__pinterest > span[class*='PIN_'] {
  display: block;
  width: 236px !important;
  max-width: 236px !important;
  margin: 0 auto;
  flex-shrink: 0;
  overflow: hidden;
}

.home-hero__pinterest iframe {
  width: 236px !important;
  max-width: 236px !important;
}

.home-hero__featured-post .post-card--hero-side {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0;
  flex-shrink: 0;
}

.home-hero__featured-post .post-card--hero-side {
  max-width: 100%;
}

.home-hero__featured-post .post-card--hero-side .post-card__image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.home-hero__intro {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.home-hero__posts {
  width: 100%;
  max-width: var(--max-width);
}

.home-hero__posts .section-heading {
  margin: 0.5rem 0 1.25rem;
  text-align: left;
}

/* iPad portrait: big heart, then moodboard + latest post side by side under it */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {
  .home-hero--with-sides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'heart heart'
      'pin feat'
      'posts posts';
    justify-items: center;
    align-items: start;
    column-gap: clamp(1rem, 2.5vw, 2rem);
    row-gap: 2rem;
    width: 100%;
  }

  .home-hero--with-sides .home-hero__intro {
    grid-area: heart;
    width: 100%;
  }

  .home-hero--with-sides .home-hero__intro.diary-panel {
    width: min(100%, 780px);
    max-width: 780px;
  }

  .home-hero--with-sides .home-hero__pinterest {
    grid-area: pin;
    width: 100%;
    max-width: 320px;
    justify-self: end;
    position: static;
  }

  .home-hero--with-sides .home-hero__featured-post {
    grid-area: feat;
    width: 100%;
    max-width: 320px;
    justify-self: start;
    position: static;
  }

  .home-hero--with-sides .home-hero__posts {
    grid-area: posts;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .home-hero--with-sides .home-hero__featured-post .post-card--hero-side {
    max-width: 100%;
  }

  .home-hero--with-sides .home-hero__featured-post .post-card--hero-side .post-card__image img {
    height: 160px;
  }
}

/* MacBook + iPad landscape (incl. mini): same proportions as MacBook */
@media (min-width: 1367px), (min-width: 900px) and (orientation: landscape) {
  .home-hero--with-sides {
    --hero-side: 1fr;
    --hero-heart: 2.9fr;
    display: grid;
    grid-template-columns: var(--hero-side) var(--hero-heart) var(--hero-side);
    grid-template-areas:
      'pin heart feat'
      'posts posts posts';
    align-items: start;
    justify-content: center;
    column-gap: clamp(0.5rem, 1.05vw, 0.95rem);
    row-gap: 2rem;
    width: min(100%, 94vw);
    max-width: 1328px;
    margin-inline: auto;
    padding-inline: clamp(0.35rem, 2vw, 1.5rem);
    box-sizing: border-box;
  }

  .home-hero--with-sides .home-hero__intro {
    grid-area: heart;
    width: 100%;
    justify-self: center;
  }

  .home-hero--with-sides .home-hero__intro.diary-panel {
    width: 100%;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero--with-sides .home-hero__pinterest,
  .home-hero--with-sides .home-hero__featured-post {
    position: static;
    top: auto;
    margin: 0;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    gap: 0.45rem;
    align-self: start;
  }

  .home-hero--with-sides .home-hero__pinterest {
    grid-area: pin;
    justify-self: end;
    left: auto;
  }

  .home-hero--with-sides .home-hero__featured-post {
    grid-area: feat;
    justify-self: start;
    right: auto;
    left: auto;
  }

  .home-hero--with-sides .home-hero__posts {
    grid-area: posts;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .home-hero--with-sides .home-hero__featured-post .post-card--hero-side {
    max-width: 100%;
  }

  .home-hero--with-sides .home-hero__featured-post .post-card--hero-side .post-card__image img {
    height: clamp(110px, 12.5vw, 180px);
  }
}

.home-hero__intro.diary-panel {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  container-name: home-heart;
  width: min(100%, 780px);
  max-width: 780px;
  aspect-ratio: 100 / 92;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
  display: block;
  text-align: center;
  overflow: hidden;
  background: var(--pink-accent);
  border: none;
  box-shadow: 0 12px 36px rgba(139, 58, 82, 0.1);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath fill='black' d='M50 86 C23 64 9 47 9 30 C9 16 19 6 31 6 C39 6 45 12 50 19 C55 12 61 6 69 6 C81 6 91 16 91 30 C91 47 77 64 50 86 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath fill='black' d='M50 86 C23 64 9 47 9 30 C9 16 19 6 31 6 C39 6 45 12 50 19 C55 12 61 6 69 6 C81 6 91 16 91 30 C91 47 77 64 50 86 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.home-hero__intro.diary-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--surface);
  pointer-events: none;
  transform: scale(0.968);
  transform-origin: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath fill='black' d='M50 86 C23 64 9 47 9 30 C9 16 19 6 31 6 C39 6 45 12 50 19 C55 12 61 6 69 6 C81 6 91 16 91 30 C91 47 77 64 50 86 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath fill='black' d='M50 86 C23 64 9 47 9 30 C9 16 19 6 31 6 C39 6 45 12 50 19 C55 12 61 6 69 6 C81 6 91 16 91 30 C91 47 77 64 50 86 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.home-hero__intro.diary-panel > * {
  z-index: 1;
}

.home-hero__intro-frame {
  position: absolute;
  inset: 15% 13% 19%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

/* Desktop: víc vzduchu mezi textem a růžovým obrysem srdíčka */
@media (min-width: 900px) {
  .home-hero__intro-frame {
    inset: 20% 18% 24%;
  }
}

@media (max-width: 640px) {
  .home-hero__intro-frame {
    /* usable bowl — group sits in heart center, slightly lower */
    inset: 16% 11% 20%;
  }

  .home-hero__intro .intro-text p {
    margin: 0 0 0.35em;
  }

  .home-hero__intro .intro-text p:nth-child(n + 2) {
    display: none;
  }

  .home-hero__side-label--stack {
    min-height: auto;
    height: auto;
    overflow: visible;
  }
}

.home-hero__intro-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
}

.home-hero__intro .section-label {
  width: 100%;
  margin: 0 0 0.75em;
  text-align: center;
  /* MacBook ~28.8px at 780px; floor keeps mobile readable (heading) */
  font-size: max(1.25rem, 3.7cqw);
}

.home-hero__intro .intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  text-align: center;
  flex: 0;
  /* MacBook 20px at 780px; min 16px = common a11y body size */
  font-size: max(1rem, 2.564cqw);
  line-height: 1.45;
}

.home-hero__intro .intro-text p {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin: 0 0 0.65em;
}

.home-hero__intro .intro-text p:last-child {
  margin-bottom: 0;
}

.home-hero__intro .home-cta {
  justify-content: center;
  margin-top: auto;
  padding-top: 0.75em;
  padding-bottom: 0.35em;
}

.home-hero__intro .diary-btn.home-hero__read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.55em 1.05em;
  line-height: 1;
  /* MacBook ~12px at 780px; min 13px so CTA stays tappable/readable */
  font-size: max(0.8125rem, 1.54cqw);
}

.home-hero__intro .diary-btn.home-hero__read-more .site-icon {
  width: 0.85em;
  height: 0.85em;
}

/* Phone only: pack heart copy so it stays inside the smaller heart */
@media (max-width: 640px) {
  .home-hero__intro-frame {
    justify-content: center;
  }

  .home-hero__intro-content {
    flex: 0 0 auto;
    gap: 0.15em;
    padding-top: 0;
  }

  .home-hero__intro .home-cta {
    margin-top: 0.7em;
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-hero__intro .section-label {
    margin-bottom: 0.3em;
    font-size: max(1.375rem, 6.2cqw);
    line-height: 1.2;
    letter-spacing: 0.04em;
  }

  .home-hero__intro .intro-text {
    font-size: max(1.3125rem, 5.5cqw);
    line-height: 1.35;
  }

  .home-hero__intro .diary-btn.home-hero__read-more {
    font-size: max(0.9375rem, 3cqw);
    padding: 0.5em 1em;
  }
}

/* Tablet portrait: same line length inside the heart as landscape */
@media (min-width: 641px) and (max-width: 1366px) and (orientation: portrait) {
  .home-hero__intro-frame {
    inset: 17% 16% 20%;
  }

  .home-hero__intro .section-label,
  .home-hero__intro .intro-text,
  .home-hero__intro .home-cta {
    width: min(100%, 24rem);
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Narrower than desktop: tuck side labels */
@media (max-width: 1023px) {
  .home-hero__pinterest .section-label.home-hero__side-label,
  .home-hero__featured-post .section-label.home-hero__side-label {
    font-size: 1rem;
    letter-spacing: 0.8px;
    margin-bottom: 0.35em;
  }

  /* mobile: one line labels, not stacked MacBook style */
  .home-hero__side-label--stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .home-hero--with-sides {
    gap: 1.5rem;
  }

  .home-hero__featured-post,
  .home-hero__pinterest {
    width: min(100%, 320px);
  }

  .home-hero__featured-post .post-card--hero-side .post-card__image img {
    height: 200px;
  }
}

.post-grid--hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.post-grid--hero .post-card {
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
}

.post-grid--hero .post-card__body {
  background: var(--navbar-bg);
}

@media (max-width: 767px) {
  .post-grid--hero {
    grid-template-columns: 1fr;
  }
}

.home-hero__featured {
  margin: 0;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
}

.home-hero__featured .section-label {
  text-align: left;
  margin-bottom: 0.75rem;
}

.home-hero__featured-label {
  margin-bottom: 0.75rem;
}

.featured-article {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.featured-article__image {
  margin: 0 0 1rem;
}

.featured-article__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.featured-article__body {
  padding: 0;
  background: transparent;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-article__category,
.post-card__category {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--pink-accent);
  color: var(--white);
  padding: 0.3rem 0.55rem;
  border-radius: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-decoration: none;
}

.post-card__category:hover {
  background: var(--pink-accent-hover);
  color: var(--white);
}

.featured-article__category {
  margin-bottom: 0.45rem;
}

.featured-article__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-label);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--pink);
  line-height: 1.25;
}

.featured-article__excerpt {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--pink-body);
  line-height: 1.4;
}

.featured-article__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.featured-article__meta {
  margin: 0;
  font-size: 13px;
  color: var(--pink-muted);
  white-space: nowrap;
}

.featured-article__link {
  margin-top: 0;
  align-self: auto;
  flex-shrink: 0;
}

.featured-article:hover .featured-article__title {
  color: var(--pink-hover);
}

.home-hero__empty {
  padding: 2rem 1.25rem;
  text-align: center;
  font-family: var(--font-serif);
  color: var(--pink-body);
  background: transparent;
}

/* Home spotlight — more latest posts */
.home-spotlight {
  padding: 1.5rem 1.25rem 2rem;
  background: transparent;
}

.home-spotlight .section-heading,
.home-spotlight .section-sub {
  text-shadow: 0 1px 10px rgba(248, 242, 234, 0.9);
}

.post-grid--featured {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin-bottom: 1.75rem;
}

.post-card--featured {
  background: rgba(248, 242, 234, 0.92);
  border: 1px solid rgba(240, 230, 216, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(139, 58, 82, 0.08);
}

.post-card--featured .post-card__body {
  background: var(--pink-light);
}

.home-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-cta--left {
  justify-content: flex-start;
}

.section-heading--inline {
  margin-bottom: 0.35rem;
  text-shadow: 0 1px 10px rgba(248, 242, 234, 0.9);
}

/* Section typography — MacBook sizes locked everywhere */
.section-label {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink-body);
  text-align: center;
}

.section-heading {
  margin: 0 0 0.35rem;
  font-family: var(--font-label);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink);
  text-align: center;
}

.section-sub {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--pink-body);
}

.intro-text,
.request-text {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--pink-body);
  line-height: 1.45;
  text-align: left;
}

.intro-text p,
.request-text p {
  margin: 0 0 0.65rem;
}

.page-about .intro-text--about,
.page-about .intro-text--about p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-about .intro-text--about {
  width: 100%;
  max-width: min(36rem, calc(100vw - 20rem));
  margin: 0 auto;
}

.page-about .about-page.page-header {
  padding: 1.75rem 1.5rem 0;
  min-height: 8rem;
}

.page-about .about-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  min-height: 14rem;
}

.page-about .about-section#intro {
  padding-top: 0;
  margin-top: -2.75rem;
}

.page-about .about-page,
.page-about .about-section {
  position: relative;
  overflow: visible;
}

.page-about .about-page .page-header__title,
.page-about .about-page .page-header__text,
.page-about .about-section .section-inner {
  position: relative;
  z-index: 1;
}

.page-about .about-section#intro .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  box-sizing: border-box;
}

.page-about .about-section#intro .section-label {
  width: 100%;
  max-width: min(36rem, calc(100vw - 20rem));
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-about .about-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-about .about-decor img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 2px solid var(--latte-border);
  box-shadow: 0 10px 28px rgba(139, 58, 82, 0.14);
}

.page-about .about-decor--caroline {
  top: 0.75rem;
  right: clamp(0.75rem, 3vw, 2rem);
  width: min(9.5rem, 15vw);
  transform: rotate(4deg);
}

.page-about .about-decor--buffy {
  top: 0.35rem;
  left: clamp(0.5rem, 2.5vw, 1.5rem);
  width: min(8.5rem, 14vw);
  max-width: 8.5rem;
  transform: rotate(-6deg);
}

.page-about .about-section:last-of-type {
  padding-top: 0;
  padding-bottom: 2rem;
  min-height: 7rem;
  margin-top: -3rem;
}

.page-about .about-decor--satc {
  top: 0;
  bottom: auto;
  right: clamp(0.75rem, 3vw, 2rem);
  width: min(9.5rem, 15vw);
  transform: rotate(5deg);
}

@media (max-width: 1100px) {
  .page-about .about-section#intro .section-label,
  .page-about .intro-text--about {
    max-width: min(34rem, calc(100vw - 16rem));
  }

  .page-about .about-decor--caroline,
  .page-about .about-decor--buffy,
  .page-about .about-decor--satc {
    width: min(7.5rem, 13vw);
  }
}

@media (max-width: 900px) {
  .page-about .about-section {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    min-height: 11rem;
  }

  .page-about .about-section#intro {
    padding-top: 0;
    margin-top: -2rem;
  }

  .page-about .about-section#intro .section-inner {
    padding-inline: 1.25rem;
    padding-bottom: 5.75rem;
  }

  .page-about .about-section#intro .section-label,
  .page-about .intro-text--about {
    max-width: 36rem;
  }

  .page-about .about-decor--caroline {
    top: 1rem;
    right: 0.65rem;
    width: min(6.75rem, 20vw);
  }

  .page-about .about-decor--buffy {
    top: auto;
    bottom: 0.35rem;
    left: 0.65rem;
    width: min(6rem, 18vw);
  }

  .page-about .about-section:last-of-type {
    padding-bottom: 1.5rem;
    min-height: 6rem;
    margin-top: -2.5rem;
  }

  .page-about .about-decor--satc {
    top: 0;
    bottom: auto;
    right: 0.65rem;
    width: min(6rem, 18vw);
  }
}

@media (max-width: 560px) {
  .page-about .about-section {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .page-about .about-section#intro {
    padding-top: 0;
    margin-top: -1.25rem;
  }

  .page-about .about-section#intro .section-inner {
    padding-inline: 1.15rem;
    padding-bottom: 5rem;
  }

  .page-about .about-decor {
    opacity: 0.72;
  }

  .page-about .about-decor--caroline {
    width: 5.25rem;
    right: 0.35rem;
  }

  .page-about .about-decor--buffy {
    width: 4.75rem;
    left: 0.35rem;
  }

  .page-about .about-section:last-of-type {
    margin-top: -2rem;
    min-height: 5rem;
  }

  .page-about .about-decor--satc {
    top: 0;
    bottom: auto;
    width: 4.75rem;
    right: 0.35rem;
  }
}

/* Latest posts grid */
.post-grid,
.category-grid,
.tiktok-grid,
.pinterest-grid {
  display: grid;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.post-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.category-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.category-grid--sub {
  margin-bottom: 1.5rem;
}

.category-subnav .section-label {
  margin-bottom: 1rem;
}

.tiktok-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.pinterest-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* Post cards — sugarcoated style */
.post-card {
  position: relative;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
}

/* Whole card opens the post; category keeps its own link above the stretch */
.post-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-card__category {
  position: relative;
  z-index: 2;
}

.post-card__image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  background: var(--surface);
}

.post-card--cover-top .post-card__image img {
  object-position: top center;
}

.post-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-label);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.post-card__title a {
  color: var(--pink);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--pink-hover);
}

.post-card__excerpt {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--pink-muted);
  line-height: 1.35;
}

.post-card__date {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 0.75rem;
  font-size: 13px;
  color: var(--pink-muted);
}

/* Category archive cards */
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 2px solid var(--pink-pale);
  border-radius: 15px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.category-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.category-card__icon {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.category-card__icon--svg .site-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin: 0 auto;
  overflow: visible;
}

.category-card__icon--svg .site-icon--btw {
  height: 2.15rem;
}

.site-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.inline-icon .site-icon {
  width: 0.95em;
  height: 0.95em;
}


.category-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-label);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pink);
}

.category-card__desc {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--pink-body);
  line-height: 1.35;
}

/* Page headers */
.page-header {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: transparent;
}

.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
}

.page-header__eyebrow .site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.page-header__title {
  margin: 0.25rem 0;
  font-family: var(--font-label);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink);
}

.page-header__text {
  max-width: 36rem;
  margin: 0.75rem auto 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--pink-body);
  text-shadow: 0 1px 8px rgba(248, 242, 234, 0.85);
}

/* Single post */
.post-single {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.75rem 3rem;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  border-radius: var(--radius-lg);
}

.post-single--standard {
  margin-top: 2.5rem;
}

.post-single__header,
.post-content,
.embed-block {
  margin-bottom: 1.5rem;
}

.post-single__header {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pink-pale);
}

.post-single__title {
  margin: 0.5rem 0;
  font-family: var(--font-label);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink);
  line-height: 1.2;
}

.post-single__date {
  font-size: 14px;
  color: var(--pink-muted);
}

.post-single__cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.post-single__cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.post-single--scrapbook .post-content {
  overflow: hidden;
}

/* Coraline theme — button clusters like navbar butterflies */
.post-single--coraline {
  --coraline-gutter: 3.2rem;
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
  padding-left: var(--coraline-gutter);
  padding-right: var(--coraline-gutter);
  padding-top: 4.25rem;
  padding-bottom: 4rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 42, 0.18), rgba(8, 18, 42, 0.55)),
    #122445;
  border-color: #2a3f6d;
  color: #f6e27a;
  box-shadow: 0 0 0 1px rgba(246, 226, 122, 0.12), 0 18px 40px rgba(8, 18, 42, 0.35);
}

.coraline-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.coraline-decor__cluster {
  position: absolute;
  width: 5.25rem;
  height: 3.5rem;
}

.coraline-decor__cluster--top {
  top: 1.35rem;
  right: 1rem;
}

.coraline-decor__cluster--bottom {
  bottom: 0.65rem;
  left: 1rem;
}

.coraline-decor__item {
  position: absolute;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.95;
}

.coraline-decor__item--button {
  background-image: url('/assets/images/themes/coraline/button.svg');
}

.coraline-decor__item--star {
  background-image: url('/assets/images/themes/coraline/star.svg');
}

/* same scatter as header butterflies — three sizes */
.coraline-decor__item--a {
  top: 0;
  left: 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  transform: rotate(-8deg);
}

.coraline-decor__item--b {
  top: 1.85rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  transform: rotate(12deg);
}

.coraline-decor__item--c {
  top: 1.65rem;
  left: 3.35rem;
  width: 1.35rem;
  height: 1.35rem;
  transform: rotate(-4deg);
}

.coraline-decor__item--side {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.88;
}

.coraline-decor__item--side-1 {
  top: 22%;
  left: 0.7rem;
  width: 1rem;
  height: 1rem;
  transform: rotate(14deg);
}

.coraline-decor__item--side-2 {
  top: 34%;
  right: 0.65rem;
  width: 1.35rem;
  height: 1.35rem;
  transform: rotate(-10deg);
}

.coraline-decor__item--side-3 {
  top: 48%;
  left: 0.55rem;
  width: 0.9rem;
  height: 0.9rem;
  transform: rotate(-18deg);
}

.coraline-decor__item--side-4 {
  top: 56%;
  right: 0.8rem;
  width: 1.2rem;
  height: 1.2rem;
  transform: rotate(8deg);
}

.coraline-decor__item--side-5 {
  top: 68%;
  left: 0.85rem;
  width: 1.45rem;
  height: 1.45rem;
  transform: rotate(6deg);
}

.coraline-decor__item--side-6 {
  top: 78%;
  right: 0.6rem;
  width: 1.05rem;
  height: 1.05rem;
  transform: rotate(-14deg);
}

.coraline-decor__item--side-7 {
  top: 1.55rem;
  left: 1.1rem;
  width: 1.15rem;
  height: 1.15rem;
  transform: rotate(20deg);
}

.coraline-decor__item--side-8 {
  bottom: 1.7rem;
  right: 1.15rem;
  width: 1.25rem;
  height: 1.25rem;
  transform: rotate(-8deg);
}

.post-single--coraline .post-single__header,
.post-single--coraline .post-content,
.post-single--coraline .embed-block,
.post-single--coraline .post-single__cover {
  position: relative;
  z-index: 1;
}

.post-single--coraline .post-single__header {
  border-bottom-color: rgba(246, 226, 122, 0.28);
}

.post-single--coraline .post-single__title,
.post-single--coraline .post-single__date,
.post-single--coraline .post-card__category,
.post-single--coraline .post-content,
.post-single--coraline .post-content p,
.post-single--coraline .post-content li,
.post-single--coraline .post-content span:not(.post-step__num),
.post-single--coraline .post-content strong,
.post-single--coraline .post-content em,
.post-single--coraline .post-content a,
.post-single--coraline .post-content h2,
.post-single--coraline .post-content h3,
.post-single--coraline .post-content h4,
.post-single--coraline .post-content figcaption {
  color: #f6e27a !important;
}

.post-single--coraline .embed-block {
  background: rgba(18, 36, 69, 0.72);
  color: #f6e27a;
}

.post-single--coraline .embed-block__title,
.post-single--coraline .embed-block a {
  color: #f6e27a;
}

.post-single--coraline .post-content .post-step__num {
  background: #f6e27a !important;
  color: #122445 !important;
}

@media (max-width: 900px) {
  .post-single--coraline {
    --coraline-gutter: 2.6rem;
  }

  .coraline-decor__item--side-3,
  .coraline-decor__item--side-6 {
    display: none;
  }
}

@media (max-width: 640px) {
  .post-single--coraline {
    --coraline-gutter: 1.75rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .coraline-decor__cluster {
    width: 4.2rem;
    height: 2.85rem;
  }

  .coraline-decor__cluster--top {
    top: 1rem;
    right: 0.55rem;
  }

  .coraline-decor__cluster--bottom {
    bottom: 0.45rem;
    left: 0.55rem;
  }

  .coraline-decor__item--a {
    left: 1.2rem;
    width: 1.25rem;
    height: 1.25rem;
  }

  .coraline-decor__item--b {
    top: 1.5rem;
    width: 0.9rem;
    height: 0.9rem;
  }

  .coraline-decor__item--c {
    top: 1.35rem;
    left: 2.65rem;
    width: 1.1rem;
    height: 1.1rem;
  }

  .coraline-decor__item--side-1,
  .coraline-decor__item--side-2,
  .coraline-decor__item--side-4,
  .coraline-decor__item--side-5 {
    display: none;
  }

  .coraline-decor__item--side-7 {
    top: 1.15rem;
    left: 0.55rem;
    width: 0.95rem;
    height: 0.95rem;
  }

  .coraline-decor__item--side-8 {
    bottom: 1.2rem;
    right: 0.55rem;
    width: 1rem;
    height: 1rem;
  }
}

.embed-block {
  padding: 1.25rem;
  background: rgba(248, 242, 234, 0.88);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.embed-block__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink);
}

.embed-block__title .site-icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* Buttons */
.diary-btn,
.y2k-btn {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.6rem 1.35rem;
  background: var(--pink);
  border: 2px solid var(--pink);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.diary-btn:hover,
.y2k-btn:hover {
  background: var(--pink-hover);
  border-color: var(--pink-hover);
  color: var(--white);
}

.diary-btn--outline {
  background: transparent;
  color: var(--pink);
  border-color: var(--pink);
}

.diary-btn--outline:hover {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}

/* Misc pages */
.tiktok-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.tiktok-card__embed {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: min(740px, 82vh);
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(248, 242, 234, 0.55);
}

.tiktok-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.pinterest-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.tiktok-card__title,
.pinterest-card__title {
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pink);
  margin: 0 0 0.75rem;
}

.pinterest-card__desc {
  font-family: var(--font-serif);
  color: var(--pink-body);
}

.empty-state,
.empty-state-page {
  text-align: center;
  padding: 2rem;
  font-family: var(--font-serif);
  color: var(--pink-muted);
  text-shadow: 0 1px 8px rgba(248, 242, 234, 0.85);
}

.empty-state-page h1 {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pink);
}

@media (max-width: 640px) {
  .diary-panel,
  .y2k-panel {
    padding: 1.5rem 1.15rem;
  }

  .home-hero {
    padding: 1.5rem 1.25rem 1rem;
    gap: 1.25rem;
  }

  .home-hero__intro.diary-panel {
    width: min(100%, 780px);
    max-width: 780px;
    margin-bottom: 0.25rem;
  }

  #archives.diary-band {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.is-nav-open {
    overflow: auto;
  }

  .post-card:hover,
  .category-card:hover {
    transform: none;
  }

  .header-butterfly {
    animation: none;
  }
}

/* Auth */
.auth-page {
  padding: 2rem 1.25rem 3rem;
}

.auth-card {
  max-width: 28rem;
  margin: 0 auto;
}

.auth-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-label);
  font-size: 1.6rem;
  color: var(--pink);
}

.auth-card__intro {
  margin: 0 0 1.25rem;
  color: var(--pink-muted);
}

.auth-card__footer {
  margin: 1rem 0 0;
  font-size: 14px;
  color: var(--pink-muted);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-body);
}

.auth-form input,
.comment-form textarea,
.auth-form textarea,
.profile-avatar-form input[type="file"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--latte-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--pink-body);
  font: inherit;
}

/* Profile */
.profile-card {
  max-width: 34rem;
  margin: 0 auto;
}

.profile-avatar-block {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--latte-border);
}

.profile-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--latte-border);
  background: rgba(248, 242, 234, 0.65);
}

.profile-avatar__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.profile-avatar__placeholder .site-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.profile-avatar-form,
.profile-avatar-remove {
  margin: 0;
}

.profile-avatar-form__label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-body);
}

.profile-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--latte-border);
}

.profile-section__title {
  margin: 0;
  font-family: var(--font-label);
  font-size: 1rem;
  color: var(--pink);
}

.diary-btn--small {
  padding: 0.45rem 1rem;
  font-size: 11px;
}

.auth-alert,
.site-flash {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 0 1.25rem 1rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.auth-alert--error,
.site-flash--error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: #a93226;
}

.auth-alert--success {
  background: rgba(45, 122, 79, 0.08);
  border: 1px solid rgba(45, 122, 79, 0.2);
  color: #2d7a4f;
  margin-bottom: 1rem;
}

.site-flash--success {
  background: rgba(45, 122, 79, 0.08);
  border: 1px solid rgba(45, 122, 79, 0.2);
  color: #2d7a4f;
}

/* Comments */
.comments {
  max-width: 780px;
  margin: 1.5rem auto 0;
  padding: 1.75rem 1.75rem 3rem;
  background: var(--navbar-bg);
  border: 1px solid var(--latte-border);
  border-radius: var(--radius-lg);
}

.comments__heading {
  margin: 0 0 1rem;
  font-family: var(--font-label);
  font-size: 1.35rem;
  color: var(--pink);
}

.comments__flash {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.comments__flash--success {
  background: rgba(45, 122, 79, 0.08);
  border: 1px solid rgba(45, 122, 79, 0.2);
  color: #2d7a4f;
}

.comments__flash--error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: #a93226;
}

.comments__login-prompt,
.comments__empty {
  margin: 0 0 1.25rem;
  color: var(--pink-muted);
}

.comment-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comment-form label {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--pink-body);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.comment {
  background: var(--surface);
  border: 1px solid var(--latte-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.comment__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.comment__author-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.comment__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment__author {
  font-family: var(--font-label);
  color: var(--pink);
}

.comment__date {
  font-size: 13px;
  color: var(--pink-muted);
  white-space: nowrap;
}

.comment__body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--pink-body);
  line-height: 1.45;
}

.comment__reply-btn,
.comment__cancel-btn {
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--pink-accent);
  cursor: pointer;
}

.comment__reply-btn:hover,
.comment__cancel-btn:hover {
  color: var(--pink-accent-hover);
}

.comment-form--reply {
  margin-top: 0.85rem;
  margin-bottom: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--latte-border);
}

.comment-form--reply[hidden] {
  display: none;
}

.comment-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.comment-list--replies {
  margin-top: 0.85rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--latte-border);
}
