@font-face {
  font-family: "OldStyle HPLHS";
  src: url("/fonts/OldStyle-1-HPLHS.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f7f2e9;
  --color-bg-elevated: #ffffff;
  --color-bg-subtle: #efe8da;
  --color-text: #4f4b46;
  --color-text-muted: #7a756e;
  --color-accent: #4f4b46;
  --color-title: #02410a;
  --color-btn: #02410a;
  --color-btn-text: #f7f2e9;
  --color-border: rgba(2, 65, 10, 0.16);
  --color-card-border: rgba(2, 65, 10, 0.14);
  --card-radius: 1.1rem;
  --card-shadow: 0 8px 22px rgba(2, 65, 10, 0.06);
  --color-error: #7a2e28;
  --gg-callout-bg: #fef6c7;
  --gg-callout-text: #3a300c;
  --gg-callout-muted: #706125;
  --gg-callout-border: #efd97a;
  --gg-callout-badge-bg: #fffdf0;
  --gg-callout-badge-hover: #ffffff;
  --gg-callout-shadow: 0 8px 22px rgba(90, 70, 0, 0.08);
  --font-body: "Lora", Georgia, "Times New Roman", serif;
  --font-display: "OldStyle HPLHS", "Lora", Georgia, serif;
  --heading-icon-size: 1.5rem;
  --page-pad: clamp(1.25rem, 4vw, 3rem);
  --max-width: 68rem;
  --content-width: 44rem;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
.page-title,
.hero-names,
.section-title,
.rsvp-title,
.timeline-title,
.place-card__title,
.info-box__title,
.journey-card h3,
.login-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-title);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-transform: none;
}

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

#main-content {
  width: 100%;
}

.page-shell {
  width: min(var(--max-width), calc(100% - var(--page-pad) * 2));
  margin: 0 auto;
  padding: 1rem 0 5rem;
}

main:has(> .hero) .page-shell {
  padding-top: 3.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0 var(--page-pad);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  width: min(var(--max-width), 100%);
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0.65rem 0;
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.logo {
  display: block;
  position: relative;
  height: 3.1rem;
  aspect-ratio: 1;
}

.logo::before,
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transition: opacity 0.7s ease;
}

.logo::before {
  background-image: url("/assets/brand/sprouts.png?v=1");
}

.logo::after {
  background-image: url("/assets/brand/sprouts-hover.png?v=1");
  opacity: 0;
}

.brand:hover .logo::before,
.brand:focus-visible .logo::before {
  opacity: 0;
}

