:root {
  --paper: #f7f3e9;
  --paper-deep: #f2eadb;
  --ink: #0b0a08;
  --red: #f81a01;
  --muted: #9a948f;
}

@font-face {
  font-family: "OrpheusPro-Regular";
  src: url("assets/fonts/OrpheusPro-Regular.woff2") format("woff2");
  font-display: block;
}

@font-face {
  font-family: "NotoSerifDisplay-ExtraLight";
  src: url("assets/fonts/NotoSerifDisplay-ExtraLight.woff2") format("woff2");
  font-display: block;
}

@font-face {
  font-family: "AbovetheBeyondSerif-Italic";
  src: url("assets/fonts/AbovetheBeyondSerif-Italic.woff2") format("woff2");
  font-display: block;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "OrpheusPro-Regular", "Times New Roman", Georgia, serif;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 2px;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu-toggle {
  visibility: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--paper);
}

.login-panel {
  width: min(820px, 100%);
  text-align: center;
}

.login-form {
  width: min(560px, 100%);
  margin: 0 auto;
}

.login h2 {
  margin: 0 0 22px;
  color: var(--red);
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 300;
  line-height: 1;
}

.login input {
  width: 100%;
  height: 52px;
  border: 1px solid #d8cec0;
  background: transparent;
  padding: 0 18px;
  text-align: center;
  letter-spacing: 2px;
  font-size: 18px;
}

.login-form button,
.scripted-button {
  display: block;
  min-width: 160px;
  max-width: 300px;
  margin: 22px auto 10px;
  border: 0;
  background: var(--red);
  padding: 1px;
  cursor: pointer;
  font-family: "AbovetheBeyondSerif-Italic", "Times New Roman", Georgia, serif;
  font-style: italic;
  letter-spacing: 1px;
  text-align: center;
}

.login-form button span,
.scripted-button span {
  display: block;
  padding: 5px 20px;
  line-height: 1.5;
  background: var(--paper);
}

.login-error {
  min-height: 24px;
  margin: 18px 0 0;
  color: #8a1a12;
  letter-spacing: 1px;
}

.access-demo {
  margin: 42px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--red);
  text-align: left;
}

.access-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-family: "AbovetheBeyondSerif-Italic", "Times New Roman", Georgia, serif;
  font-size: 17px;
  letter-spacing: 1px;
}

.access-demo > h3 {
  margin: 0 0 18px;
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
}

.access-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d8cec0;
  border-bottom: 1px solid #d8cec0;
}

.access-profile {
  min-width: 0;
  padding: 20px 22px 18px 0;
}

.access-profile + .access-profile {
  padding-left: 22px;
  border-left: 1px solid #d8cec0;
}

.profile-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 12px;
}

.profile-heading h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
}

.profile-heading span {
  color: var(--red);
  font-size: 14px;
  letter-spacing: 1px;
}

.access-profile p {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.45;
}

.login .profile-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 16px 0 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid #d8cec0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-style: normal;
  letter-spacing: 1px;
  text-align: left;
}

.profile-preview span {
  color: var(--red);
  font-size: 20px;
}

.login .profile-preview:hover,
.login .profile-preview:focus-visible {
  color: var(--red);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  width: 100%;
  min-height: 98px;
  padding: 18px 40px;
  background: var(--paper);
  border-bottom: 1px solid var(--red);
}

.brand {
  grid-column: 2;
  justify-self: center;
  color: var(--red);
  text-decoration: none;
  font-size: 32px;
  letter-spacing: 6px;
  line-height: 1.2;
}

