/* ==========================================================================
   Template 1 — Modern wedding invitation
   Fonts: Cormorant Garamond (display serif), Great Vibes (script), Jost (sans)
   Theme colors come in via CSS custom properties set in the <head>.
   ========================================================================== */

:root {
  --accent: #c9a9a6;
  --accent-2: #a3b899;
  --ink: #2e2a26;
  --muted: #8b847c;
  --paper: #faf7f3;
  --card: #ffffff;
  --line: #e9e2d9;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
}
.site-nav .monogram {
  font-family: var(--font-script);
  font-size: 28px;
  color: #fff;
  transition: color .35s ease;
  line-height: 1;
}
.site-nav .nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px rgba(46, 42, 38, .08);
  padding: 10px 0;
}
.site-nav.scrolled .monogram { color: var(--accent); }
.site-nav.scrolled .nav-links a { color: var(--ink); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active {
  color: var(--accent);
  background: rgba(0, 0, 0, .045);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.site-nav.scrolled .nav-toggle span,
.site-nav.menu-open .nav-toggle span { background: var(--ink); }
.site-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .site-nav .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 32px rgba(46, 42, 38, .12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .site-nav.menu-open { background: rgba(255, 255, 255, .97); }
  .site-nav.menu-open .monogram { color: var(--accent); }
  .site-nav.menu-open .nav-links { max-height: 420px; }
  .site-nav .nav-links a { color: var(--ink); padding: 14px 28px; border-radius: 0; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  isolation: isolate;
  padding: 110px 20px 90px;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20, 16, 14, .45), rgba(20, 16, 14, .25) 45%, rgba(20, 16, 14, .55));
}
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: .45em;
  text-transform: uppercase;
  margin: 0 0 18px;
  opacity: .92;
}
.hero .names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 124px);
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero .names .amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .55em;
  vertical-align: middle;
  opacity: .85;
  margin: 0 .15em;
}
.hero .hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 26px auto 22px;
}
.hero .hero-divider::before,
.hero .hero-divider::after {
  content: "";
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, .6);
}
.hero .hero-divider svg { width: 18px; height: 18px; fill: #fff; opacity: .9; }
.hero .date {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0;
}
.hero .place {
  font-size: 14px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin: 10px 0 0;
  opacity: .85;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 26px);
  margin-top: 44px;
}
.countdown .unit {
  min-width: clamp(64px, 9vw, 92px);
  padding: 14px 8px 12px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.countdown .num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4.5vw, 40px);
  line-height: 1;
}
.countdown .label {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .85;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: #fff;
  opacity: .85;
}
.scroll-cue svg { width: 26px; height: 26px; fill: currentColor; animation: cue-bounce 2.2s infinite; }
@keyframes cue-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

@media (max-width: 767px) {
  .hero {
    --mobile-hero-image-height: calc(100vw * 2 / 3);
    --mobile-hero-fade-height: clamp(100px, 28vw, 160px);
    min-height: auto;
    align-items: flex-start;
    color: var(--ink);
    padding: calc(var(--mobile-hero-image-height) - 20px) 16px 0;
  }
  .hero-media {
    height: var(--mobile-hero-image-height);
    inset: 0 0 auto;
  }
  .hero::after {
    background: linear-gradient(
      to bottom,
      transparent calc(var(--mobile-hero-image-height) - var(--mobile-hero-fade-height)),
      color-mix(in srgb, var(--paper) 35%, transparent) calc(var(--mobile-hero-image-height) - var(--mobile-hero-fade-height) * .6),
      color-mix(in srgb, var(--paper) 85%, transparent) calc(var(--mobile-hero-image-height) - var(--mobile-hero-fade-height) * .25),
      var(--paper) var(--mobile-hero-image-height),
      var(--paper) 100%
    );
  }
  .hero-content { width: 100%; }
  .hero .eyebrow {
    color: var(--accent);
    margin-bottom: 12px;
  }
  .hero .names {
    color: var(--accent);
    font-size: clamp(48px, 13vw, 72px);
    text-shadow: none;
    overflow-wrap: anywhere;
  }
  .hero .hero-divider { margin: 18px auto 14px; }
  .hero .hero-divider::before,
  .hero .hero-divider::after {
    background: color-mix(in srgb, var(--accent) 45%, transparent);
  }
  .hero .hero-divider svg { fill: var(--accent); }
  .hero .date,
  .hero .place { color: var(--muted); }
  .hero .countdown {
    gap: clamp(6px, 2.5vw, 12px);
    margin-top: 24px;
    color: var(--accent);
  }
  .hero .countdown .unit {
    min-width: 0;
    max-width: 92px;
    flex: 1;
    padding: 12px 4px 10px;
    border: 0;
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero .countdown .label { letter-spacing: .18em; }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section.alt { background: var(--card); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 7vw, 72px); }
.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.section-head .lead { color: var(--muted); margin: 0; font-size: clamp(20px, 2vw, 24px); }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 16px;
}
.ornament::before,
.ornament::after {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--line);
}
.ornament svg { width: 16px; height: 16px; fill: var(--accent); }

/* --------------------------------------------------------------------------
   Couple
   -------------------------------------------------------------------------- */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
.couple-card { text-align: center; }
.couple-card .portrait {
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  margin: 0 auto 26px;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(46, 42, 38, .14);
  border: 6px solid var(--card);
}
.couple-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.couple-card h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 48px);
  color: var(--accent);
  margin: 0 0 10px;
  line-height: 1.2;
}
.couple-card p { color: var(--muted); margin: 0 auto; max-width: 360px; }

