@font-face {
  font-family: "Newsreader";
  src: url("assets/newsreader-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #34463c;
  --forest: #566d58;
  --deep: #2f4a3a;
  --tide: #cfe2e4;
  --foam: #fbf7ef;
  --paper: #f7f1e5;
  --paper-deep: #eee5d7;
  --white: #fffaf2;
  --clay: #c78b6d;
  --sun: #b49a65;
  --sage: #8fa384;
  --sage-light: #cdd8c7;
  --sage-mist: #e8eee4;
  --water: #dcebea;
  --line: rgba(52, 70, 60, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page: min(1280px, calc(100vw - 112px));
  --edge: max(56px, calc((100vw - 1320px) / 2));
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 20%, rgba(112, 91, 61, .035) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 66%, rgba(72, 104, 84, .025) 0 1px, transparent 1.7px);
  background-size: 13px 17px, 19px 23px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--deep);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.model-banner {
  position: fixed;
  z-index: 500;
  inset: 0 0 auto;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--foam);
  background: rgba(86, 109, 88, .94);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.model-banner i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.bilingual-badge {
  padding: 5px 10px 4px;
  color: var(--deep);
  background: var(--foam);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.site-header {
  position: fixed;
  z-index: 400;
  top: 34px;
  left: 0;
  width: 100%;
  height: 80px;
  display: grid;
  grid-template-columns: 112px 1fr 210px;
  align-items: center;
  padding: 0 max(32px, calc((100vw - 1440px) / 2));
  color: var(--ink);
  background: rgba(247, 241, 229, .76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 53, 47, .2);
  transition: color .35s ease, background .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  color: var(--deep);
  background: rgba(247, 241, 229, .96);
  box-shadow: 0 12px 30px rgba(47, 74, 58, .08);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(23, 36, 33, .1);
}

.monogram {
  position: relative;
  width: 104px;
  height: 46px;
  overflow: hidden;
  text-decoration: none;
}

.monogram-image {
  position: absolute;
  inset: 0;
  display: block;
  background: url("assets/monograma-mp-transparente.png") center / contain no-repeat;
  filter: brightness(.72) saturate(.78);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 36px);
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-toggle {
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 206px;
  padding: 3px;
  color: var(--deep);
  background: rgba(247, 241, 229, .88);
  border: 1px solid rgba(47, 74, 58, .38);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
}

.language-toggle span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 7px 8px 6px;
  opacity: .7;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}

.language-toggle b {
  font-size: 10px;
}

.language-toggle small {
  font-size: 7px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.language-toggle .is-current {
  color: var(--foam);
  background: var(--deep);
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  place-items: start center;
  min-height: max(820px, 100svh);
  padding: 138px var(--edge) 110px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/save-the-date-aquarela-trancoso.png") center 55% / cover no-repeat;
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 14%, rgba(255, 253, 247, .24), transparent 38%),
    linear-gradient(180deg, rgba(255, 253, 247, .08), transparent 58%, rgba(52, 70, 60, .04));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  max-width: 680px;
  text-align: center;
}

.hero-monogram-mark {
  width: clamp(220px, 23vw, 292px);
  height: clamp(100px, 10.5vw, 132px);
  margin: 0 auto 9px;
  overflow: hidden;
  background: url("assets/monograma-mp-transparente.png") center / contain no-repeat;
  filter: brightness(.75) saturate(.78);
}

.hero-place,
.section-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-place {
  margin-bottom: 2px;
  color: var(--muted, #69756a);
}

.hero h1 {
  display: grid;
  justify-items: center;
  margin: 0 0 17px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.4vw, 78px);
  font-weight: 390;
  letter-spacing: -.025em;
  line-height: .72;
}

.hero h1 .hero-name {
  color: var(--ink);
}

.hero h1 .hero-ampersand {
  display: block;
  margin: 14px 0 17px;
  color: var(--sage);
  font-size: .48em;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
}

.hero-invite {
  max-width: 430px;
  margin: 0 auto;
  color: #5d6c61;
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 350;
  line-height: 1.5;
}

.hero-date {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
  text-align: center;
}

.hero-date time {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2em;
}

.hero-date span {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: var(--edge);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-scroll svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform .25s ease;
}

.hero-scroll:hover svg {
  transform: translateY(5px);
}

.section {
  position: relative;
  padding: 128px 0;
}

.section-intro h2,
.beauty-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 4.7vw, 68px);
  font-weight: 390;
  letter-spacing: -.035em;
  line-height: 1;
}

.section-intro > p:last-child {
  max-width: 650px;
  margin: 28px 0 0;
}

.story {
  display: grid;
  grid-template-columns: minmax(80px, .55fr) minmax(320px, .9fr) minmax(360px, 1fr);
  grid-template-rows: auto auto;
  gap: 70px clamp(40px, 7vw, 120px);
  width: var(--page);
  margin-inline: auto;
  min-height: 1100px;
  padding-bottom: 190px;
}