.menu-toggle {
  grid-column: 3;
  width: 42px;
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #050505;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  overflow-y: auto;
  background: rgba(247, 243, 233, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 0s linear 300ms;
}

.nav-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.nav-panel {
  position: relative;
  width: min(860px, 54vw);
  min-height: 100%;
  padding: 24px clamp(36px, 12vw, 190px) 32px 0;
}

.nav-close {
  position: absolute;
  top: 22px;
  right: clamp(24px, 4vw, 60px);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.nav-links {
  display: grid;
  width: min(500px, 100%);
  margin: 42px 0 0 auto;
}

.nav-links a {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 27px;
  line-height: 54px;
  letter-spacing: 3px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease, color 160ms ease;
}

.nav-drawer.open .nav-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--nav-item-index) * 45ms);
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
  .nav-drawer,
  .nav-links a,
  .nav-links a::after {
    transition-duration: 0.01ms;
  }

  .nav-links a {
    opacity: 1;
    transform: none;
  }
}

.hero {
  width: calc(100% - 80px);
  height: calc(100vh - 98px);
  min-height: 560px;
  margin: 98px auto 0;
  background-position: center;
  background-size: cover;
}

.cover-section {
  padding: 0 40px;
  border-bottom: 1px solid var(--red);
}

.cover-section::before,
.live-section::before,
.gallery-collage::before {
  display: none;
}

.cover-section a {
  display: block;
}

.section {
  padding: 90px 40px;
  position: relative;
  scroll-margin-top: 98px;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--red);
}

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

#before {
  background: #f9e0d0;
}

.section.photo {
  min-height: 540px;
  display: grid;
  align-items: center;
  background-position: center;
  background-size: cover;
}

.section.photo .inner {
  background: rgba(247, 243, 233, 0.78);
  backdrop-filter: blur(2px);
}

.inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  text-align: center;
}

.live-section {
  padding: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--red);
  scroll-margin-top: 98px;
}

.live-section.no-band {
  padding-top: 84px;
  background: #f9e0d0;
}

.title-band {
  height: clamp(300px, 37.5vw, 600px);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 8vw, 100px);
  background-color: #d1a08d;
  background-position: center;
  background-size: cover;
  text-align: center;
  position: relative;
  isolation: isolate;
}

.title-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
}

.title-band h2 {
  max-width: 1120px;
  margin: 0;
  color: var(--ink);
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: clamp(42px, 6.1vw, 98px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 1px;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: none;
}

#registry .title-band {
  height: auto;
  min-height: clamp(480px, 32vw, 520px);
  padding: 54px 28px 72px;
}

#registry .title-band-content {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#registry .title-band h2 {
  margin-bottom: 34px;
  font-size: clamp(72px, 8vw, 130px);
  line-height: 1;
}

#registry .registry-copy {
  max-width: 720px;
  margin: 0 auto 4px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.25;
  letter-spacing: 2px;
}

#registry .registry-link {
  border-color: var(--ink);
}

#rsvp-link .title-band h2 {
  max-width: 680px;
  line-height: 1.6;
}

#telugu .title-band h2 {
  max-width: 700px;
  font-size: clamp(42px, 5vw, 80px);
  line-height: 1.3;
}

.title-band.red-title h2 {
  color: var(--red);
  text-shadow: 0 1px 16px rgba(247, 243, 233, 0.45);
}

.title-band.plain-title {
  background-color: var(--paper);
  background-image: none !important;
}

.title-band.red-title::before {
  background: rgba(247, 243, 233, 0.38);
}

.title-band.accent-title h2 {
  color: var(--red);
}

#faq .title-band h2 {
  font-size: clamp(32px, 3.2vw, 52px);
}

#style .text-page > .info-block {
  width: min(760px, 100%);
  margin: 0 auto;
}

#style .text-page > h2 {
  color: #000;
  font-size: clamp(36px, 4.1vw, 52px);
}

#style .text-page > .info-block .script-link {
  max-width: 300px;
}

.title-band.align-bottom {
  align-items: flex-end;
}

.content-block {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) 0;
  text-align: center;
}

.content-block.narrow {
  width: min(760px, calc(100% - 80px));
}

.text-page {
  width: min(920px, calc(100% - 80px));
}

