/* Lena & Rowan — published preview stylesheet. */
:root {
  --paper: #f1f7ee;
  --paper-soft: #e7efdf;
  --ink: #142c04;
  --olive: #0d2600;
  --moss: #708064;
  --cream: #ecfcca;
  --line: rgba(20, 44, 4, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  min-height: 74px;
  padding: 22px 50px 12px;
  background: rgba(241, 247, 238, 0.92);
  backdrop-filter: blur(14px);
}

.wordmark {
  font-family: "Gilda Display", Georgia, serif;
  font-size: 24px;
  line-height: 0.95;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: end;
  gap: 8px 72px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a {
  position: relative;
  width: max-content;
  padding-bottom: 4px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: var(--olive);
  color: var(--cream);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}

.section-soft {
  background: var(--paper);
}

.section-dark {
  background: var(--olive);
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  overflow: hidden;
  border-bottom: 98px solid var(--olive);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 760px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 84px;
  text-align: center;
}

.seal {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 7px currentColor;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.section-dark .seal {
  box-shadow: inset 0 0 0 5px var(--olive), inset 0 0 0 7px currentColor;
}

.hero h1,
.section-heading h2,
.story-heading h2,
.details-intro h2,
.countdown h2,
.schedule h2,
.rsvp-card h2,
.registry h2,
.journal-heading h2,
.site-footer h2 {
  margin: 0;
  font-family: "Gilda Display", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-top: 48px;
  font-size: 132px;
  line-height: 0.88;
}

.hero-date {
  margin: 64px 0 0;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-year {
  margin: 12px 0 32px;
  color: var(--moss);
  font-weight: 600;
  text-transform: uppercase;
}

.oval-button {
  position: relative;
  display: inline-flex;
  min-width: 184px;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.oval-button::after {
  position: absolute;
  inset: 6px -8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: rotate(-7deg);
  transition: transform 260ms ease;
}

.oval-button:hover,
.oval-button:focus-visible {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.oval-button:hover::after,
.oval-button:focus-visible::after {
  transform: rotate(5deg) scale(1.02);
}

.light-button:hover,
.light-button:focus-visible {
  background: var(--cream);
  color: var(--olive);
}

.micro-status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-photo {
  position: absolute;
  z-index: 1;
  width: 280px;
  height: 305px;
  filter: grayscale(1);
}

.hero-photo-left {
  top: 72px;
  left: 50px;
}

.hero-photo-right {
  right: 50px;
  bottom: 140px;
  width: 318px;
}

.couple {
  padding: 98px 50px 124px;
}

.section-mark {
  margin: 0 auto 48px;
}

.section-heading,
.story-heading,
.details-intro,
.journal-heading {
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: currentColor;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0.72;
  text-transform: uppercase;
}

.section-heading h2,
.story-heading h2,
.details-intro h2,
.schedule h2,
.rsvp-card h2,
.registry h2,
.journal-heading h2 {
  font-size: 86px;
  line-height: 0.98;
}

.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1220px;
  margin: 88px auto 0;
}

.person-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 34px;
  align-items: end;
}

.person-card-lower {
  margin-top: 110px;
}

.person-card img {
  height: 430px;
}

.person-card h3,
.story-card h3,
.detail-copy h3,
.schedule-list h3,
.registry-grid h3,
.journal-grid h3 {
  margin: 0 0 18px;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.person-card p,
.story-card p,
.detail-copy p,
.schedule-list p,
.registry-grid p,
.site-footer p {
  margin: 0;
}

.love-stats {
  display: flex;
  max-width: 970px;
  margin: 88px auto 0;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(236, 252, 202, 0.24);
  border-bottom: 1px solid rgba(236, 252, 202, 0.24);
  padding: 26px 0;
  text-transform: uppercase;
}

.love-stats strong {
  margin-right: 10px;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 44px;
  font-weight: 400;
}

.story {
  padding: 124px 50px 130px;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 54px;
  max-width: 1340px;
  margin: 96px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 92px;
}

.story-card {
  align-self: start;
}

.image-wrap {
  position: relative;
  overflow: hidden;
}

.image-wrap::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(13, 38, 0, 0), rgba(13, 38, 0, 0.74));
  content: "";
}

.image-wrap span {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 2;
  color: var(--cream);
  font-family: "Gilda Display", Georgia, serif;
  font-size: 30px;
  text-align: center;
}

.small-card .image-wrap,
.side-card .image-wrap {
  height: 320px;
}

.story-feature {
  align-self: center;
}

.story-feature img {
  height: 520px;
}

.story-feature p {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.36;
  text-transform: uppercase;
}

.story-card h3 {
  margin-top: 28px;
}

.side-card {
  margin-top: 460px;
}

.wide-card {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 46px;
  align-items: end;
  margin-top: -190px;
}

.wide-card .image-wrap {
  height: 420px;
}

.final-card {
  margin-top: 140px;
}

.final-card .image-wrap {
  height: 390px;
}

.details {
  padding: 92px 50px 78px;
  border-top: 1px solid var(--line);
}

.detail-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1180px;
  margin: 92px auto 0;
}

.detail-row-reverse {
  grid-template-columns: 1fr 0.8fr;
}

.detail-row-reverse .detail-copy {
  order: 2;
}

.detail-row img {
  height: 430px;
}

.detail-copy h3 {
  font-size: 70px;
}

.detail-copy p:not(.eyebrow) {
  max-width: 430px;
  color: rgba(20, 44, 4, 0.74);
  font-size: 18px;
}

.countdown {
  display: grid;
  min-height: 470px;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.countdown h2 {
  font-size: 128px;
  line-height: 0.88;
}

.countdown p {
  margin: 20px 0 0;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule-rsvp {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 80px;
  padding: 118px 50px 128px;
}

.schedule {
  max-width: 760px;
}

.schedule-list {
  display: grid;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(236, 252, 202, 0.24);
}

.schedule-list article {
  display: grid;
  grid-template-columns: 120px 220px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(236, 252, 202, 0.24);
}

.schedule-list span {
  font-family: "Gilda Display", Georgia, serif;
  font-size: 28px;
}

.schedule-list h3 {
  margin-bottom: 0;
  font-size: 30px;
}

.rsvp-card {
  align-self: start;
  padding: 44px;
  border: 1px solid rgba(236, 252, 202, 0.34);
  background: rgba(236, 252, 202, 0.04);
}

.rsvp-card h2 {
  margin-bottom: 36px;
  font-size: 70px;
}

.rsvp-card label {
  display: block;
  margin-bottom: 20px;
  color: rgba(236, 252, 202, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.rsvp-card input,
.rsvp-card select {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid rgba(236, 252, 202, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  padding: 12px 0;
  outline: none;
}

.rsvp-card select option {
  color: var(--ink);
}

.registry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  padding: 122px 50px;
  border-bottom: 1px solid var(--line);
}

.registry h2 {
  max-width: 640px;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-self: end;
  min-width: 0;
}

.registry-grid article {
  min-height: 260px;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 26px;
}

.registry-grid span {
  display: block;
  margin-bottom: 70px;
  font-family: "Gilda Display", Georgia, serif;
  font-size: 34px;
}

.journal {
  padding: 118px 50px 132px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1280px;
  margin: 82px auto 0;
}

.journal-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.journal-grid img {
  height: 360px;
  margin-bottom: 24px;
}

.journal-grid h3 {
  font-size: 34px;
}

.site-footer {
  padding: 100px 50px 110px;
  text-align: center;
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
}

.site-footer .seal {
  margin: 0 auto 44px;
}

.site-footer h2 {
  font-size: 112px;
  line-height: 0.9;
}

.site-footer p {
  max-width: 680px;
  margin: 38px auto 0;
  color: rgba(236, 252, 202, 0.82);
  font-size: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 38px;
  margin-top: 46px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 180px 1fr;
    padding-right: 28px;
    padding-left: 28px;
  }

  .nav-links {
    gap: 8px 34px;
  }

  .hero h1 {
    font-size: 96px;
  }

  .hero-photo-left {
    left: 28px;
    width: 220px;
    height: 260px;
  }

  .hero-photo-right {
    right: 28px;
    width: 260px;
    height: 280px;
  }

  .section-heading h2,
  .story-heading h2,
  .details-intro h2,
  .schedule h2,
  .registry h2,
  .journal-heading h2 {
    font-size: 64px;
  }

  .couple-grid,
  .story-layout,
  .schedule-rsvp,
  .registry,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .person-card-lower,
  .side-card,
  .final-card,
  .wide-card {
    margin-top: 0;
  }

  .story-layout {
    gap: 44px;
  }

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

  .detail-row,
  .detail-row-reverse {
    grid-template-columns: 1fr;
  }

  .detail-row-reverse .detail-copy {
    order: 0;
  }

  .schedule-rsvp {
    gap: 58px;
  }

  .schedule-list article {
    grid-template-columns: 110px 1fr;
  }

  .schedule-list p {
    grid-column: 2;
  }

  .registry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 14px;
  }

  .wordmark {
    font-size: 22px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding: 28px 22px 34px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    transform: translateY(-120%);
    transition: transform 260ms ease;
  }

  .menu-open .nav-links {
    transform: translateY(0);
  }

  .hero {
    min-height: auto;
    border-bottom-width: 0;
  }

  .hero-inner {
    min-height: 510px;
    padding: 56px 18px 64px;
  }

  .hero-photo {
    display: none;
  }

  .seal {
    width: 82px;
    height: 82px;
  }

  .hero h1 {
    margin-top: 38px;
    font-size: 56px;
  }

  .hero-date {
    margin-top: 38px;
    font-size: 28px;
  }

  .couple,
  .story,
  .details,
  .schedule-rsvp,
  .registry,
  .journal,
  .site-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .couple {
    padding-top: 54px;
  }

  .section-heading h2,
  .story-heading h2,
  .details-intro h2,
  .schedule h2,
  .registry h2,
  .journal-heading h2 {
    font-size: 48px;
  }

  .couple-grid {
    gap: 54px;
    margin-top: 54px;
  }

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

  .person-card img,
  .story-feature img,
  .detail-row img,
  .journal-grid img {
    height: 310px;
  }

  .love-stats {
    flex-direction: column;
    margin-top: 54px;
  }

  .story {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .story-layout {
    margin-top: 52px;
    padding-top: 52px;
  }

  .story-feature p {
    font-size: 20px;
  }

  .wide-card .image-wrap,
  .final-card .image-wrap,
  .small-card .image-wrap,
  .side-card .image-wrap {
    height: 300px;
  }

  .detail-row {
    gap: 34px;
    margin-top: 60px;
  }

  .detail-copy h3 {
    font-size: 48px;
  }

  .countdown {
    min-height: 300px;
    padding: 60px 18px;
  }

  .countdown h2 {
    font-size: 58px;
  }

  .schedule-rsvp {
    padding-top: 72px;
    padding-bottom: 82px;
  }

  .schedule-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .schedule-list p {
    grid-column: auto;
  }

  .rsvp-card {
    padding: 26px;
  }

  .rsvp-card h2 {
    font-size: 48px;
  }

  .registry-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .registry-grid span {
    margin-bottom: 34px;
  }

  .site-footer h2 {
    font-size: 58px;
  }

  .footer-links {
    flex-direction: column;
  }
}