.brand:hover .logo::after,
.brand:focus-visible .logo::after {
  opacity: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link.is-active {
  color: var(--color-title);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  height: 1px;
  background: var(--color-text);
  transition:
    transform 0.22s ease,
    opacity 0.18s ease,
    top 0.22s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0.72rem;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  top: auto;
  bottom: 0.72rem;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.site-header.is-open .nav-toggle span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .logo::before,
  .logo::after {
    transition: none;
  }

  .nav-toggle span {
    transition: none;
  }

  .place-card--photo .place-card__img,
  .place-card--photo .place-card__body,
  .place-card--photo .place-card__actions,
  .place-card--photo .place-card__labels {
    transition: none;
  }

  .place-card--photo:hover .place-card__img,
  .place-card--photo:focus-within .place-card__img,
  .place-card--photo.is-open .place-card__img {
    transform: none;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border: 0;
  background:
    linear-gradient(var(--color-text), var(--color-text)) 0 0 / 100% 1px no-repeat,
    linear-gradient(var(--color-text), var(--color-text)) 0 3px / 100% 1px no-repeat,
    linear-gradient(var(--color-text), var(--color-text)) 0 100% / 100% 1px no-repeat,
    linear-gradient(var(--color-text), var(--color-text)) 0 calc(100% - 3px) / 100% 1px no-repeat;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-outline:hover {
  background-color: color-mix(in srgb, var(--color-text) 8%, transparent);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--color-btn);
  border-radius: 999px;
  background: var(--color-btn);
  color: var(--color-btn-text);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-green:hover {
  filter: brightness(1.08);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}

.section-heading,
.gg-heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.section-heading__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--heading-icon-size);
  height: var(--heading-icon-size);
  min-width: var(--heading-icon-size);
  min-height: var(--heading-icon-size);
  max-width: var(--heading-icon-size);
  max-height: var(--heading-icon-size);
  flex: 0 0 var(--heading-icon-size);
  overflow: visible;
  color: var(--color-title);
  line-height: 0;
  font-size: 0;
}

.section-heading__icon svg {
  display: block;
  width: var(--heading-icon-size);
  height: var(--heading-icon-size);
  flex: 0 0 auto;
}

.gg-heading .gg-logo,
.gg-heading .yandex-logo {
  width: var(--heading-icon-size);
  height: var(--heading-icon-size);
  flex: 0 0 var(--heading-icon-size);
  border-radius: 0.35rem;
  object-fit: cover;
}

.gg-logo {
  filter: invert(1);
}

.hyur-logo {
  height: 2.1rem;
  width: auto;
  flex: 0 0 auto;
  border-radius: 0.35rem;
}

.taxi-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.taxi-app {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.taxi-app + .taxi-app {
  padding-left: 1.25rem;
  border-left: 1px solid var(--gg-callout-border);
}

.prose .taxi-app .gg-heading {
  margin: 0;
  font-size: 1.05rem;
}

.taxi-app .store-badges {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
}

.taxi-app .store-badge {
  flex: 1 1 7.5rem;
  justify-content: flex-start;
}

.prose .callout--gg .taxi-intro {
  margin-bottom: 1rem;
}

.prose .callout--gg .store-note {
  margin: 0.85rem 0 0;
}

@media (max-width: 520px) {
  .taxi-apps {
    grid-template-columns: 1fr;
  }

  .taxi-app + .taxi-app {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid var(--gg-callout-border);
  }
}

.yandex-logo {
  display: block;
  border-radius: 0.3rem;
}

.store-badges {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.store-note {
  font-size: 0.82rem;
  line-height: 1.45;
}

.prose p.store-note {
  margin: 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.45rem 0.65rem 0.45rem 0.5rem;
  border: 1px solid var(--color-card-border);
  border-radius: var(--card-radius);
  color: inherit;
  text-decoration: none;
  background: var(--color-bg-elevated);
}

.store-badge:hover {
  background: var(--color-bg-subtle);
}

.store-badge__icon {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__text small {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.store-badge__text strong {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.store-badge--apple {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.store-badge--apple .store-badge__text strong {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.store-badge--play {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.store-badge--play .store-badge__text small {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-badge--play .store-badge__text strong {
  font-weight: 500;
  letter-spacing: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  margin-inline: 0;
  padding: 1.25rem 0 2rem;
}

.hero-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2.5vw, 3.25rem);
  width: min(72rem, calc(100% - var(--page-pad) * 2));
}

.hero-mark {
  display: block;
  flex: 1 3 28.5rem;
  width: 100%;
  min-width: 5rem;
  max-width: 28.5rem;
  height: auto;
  aspect-ratio: 898 / 1024;
  transform: scale(0.95);
  transform-origin: center;
}

.hero-photo-col {
  display: flex;
  flex: 1 1 40rem;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  min-width: 0;
  max-width: 40rem;
}

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 567;
  transform: scale(0.95);
  transform-origin: center;
}

.hero-frame__photo {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: cover;
  object-position: center 42%;
}

.hero-frame__ornament {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.hero-invite {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  margin: 0;
  text-align: center;
}

.hero-invite__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
}

.hero-invite__when {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-title);
}

.hero-invite__where {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-names {
  width: min(var(--max-width), calc(100% - var(--page-pad) * 2));
  margin: 1.25rem auto 0;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
}

.hero-meta {
  margin: 0 0 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero-dot {
  margin: 0 0.5rem;
}

.hero-rsvp {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: min(9.5rem, 70%);
  aspect-ratio: 769 / 400;
  color: var(--color-title);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-rsvp__plate {
  position: absolute;
  inset: 0;
  background: url("/assets/brand/button.png?v=5") center / 100% 100% no-repeat;
}

.hero-rsvp__label {
  position: relative;
  z-index: 1;
}

.hero-rsvp:hover .hero-rsvp__label {
  opacity: 0.72;
}

@media (max-width: 720px) {
  .hero-stage {
    flex-wrap: wrap;
    width: min(36rem, calc(100% - var(--page-pad) * 2));
  }

  .hero-mark {
    flex: 0 0 auto;
    width: min(14rem, 55%);
    max-width: 14rem;
  }

  .hero-photo-col {
    flex: 1 1 100%;
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-invite {
    gap: 0.65rem;
  }

  .hero-invite__when {
    font-size: 1.25rem;
  }
}

.section-inner,
.empty-state {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

.prose,
.timeline {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}

.rsvp-section,
.journey-preview,
.category-block {
  margin: 0 auto 5rem;
}

.hero + .rsvp-section {
  margin-top: 4rem;
}

.rsvp-section {
  max-width: 40rem;
  margin-inline: auto;
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.rsvp-title,
.section-title,
.page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
}

.rsvp-lede,
.section-lede,
.page-lede {
  margin: 0 0 1.75rem;
  color: var(--color-text);
}

.rsvp-frame {
  width: 100%;
  border: 0;
  min-height: 40rem;
  background: transparent;
}

.rsvp-placeholder,
.empty-state,
.callout,
.timeline-card {
  padding: 1.5rem 1.4rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.callout.callout--visa {
  background: #dfeffc;
  border-color: #b8d8f4;
  color: #15324b;
  box-shadow: 0 8px 22px rgba(21, 50, 75, 0.1);
}

.callout--visa h2,
.callout--visa .section-heading__icon {
  color: #102a43;
}

.callout--visa .btn-green {
  background: #102a43;
  border-color: #102a43;
  color: #f4f9fd;
}

.callout.callout--gg {
  background: var(--gg-callout-bg);
  border-color: var(--gg-callout-border);
  color: var(--gg-callout-text);
  box-shadow: var(--gg-callout-shadow);
  padding-bottom: 1.1rem;
}

.callout.callout--gg > :last-child {
  margin-bottom: 0;
}

.callout--gg h2,
.callout--gg .gg-heading,
.callout--gg .section-heading__icon {
  color: var(--gg-callout-text);
}

.callout--gg .muted,
.callout--gg .store-note,
.callout--gg .store-badge__text small {
  color: var(--gg-callout-muted);
}

.callout--gg .gg-logo {
  filter: invert(1);
}

.callout--gg .yandex-logo {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.callout--gg .store-badge {
  background: var(--gg-callout-badge-bg);
  border-color: var(--gg-callout-border);
  color: var(--gg-callout-text);
}

.callout--gg .store-badge:hover {
  background: var(--gg-callout-badge-hover);
}

.rsvp-placeholder__hint,
.muted {
  color: var(--color-text-muted);
}

.page-header {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.journey-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 1.75rem;
}

.journey-nav__link {
  padding: 0.28rem 0.55rem;
  border-radius: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
}

.journey-nav__link:hover {
  color: var(--color-title);
  background: color-mix(in srgb, var(--color-title) 8%, transparent);
}

.journey-nav__link.is-active {
  color: var(--color-title);
  font-weight: 700;
  background: color-mix(in srgb, var(--color-title) 16%, transparent);
}

.page-shell > header.page-header:has(+ .timeline) {
  max-width: var(--content-width);
}

.page-shell--wide .prose,
.page-shell--wide .page-header {
  max-width: none;
  width: 100%;
}

.journey-preview {
  max-width: none;
}

.journey-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.1rem;
}

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

@media (min-width: 800px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .place-card--photo {
    aspect-ratio: 3 / 2;
  }
}

.journey-card,
.place-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.journey-card {
  padding: 1.4rem 1.25rem 1.5rem;
}

.journey-card h3,
.journey-card__title,
.place-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.place-card__title {
  text-transform: uppercase;
}

.journey-card h3.journey-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.journey-card__title .section-heading__icon,
.journey-card__title .section-heading__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  max-width: 1.15rem;
  max-height: 1.15rem;
}

.journey-card__title .section-heading__icon {
  flex: 0 0 1.15rem;
}

.journey-card p,
.place-card__copy {
  margin: 0;
  color: var(--color-text-muted);
}

.place-card__copy {
  font-size: 0.84rem;
  line-height: 1.45;
}

.place-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.place-card__media.is-empty {
  display: none;
}

.place-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card__body {
  padding: 1.15rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.place-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.place-card--photo {
  position: relative;
  aspect-ratio: 4 / 3;
  --card-shade: 2, 65, 10;
}

.place-card--black {
  --card-shade: 0, 0, 0;
}

.place-card--photo .place-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.place-card--photo .place-card__img {
  transition: transform 0.45s ease;
}

.place-card__credit {
  position: absolute;
  z-index: 2;
  top: 0.45rem;
  left: 0.55rem;
  right: 0.55rem;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.place-card__credit:hover {
  text-decoration: underline;
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__credit {
  display: none;
}

.place-card--photo .place-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1.25rem 1.15rem 1.2rem;
  background: linear-gradient(
    to top,
    rgba(var(--card-shade), 0.86) 0%,
    rgba(var(--card-shade), 0.32) 38%,
    transparent 68%
  );
  transition: background 0.25s ease;
}

.place-card--photo .place-card__details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, grid-template-rows 0.25s ease;
}

.place-card--photo .place-card__details-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 0;
}

.place-card--photo:hover .place-card__img,
.place-card--photo:focus-within .place-card__img,
.place-card--photo.is-open .place-card__img {
  transform: scale(1.04);
}

.place-card--photo:hover .place-card__body,
.place-card--photo:focus-within .place-card__body,
.place-card--photo.is-open .place-card__body {
  background: linear-gradient(
    to top,
    rgba(var(--card-shade), 0.92) 0%,
    rgba(var(--card-shade), 0.58) 52%,
    rgba(var(--card-shade), 0.12) 100%
  );
}

.place-card--photo:hover .place-card__details,
.place-card--photo:focus-within .place-card__details,
.place-card--photo.is-open .place-card__details {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.place-card--photo .place-card__title {
  margin-bottom: 0;
  color: #f7f2e9;
}

.place-card--photo .place-card__labels {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.place-card--photo .place-card__actions {
  margin-top: 0.15rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .place-card--photo:hover .place-card__actions,
  .place-card--photo:hover .place-card__labels {
    opacity: 1;
    pointer-events: auto;
  }
}

.place-card--photo:focus-within .place-card__actions,
.place-card--photo.is-open .place-card__actions,
.place-card--photo:focus-within .place-card__labels,
.place-card--photo.is-open .place-card__labels {
  opacity: 1;
  pointer-events: auto;
}

@media (hover: none), (max-width: 799px) {
  .place-card--photo .place-card__img,
  .place-card--photo:hover .place-card__img,
  .place-card--photo:focus-within .place-card__img,
  .place-card--photo.is-open .place-card__img {
    transform: none;
  }

  .place-card--photo .place-card__body,
  .place-card--photo:hover .place-card__body,
  .place-card--photo:focus-within .place-card__body,
  .place-card--photo.is-open .place-card__body {
    background: linear-gradient(
      to top,
      rgba(var(--card-shade), 0.92) 0%,
      rgba(var(--card-shade), 0.58) 52%,
      rgba(var(--card-shade), 0.12) 100%
    );
  }

  .place-card--photo .place-card__details,
  .place-card--photo:hover .place-card__details,
  .place-card--photo:focus-within .place-card__details,
  .place-card--photo.is-open .place-card__details {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
  }

  .place-card--photo .place-card__actions,
  .place-card--photo .place-card__labels,
  .place-card--photo:hover .place-card__actions,
  .place-card--photo:hover .place-card__labels,
  .place-card--photo:focus-within .place-card__actions,
  .place-card--photo:focus-within .place-card__labels,
  .place-card--photo.is-open .place-card__actions,
  .place-card--photo.is-open .place-card__labels {
    opacity: 1;
    pointer-events: auto;
  }
}

.place-card--photo .place-card__copy {
  color: rgba(247, 242, 233, 0.88);
}

.place-card--photo .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.5rem;
  border: 2px solid #fff;
  box-shadow: none;
}

.place-card--photo .btn-green {
  background: #f7f2e9;
  border-color: #f7f2e9;
  color: #02410a;
}

.place-card--photo:has(.place-card__media.is-empty) {
  aspect-ratio: auto;
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__body {
  position: static;
  background: none;
  padding: 1.15rem 1.15rem 1.35rem;
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__details {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__actions,
.place-card--photo:has(.place-card__media.is-empty) .place-card__labels {
  position: static;
  opacity: 1;
  pointer-events: auto;
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__title {
  color: var(--color-title);
}

.place-card--photo:has(.place-card__media.is-empty) .place-card__copy {
  color: var(--color-text-muted);
}

.place-card--photo:has(.place-card__media.is-empty) .btn-green {
  background: var(--color-btn);
  border-color: var(--color-btn);
  color: var(--color-btn-text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 0.25rem;
  padding: 0.1rem 0.38rem;
  cursor: default;
  user-select: none;
}

.tag--yerevan {
  color: #fff;
  background: #3d5360;
}

.tag--sunday-only {
  color: #fff;
  background: #6e5428;
}

.tag--day-trip {
  color: #fff;
  background: #6e4a34;
}

.tag--thai {
  color: #fff;
  background: #6e3c34;
}

.tag--spa {
  color: #fff;
  background: #4e405a;
}

.tag--restaurant {
  color: #fff;
  background: #5e482c;
}

.place-card .tag,
.place-card--photo .tag {
  border: 2px solid #fff;
  opacity: 1;
}

.place-card--photo:has(.place-card__media.is-empty) .tag {
  font-size: unset;
  font-weight: unset;
  letter-spacing: unset;
  padding: unset;
  box-shadow: none;
}

.prose article + article {
  margin-top: 2.25rem;
}

.prose h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.prose p,
.prose ul {
  margin: 0 0 0.9rem;
}

.prose ul {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.recommend-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prose .recommend-label {
  margin-bottom: 0.4rem;
}

.phrase-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.prose ul.phrase-list {
  padding: 0;
  margin: 1.25rem 0 1.5rem;
}

.phrase-list li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 0.85fr) minmax(8rem, 1.1fr) minmax(7rem, 0.9fr);
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid var(--color-border);
}

.prose .phrase-list li + li {
  margin-top: 0;
}

.phrase-list li:last-child {
  border-bottom: 1px solid var(--color-border);
}

.phrase-en {
  margin: 0;
}

.phrase-note {
  color: var(--color-text-muted);
  font-size: 0.88em;
}

.phrase-hy {
  font-family: "Noto Sans Armenian", var(--font-body);
  font-size: 1.12rem;
  line-height: 1.45;
}

.phrase-latin {
  color: var(--color-text-muted);
  font-style: italic;
}

.phrase-explain {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
  color: var(--color-text-muted);
  font-size: 0.94em;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .phrase-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .phrase-explain {
    margin-top: 0.3rem;
  }
}

.callout {
  margin-bottom: 2rem;
}

.prose .info-box {
  margin-bottom: 0.85rem;
}

.bulletin {
  padding: 0.9rem 1rem 0.95rem 0.9rem;
  margin-bottom: 0;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-title);
  border-radius: 0 0.55rem 0.55rem 0;
}

.bulletin-stack {
  display: grid;
  gap: 0.65rem;
}

.bulletin-stack .bulletin {
  margin-bottom: 0;
}

.bulletin__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-title);
}

.bulletin p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.bulletin p:last-child {
  margin-bottom: 0;
}

.bulletin a {
  color: var(--color-title);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bulletin a:hover {
  color: var(--color-text);
}

.info-boxes {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.info-box {
  padding: 0.85rem 1rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
}

a.info-box {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.info-box:hover {
  border-color: var(--color-title);
}

a.info-box:hover .info-box__link {
  text-decoration: underline;
}

a.info-box:focus-visible {
  outline: 2px solid var(--color-title);
  outline-offset: 2px;
}

.info-box__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.info-box__title {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-box__logo {
  height: 1.25rem;
  width: auto;
  flex: 0 0 auto;
}

.info-box__logo--mark {
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 0.35rem;
  object-fit: cover;
}

.info-box__logo--wordmark {
  height: 2rem;
  width: auto;
}

.info-box__copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.info-box__link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-title);
}

.info-box__link:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .info-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.category-block {
  max-width: none;
  margin-bottom: 3.5rem;
}

.timeline-card + .timeline-card {
  margin-top: 1rem;
}

.day-timeline__stop {
  display: grid;
  grid-template-columns: var(--heading-icon-size) minmax(0, 1fr);
  column-gap: 1rem;
  position: relative;
  padding-bottom: 1.85rem;
}

.day-timeline__stop:last-child {
  padding-bottom: 0;
}

.day-timeline__stop:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--heading-icon-size) / 2);
  top: calc(var(--heading-icon-size) + 0.3rem);
  bottom: 0;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.day-timeline__marker {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
}

.day-timeline__body .timeline-title {
  margin-bottom: 0.65rem;
}

.day-timeline__body .timeline-meta {
  margin-bottom: 0.65rem;
}

.day-timeline__body .timeline-meta:last-child,
.day-timeline__body .muted:last-child {
  margin-bottom: 0;
}

.day-timeline__body a {
  color: var(--color-title);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.day-timeline__body a:hover {
  color: var(--color-text);
}

.timeline-day {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.timeline-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.wedding-help {
  width: 100%;
  max-width: var(--content-width);
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.wedding-help .timeline-title {
  margin-bottom: 0.45rem;
}

.wedding-help p {
  margin: 0;
}

.wedding-help a {
  color: var(--color-title);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wedding-help a:hover {
  color: var(--color-text);
}

.timeline-meta {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1rem;
}

.timeline-meta dt {
  margin: 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-meta dd {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.contact-phone {
  margin: 0 0 0.35rem;
}

.contact-phone a {
  color: var(--color-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.contact-phone a:hover {
  text-decoration: underline;
}

.login-page {
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.login-logo {
  width: min(16rem, 70vw);
  margin-bottom: 1.5rem;
}

.login-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.login-lede,
.login-error {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.login-error {
  color: var(--color-error);
}

.login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(22rem, 100%);
}

.login-input {
  width: 100%;
  padding: 0.75rem 0.4rem;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font: inherit;
  text-align: center;
  letter-spacing: 0.16em;
}

.login-input:focus {
  outline: none;
  border-bottom-color: var(--color-text);
}

.site-footer {
  padding: 2rem var(--page-pad) 2.5rem;
  border-top: 1px solid var(--color-border);
}

.site-footer__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.footer-nav a:hover {
  color: var(--color-text);
}

.footer-copy {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-copy a:hover {
  color: var(--color-text);
}

.credit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.credit {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  scroll-margin-top: 5rem;
}

.credit img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.credit h2 {
  margin: 0 0 0.3rem;
  font-family: Lora, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.credit p {
  margin: 0 0 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.credit__line {
  color: var(--color-text);
}

.credit__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.credit__links a {
  color: var(--color-text);
}

@media (max-width: 640px) {
  .credit {
    grid-template-columns: 1fr;
  }

  .credit img {
    width: 9.5rem;
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: auto;
    width: max-content;
    min-width: 11.5rem;
    max-width: min(18rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.45rem;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    z-index: 21;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
  }

  .site-nav .nav-link:hover {
    background: color-mix(in srgb, var(--color-text) 8%, transparent);
  }

  .site-nav .nav-link.is-active {
    background: color-mix(in srgb, var(--color-title) 16%, transparent);
    color: var(--color-title);
  }
}

.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    filter 0.15s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 880px) {
  .back-to-top {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    min-height: 2.75rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.78rem;
  }
}
