@charset "UTF-8";

:root {
  --hl-canvas: oklch(98.2% 0.008 8);
  --hl-surface: oklch(100% 0 0);
  --hl-surface-soft: oklch(96.8% 0.018 6);
  --hl-ink: oklch(26% 0.025 12);
  --hl-muted: oklch(49% 0.025 8);
  --hl-line: oklch(90.5% 0.026 5);
  --hl-primary: oklch(66% 0.205 9);
  --hl-primary-strong: oklch(56% 0.225 10);
  --hl-primary-soft: oklch(94.5% 0.055 5);
  --hl-success: oklch(55% 0.13 158);
  --hl-radius-sm: 12px;
  --hl-radius-md: 18px;
  --hl-radius-lg: 24px;
  --hl-shadow-1: 0 8px 24px rgb(136 54 78 / 8%);
  --hl-shadow-2: 0 18px 48px rgb(136 54 78 / 14%);
  --hl-ease: cubic-bezier(.16, 1, .3, 1);
  --hl-nav-height: 72px;
  --hl-content: 1440px;
}

/* R47: the same Orbit navigation language across every public route. */
:root {
  --hl-orbit-ink: #20232f;
  --hl-orbit-muted: #747887;
  --hl-orbit-paper: #fbfaf9;
  --hl-orbit-line: rgb(32 35 47 / 9%);
  --hl-orbit-accent: #c95f7c;
  --hl-orbit-surface: rgb(255 255 255 / 82%);
  --hl-orbit-ease: cubic-bezier(.22, 1, .36, 1);
}

body:is(.heartland-page, .inner-modern-page) {
  background: radial-gradient(circle at 1px 1px, rgb(43 39 44 / 5.5%) 1px, transparent 1.2px) 0 0 / 12px 12px, var(--hl-orbit-paper);
  color: var(--hl-orbit-ink);
}