.text-page > h2 {
  margin: 0 0 34px;
  color: var(--ink);
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: clamp(36px, 3.8vw, 62px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 1px;
}

.text-page > h2:not(:first-child) {
  margin-top: 72px;
}

.text-page > h3 {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: clamp(24px, 3.3vw, 36px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 2px;
}

.text-page > p {
  margin: 0 auto 24px;
}

.display {
  margin: 0 0 38px;
  color: var(--red);
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: clamp(54px, 9vw, 132px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 1px;
}

.subdisplay {
  margin: 0 0 46px;
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 1px;
}

.event-grid,
.three-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
  align-items: start;
}

.event-grid.single {
  grid-template-columns: 1fr;
}

.event {
  border: 1px solid var(--red);
  padding: 34px 26px;
  min-height: 100%;
  background: rgba(247, 243, 233, 0.56);
}

#socal .title-band h2 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
}

#socal .socal-event-grid,
#socal .socal-logistics-grid {
  gap: 30px;
}

#socal .socal-event {
  padding: 0;
  border: 0;
  background: transparent;
}

#socal .socal-icon {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0 auto;
}

#socal .socal-event h3 {
  margin: 28px 0 10px;
  font-size: 26px;
  line-height: 1.25;
}

#socal .socal-event h4 {
  margin: 0;
}

#socal .socal-logistics {
  min-width: 0;
  padding: 0;
  text-align: center;
}

#socal .socal-logistics h3 {
  margin: 28px 0 12px;
}

#socal .socal-logistics h4,
#socal .socal-logistics p {
  max-width: 100%;
}

#socal .socal-logistics h4 {
  min-height: 3.2em;
}

#socal .socal-logistics > .script-link {
  margin-top: 0;
}

#events .title-band {
  height: clamp(300px, 36.25vw, 580px);
  min-height: 0;
  padding: 32px 24px;
  background-color: #f3c6b8;
}

#events .title-band::before {
  background: transparent;
}

#events .title-band h2 {
  color: var(--ink);
  font-size: clamp(56px, 6.1vw, 98px);
  line-height: 1;
  text-shadow: none;
}

#events .content-block {
  width: min(1190px, calc(100% - 80px));
  padding: 40px 0 56px;
}

#events .event-grid {
  gap: 30px;
}

#events .event {
  padding: 68px 28px 44px;
  border-color: #d88c7d;
  background: transparent;
}

.info-block {
  padding: 0 10px;
}

.event h3,
.info-block h3,
.ritual h3,
.faq-item h3,
.rsvp h3 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.3;
}

.event h4,
.info-block h4,
.ritual p,
.faq-item p,
.rsvp p,
.dress-copy,
.so-cal-copy {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.6;
}

.event p,
.info-block p {
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.6;
}

.script-link {
  display: inline-block;
  margin: 12px 6px 0;
  padding: 8px 18px;
  border: 1px solid #d88c7d;
  font-family: "AbovetheBeyondSerif-Italic", "Times New Roman", Georgia, serif;
  font-style: italic;
  text-decoration: none;
  letter-spacing: 1px;
}

#travel .content-block {
  width: min(1190px, calc(100% - 80px));
  padding: 40px 0 56px;
}

#travel .three-grid {
  gap: 30px;
}

#travel .info-block {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 1px solid #d88c7d;
  background: #c97d68;
  color: var(--paper);
}

#travel .info-block .script-link {
  border-color: var(--paper);
  color: var(--paper);
}

.light {
  color: var(--paper);
}

.rsvp {
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  background: transparent;
  backdrop-filter: none;
  text-align: left;
}

.rsvp h2 {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: "NotoSerifDisplay-ExtraLight", "Times New Roman", Georgia, serif;
  font-size: 52px;
  font-weight: 300;
  text-align: center;
}

.rsvp-card {
  margin: 0 0 40px;
  padding: 0;
  border-top: 0;
  text-align: left;
}