.story::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -16vw;
  bottom: 40px;
  width: 430px;
  height: 645px;
  background: url("assets/convite-aquarela-trancoso.png") center bottom / cover no-repeat;
  opacity: .055;
  pointer-events: none;
}

.story-intro {
  position: relative;
  z-index: 2;
  grid-column: 2 / 4;
  max-width: 900px;
}

.story-intro h2 {
  max-width: 880px;
}

.story-figure {
  position: relative;
  z-index: 2;
  grid-column: 1 / 3;
  margin: 0;
}

.story-figure img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
  clip-path: polygon(1% 0, 99% 1%, 100% 98%, 2% 100%);
}

.story-figure figcaption {
  max-width: 340px;
  margin: 16px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-copy {
  position: relative;
  z-index: 2;
  grid-column: 3;
  align-self: center;
  padding-right: clamp(0px, 3vw, 50px);
  font-size: 17px;
}

.story-copy p {
  margin: 0 0 28px;
}

.story-signature {
  margin-top: 70px;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 390;
  letter-spacing: -.02em;
  line-height: 1;
}

.section-dark {
  color: var(--ink);
  background: var(--sage-light);
}

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px 110px;
  padding-right: var(--edge);
  padding-left: var(--edge);
  overflow: hidden;
}

.schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/padrao-coqueiros.png") center / 760px auto repeat;
  opacity: .1;
  pointer-events: none;
}

.schedule > * {
  position: relative;
  z-index: 1;
}

.schedule-intro {
  grid-column: 1;
}

.schedule-intro .section-kicker {
  color: var(--deep);
}

.schedule-list {
  grid-column: 2;
  grid-row: 1 / 3;
  padding-top: 80px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
  padding: 36px 0 42px;
  border-top: 1px solid rgba(52, 70, 60, .2);
}

.schedule-item:last-child {
  border-bottom: 1px solid rgba(52, 70, 60, .2);
}

.schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 92px;
  color: var(--deep);
  background: rgba(247, 241, 229, .82);
  border: 1px solid rgba(80, 102, 80, .24);
  border-radius: 50%;
}

.schedule-date strong {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: .9;
}

.schedule-date span {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.schedule-time,
.schedule-item h3,
.schedule-item p {
  margin-top: 0;
}

.schedule-time {
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.schedule-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 390;
  line-height: 1.05;
}

.schedule-item p:last-child {
  margin-bottom: 0;
  color: rgba(52, 70, 60, .78);
  font-size: 14px;
}

.schedule-image {
  grid-column: 1;
  align-self: end;
  margin: 0;
}

.schedule-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.schedule-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  color: rgba(52, 70, 60, .72);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.schedule-image figcaption b {
  color: var(--ink);
  font-weight: 600;
}

.stay {
  width: var(--page);
  margin-inline: auto;
}

.stay-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 100px;
  align-items: end;
}

.stay-intro .section-kicker,
.stay-intro h2 {
  grid-column: 1;
}

.stay-intro h2 {
  max-width: 760px;
}

.stay-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: end;
  margin: 0;
}

.stay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stay-card {
  position: relative;
  min-height: 410px;
  padding: 42px 40px 38px;
  border-right: 1px solid var(--line);
  transition: color .35s ease, background .35s ease;
}

.stay-card:last-child {
  border-right: 0;
}

.stay-card:hover {
  color: var(--foam);
  background: var(--forest);
}

.stay-number,
.stay-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.stay-number {
  display: block;
  margin-bottom: 68px;
  color: var(--clay);
}

.stay-type {
  margin: 0 0 12px;
  opacity: .68;
}

.stay-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 390;
  line-height: 1.05;
}

.stay-card > p:last-of-type {
  margin: 0 0 32px;
  font-size: 14px;
}

.stay-card a {
  position: absolute;
  right: 40px;
  bottom: 34px;
  left: 40px;
  width: fit-content;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.stay-card a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.travel-note {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 38px;
  max-width: 780px;
  margin: 90px auto 0;
  padding: 34px 42px;
  color: var(--deep);
  background: var(--sage-mist);
}

.travel-icon {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  text-align: center;
  border: 1px solid rgba(13, 43, 45, .25);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.1;
}

.travel-icon span {
  color: var(--clay);
}

.travel-note h3 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.travel-note p {
  margin: 0;
  font-size: 14px;
}

.beauty {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  padding-right: var(--edge);
  padding-left: var(--edge);
  overflow: hidden;
  color: var(--ink);
  background: var(--water);
}

.beauty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/save-the-date-aquarela-trancoso.png") center bottom / cover no-repeat;
  opacity: .16;
  pointer-events: none;
}