body .heartland-nav.site-nav {
  align-items: center;
  background: var(--hl-orbit-surface) !important;
  border: 1px solid rgb(255 255 255 / 76%) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 42px rgb(32 35 47 / 10%), inset 0 1px rgb(255 255 255 / 72%) !important;
  color: var(--hl-orbit-ink);
  display: grid;
  gap: 14px;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  height: 66px;
  left: 50%;
  max-width: 1260px;
  min-height: 0;
  padding: 0 12px 0 18px;
  position: fixed;
  top: 12px;
  transform: translateX(-50%);
  transition: top .28s var(--hl-orbit-ease), max-width .28s var(--hl-orbit-ease), height .28s var(--hl-orbit-ease), background .2s ease, box-shadow .2s ease;
  width: calc(100% - 32px);
  z-index: 2147480000;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

body .heartland-nav.site-nav.is-compact {
  background: rgb(255 255 255 / 92%) !important;
  box-shadow: 0 10px 34px rgb(32 35 47 / 13%), inset 0 1px rgb(255 255 255 / 80%) !important;
  height: 60px;
  max-width: 1180px;
  min-height: 0;
  top: 8px;
}

body .heartland-nav .site-nav__brand {
  align-items: center;
  color: inherit !important;
  display: flex;
  gap: 10px;
  min-width: 0;
}

body .heartland-nav .site-nav__mark {
  align-items: center;
  background: #f0e7ea;
  border: 0;
  border-radius: 14px;
  color: var(--hl-orbit-accent);
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

body .heartland-nav .site-nav__mark i { font-size: 19px; }
body .heartland-nav .site-nav__names { display: grid; gap: 4px; min-width: 0; }
body .heartland-nav .site-nav__names strong {
  align-items: center;
  display: flex;
  font: 650 15px/1 "Noto Serif SC", "Songti SC", serif;
  gap: 7px;
  letter-spacing: 0;
  white-space: nowrap;
}
body .heartland-nav .site-nav__names strong i { color: #f06f8c; font-size: 9px; }
body .heartland-nav .site-nav__names small { color: #89838a; font: 650 8px/1 system-ui, sans-serif; letter-spacing: .16em; }

body .heartland-nav .site-nav__links {
  align-items: center;
  background: rgb(240 237 239 / 86%);
  border: 1px solid rgb(32 35 47 / 5%);
  border-radius: 999px;
  display: flex;
  gap: 3px;
  justify-content: center;
  justify-self: center;
  padding: 5px;
  width: max-content;
}

body .heartland-nav .site-nav__links a {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px;
  color: #70737f !important;
  display: inline-flex;
  font: 650 12px/1 system-ui, sans-serif;
  gap: 6px;
  height: 40px;
  justify-content: center;
  min-width: 54px;
  padding: 0 11px;
  position: relative;
  transition: color .18s ease, background .18s ease, transform .2s var(--hl-orbit-ease);
}

body .heartland-nav .site-nav__links a::after { display: none !important; }
body .heartland-nav .site-nav__links a:hover { background: #fff !important; color: var(--hl-orbit-ink) !important; transform: translateY(-1px); }
body .heartland-nav .site-nav__links a.is-active {
  background: var(--hl-orbit-ink) !important;
  box-shadow: 0 8px 20px rgb(31 32 40 / 18%);
  color: #fff !important;
}
body .heartland-nav .site-nav__links a.is-active i { color: #f58ba7; }
body .heartland-nav .site-nav__links i { font-size: 16px; }

body .heartland-nav .heartland-nav__tools { align-items: center; display: flex; gap: 7px; justify-self: end; }
body .heartland-nav .heartland-nav__icon,
body .heartland-nav .site-nav__action {
  align-items: center;
  background: #eeeaec !important;
  border: 0 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  color: var(--hl-orbit-ink) !important;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  min-width: 42px;
  padding: 0 13px;
}
body .heartland-nav .site-nav__action { gap: 7px; }
body .heartland-nav .heartland-nav__icon:hover,
body .heartland-nav .site-nav__action:hover { background: #e5dfe2 !important; color: var(--hl-orbit-accent) !important; transform: translateY(-1px) !important; }

body .heartland-page-intro {
  color: var(--hl-orbit-ink);
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
  padding-top: 132px;
}
body .heartland-page-intro h1 { color: var(--hl-orbit-ink); font-family: "Noto Serif SC", "Songti SC", serif; letter-spacing: -.035em; }
body .heartland-page-intro > div > span { color: var(--hl-orbit-accent); }
body .heartland-filter { background: rgb(237 233 235 / 88%); border: 0; border-radius: 999px; padding: 4px; }
body .heartland-filter button { border: 0; border-radius: 999px; min-height: 40px; }
body .heartland-filter button.is-active { background: var(--hl-orbit-ink); box-shadow: 0 8px 20px rgb(31 32 40 / 14%); color: #fff; }
body .heartland-memory-feature,
body .heartland-album-feature { border-radius: 30px; box-shadow: 0 24px 70px rgb(49 37 43 / 12%); }

@media (max-width: 1180px) {
  body .heartland-nav.site-nav { grid-template-columns: 160px minmax(0, 1fr) 128px; }
  body .heartland-nav .site-nav__names small { display: none; }
  body .heartland-nav .site-nav__links a { min-width: 46px; padding-inline: 9px; }
  body .heartland-nav .site-nav__links a span { display: none; }
  body .heartland-nav .site-nav__action span { display: none; }
}

@media (max-width: 760px) {
  body:is(.heartland-page, .inner-modern-page) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body .heartland-nav.site-nav { display: none !important; }
  #pjax-container > .lg-mobile-dock {
    align-items: center !important;
    background: rgb(247 244 245 / 88%) !important;
    border: 1px solid rgb(255 255 255 / 82%) !important;
    border-radius: 25px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    box-shadow: 0 18px 46px rgb(31 30 36 / 18%), inset 0 1px rgb(255 255 255 / 82%) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    height: 70px !important;
    left: 12px !important;
    padding: 7px 8px !important;
    position: fixed !important;
    right: 12px !important;
    width: auto !important;
    z-index: 2147480800 !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
  }
  #pjax-container > .lg-mobile-dock :where(a, button) {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 19px !important;
    box-shadow: none !important;
    color: #85818a !important;
    display: flex !important;
    flex-direction: column !important;
    font: 650 9px/1 system-ui, sans-serif !important;
    gap: 4px !important;
    height: 54px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
  }
  #pjax-container > .lg-mobile-dock :where(a, button)::after { display: none !important; }
  #pjax-container > .lg-mobile-dock :where(a, button) i { font-size: 20px !important; }
  #pjax-container > .lg-mobile-dock :where(a, button).is-active {
    background: var(--hl-orbit-ink) !important;
    box-shadow: 0 10px 25px rgb(31 32 40 / 25%) !important;
    color: #fff !important;
  }
  #pjax-container > .lg-mobile-dock :where(a, button).is-active i { background: transparent !important; color: #f58ba7 !important; }
  #pjax-container > .lg-mobile-dock a.is-home.is-active { height: 58px !important; margin-top: -20px !important; }
  body .heartland-page-intro { padding-top: 32px; }
  body .heartland-page-intro h1 { font-size: clamp(2.35rem, 12vw, 3.1rem); }
  body .heartland-memory-feature,
  body .heartland-album-feature { border-radius: 25px; }
}

@media (prefers-reduced-transparency: reduce) {
  body .heartland-nav.site-nav,
  #pjax-container > .lg-mobile-dock { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff !important; }
}

@media (prefers-reduced-motion: reduce) {
  body .heartland-nav.site-nav,
  body .heartland-nav.site-nav *,
  #pjax-container > .lg-mobile-dock,
  #pjax-container > .lg-mobile-dock * { transition-duration: 1ms !important; }
}

html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 13% 5%, oklch(94.5% .055 5 / .72), transparent 27rem),
    radial-gradient(circle at 92% 18%, oklch(96% .035 38 / .5), transparent 24rem),
    var(--hl-canvas);
  color: var(--hl-ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  text-rendering: optimizeLegibility;
}

body a { color: inherit; text-decoration: none !important; }
body button, body input, body textarea, body select { font: inherit; }
body button, body a { -webkit-tap-highlight-color: transparent; }
body img { max-width: 100%; }

.heartland-skip {
  position: fixed;
  z-index: 120;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--hl-ink);
  color: white;
  transform: translateY(-150%);
}
.heartland-skip:focus { transform: translateY(0); }

/* Shared navigation */
body .heartland-nav.site-nav {
  position: sticky !important;
  z-index: 70;
  top: 0 !important;
  right: auto !important;
  left: auto !important;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  width: 100% !important;
  max-width: none !important;
  min-height: var(--hl-nav-height);
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - var(--hl-content)) / 2)) !important;
  border: 0;
  border-bottom: 1px solid color-mix(in oklch, var(--hl-line), transparent 25%);
  border-radius: 0;
  background: color-mix(in oklch, var(--hl-surface), transparent 7%) !important;
  box-shadow: 0 2px 18px rgb(80 38 48 / 5%);
  transform: none !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  transition: min-height .22s var(--hl-ease), box-shadow .22s var(--hl-ease);
}
body .heartland-nav.is-compact { min-height: 60px; box-shadow: 0 8px 28px rgb(80 38 48 / 9%); }
body .heartland-nav .site-nav__brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  gap: 10px;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .heartland-nav .site-nav__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--hl-line);
  border-radius: 14px;
  background: var(--hl-primary-soft);
  color: var(--hl-primary);
  box-shadow: inset 0 1px white;
}
body .heartland-nav .site-nav__mark i { font-size: 20px; }
body .heartland-nav .site-nav__names { display: grid; gap: 1px; line-height: 1.15; }
body .heartland-nav .site-nav__names strong { font-size: 1.15rem; letter-spacing: .03em; }
body .heartland-nav .site-nav__names small { max-width: 17ch; overflow: hidden; color: var(--hl-muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
body .heartland-nav .site-nav__links {
  display: flex !important;
  align-self: stretch;
  justify-content: center;
  gap: 2px;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .heartland-nav .site-nav__links a {
  position: relative;
  display: inline-flex;
  min-width: 68px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--hl-muted);
  font-size: .9rem;
  font-weight: 600;
  transition: color .18s ease, background .18s ease;
}
body .heartland-nav .site-nav__links a::after {
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--hl-primary);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .22s var(--hl-ease);
  display: block !important;
}
body .heartland-nav .site-nav__links a:hover,
body .heartland-nav .site-nav__links a.is-active { color: var(--hl-primary-strong) !important; }
body .heartland-nav .site-nav__links a:hover { background: var(--hl-primary-soft) !important; }
body .heartland-nav .site-nav__links a.is-active { background: transparent !important; }
body .heartland-nav .site-nav__links a.is-active::after { opacity: 1; transform: scaleX(1); }
body .heartland-nav .site-nav__links i { font-size: 18px; }
.heartland-nav__tools { display: flex; align-items: center; justify-self: end; gap: 8px; }
.heartland-nav__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: var(--hl-muted);
  transition: background .18s ease, color .18s ease;
}
.heartland-nav__icon:hover { background: var(--hl-primary-soft); color: var(--hl-primary-strong); }
body .heartland-nav .site-nav__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  height: 44px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--hl-primary) !important;
  color: white !important;
  box-shadow: 0 8px 20px color-mix(in oklch, var(--hl-primary), transparent 72%);
  font-size: .88rem;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease;
}
body .heartland-nav .site-nav__action:hover { background: var(--hl-primary-strong) !important; transform: translateY(-1px) !important; }

body .lg-mobile-dock { display: none; }

/* Home shell */
.heartland-home {
  width: min(calc(100% - 48px), var(--hl-content));
  margin: 0 auto;
  padding: 28px 0 64px;
}
.heartland-home h1, .heartland-home h2, .heartland-home h3, .heartland-home p { margin: 0; }
.heartland-home h2 { font-size: 1.08rem; line-height: 1.3; }
.heartland-homebar { display: none; }

