:root {
  --pink: #f14e95;
  --pink-deep: #c9306f;
  --ink: #1f1f1f;
  --text: #4d4d4d;
  --muted: #828282;
  --line: #e6e6e6;
  --tint: #f5f5f5;
  --measure: 42rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

img { max-width: 100%; }

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

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

.script,
.brand,
.brand-footer {
  font-family: Sacramento, cursive;
  font-weight: 400;
}

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.plain .site-header {
  position: static;
  border-bottom: 1px solid var(--line);
  max-width: none;
}

.brand {
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  text-decoration: none;
}

.brand span { color: var(--pink); }

.plain .brand { color: var(--ink); }

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.plain .site-header nav a { color: var(--text); }

.site-header nav a:hover { color: var(--pink); }

/* Hero */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 7rem 1.5rem 4rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after,
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
}

.hero,
.photo { isolation: isolate; }

.hero h1 {
  margin: 0;
  font-family: Sacramento, cursive;
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 400;
  line-height: 1.1;
}

.hero-when {
  margin: 0.5rem 0 2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-latest {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.hero-latest p { margin: 0; }

.hero-latest-label,
.hero-latest-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-latest .hero-latest-title {
  margin: 0.4rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.hero-latest-title a {
  color: #fff;
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
}

.hero-latest-title a:hover { color: var(--pink); }

.pill {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: #fff;
  color: var(--pink-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.pill:hover {
  background: var(--pink);
  color: #fff;
}

/* Sections */

.band {
  position: relative;
  scroll-margin-top: 1rem;
  padding: 5.5rem 1.5rem;
}

.tint { background: var(--tint); }

.heading {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.heading + .boxes + .heading,
.boxes + .heading { margin-top: 5rem; }

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.heading .script,
.page-title.script {
  margin: 0;
  color: var(--pink);
  font-size: clamp(3rem, 8vw, 4.25rem);
  line-height: 1.25;
}

.heading h3 {
  margin: 0.5rem 0 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 400;
}

.page-title {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
}

h3,
h4 {
  color: var(--ink);
  font-weight: 500;
}

/* Welcome */

.welcome {
  display: grid;
  grid-template-columns: 15rem minmax(0, var(--measure));
  gap: 3rem;
  justify-content: center;
  align-items: start;
}

.round {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.welcome p { margin: 0 0 1rem; }

.thanks {
  margin-top: 1.75rem !important;
  color: var(--pink);
  font-family: Sacramento, cursive;
  font-size: 2.5rem;
  line-height: 1;
}

.signature {
  display: block;
  width: 14rem;
  height: auto;
  margin-bottom: 0.5rem;
}

.names { color: var(--muted); }

/* Timeline */

.timeline {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4.5rem;
  width: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.timeline li:last-child { margin-bottom: 0; }

.timeline .round {
  position: relative;
  z-index: 1;
  width: 9rem;
  border: 6px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.card {
  padding: 1.75rem 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.card p { margin: 0 0 1rem; }

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

.date {
  margin: 0.25rem 0 1.25rem !important;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Boxes */

.photo {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
}

.photo .kicker { color: rgba(255, 255, 255, 0.75); }

.photo .heading .script { color: #fff; }

.boxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
}

.box {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  text-align: center;
}

.box h3 {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.box p { margin: 0; }

.light .box {
  border-color: var(--line);
  background: #fff;
}

.light .box h3 {
  border-bottom-color: var(--line);
  color: var(--ink);
}

/* Party */

.party {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.party .card h3 { margin-bottom: 1rem; }

.party .date { margin-bottom: 0.5rem !important; }

.date-aside {
  margin-left: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
}

.names-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 1.2rem;
}

/* Travel */

.paintings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto 3rem;
}

.paintings img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.prose {
  max-width: var(--measure);
  margin: 0 auto;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.5rem;
  font-size: 1.6rem;
}

.prose > h3:first-child,
.prose > h2:first-child { margin-top: 0; }

.prose h4 {
  margin: 1.75rem 0 0.25rem;
  color: var(--pink-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.prose p { margin: 0 0 1.1rem; }

.prose ul,
.prose ol { padding-left: 1.25rem; }

.prose li { margin: 0.4rem 0; }

.centered {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.centered .pill { margin-top: 1rem; }

/* Blog */

.posts {
  display: grid;
  gap: 1.25rem;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.posts .date { margin: 0 0 0.35rem !important; }

.posts h2 {
  margin: 0 0 0.6rem;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
}

.posts h2 a {
  color: var(--ink);
  text-decoration: none;
}

.posts h2 a:hover { color: var(--pink-deep); }

.more {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.post-body .back { margin-top: 2.5rem; }

/* Footer */

footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

footer p { margin: 0; }

.brand-footer {
  margin-bottom: 0.25rem !important;
  color: var(--pink);
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Small screens */

@media (max-width: 760px) {
  .site-header { justify-content: center; text-align: center; }

  .site-header ul { justify-content: center; }

  .band { padding: 4rem 1.25rem; }

  .welcome { grid-template-columns: 1fr; gap: 2rem; }

  .welcome .round { width: 12rem; justify-self: center; }

  .timeline::before { left: 50%; }

  .timeline li {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
  }

  .timeline .round { width: 7rem; }

  .timeline .card { justify-self: stretch; }

  .card { padding: 1.4rem 1.25rem; }

  .boxes,
  .party,
  .paintings { grid-template-columns: 1fr; }
}