.beauty > * {
  position: relative;
  z-index: 1;
}

.beauty-heading {
  position: sticky;
  top: 150px;
  align-self: start;
}

.beauty-heading h2 {
  color: var(--deep);
}

.beauty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.beauty-lead,
.beauty-tip {
  min-height: 300px;
  padding: 34px;
  background: rgba(247, 241, 229, .92);
}

.beauty-lead {
  grid-column: 1 / 3;
  min-height: 320px;
  background: rgba(143, 163, 132, .9);
}

.beauty-index {
  margin: 0 0 56px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.beauty-lead h3,
.beauty-tip h3 {
  max-width: 440px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 390;
  line-height: 1;
}

.beauty-lead p:last-child,
.beauty-tip p:last-child {
  margin: 0;
  font-size: 14px;
}

.beauty-note {
  grid-column: 2;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.restaurants {
  width: var(--page);
  margin-inline: auto;
}

.restaurants-intro h2 {
  max-width: 820px;
}

.restaurant-list {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}

.restaurant-item {
  position: relative;
  display: grid;
  grid-template-columns: .65fr 1fr 1.3fr 60px;
  gap: 36px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s var(--ease), color .3s ease;
}

.restaurant-item:hover {
  padding-right: 20px;
  padding-left: 20px;
  color: var(--foam);
  background: var(--forest);
}

.restaurant-meta {
  display: flex;
  flex-direction: column;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.restaurant-meta span:last-child {
  margin-top: 5px;
  opacity: .58;
}

.restaurant-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 390;
  line-height: 1;
}

.restaurant-item p {
  margin: 0;
  font-size: 14px;
}

.restaurant-item > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
}

.external-note {
  margin: 18px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
}

.gifts {
  padding-right: var(--edge);
  padding-left: var(--edge);
  overflow: hidden;
  background: var(--sage-mist);
}

.gifts::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 760px;
  height: 760px;
  background: url("assets/elementos-tropicais.png") center / contain no-repeat;
  opacity: .18;
  pointer-events: none;
}

.gifts > * {
  position: relative;
  z-index: 1;
}

.gifts-intro {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 80px;
  align-items: end;
}

.gifts-intro .section-kicker,
.gifts-intro h2 {
  grid-column: 1;
}

.gifts-intro .section-kicker {
  color: var(--deep);
}

.gifts-intro > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 90px;
}

.gift-card {
  padding: 18px 18px 24px;
  color: var(--deep);
  background: var(--foam);
}

.gift-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  margin-bottom: 26px;
  overflow: hidden;
  background-color: var(--sage-mist);
  background-repeat: no-repeat;
}

.gift-art-breakfast,
.gift-art-dinner {
  background-image: url("assets/elementos-tropicais.png");
  background-size: 245% auto;
}

.gift-art-breakfast {
  background-position: 16% 48%;
}

.gift-art-dinner {
  background-color: #f3d8cd;
  background-position: 86% 42%;
}

.gift-art-boat,
.gift-art-stay {
  background-image: url("assets/aquarela-trancoso.webp");
  background-size: cover;
}

.gift-art-boat {
  background-position: 12% center;
}

.gift-art-stay {
  background-position: 88% center;
}

.gift-card h3 {
  min-height: 64px;
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 390;
  line-height: 1.05;
}

.gift-card > p {
  margin: 0 0 20px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
}

.gift-card button {
  width: 100%;
  padding: 13px 12px;
  color: var(--foam);
  background: var(--deep);
  border: 1px solid var(--deep);
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}

.gift-card button:hover {
  color: var(--deep);
  background: transparent;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 60px;
  padding: 100px var(--edge) 48px;
  color: var(--deep);
  background: var(--sage-light);
}