.heartland-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 20px;
  align-items: stretch;
}
.heartland-hero__media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--hl-line), white 25%);
  border-radius: 30px;
  background: var(--hl-surface-soft);
  box-shadow: var(--hl-shadow-2);
  isolation: isolate;
}
.heartland-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heartland-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(35 20 26 / 64%), rgb(35 20 26 / 13%) 76%); }
.heartland-hero__copy {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  display: grid;
  max-width: 620px;
  gap: 12px;
  padding: 48px;
  color: white;
}
.heartland-hero__copy > p { font-size: .92rem; font-weight: 650; letter-spacing: .08em; opacity: .9; }
.heartland-hero__copy h1 { max-width: 12ch; font-size: clamp(2rem, 3.25vw, 3.7rem); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.heartland-hero__copy > span { max-width: 39ch; color: rgb(255 255 255 / 88%); font-size: 1rem; line-height: 1.7; }
.heartland-hero__copy > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.heartland-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.heartland-button:hover { transform: translateY(-1px); }
.heartland-button.is-primary { background: var(--hl-primary); color: white; box-shadow: 0 12px 28px rgb(185 39 83 / 25%); }
.heartland-button.is-primary:hover { background: var(--hl-primary-strong); }
.heartland-button.is-quiet { border-color: rgb(255 255 255 / 58%); background: rgb(255 255 255 / 86%); color: var(--hl-primary-strong); backdrop-filter: blur(12px); }

.heartland-couple {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.75fr 1fr;
  grid-template-areas: "left clock right";
  align-items: center;
  min-height: 470px;
  padding: 42px 26px 32px;
  border: 1px solid color-mix(in oklch, var(--hl-line), white 25%);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 25%, color-mix(in oklch, var(--hl-primary-soft), white 25%), transparent 55%),
    var(--hl-surface);
  box-shadow: var(--hl-shadow-1);
  isolation: isolate;
  transition: border-color .22s var(--hl-ease), box-shadow .22s var(--hl-ease);
}
.heartland-couple::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 210px;
  height: 210px;
  border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 78%);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.7);
  transition: opacity .24s var(--hl-ease), transform .42s var(--hl-ease);
}
.heartland-couple.is-loved { border-color: color-mix(in oklch, var(--hl-primary), transparent 58%); box-shadow: 0 18px 46px rgb(151 49 79 / 16%); }
.heartland-couple.is-loved::after { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
.heartland-person { display: grid; align-self: center; justify-items: center; gap: 14px; margin: 0; text-align: center; }
.heartland-person.is-left { grid-area: left; }
.heartland-person.is-right { grid-area: right; }
.heartland-person > span { position: relative; display: block; width: clamp(86px, 8vw, 118px); aspect-ratio: 1; }
.heartland-person img { width: 100%; height: 100%; box-sizing: border-box; border: 4px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--hl-primary-soft), 0 12px 28px rgb(112 51 69 / 14%); }
.heartland-person > span i { position: absolute; right: -4px; bottom: 2px; display: grid; width: 31px; height: 31px; place-items: center; border: 3px solid white; border-radius: 50%; background: var(--hl-primary); color: white; font-size: 13px; }
.heartland-person figcaption { display: grid; max-width: 14ch; gap: 5px; }
.heartland-person figcaption strong { font-size: 1rem; }
.heartland-person figcaption small { overflow: hidden; color: var(--hl-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }

.heartland-clock {
  position: relative;
  grid-area: clock;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 52px 12px 24px;
  border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 73%);
  border-radius: 26px;
  background: color-mix(in oklch, white, var(--hl-primary-soft) 18%);
  box-shadow: 0 20px 38px rgb(155 53 83 / 11%), inset 0 1px white;
  text-align: center;
}
.heartland-clock__heart {
  position: absolute;
  top: -31px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 72%);
  border-radius: 50%;
  background: var(--hl-primary-soft);
  color: var(--hl-primary);
  box-shadow: 0 10px 24px rgb(151 49 79 / 12%);
  font-size: 28px;
  padding: 0;
  cursor: pointer;
  transition: color .18s var(--hl-ease), background .18s var(--hl-ease), box-shadow .18s var(--hl-ease), transform .18s var(--hl-ease);
}
.heartland-clock__heart:hover { color: var(--hl-primary-strong); box-shadow: 0 14px 30px rgb(151 49 79 / 18%); }
.heartland-clock__heart:active { transform: translateY(1px) scale(.97); }
.heartland-clock__heart.is-loved { background: var(--hl-primary); color: white; box-shadow: 0 12px 28px rgb(185 39 83 / 28%); }
.heartland-clock > p { font-size: 1.15rem; font-weight: 750; }
.heartland-clock__digits { display: flex; align-items: baseline; justify-content: center; color: var(--hl-primary); font-variant-numeric: tabular-nums; white-space: nowrap; }
.heartland-clock__digits strong { font-size: clamp(1.35rem, 2.35vw, 2.25rem); letter-spacing: -.04em; }
.heartland-clock__digits small { margin: 0 7px 0 4px; color: var(--hl-ink); font-size: .75rem; }
.heartland-clock__digits b { margin: 0 2px; font-size: 1.1rem; font-weight: 500; }
.heartland-clock time { color: var(--hl-muted); font-size: .72rem; line-height: 1.5; }