.rsvp-row {
  display: block;
  margin: 0 0 16px;
}

.rsvp input,
.rsvp select,
.rsvp textarea {
  width: 100%;
  height: 44px;
  border: 0;
  border-bottom: 1px solid #e2e2e2;
  border-radius: 0;
  background: transparent;
  padding: 5px 0;
  letter-spacing: 2px;
  color: var(--ink);
  outline: none;
}

.rsvp input.large {
  min-height: 65px;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 3px;
  pointer-events: none;
}

.select-wrap {
  position: relative;
  margin-bottom: 16px;
}

.select-wrap::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: absolute;
  top: 14px;
  right: 0;
  transform: rotate(45deg);
  pointer-events: none;
}

.rsvp select {
  appearance: none;
  cursor: pointer;
}

.rsvp textarea {
  min-height: 45px;
  resize: none;
}

.rsvp-shell {
  padding: 98px 0 72px;
  background: #c97d68;
  scroll-margin-top: 98px;
  border: 0;
  overflow: hidden;
  transition: max-height 420ms ease, padding 420ms ease, opacity 260ms ease;
}

.rsvp-shell.hidden-rsvp {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.rsvp-shell:not(.hidden-rsvp) {
  max-height: 9000px;
  opacity: 1;
}

.rsvp-shell + .section::before {
  display: none;
}

.rsvp-intro {
  margin: 50px 0 0;
  padding: 26px 80px 0;
  text-align: center;
}

.rsvp-intro h4 {
  color: var(--paper);
  text-align: center;
  padding-bottom: 20px;
}

.form-fields,
.confirmation {
  display: none;
}

.form-fields.show,
.confirmation.show {
  display: block;
}

.form-fields,
.confirm-box {
  margin: 50px 0 0;
  padding: 50px 80px;
  background: var(--paper);
}

.confirm-box {
  text-align: center;
}

.copy-row {
  display: grid;
  grid-template-columns: auto 1fr 28px;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
}

.send-arrow {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(26px, 6vw, 90px);
  margin-top: 34px;
}

.countdown strong {
  display: block;
  font-size: clamp(48px, 8vw, 98px);
  font-weight: 300;
}

.rituals {
  display: grid;
  gap: 42px;
  text-align: left;
}

.ritual {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
}

.ritual-number {
  font-size: 52px;
  line-height: 1;
}

.faq-list {
  display: grid;
  gap: 34px;
  text-align: left;
}

.gallery-collage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(90px, 12vw, 176px);
  gap: clamp(10px, 1.6vw, 22px);
  padding: clamp(16px, 2vw, 28px);
  background: var(--paper);
  border-bottom: 1px solid var(--red);
  scroll-margin-top: 98px;
}

.gallery-item {
  grid-column: span 3;
  grid-row: span 3;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item:nth-child(10n + 1),
.gallery-item:nth-child(10n + 8) {
  grid-column: span 6;
  grid-row: span 4;
}

.gallery-item:nth-child(10n + 4),
.gallery-item:nth-child(10n + 7) {
  grid-column: span 4;
  grid-row: span 3;
}

.gallery-item.short {
  grid-row: span 2;
}

.gallery-item:focus-visible,
.script-link:focus-visible,
.menu-toggle:focus-visible,
.nav-close:focus-visible,
.send-arrow:focus-visible,
.scripted-button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.045);
}

.credit {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  color: var(--red);
  font-family: "AbovetheBeyondSerif-Italic", "Times New Roman", Georgia, serif;
  font-style: italic;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
}

.rsvp-spacer {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.82);
}

.modal.open {
  display: grid;
}

.modal img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
}

.modal button {
  position: absolute;
  top: 20px;
  right: 24px;
  border: 0;
  color: white;
  background: transparent;
  font-size: 42px;
  cursor: pointer;
}