.couple-heart {
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(46, 42, 38, .12);
}
.couple-heart svg { width: 26px; height: 26px; fill: var(--accent); }

@media (max-width: 760px) {
  .couple-grid { grid-template-columns: 1fr; }
  .couple-heart { margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   Schedule / events
   -------------------------------------------------------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 3.5vw, 36px);
  max-width: 1020px;
  margin: 0 auto;
}
.event-card {
  background: var(--card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(46, 42, 38, .1);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(46, 42, 38, .16);
}
.event-card .event-media { position: relative; }
.event-card .event-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.event-card .event-time {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(46, 42, 38, .2);
}
.event-card .event-body {
  padding: 42px 26px 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card .event-kind {
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.event-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 10px;
  line-height: 1.25;
}
.event-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* --------------------------------------------------------------------------
   Important people
   -------------------------------------------------------------------------- */
.people-group { max-width: 980px; margin: 0 auto clamp(40px, 6vw, 64px); }
.people-group:last-child { margin-bottom: 0; }
.people-group .group-title {
  text-align: center;
  margin: 0 0 30px;
}
.people-group .group-title h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 42px);
  color: var(--accent);
  margin: 0;
  line-height: 1.25;
}
.people-group .group-title .sub {
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
}
.people-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
}
.families-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}
.families-grid .people-group {
  width: 100%;
  margin-bottom: 0;
}
.families-grid .person {
  width: 100%;
}
.person {
  text-align: center;
  width: min(360px, 100%);
}
.person .avatar {
  width: 132px;
  height: 132px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--card);
  box-shadow: 0 14px 30px rgba(46, 42, 38, .14);
}
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 4px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.person .role {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}

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

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.story-introduction {
  max-width: 720px;
  margin: clamp(36px, 6vw, 64px) auto 0;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--muted);
  text-align: center;
}

.story-gallery { margin: clamp(32px, 5vw, 48px) 0 0; scroll-margin-top: 88px; }

.gallery-grid {
  columns: 3;
  column-gap: 18px;
  max-width: 1020px;
  margin: 0 auto;
}
.gallery-grid a {
  display: block;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  break-inside: avoid;
}
.gallery-grid img {
  width: 100%;
  transition: transform .6s ease;
}
.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 38, 0);
  transition: background .35s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a:hover::after { background: rgba(46, 42, 38, .22); }

@media (max-width: 880px) { .gallery-grid { columns: 2; } }
@media (max-width: 540px) { .gallery-grid { columns: 2; column-gap: 12px; } .gallery-grid a { margin-bottom: 12px; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 14, .92);
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   RSVP
   -------------------------------------------------------------------------- */
.rsvp-section {
  position: relative;
  isolation: isolate;
  background: var(--card);
}
.rsvp-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(46, 42, 38, .12);
  padding: clamp(32px, 6vw, 56px);
}
.rsvp-card .greeting {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 8px;
}
.rsvp-card .greeting strong { color: var(--ink); font-style: normal; }
.rsvp-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
}
.rsvp-deadline svg { width: 15px; height: 15px; fill: var(--accent); flex-shrink: 0; }

.flash {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  margin-bottom: 20px;
}
.flash.notice { background: #eef6ee; color: #2f5d36; border: 1px solid #d3e8d4; }
.flash.alert { background: #fbeeee; color: #7c3434; border: 1px solid #f0d4d4; }

.rsvp-closed {
  text-align: center;
  background: #fdf6e7;
  border: 1px solid #f0e1bd;
  color: #7a6230;
  border-radius: 16px;
  padding: 22px;
}

.attending-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
.attending-toggle label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 12px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
  cursor: pointer;
  color: var(--muted);
  background: var(--paper);
  transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  user-select: none;
}
.attending-toggle label svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.attending-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.attending-toggle label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.attending-toggle label.selected-yes {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 25%, transparent);
}
.attending-toggle label.selected-no {
  border-color: #b9b3ab;
  background: #f3f1ee;
  color: #6f6961;
}

.rsvp-form .field { margin-bottom: 16px; }
.rsvp-form input[type="text"],
.rsvp-form input[type="email"],
.rsvp-form input[type="number"],
.rsvp-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.rsvp-form input:focus,
.rsvp-form textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.rsvp-form ::placeholder { color: #b4ada4; }
.rsvp-form textarea { resize: vertical; min-height: 96px; }

.rsvp-form .submit-btn {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 17px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(115deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent-2)));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.rsvp-form .submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--accent) 46%, transparent);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  text-align: center;
  padding: clamp(56px, 8vw, 88px) 0 36px;
}
.site-footer .names {
  font-family: var(--font-script);
  font-size: clamp(38px, 6vw, 54px);
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}
.site-footer .date {
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin: 0 0 26px;
  opacity: .75;
}
.site-footer .thanks {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 19px;
  margin: 0 0 34px;
  opacity: .85;
}
.site-footer .credit { font-size: 12px; letter-spacing: .08em; opacity: .45; margin: 0; }
.site-footer .heart-divider { margin: 0 auto 26px; }
.site-footer .heart-divider::before,
.site-footer .heart-divider::after { background: rgba(255, 255, 255, .25); }
.site-footer .heart-divider svg { fill: rgba(255, 255, 255, .8); }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(46, 42, 38, .25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top svg { width: 18px; height: 18px; fill: currentColor; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