/* Anniversary */
.heartland-anniversary {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding: 24px 30px;
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 72%);
  border-radius: var(--hl-radius-lg);
  background: color-mix(in oklch, white, var(--hl-primary-soft) 9%);
  box-shadow: var(--hl-shadow-1);
}
.heartland-anniversary__art { position: relative; display: grid; min-height: 112px; place-items: center; color: var(--hl-primary); }
.heartland-anniversary__art::before, .heartland-anniversary__art::after { position: absolute; border-radius: 50%; background: var(--hl-primary-soft); content: ""; }
.heartland-anniversary__art::before { width: 110px; height: 110px; }
.heartland-anniversary__art::after { width: 72px; height: 72px; background: white; box-shadow: 0 10px 26px rgb(151 49 79 / 12%); }
.heartland-anniversary__art i { position: relative; z-index: 1; font-size: 42px; }
.heartland-anniversary__copy { display: grid; gap: 9px; }
.heartland-anniversary__copy > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.heartland-anniversary__copy h2 { font-size: 1.2rem; }
.heartland-anniversary__copy a { display: inline-flex; align-items: center; gap: 4px; padding: 7px 11px; border-radius: 999px; background: var(--hl-primary-soft); color: var(--hl-primary-strong); font-size: .78rem; font-weight: 700; }
.heartland-anniversary__copy > p { color: var(--hl-muted); font-size: .9rem; }
.heartland-countdown { display: flex; gap: clamp(12px, 4vw, 52px); align-items: baseline; font-variant-numeric: tabular-nums; }
.heartland-countdown > span { display: flex; align-items: baseline; gap: 5px; }
.heartland-countdown strong { color: var(--hl-primary); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.heartland-countdown small { color: var(--hl-muted); font-size: .85rem; }

/* Content panels */
.heartland-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.heartland-panel, .heartland-desktop-row > article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--hl-line);
  border-radius: var(--hl-radius-md);
  background: color-mix(in oklch, var(--hl-surface), transparent 2%);
  box-shadow: var(--hl-shadow-1);
}
.heartland-panel > header, .heartland-desktop-row article > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.heartland-panel > header > div, .heartland-desktop-row article > header > div { display: flex; align-items: center; gap: 8px; }
.heartland-panel > header > div > i, .heartland-desktop-row article > header > div > i { color: var(--hl-primary); font-size: 18px; }
.heartland-panel > header a, .heartland-desktop-row article > header a { display: inline-flex; min-height: 32px; align-items: center; gap: 3px; color: var(--hl-muted); font-size: .78rem; }
.heartland-panel > header a:hover, .heartland-desktop-row article > header a:hover { color: var(--hl-primary-strong); }
.heartland-panel__eyebrow { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; border: 1px solid rgba(255, 92, 136, .14); border-radius: 999px; color: var(--hl-primary-strong); background: rgba(255, 255, 255, .56); font-size: .68rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.heartland-panel > p { color: var(--hl-muted); font-size: .84rem; line-height: 1.55; }

.heartland-mood__people { display: grid; gap: 8px; margin-top: 14px; }
.heartland-mood__people > article { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: center; min-height: 54px; padding: 7px 8px; border: 1px solid var(--hl-line); border-radius: 14px; background: var(--hl-surface-subtle, var(--hl-surface-soft)); }
.heartland-mood__identity { display: flex; min-width: 0; align-items: center; gap: 9px; }
.heartland-mood__identity img { width: 38px; height: 38px; flex: 0 0 38px; border: 2px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--hl-line); }
.heartland-mood__identity > span { display: grid; min-width: 0; gap: 2px; }
.heartland-mood__identity strong, .heartland-mood__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heartland-mood__identity strong { font-size: .8rem; }
.heartland-mood__identity small { color: var(--hl-muted); font-size: .62rem; }
.heartland-mood__current { display: inline-flex; min-height: 38px; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 72%); border-radius: 12px; background: var(--hl-primary-soft); color: var(--hl-primary-strong); font-size: .72rem; font-weight: 750; cursor: pointer; }
.heartland-mood__current > i:first-child { font-size: 17px; }
.heartland-mood__current > i:last-child { color: var(--hl-muted); font-size: 11px; transition: transform .18s var(--hl-ease); }
.heartland-mood__current[aria-expanded="true"] > i:last-child { transform: rotate(180deg); }
.heartland-mood__current.is-readonly { cursor: default; }
.heartland-mood__options { position: absolute; z-index: 4; top: calc(100% + 7px); right: 0; left: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; padding: 7px; border: 1px solid var(--hl-line); border-radius: 15px; background: color-mix(in oklch, var(--hl-surface), transparent 2%); box-shadow: var(--hl-shadow-2); }
.heartland-mood__options[hidden] { display: none; }
.heartland-mood__options button { display: grid; min-width: 0; min-height: 48px; place-items: center; gap: 3px; padding: 4px 2px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--hl-muted); cursor: pointer; }
.heartland-mood__options button:hover, .heartland-mood__options button.is-active { border-color: color-mix(in oklch, var(--hl-primary), transparent 70%); background: var(--hl-primary-soft); color: var(--hl-primary-strong); }
.heartland-mood__options button i { font-size: 17px; }
.heartland-mood__options button span { overflow: hidden; max-width: 100%; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.heartland-mood.is-saving { cursor: progress; }
.heartland-mood.is-saving button { pointer-events: none; opacity: .72; }
.heartland-mood__feedback { min-height: 17px; margin-top: 7px !important; font-size: .68rem !important; }
.heartland-mood__feedback.is-success { color: var(--hl-success); }
.heartland-mood__feedback.is-error { color: var(--hl-danger); }
.heartland-daily-note__body { display: grid; grid-template-columns: 42px 1fr; gap: 11px; align-items: start; margin-top: 5px; }
.heartland-daily-note__body > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--hl-primary-soft); color: var(--hl-primary); font-size: 20px; }
.heartland-daily-note__body p { color: var(--hl-ink); font-size: .84rem; line-height: 1.65; }
.heartland-daily-note > small { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--hl-line); color: var(--hl-muted); font-size: .7rem; }

.heartland-recent__story { display: grid; grid-template-columns: 42% 1fr; gap: 12px; align-items: center; min-height: 104px; }
.heartland-recent__story img { width: 100%; height: 104px; border-radius: 13px; object-fit: cover; }
.heartland-recent__story > span { display: grid; gap: 8px; min-width: 0; }
.heartland-recent__story strong { display: -webkit-box; overflow: hidden; font-size: .9rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.heartland-recent__story small { color: var(--hl-primary); font-size: .75rem; }

.heartland-wishes ul { display: grid; gap: 9px; margin: 14px 0 16px; padding: 0; list-style: none; }
.heartland-wishes li { display: flex; align-items: center; gap: 9px; color: var(--hl-muted); font-size: .83rem; }
.heartland-wishes li i { color: var(--hl-line); font-size: 18px; }
.heartland-wishes li.is-done { color: var(--hl-ink); }
.heartland-wishes li.is-done i { color: var(--hl-primary); }
.heartland-progress { height: 7px; overflow: hidden; border-radius: 999px; background: var(--hl-primary-soft); }
.heartland-progress span { display: block; height: 100%; border-radius: inherit; background: var(--hl-primary); }

.heartland-capsule { position: relative; overflow: hidden; background: linear-gradient(135deg, white, var(--hl-primary-soft)); }
.heartland-capsule > div:not(header) { position: relative; min-height: 75px; padding-right: 74px; }
.heartland-capsule > div:not(header) p { max-width: 22ch; color: var(--hl-muted); font-size: .84rem; line-height: 1.65; }
.heartland-capsule > div:not(header) > i { position: absolute; right: 3px; bottom: 0; color: color-mix(in oklch, var(--hl-primary), white 25%); font-size: 66px; filter: drop-shadow(0 10px 12px rgb(155 53 83 / 12%)); }
.heartland-capsule__action { display: inline-flex; min-height: 38px; align-items: center; gap: 6px; margin-top: 10px; padding: 0 13px; border-radius: 12px; background: var(--hl-primary); color: white; font-size: .78rem; font-weight: 700; }

.heartland-inline-empty { display: flex; min-height: 92px; align-items: center; gap: 12px; color: var(--hl-muted); }
.heartland-inline-empty > i { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: var(--hl-primary-soft); color: var(--hl-primary); font-size: 22px; }
.heartland-inline-empty > span { display: grid; gap: 4px; }
.heartland-inline-empty strong { color: var(--hl-ink); font-size: .86rem; }
.heartland-inline-empty small { font-size: .75rem; line-height: 1.5; }

.heartland-desktop-row { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 16px; margin-top: 16px; }
.heartland-places ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.heartland-places li { display: grid; grid-template-columns: 14px 1fr auto; gap: 11px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hl-line); }
.heartland-places li:first-child { border-top: 0; }
.heartland-places li > span { width: 9px; height: 9px; border: 3px solid var(--hl-primary-soft); border-radius: 50%; background: var(--hl-primary); }
.heartland-places li > div { display: grid; gap: 3px; }
.heartland-places li strong { font-size: .84rem; }
.heartland-places li small, .heartland-places li time { color: var(--hl-muted); font-size: .72rem; }