@media (max-width: 820px) {
  .access-profiles {
    grid-template-columns: 1fr;
  }

  .access-profile,
  .access-profile + .access-profile {
    padding: 18px 0;
    border-left: 0;
  }

  .access-profile + .access-profile {
    border-top: 1px solid #d8cec0;
  }

  .site-header {
    min-height: 78px;
    padding: 14px 18px;
  }

  .nav-panel {
    width: 100%;
    padding: 18px 24px 28px;
  }

  .nav-close {
    top: 14px;
    right: 18px;
  }

  .nav-links {
    width: min(520px, 100%);
    margin: 44px auto 0;
  }

  .brand {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .hero {
    width: calc(100% - 28px);
    min-height: 62vh;
    height: calc(100vh - 78px);
    margin-top: 78px;
  }

  .section,
  .live-section,
  .gallery-collage,
  .rsvp-shell {
    scroll-margin-top: 78px;
  }

  .cover-section {
    padding: 0 14px;
  }

  .title-band {
    min-height: clamp(300px, 92vw, 520px);
    padding: 30px 18px;
  }

  .title-band h2 {
    font-size: clamp(42px, 14vw, 76px);
    line-height: 1.02;
  }

  .content-block,
  .content-block.narrow,
  .text-page {
    width: min(100% - 36px, 620px);
    padding: 50px 0;
  }

  .event-grid,
  .three-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #socal .socal-logistics h4 {
    min-height: 0;
  }

  .rsvp-row,
  .ritual {
    grid-template-columns: 1fr;
  }

  .rsvp {
    padding: 0 18px;
  }

  .rsvp h2 {
    font-size: 42px;
  }

  .rsvp-intro,
  .form-fields,
  .confirm-box {
    padding-left: 22px;
    padding-right: 22px;
  }

  .copy-row {
    grid-template-columns: 1fr 34px;
  }

  .copy-row label {
    grid-column: 1 / -1;
  }

  .gallery-collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(78px, 24vw, 150px);
    padding: 12px;
  }

  .gallery-item,
  .gallery-item:nth-child(10n + 1),
  .gallery-item:nth-child(10n + 8),
  .gallery-item:nth-child(10n + 4),
  .gallery-item:nth-child(10n + 7) {
    grid-column: span 3;
    grid-row: span 3;
  }

  .gallery-item.short {
    grid-row: span 2;
  }

  .nav-links a {
    font-size: 21px;
    line-height: 42px;
    letter-spacing: 2px;
  }
}

@media (max-width: 520px) {
  #events .title-band h2 {
    font-size: clamp(42px, 12vw, 56px);
  }

  #events .content-block {
    width: calc(100% - 36px);
    padding: 28px 0 40px;
  }

  #events .event-grid {
    gap: 20px;
  }

  #events .event {
    padding: 40px 24px 32px;
  }

  #travel .content-block {
    width: calc(100% - 36px);
    padding: 28px 0 40px;
  }

  #travel .info-block {
    aspect-ratio: auto;
    min-height: 280px;
  }

  body {
    font-size: 17px;
    letter-spacing: 1px;
  }

  .brand {
    font-size: 20px;
    letter-spacing: 3px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .event h3,
  .info-block h3,
  .ritual h3,
  .faq-item h3,
  .rsvp h3 {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .event h4,
  .info-block h4,
  .ritual p,
  .faq-item p,
  .rsvp p,
  .dress-copy,
  .so-cal-copy {
    font-size: 17px;
    letter-spacing: 1px;
  }

  .gallery-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(132px, 48vw, 220px);
  }

  .title-band h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .gallery-item,
  .gallery-item:nth-child(10n + 1),
  .gallery-item:nth-child(10n + 8),
  .gallery-item:nth-child(10n + 4),
  .gallery-item:nth-child(10n + 7),
  .gallery-item.short {
    grid-column: span 1;
    grid-row: span 1;
  }
}
