@font-face {
  font-family: "Italianno";
  src: url("assets/Italianno-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f5f1e7;
  --ink: #384332;
  --olive: #626e4b;
  --muted: #727466;
  --line: #d7d7c8;
  --light: #eceee4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.6' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}
h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 24px;
}
h3 {
  font-size: 23px;
}
.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 5%;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 11;
}
.monogram {
  font: 30px var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.monogram span {
  font-style: italic;
  font-size: 21px;
  margin: 0 5px;
  color: var(--olive);
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  text-decoration: none;
}
nav a:hover {
  color: #8b7550;
}
.nav-rsvp {
  border-bottom: 1px solid var(--olive);
}
.language {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.language button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 12px 5px;
}
.language button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero {
  min-height: 850px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  background: #f1ebdf;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 85px 20px 275px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(51px, 7vw, 92px);
  letter-spacing: -2px;
  margin: 25px 0 8px;
}
.hero h1 span {
  display: block;
  font-style: italic;
  font-size: 48px;
  line-height: 1.1;
  color: #899174;
  margin: 2px 0;
}
.script,
.signature {
  font-family: "Italianno", cursive;
  font-style: normal;
  font-size: 40px;
  font-weight: 400;
  color: var(--olive);
}
.hero .script {
  margin-bottom: 26px;
}
.date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 25px auto 12px;
}
.date span:first-child {
  font-family: var(--serif);
  font-size: 30px;
  border-right: 1px solid #a5ab95;
  padding-right: 18px;
}
.date span:last-child {
  font-size: 11px;
  letter-spacing: 3px;
}
.hero-place {
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.button {
  background: var(--olive);
  color: #fffdf4;
  border: 1px solid var(--olive);
  padding: 14px 28px;
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #465239;
  transform: translateY(-2px);
}
.landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 285px;
  opacity: 0.82;
  mask-image: linear-gradient(transparent, #000 28%);
}
.olive {
  position: absolute;
  width: 280px;
  height: 340px;
  top: 20px;
  opacity: 0.6;
  pointer-events: none;
}
.olive-left {
  left: -65px;
  transform: rotate(-25deg);
}
.olive-right {
  right: -65px;
  transform: scaleX(-1) rotate(-25deg);
}
.section {
  padding: 100px max(6%, calc((100% - 1160px) / 2));
  scroll-margin-top: 20px;
}
.narrow {
  text-align: center;
  padding-left: max(22px, calc((100% - 720px) / 2));
  padding-right: max(22px, calc((100% - 720px) / 2));
}
.intro {
  padding-top: 85px;
  padding-bottom: 85px;
}
.intro p:not(.eyebrow):not(.signature) {
  color: var(--muted);
}
.signature {
  margin: 30px 0 0;
  font-size: 39px;
}
.section-heading {
  text-align: center;
  margin-bottom: 55px;
}
.section-heading p:last-child {
  color: var(--muted);
}
.agenda-section {
  background: #ebede3;
  border-block: 1px solid var(--line);
}
.agenda {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 35px;
  margin-bottom: 40px;
}
.day {
  padding: 0 24px;
}
.day + .day {
  border-left: 1px solid #cdd0c0;
}
.day-date {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.day-date strong {
  font: 52px var(--serif);
  color: #7c8866;
}
.day-date span {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.9;
}
.day h3 {
  font-size: 29px;
  margin-bottom: 30px;
}
.event {
  position: relative;
  border-left: 1px solid #bfc6b0;
  padding: 0 0 25px 20px;
}
.event:before {
  content: "";
  position: absolute;
  top: 7px;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8b9679;
}
.event:last-child {
  padding-bottom: 0;
}
.event time {
  font-size: 9px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #606e4e;
}
.event h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  margin: 6px 0;
}
.event p {
  font-size: 12px;
  line-height: 1.8;
  color: #626b59;
  margin: 0;
}
.small {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.centered {
  text-align: center;
  margin-bottom: 0;
}
.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
}
.location-copy > .script {
  font-size: 36px;
  margin-top: -10px;
}
.location-copy p {
  font-size: 14px;
}
.location-copy .eyebrow {
  font-size: 10px;
}
.location-note {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.location-note h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.location-note .small {
  font-size: 11px;
}
.location-card {
  border: 1px solid #d1d3c4;
  padding: 12px;
  background: #f9f6ed;
}
.map {
  height: 355px;
  background: #dfe5d4;
  overflow: hidden;
}
.map-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  background: repeating-linear-gradient(
    30deg,
    transparent,
    transparent 65px,
    #cdd7c244 66px,
    #cdd7c244 85px
  );
}
.map-pin {
  font-size: 48px;
  line-height: 1.3;
}
.map-preview p {
  font: 28px var(--serif);
  margin: 5px 0;
}
.map-preview > span:not(.map-pin) {
  font-size: 12px;
}
.map-preview .button {
  margin: 23px 0 12px;
}
.map-preview small {
  font-size: 10px;
  max-width: 250px;
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.address {
  padding: 24px 15px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.address p {
  font-size: 12px;
  margin: 0;
}
.text-link {
  font-size: 11px;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.moments-section {
  padding-top: 40px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.photo {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}
.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: saturate(0.78);
  transition:
    filter 0.3s,
    transform 0.3s;
}
.photo:hover img {
  filter: saturate(1);
  transform: translateY(-4px);
}
.photo:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.photo:first-child img {
  aspect-ratio: 3/4;
  object-position: center;
}
.photo:nth-child(3) {
  margin-top: 35px;
}
.photo:nth-child(n + 5) img {
  aspect-ratio: 4/3;
}
.photo span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  display: block;
  padding: 8px 0;
  color: var(--muted);
}
.rsvp-section {
  background: var(--light);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  border-block: 1px solid var(--line);
}
.rsvp-copy > p:not(.eyebrow) {
  max-width: 370px;
}
.rsvp-olive {
  height: 170px;
  width: 200px;
  object-fit: contain;
  transform: rotate(40deg);
  opacity: 0.7;
  margin: 0 0 20px 30px;
}
.rsvp-form {
  background: #f8f6ee;
  border: 1px solid #d5d8c8;
  padding: 35px;
}
.rsvp-form > label,
.counts > label {
  display: block;
  margin-bottom: 20px;
}
label > span,
legend {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}
input:not([type="radio"]),
textarea,
select {
  width: 100%;
  background: transparent;
  border: 1px solid #bec6af;
  padding: 11px 12px;
  border-radius: 0;
  color: var(--ink);
  font-size: 14px;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus {
  background: #fffdf6;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
legend {
  padding: 0;
}
.attendance {
  display: flex;
  gap: 10px;
}
.attendance label {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bec6af;
  padding: 11px;
  flex: 1;
  cursor: pointer;
}
.attendance label:has(input:checked) {
  background: #e6eada;
  border-color: var(--olive);
}
.attendance span {
  margin: 0;
  font-size: 12px;
}
.attendance input {
  accent-color: var(--olive);
}
.counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rsvp-form .button {
  width: 100%;
}
.form-status {
  font-size: 13px;
  margin: 15px 0 0;
}
.form-status.error {
  color: #963b2f;
}
.form-status.success {
  color: #3d613c;
}
.bank-details {
  border-block: 1px solid var(--line);
  padding: 20px;
  margin: 35px auto 0;
  max-width: 420px;
}
.bank-details p {
  font-size: 13px;
  margin: 8px 0 0;
}
footer {
  text-align: center;
  padding: 55px 20px;
  background: #e4e8db;
}
footer .monogram {
  display: inline-block;
  margin-bottom: 20px;
}
footer .script {
  margin-bottom: 24px;
}
footer .eyebrow {
  font-size: 9px;
}
footer > a.small {
  text-decoration: none;
}
dialog {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  max-width: 90vw;
  max-height: 94vh;
}
dialog::backdrop {
  background: #182014dd;
}
dialog img {
  max-width: 80vw;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}
dialog p {
  margin: 8px 0 0;
  font: italic 17px var(--serif);
}
.lightbox-close {
  position: absolute;
  right: 22px;
  top: 22px;
  border: 0;
  background: var(--paper);
  font-size: 28px;
  width: 42px;
  height: 42px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--paper);
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.noscript {
  position: fixed;
  bottom: 0;
  background: #fff;
  padding: 15px;
  z-index: 20;
}
[hidden] {
  display: none !important;
}
.dashboard {
  max-width: 1250px;
  margin: auto;
  padding: 55px 25px;
}
.dashboard h1 {
  font-size: 44px;
}
.login-panel {
  max-width: 430px;
  margin: 50px auto;
  padding: 35px;
  border: 1px solid var(--line);
}
.login-panel .button {
  width: 100%;
  margin-top: 20px;
}
.dashboard-top,
.dashboard-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin: 30px 0;
}
.stat {
  border: 1px solid var(--line);
  padding: 20px;
}
.stat strong {
  display: block;
  font: 40px var(--serif);
}
.stat span {
  font-size: 12px;
}
.dashboard-tools {
  margin: 30px 0 20px;
}
.dashboard-tools input {
  flex: 1;
  min-width: 180px;
}
.dashboard-tools select {
  width: auto;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--light);
  white-space: nowrap;
}
td.message {
  min-width: 230px;
  max-width: 350px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
td {
  overflow-wrap: anywhere;
}
.dashboard-note {
  margin-top: 25px;
}
.landscape {
  object-fit: cover;
  object-position: center bottom;
}
.photo img {
  height: auto;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 950px;
  }
  .hero-content {
    padding-top: 110px;
  }
  .landscape {
    height: 340px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 18px;
  }
  .hero {
    min-height: 780px;
  }
  .hero-content {
    padding-top: 70px;
  }
  .olive {
    width: 200px;
    opacity: 0.4;
  }
  .agenda {
    gap: 15px;
  }
  .day {
    padding: 0 12px;
  }
  .section {
    padding: 70px 6%;
  }
  .location-section {
    gap: 35px;
  }
  .rsvp-section {
    gap: 35px;
  }
  .rsvp-form {
    padding: 25px;
  }
  .attendance {
    flex-direction: column;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .header {
    height: auto;
    min-height: 74px;
    padding: 15px 6%;
    gap: 12px;
    flex-wrap: wrap;
  }
  .monogram {
    font-size: 26px;
  }
  .header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    gap: 8px;
  }
  .header nav a {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero {
    min-height: 730px;
  }
  .hero-content {
    padding: 65px 18px 240px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero h1 span {
    font-size: 34px;
    margin: 8px 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero .script {
    font-size: 34px;
  }
  .hero-place {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .olive {
    width: 145px;
    top: -55px;
    opacity: 0.45;
  }
  .olive-left {
    left: -60px;
  }
  .olive-right {
    right: -60px;
  }
  .landscape {
    height: 230px;
  }
  .date span:first-child {
    font-size: 25px;
  }
  .date span:last-child {
    font-size: 9px;
  }
  .section {
    padding: 65px 7%;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  h2 {
    font-size: 33px;
  }
  .agenda {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .day {
    padding: 0;
  }
  .day + .day {
    border-left: 0;
    border-top: 1px solid #cdd0c0;
    padding-top: 30px;
  }
  .day-date {
    margin-bottom: 12px;
  }
  .day h3 {
    margin-bottom: 25px;
  }
  .event p {
    font-size: 13px;
  }
  .location-section,
  .rsvp-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .map {
    height: 310px;
  }
  .address {
    padding-inline: 5px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .photo:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .photo:first-child img {
    aspect-ratio: 1;
    object-position: 50% 55%;
  }
  .photo:nth-child(3) {
    margin-top: 25px;
  }
  .photo:nth-child(n + 5) img {
    aspect-ratio: 3/4;
  }
  .photo span {
    font-size: 12px;
  }
  .rsvp-olive {
    display: none;
  }
  .rsvp-form {
    padding: 22px 18px;
  }
  .attendance {
    flex-direction: row;
  }
  .attendance label {
    padding: 9px;
  }
  .attendance span {
    font-size: 11px;
  }
  .counts {
    gap: 10px;
  }
  label > span {
    font-size: 10px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:last-child {
    grid-column: span 2;
  }
  .dashboard h1 {
    font-size: 35px;
  }
  .dashboard-tools .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