.heartland-music-card header button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 10px; background: var(--hl-surface-soft); color: var(--hl-muted); cursor: pointer; }
.heartland-music-card__now { display: grid; grid-template-columns: 66px 1fr 44px; gap: 12px; align-items: center; }
.heartland-music-card__now > img, .heartland-music-card__now > span { width: 66px; height: 66px; border-radius: 14px; object-fit: cover; }
.heartland-music-card__now > span { display: grid; place-items: center; background: var(--hl-primary-soft); color: var(--hl-primary); font-size: 24px; }
.heartland-music-card__now > div { display: grid; gap: 5px; min-width: 0; }
.heartland-music-card__now strong, .heartland-music-card__now small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.heartland-music-card__now strong { font-size: .9rem; }
.heartland-music-card__now small { color: var(--hl-muted); font-size: .76rem; }
.heartland-music-card__now > button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: var(--hl-primary); color: white; cursor: pointer; box-shadow: 0 8px 18px rgb(185 39 83 / 22%); }

.heartland-stats header > span { color: var(--hl-muted); font-size: .74rem; }
.heartland-stats dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; }
.heartland-stats dl > div { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 9px; border-top: 1px solid var(--hl-line); }
.heartland-stats dl > div:nth-child(-n+2) { border-top: 0; }
.heartland-stats dt { color: var(--hl-muted); font-size: .76rem; }
.heartland-stats dd { margin: 0; color: var(--hl-primary-strong); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.heartland-stats dd small { margin-left: 2px; color: var(--hl-muted); font-size: .68rem; font-weight: 500; }

/* Shared front-page finishing */
.heartland-page .footer-warp { width: min(calc(100% - 48px), var(--hl-content)); margin: 0 auto; padding: 0 0 30px; background: transparent; }
.heartland-page .footer { border-top: 1px solid var(--hl-line); color: var(--hl-muted); }
.heartland-page .quick-message-float { bottom: 90px; }
.heartland-page .lg-music { z-index: 65; }

body :focus-visible { outline: 3px solid color-mix(in oklch, var(--hl-primary), white 18%); outline-offset: 3px; }

@media (max-width: 1180px) {
  body .heartland-nav.site-nav { grid-template-columns: auto 1fr auto; padding-inline: 20px; }
  body .heartland-nav .site-nav__links a { min-width: 56px; padding-inline: 7px; }
  body .heartland-nav .site-nav__links a span { display: none; }
  .heartland-hero { grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr); }
  .heartland-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --hl-nav-height: 0px; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body .heartland-nav.site-nav { display: none !important; }
  body .lg-mobile-dock {
    position: fixed;
    z-index: 72;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    width: auto;
    min-height: 68px;
    padding: 6px;
    border: 1px solid color-mix(in oklch, var(--hl-line), white 25%);
    border-radius: 23px;
    background: color-mix(in oklch, white, transparent 8%);
    box-shadow: 0 16px 42px rgb(91 37 54 / 16%), inset 0 1px rgb(255 255 255 / 80%);
    backdrop-filter: blur(20px) saturate(1.35);
  }
  body .lg-mobile-dock a {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 56px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: var(--hl-muted);
    font-size: .68rem;
    font-weight: 650;
    transition: background .18s ease, color .18s ease;
  }
  body .lg-mobile-dock a i { display: grid; width: 30px; height: 28px; place-items: center; border-radius: 10px; font-size: 21px; }
  body .lg-mobile-dock a.is-active { background: var(--hl-primary-soft) !important; color: var(--hl-primary-strong) !important; }
  body .lg-mobile-dock a.is-active i { background: var(--hl-primary) !important; color: white !important; }
  .heartland-home { width: min(calc(100% - 24px), 700px); padding: 10px 0 36px; }
  .heartland-homebar {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 0 4px;
  }
  .heartland-homebar__brand { display: inline-flex; min-width: 0; align-items: center; gap: 9px; }
  .heartland-homebar__brand > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid color-mix(in oklch, var(--hl-primary), transparent 72%); border-radius: 13px; background: var(--hl-primary-soft); color: var(--hl-primary); box-shadow: inset 0 1px white; }
  .heartland-homebar__brand strong { max-width: 15ch; overflow: hidden; font-size: 1.05rem; text-overflow: ellipsis; white-space: nowrap; }
  .heartland-homebar nav { display: flex; align-items: center; gap: 6px; }
  .heartland-homebar nav a { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--hl-line); border-radius: 15px; background: color-mix(in oklch, var(--hl-surface), transparent 3%); color: var(--hl-muted); box-shadow: var(--hl-shadow-1); font-size: 19px; transition: color .18s ease, background .18s ease, transform .18s var(--hl-ease); }
  .heartland-homebar nav a:active { background: var(--hl-primary-soft); color: var(--hl-primary-strong); transform: scale(.96); }
  .heartland-hero { display: flex; flex-direction: column; gap: 14px; }
  .heartland-couple { order: -1; }
  .heartland-hero__media { min-height: 360px; }
  .heartland-hero__copy { padding: 28px; }
  .heartland-hero__copy h1 { font-size: 2.25rem; }
  .heartland-couple { min-height: 248px; padding: 32px 12px 18px; }
  .heartland-clock { padding-top: 39px; }
  .heartland-person figcaption small { display: none; }
  .heartland-anniversary { grid-template-columns: 125px minmax(0, 1fr); padding: 20px; }
  .heartland-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heartland-mood, .heartland-daily-note { grid-column: 1 / -1; }
  .heartland-desktop-row { grid-template-columns: 1fr; }
  .heartland-desktop-row > article:not(.heartland-music-card) { display: none; }
  .heartland-page .quick-message-float { display: none !important; }
  .heartland-page .lg-music { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  body {
    background:
      radial-gradient(circle at 12% 0%, oklch(94.5% .055 5 / .86), transparent 22rem),
      var(--hl-canvas);
  }
  .heartland-home { width: calc(100% - 24px); padding-top: 10px; }
  .heartland-couple {
    grid-template-columns: minmax(70px, 1fr) minmax(150px, 1.75fr) minmax(70px, 1fr);
    min-height: 218px;
    padding: 28px 6px 12px;
    border-radius: 24px;
  }
  .heartland-person { gap: 8px; }
  .heartland-person > span { width: clamp(64px, 19vw, 78px); }
  .heartland-person > span i { width: 27px; height: 27px; border-width: 2px; }
  .heartland-person figcaption strong { max-width: 8ch; overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
  .heartland-clock { gap: 6px; padding: 34px 5px 13px; border-radius: 20px; }
  .heartland-clock__heart { top: -22px; width: 44px; height: 44px; font-size: 20px; }
  .heartland-clock > p { font-size: .92rem; }
  .heartland-clock__digits strong { font-size: clamp(1.05rem, 5vw, 1.35rem); }
  .heartland-clock__digits small { margin-inline: 3px 4px; font-size: .58rem; }
  .heartland-clock__digits b { margin-inline: 0; font-size: .8rem; }
  .heartland-clock time { max-width: 21ch; font-size: .58rem; }
  .heartland-hero__media { min-height: 318px; border-radius: 23px; }
  .heartland-hero__shade { background: linear-gradient(0deg, rgb(35 20 26 / 66%), transparent 72%); }
  .heartland-hero__copy { gap: 8px; padding: 22px; }
  .heartland-hero__copy > p { font-size: .73rem; }
  .heartland-hero__copy h1 { max-width: 12ch; font-size: 1.82rem; }
  .heartland-hero__copy > span { font-size: .8rem; line-height: 1.55; }
  .heartland-button { min-height: 44px; padding-inline: 15px; font-size: .82rem; }
  .heartland-anniversary { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; padding: 17px 14px; border-radius: 20px; }
  .heartland-anniversary__art { min-height: 92px; }
  .heartland-anniversary__art::before { width: 80px; height: 80px; }
  .heartland-anniversary__art::after { width: 54px; height: 54px; }
  .heartland-anniversary__art i { font-size: 30px; }
  .heartland-anniversary__copy { gap: 7px; }
  .heartland-anniversary__copy > div:first-child { align-items: flex-start; flex-direction: column; gap: 5px; }
  .heartland-anniversary__copy h2 { font-size: .95rem; }
  .heartland-anniversary__copy a { max-width: 22ch; padding: 3px 0; overflow: hidden; background: transparent; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
  .heartland-anniversary__copy > p { font-size: .7rem; }
  .heartland-countdown { gap: 8px; }
  .heartland-countdown > span { display: grid; gap: 2px; justify-items: center; }
  .heartland-countdown strong { font-size: 1.45rem; }
  .heartland-countdown small { font-size: .58rem; }
  .heartland-grid { gap: 10px; margin-top: 12px; }
  .heartland-panel { padding: 14px; border-radius: 17px; }
  .heartland-panel > header { align-items: flex-start; margin-bottom: 10px; }
  .heartland-panel > header > div { gap: 5px; }
  .heartland-panel > header > div > i { font-size: 15px; }
  .heartland-panel h2 { font-size: .9rem; }
  .heartland-panel > header a { max-width: 7ch; overflow: hidden; font-size: .65rem; white-space: nowrap; }
  .heartland-panel > p { font-size: .68rem; }
  .heartland-mood__people { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .heartland-mood__people > article { grid-template-columns: 1fr; align-items: stretch; }
  .heartland-mood__current { justify-content: center; }
  .heartland-recent__story { grid-template-columns: 1fr; gap: 7px; min-height: 0; }
  .heartland-recent__story img { height: 77px; }
  .heartland-recent__story strong { font-size: .75rem; -webkit-line-clamp: 1; }
  .heartland-recent__story small { font-size: .62rem; }
  .heartland-wishes ul { gap: 7px; margin: 10px 0 12px; }
  .heartland-wishes li { gap: 5px; font-size: .68rem; }
  .heartland-wishes li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .heartland-wishes li i { font-size: 15px; }
  .heartland-capsule > div:not(header) { min-height: 66px; padding-right: 44px; }
  .heartland-capsule > div:not(header) p { font-size: .68rem; }
  .heartland-capsule > div:not(header) > i { font-size: 48px; }
  .heartland-capsule__action { min-height: 34px; margin-top: 7px; padding-inline: 10px; font-size: .65rem; }
  .heartland-inline-empty { min-height: 76px; gap: 8px; }
  .heartland-inline-empty > i { flex-basis: 36px; width: 36px; height: 36px; font-size: 18px; }
  .heartland-inline-empty strong { font-size: .72rem; }
  .heartland-inline-empty small { font-size: .62rem; }
  .heartland-desktop-row { margin-top: 10px; }
  .heartland-desktop-row > article { padding: 16px; }
  .heartland-page .footer-warp { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  body .heartland-nav.site-nav, body .lg-mobile-dock, .heartland-button.is-quiet { background: white; backdrop-filter: none; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --hl-canvas: oklch(17% .018 8);
    --hl-surface: oklch(22% .02 8);
    --hl-surface-soft: oklch(26% .025 8);
    --hl-ink: oklch(95% .01 8);
    --hl-muted: oklch(75% .018 8);
    --hl-line: oklch(34% .025 8);
    --hl-primary: oklch(72% .17 8);
    --hl-primary-strong: oklch(79% .14 8);
    --hl-primary-soft: oklch(29% .06 8);
  }
  html { color-scheme: dark; }
  body { background: radial-gradient(circle at 13% 5%, oklch(28% .055 8 / .58), transparent 27rem), var(--hl-canvas); }
  body .heartland-nav.site-nav, body .lg-mobile-dock { background: color-mix(in oklch, var(--hl-surface), transparent 7%); }
  .heartland-couple, .heartland-anniversary, .heartland-panel, .heartland-desktop-row > article { background-color: var(--hl-surface); }
  .heartland-clock { background: color-mix(in oklch, var(--hl-surface), var(--hl-primary-soft) 18%); }
  .heartland-person img { border-color: var(--hl-surface); }
}

/* Shared content-page header */
.heartland-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 30px;
}
.heartland-page-intro > div:first-child { display: grid; gap: 10px; }
.heartland-page-intro > div:first-child > span { display: inline-flex; align-items: center; gap: 7px; color: var(--hl-primary-strong); font-size: .8rem; font-weight: 700; }
.heartland-page-intro h1 { margin: 0; font-size: clamp(2rem, 3vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.heartland-page-intro p { max-width: 54ch; margin: 0; color: var(--hl-muted); font-size: .95rem; line-height: 1.7; }
.heartland-page-intro__actions { display: flex; align-items: center; gap: 14px; }
.heartland-page-intro__actions > span { color: var(--hl-muted); font-size: .82rem; white-space: nowrap; }
.heartland-page-intro__actions > span strong { color: var(--hl-primary-strong); font-size: 1.25rem; }

/* Memories */
.heartland-memories { width: min(calc(100% - 48px), 1320px); margin: 0 auto; padding-bottom: 72px; }
.heartland-filter { display: flex; gap: 8px; margin-bottom: 16px; }
.heartland-filter button { min-height: 40px; padding: 0 14px; border: 1px solid var(--hl-line); border-radius: 999px; background: var(--hl-surface); color: var(--hl-muted); font-size: .8rem; font-weight: 700; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.heartland-filter button:hover { border-color: color-mix(in oklch, var(--hl-primary), transparent 55%); color: var(--hl-primary-strong); }
.heartland-filter button.is-active { border-color: var(--hl-primary); background: var(--hl-primary); color: white; }

.heartland-memory-feature { overflow: hidden; border-radius: 28px; box-shadow: var(--hl-shadow-2); }
.heartland-memory-feature > a { position: relative; display: block; min-height: 520px; overflow: hidden; }
.heartland-memory-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hl-ease); }
.heartland-memory-feature:hover img { transform: scale(1.025); }
.heartland-memory-feature__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(30 18 23 / 72%), rgb(30 18 23 / 12%) 72%); }
.heartland-memory-feature__date { position: absolute; top: 30px; left: 30px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 15px; background: rgb(255 255 255 / 78%); color: var(--hl-ink); backdrop-filter: blur(14px); }
.heartland-memory-feature__date strong { font-size: 1.8rem; line-height: 1; }
.heartland-memory-feature__date small { font-size: .7rem; line-height: 1.45; }
.heartland-memory-feature__copy { position: absolute; bottom: 0; left: 0; display: grid; max-width: 640px; gap: 13px; padding: 44px; color: white; }
.heartland-memory-feature__copy > span { display: flex; flex-wrap: wrap; gap: 7px; }
.heartland-memory-feature__copy em { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgb(255 255 255 / 16%); font-size: .72rem; font-style: normal; backdrop-filter: blur(8px); }
.heartland-memory-feature__copy > strong { font-size: clamp(2rem, 3vw, 3.25rem); line-height: 1.14; letter-spacing: -.04em; }
.heartland-memory-feature__copy > small { max-width: 55ch; color: rgb(255 255 255 / 82%); font-size: .9rem; line-height: 1.7; }
.heartland-memory-feature__copy > b { display: inline-flex; width: max-content; min-height: 42px; align-items: center; gap: 7px; padding: 0 14px; border-radius: 12px; background: white; color: var(--hl-primary-strong); font-size: .78rem; }

.heartland-memory-stream { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.heartland-memory-stream::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--hl-line); content: ""; transform: translateX(-50%); }
.heartland-memory-card { position: relative; display: grid; grid-template-columns: 66px 190px minmax(0, 1fr); gap: 16px; min-height: 220px; padding: 20px; border: 1px solid var(--hl-line); border-radius: 20px; background: var(--hl-surface); box-shadow: var(--hl-shadow-1); }
.heartland-memory-card.is-wide { grid-column: 1 / -1; grid-template-columns: 74px minmax(280px, .8fr) minmax(0, 1.2fr); }
.heartland-memory-card > time { display: flex; align-items: flex-start; gap: 6px; color: var(--hl-primary-strong); font-variant-numeric: tabular-nums; }
.heartland-memory-card > time strong { font-size: 1.75rem; line-height: 1; }
.heartland-memory-card > time > span { display: grid; color: var(--hl-muted); font-size: .68rem; }
.heartland-memory-card > time small { font-size: .65rem; }
.heartland-memory-card__media { position: relative; min-height: 178px; overflow: hidden; border-radius: 15px; background: var(--hl-surface-soft); }
.heartland-memory-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--hl-ease); }
.heartland-memory-card__media > span { position: absolute; right: 10px; bottom: 10px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgb(255 255 255 / 84%); color: var(--hl-primary-strong); opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .22s var(--hl-ease); backdrop-filter: blur(10px); }
.heartland-memory-card:hover .heartland-memory-card__media img { transform: scale(1.035); }
.heartland-memory-card:hover .heartland-memory-card__media > span { opacity: 1; transform: translateY(0); }
.heartland-memory-card__copy { display: grid; align-content: center; gap: 9px; min-width: 0; }
.heartland-memory-card__copy > div { display: flex; flex-wrap: wrap; gap: 10px; color: var(--hl-muted); font-size: .68rem; }
.heartland-memory-card__copy > div span { display: inline-flex; align-items: center; gap: 4px; }
.heartland-memory-card__copy h2 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.heartland-memory-card__copy h2 a:hover { color: var(--hl-primary-strong); }
.heartland-memory-card__copy p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--hl-muted); font-size: .8rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.heartland-memory-card__copy footer { display: flex; flex-wrap: wrap; gap: 6px; }
.heartland-memory-card__copy footer span { color: var(--hl-primary-strong); font-size: .67rem; }
.heartland-filter-empty { display: grid; justify-items: center; gap: 8px; padding: 64px 20px; color: var(--hl-muted); text-align: center; }
.heartland-filter-empty i { color: var(--hl-primary); font-size: 30px; }
.heartland-filter-empty strong { color: var(--hl-ink); }