.footer-identity {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.footer-monogram {
  width: 126px;
  height: 58px;
  flex: 0 0 auto;
  background: url("assets/monograma-mp-transparente.png") center / contain no-repeat;
  filter: brightness(.72) saturate(.78);
}

.footer-names {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 390;
  letter-spacing: -.035em;
  line-height: 1;
}

.footer-names span {
  color: var(--forest);
}

.site-footer > p {
  margin: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.7;
  text-transform: uppercase;
}

.footer-model {
  justify-self: end;
  max-width: 300px;
  text-align: right;
}

.footer-model strong,
.footer-model span {
  display: block;
}

.footer-model strong {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.footer-model span {
  font-size: 11px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 16px 20px;
  color: var(--foam);
  background: var(--deep);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
  font-size: 13px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  :root {
    --page: calc(100vw - 64px);
    --edge: 32px;
  }

  .site-header {
    grid-template-columns: 80px 1fr 180px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .language-toggle {
    width: 176px;
  }

  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 8px;
  }

  .story {
    grid-template-columns: .15fr .9fr 1fr;
    gap: 60px;
  }

  .schedule,
  .beauty {
    gap: 60px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-card h3 {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100vw - 40px);
    --edge: 20px;
  }

  html {
    scroll-padding-top: 96px;
  }

  .model-banner {
    height: 28px;
    gap: 8px;
    font-size: 8px;
  }

  .site-header {
    top: 28px;
    height: 68px;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
    padding: 0 20px;
  }

  .language-toggle {
    width: 104px;
  }

  .language-toggle span {
    padding: 8px 7px 7px;
  }

  .language-toggle small {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .menu-toggle b,
  .menu-toggle b::before {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .menu-toggle b {
    position: relative;
  }

  .menu-toggle b::before {
    content: "";
    position: absolute;
    top: 5px;
  }

  .menu-toggle[aria-expanded="true"] b {
    transform: translateY(2px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] b::before {
    transform: translateY(-5px) rotate(90deg);
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 96px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 34px 26px 70px;
    color: var(--deep);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-18px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
    font-family: var(--serif);
    font-size: clamp(34px, 9vw, 52px);
    font-weight: 440;
    letter-spacing: -.03em;
    line-height: 1;
    text-transform: none;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: max(780px, 100svh);
    padding: 118px 20px 48px;
  }

  .hero::before {
    background-position: 50% 58%;
    opacity: 1;
  }

  .hero-copy {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    max-width: none;
    margin-top: 0;
    text-align: center;
    transform: none;
  }

  .hero-monogram-mark {
    width: min(68vw, 240px);
    height: 108px;
    margin-bottom: 7px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 58px);
  }

  .hero-invite {
    max-width: 430px;
    font-size: 15px;
  }

  .hero-date {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .section-intro h2,
  .beauty-heading h2 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .story {
    display: block;
    width: var(--page);
    min-height: 0;
    padding-bottom: 100px;
  }

  .story-figure {
    width: 86%;
    margin: 56px 0 44px auto;
  }

  .story-copy {
    max-width: 540px;
    padding: 0 14px;
  }

  .story-signature {
    margin-top: 45px;
  }

  .schedule {
    display: block;
    padding-right: 20px;
    padding-left: 20px;
  }

  .schedule-list {
    padding-top: 60px;
  }

  .schedule-image {
    margin-top: 70px;
  }

  .schedule-image figcaption {
    flex-direction: column;
    gap: 5px;
  }

  .stay-intro,
  .gifts-intro {
    display: block;
  }

  .stay-intro > p:last-child,
  .gifts-intro > p:last-child {
    margin-top: 28px;
  }

  .stay-grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .stay-card {
    min-height: 350px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .travel-note {
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 26px 22px;
  }

  .travel-icon {
    width: 74px;
    height: 74px;
    font-size: 10px;
  }

  .beauty {
    display: block;
    padding-right: 20px;
    padding-left: 20px;
  }

  .beauty-heading {
    position: static;
    margin-bottom: 55px;
  }

  .beauty-note {
    margin-top: 18px;
  }

  .restaurant-item {
    grid-template-columns: 1fr 50px;
    gap: 14px 20px;
  }

  .restaurant-meta,
  .restaurant-item h3,
  .restaurant-item p {
    grid-column: 1;
  }

  .restaurant-item > a {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .gifts {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 55px 25px;
    padding: 75px 20px 35px;
  }

  .footer-names {
    grid-column: 1 / 3;
  }

  .site-footer > p {
    text-align: left;
  }

  .footer-model {
    text-align: right;
  }
}

@media (max-width: 560px) {
  .model-fictional,
  .model-dot-secondary {
    display: none;
  }

  .hero-place {
    margin-bottom: 0;
  }

  .hero-invite {
    max-width: 320px;
  }

  .hero-date {
    flex-direction: column;
    gap: 4px;
  }

  .schedule-item {
    grid-template-columns: 66px 1fr;
    gap: 20px;
  }

  .schedule-date {
    width: 64px;
    height: 74px;
  }

  .schedule-date strong {
    font-size: 30px;
  }

  .schedule-item h3 {
    font-size: 28px;
  }

  .stay-card {
    padding-right: 24px;
    padding-left: 24px;
  }

  .stay-card a {
    right: 24px;
    left: 24px;
  }

  .travel-note {
    display: block;
  }

  .travel-icon {
    margin-bottom: 20px;
  }

  .beauty-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .beauty-lead {
    grid-column: 1;
  }

  .beauty-lead,
  .beauty-tip {
    min-height: 270px;
  }

  .beauty-index {
    margin-bottom: 40px;
  }

  .gift-art {
    height: 300px;
  }

  .site-footer {
    display: block;
  }

  .footer-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer > p,
  .footer-model {
    margin-top: 48px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