/* Albums */
.heartland-albums { width: min(calc(100% - 48px), 1320px); margin: 0 auto; padding-bottom: 76px; }
.heartland-album-feature { position: relative; display: block; min-height: 560px; overflow: hidden; border-radius: 30px; box-shadow: var(--hl-shadow-2); isolation: isolate; }
.heartland-album-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--hl-ease); }
.heartland-album-feature:hover > img { transform: scale(1.025); }
.heartland-album-feature__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(28 18 22 / 70%), transparent 75%); }
.heartland-album-feature__copy { position: absolute; bottom: 0; left: 0; display: grid; max-width: 560px; gap: 10px; padding: 48px; color: white; }
.heartland-album-feature__copy small { color: rgb(255 255 255 / 78%); font-size: .76rem; }
.heartland-album-feature__copy strong { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.heartland-album-feature__copy em { max-width: 43ch; color: rgb(255 255 255 / 82%); font-size: .9rem; font-style: normal; line-height: 1.65; }
.heartland-album-feature__copy b { display: inline-flex; width: max-content; min-height: 40px; align-items: center; gap: 7px; margin-top: 5px; padding: 0 13px; border-radius: 12px; background: white; color: var(--hl-primary-strong); font-size: .76rem; }
.heartland-album-feature__strip { position: absolute; right: 26px; bottom: 26px; display: flex; gap: 8px; }
.heartland-album-feature__strip img { width: 88px; height: 88px; box-sizing: border-box; border: 3px solid rgb(255 255 255 / 80%); border-radius: 17px; object-fit: cover; box-shadow: 0 12px 25px rgb(20 10 14 / 20%); }

.heartland-album-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.heartland-album-book a { display: grid; gap: 13px; }
.heartland-album-book__cover { position: relative; display: block; height: 330px; overflow: hidden; border-radius: 21px; background: var(--hl-surface-soft); box-shadow: var(--hl-shadow-1); }
.heartland-album-book.is-large { grid-column: span 2; }
.heartland-album-book.is-large .heartland-album-book__cover { height: 420px; }
.heartland-album-book__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .48s var(--hl-ease); }
.heartland-album-book__cover > i { position: absolute; right: 15px; bottom: 15px; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: rgb(255 255 255 / 84%); color: var(--hl-primary-strong); opacity: 0; transform: translateY(7px); transition: opacity .2s ease, transform .22s var(--hl-ease); backdrop-filter: blur(10px); }
.heartland-album-book:hover .heartland-album-book__cover img { transform: scale(1.035); }
.heartland-album-book:hover .heartland-album-book__cover > i { opacity: 1; transform: translateY(0); }
.heartland-album-book__copy { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 0 3px; }
.heartland-album-book__copy small { grid-column: 1 / -1; color: var(--hl-muted); font-size: .7rem; }
.heartland-album-book__copy strong { overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.heartland-album-book__copy em { color: var(--hl-primary-strong); font-size: .72rem; font-style: normal; }

.heartland-album-detail-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: 22px; padding: 28px 0; }
.heartland-album-detail-hero__media { position: relative; min-height: 600px; overflow: hidden; border-radius: 30px; box-shadow: var(--hl-shadow-2); }
.heartland-album-detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.heartland-album-detail-hero__media span { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(20 12 16 / 24%), transparent 45%); }
.heartland-album-detail-hero__copy { display: grid; align-content: center; gap: 15px; padding: 36px; border: 1px solid var(--hl-line); border-radius: 28px; background: var(--hl-surface); box-shadow: var(--hl-shadow-1); }
.heartland-back { display: inline-flex; width: max-content; min-height: 40px; align-items: center; gap: 7px; color: var(--hl-muted); font-size: .78rem; }
.heartland-album-detail-hero__copy > span { color: var(--hl-primary-strong); font-size: .76rem; font-weight: 700; }
.heartland-album-detail-hero__copy h1 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.heartland-album-detail-hero__copy > p { margin: 0; color: var(--hl-muted); font-size: .92rem; line-height: 1.75; }
.heartland-album-detail-hero__copy dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 10px 0 0; }
.heartland-album-detail-hero__copy dl > div { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid var(--hl-line); }
.heartland-album-detail-hero__copy dt { color: var(--hl-muted); font-size: .7rem; }
.heartland-album-detail-hero__copy dd { margin: 0; font-size: .82rem; font-weight: 700; }

.heartland-album-media { padding-top: 24px; }
.heartland-album-media > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.heartland-album-media > header > div { display: grid; gap: 6px; }
.heartland-album-media > header span { color: var(--hl-primary-strong); font-size: .76rem; font-weight: 700; }
.heartland-album-media > header h2 { margin: 0; font-size: 1.6rem; }
.heartland-album-media > header p { margin: 0; color: var(--hl-muted); font-size: .8rem; }
.heartland-album-masonry { display: grid; grid-auto-flow: dense; grid-auto-rows: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.heartland-album-masonry figure { grid-row: span 24; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; margin: 0; }
.heartland-album-masonry figure.is-wide { grid-column: span 2; grid-row: span 30; }
.heartland-album-masonry figure.is-tall { grid-row: span 34; }
.heartland-album-masonry button, .heartland-album-masonry video { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; border: 0; border-radius: 18px; background: var(--hl-surface-soft); cursor: pointer; }
.heartland-album-masonry button { padding: 0; }
.heartland-album-masonry button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--hl-ease); }
.heartland-album-masonry button > span { position: absolute; right: 12px; bottom: 12px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: rgb(255 255 255 / 84%); color: var(--hl-primary-strong); opacity: 0; transition: opacity .2s ease; backdrop-filter: blur(10px); }
.heartland-album-masonry button:hover img { transform: scale(1.025); }
.heartland-album-masonry button:hover > span { opacity: 1; }
.heartland-album-masonry figcaption { display: flex; justify-content: space-between; gap: 10px; min-width: 0; padding: 0 3px; }
.heartland-album-masonry figcaption strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.heartland-album-masonry figcaption time { color: var(--hl-muted); font-size: .68rem; white-space: nowrap; }

@media (max-width: 980px) {
  .heartland-memory-stream { grid-template-columns: 1fr; }
  .heartland-memory-stream::before { display: none; }
  .heartland-memory-card.is-wide { grid-column: auto; grid-template-columns: 66px 190px minmax(0, 1fr); }
  .heartland-album-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heartland-album-detail-hero { grid-template-columns: 1fr; }
  .heartland-album-detail-hero__media { min-height: 520px; }
  .heartland-album-masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .heartland-memories, .heartland-albums { width: min(calc(100% - 24px), 700px); padding-bottom: 36px; }
  .heartland-page-intro { align-items: flex-start; flex-direction: column; gap: 18px; padding: 20px 0; }
  .heartland-page-intro__actions { width: 100%; justify-content: space-between; }
  .heartland-memory-feature > a { min-height: 440px; }
  .heartland-memory-feature__copy { padding: 28px; }
  .heartland-memory-card, .heartland-memory-card.is-wide { grid-template-columns: 58px minmax(130px, .75fr) minmax(0, 1.25fr); }
  .heartland-album-feature { min-height: 480px; }
  .heartland-album-feature__copy { padding: 30px; }
  .heartland-album-feature__strip { display: none; }
  .heartland-album-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .heartland-page-intro h1 { font-size: 2rem; }
  .heartland-page-intro p { font-size: .82rem; }
  .heartland-page-intro__actions .heartland-button { min-height: 42px; padding-inline: 13px; }
  .heartland-filter { position: sticky; z-index: 20; top: 0; margin-inline: -12px; padding: 8px 12px; overflow-x: auto; background: color-mix(in oklch, var(--hl-canvas), transparent 4%); backdrop-filter: blur(12px); scrollbar-width: none; }
  .heartland-filter::-webkit-scrollbar { display: none; }
  .heartland-filter button { flex: 0 0 auto; min-height: 38px; }
  .heartland-memory-feature { border-radius: 22px; }
  .heartland-memory-feature > a { min-height: 410px; }
  .heartland-memory-feature__shade { background: linear-gradient(0deg, rgb(30 18 23 / 76%), transparent 75%); }
  .heartland-memory-feature__date { top: 16px; left: 16px; }
  .heartland-memory-feature__copy { gap: 9px; padding: 22px; }
  .heartland-memory-feature__copy > strong { font-size: 1.8rem; }
  .heartland-memory-feature__copy > small { font-size: .78rem; -webkit-line-clamp: 3; }
  .heartland-memory-stream { gap: 12px; margin-top: 14px; }
  .heartland-memory-card, .heartland-memory-card.is-wide {
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-areas: "date media" "copy copy";
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 17px;
  }
  .heartland-memory-card > time { grid-area: date; }
  .heartland-memory-card__media { grid-area: media; min-height: 170px; }
  .heartland-memory-card__copy { grid-area: copy; padding: 2px 3px 3px; }
  .heartland-memory-card__copy p { -webkit-line-clamp: 2; }
  .heartland-album-feature { min-height: 430px; border-radius: 23px; }
  .heartland-album-feature__shade { background: linear-gradient(0deg, rgb(28 18 22 / 74%), transparent 72%); }
  .heartland-album-feature__copy { gap: 8px; padding: 24px; }
  .heartland-album-feature__copy strong { font-size: 2rem; }
  .heartland-album-shelf { display: flex; gap: 12px; margin-inline: -12px; padding: 0 12px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .heartland-album-shelf::-webkit-scrollbar { display: none; }
  .heartland-album-book, .heartland-album-book.is-large { flex: 0 0 78%; scroll-snap-align: start; }
  .heartland-album-book__cover, .heartland-album-book.is-large .heartland-album-book__cover { height: 390px; }
  .heartland-album-detail-hero { gap: 12px; padding-top: 12px; }
  .heartland-album-detail-hero__media { min-height: 410px; border-radius: 23px; }
  .heartland-album-detail-hero__copy { gap: 11px; padding: 22px; border-radius: 20px; }
  .heartland-album-detail-hero__copy h1 { font-size: 2.25rem; }
  .heartland-album-media > header { align-items: flex-start; flex-direction: column; gap: 7px; }
  .heartland-album-masonry { grid-auto-rows: 10px; gap: 9px; }
  .heartland-album-masonry figure { grid-row: span 21; }
  .heartland-album-masonry figure.is-wide { grid-column: span 2; grid-row: span 27; }
  .heartland-album-masonry figure.is-tall { grid-row: span 28; }
  .heartland-album-masonry button, .heartland-album-masonry video { border-radius: 14px; }
  .heartland-album-masonry figcaption { display: grid; gap: 2px; }
}

@media (prefers-color-scheme: dark) {
  .heartland-filter button, .heartland-memory-card, .heartland-album-detail-hero__copy { background: var(--hl-surface); }
  .heartland-memory-feature__date { background: color-mix(in oklch, var(--hl-surface), transparent 10%); }
  .heartland-memory-card__media > span, .heartland-album-book__cover > i, .heartland-album-masonry button > span { background: color-mix(in oklch, var(--hl-surface), transparent 10%); }
}
