@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@500&display=swap');

:root {
  --purple: #321d43;
  --purple-dark: #271536;
  --gold: #c5a345;
  --text: #252227;
  --muted: #827b86;
  --frame: #efedf0;
  --serif: "the-seasons", Georgia, serif;
  --sans: Inter,Arial,sans-serif;
  --paragraph-font: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}

h2 {
  font-size: 42px;
}

p {
  font-family: var(--paragraph-font);
  font-weight: 500;
  font-size: 16px;
}

.container {
  width: min(1180px,calc(100% - 96px));
  margin-inline: auto;
}

.section {
  padding-block: 86px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--purple);
  margin-bottom: 10px;
}

.header {   
  height: 94px;
  background: var(--purple);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 48px;
}

.brand {
  width: 112px;
  flex-shrink: 0;
  color: var(--gold);
  text-align: center;
  font-family: Georgia,serif;
  font-size: 10px;
  line-height: 1.25;
  letter-spacing: .07em;
}

.brand img {
  display: block;
  width: 108px;
  max-width: 100%;
  height: auto;
}

.event-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  color: #fff;
}

.language-switch > span {
  font-size: 11px;
  opacity: 0.45;
}

.language-switch button {
  border: 0;
  background: transparent;
  padding: 8px 5px;
  color: #fff;
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 0.04em;
  min-height: 34px;
}

.language-switch button[aria-pressed="true"] {
  color: var(--gold);
  opacity: 1;
}

.language-switch button:hover {
  opacity: 1;
}

.brand .crown {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.brand-and {
  font-size: 8px;
}

nav {
    justify-content: flex-end;
  display: flex;
  gap: 26px;
  align-items: right;
  flex: 1;
}

nav a, nav button, .language {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

nav button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
}

nav a:hover, nav button:hover {
  color: var(--gold);
}

.language {
  font-size: 11px;
  opacity: .6;
}

.menu-toggle {
  display: none;
}

.home-page .header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  background: transparent;
}

.home-page .hero {
  min-height: 754px;
  padding-top: 94px;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  background: linear-gradient(rgba(50, 29, 67, 0.55), rgba(50, 29, 67, 0));
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 660px;
  background: var(--purple);
  background-image: url("assets/uvod/hero.jpg");
  background-size: cover;
  background-position: calc(50% + clamp(60px, 8vw, 140px)) 45%;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}

.hero-frame {
  position: absolute;
  inset: 0 0 0 34%;
  background: #493951!important;
  border-color: #65566e!important;
  display: flex;
  justify-content: flex-end!important;
  align-items: flex-end!important;
  padding: 36px;
}

.hero-frame span {
  color: #aa9caf!important;
  letter-spacing: .2em;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--purple) 0%,
    var(--purple) 18%,
    rgba(50, 29, 67, 0.94) 28%,
    rgba(50, 29, 67, 0.68) 45%,
    rgba(50, 29, 67, 0.28) 70%,
    rgba(50, 29, 67, 0) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 84px 64px;
}

.hero-date {
  font-family: var(--serif);
  font-size: 40px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--gold);
  font-size: clamp(40px,4.4vw,64px);
  max-width: 740px;
  margin-bottom: 24px;
}

.venue {
  font-size: 17px;
  font-weight: 500;
}

.ornament {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  margin-block: 34px;
}

.ornament:before, .ornament:after {
  content: '';
  height: 1px;
  background: var(--gold);
  flex: 1;
  opacity: .5;
}

.ornament .fa-web-awesome {
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 19px;
  color: var(--gold);
  background: currentColor;
  -webkit-mask: url("assets/icons/web-awesome.svg") center / contain no-repeat;
  mask: url("assets/icons/web-awesome.svg") center / contain no-repeat;
}

.hero-thanks {
  font-size: 17px;
  color: var(--gold);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  min-height: 46px;
  border: 1px solid transparent;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s,color .2s;
}

.gold {
  background: var(--gold);
  color: var(--purple-dark);
}

.gold:hover {
  background: #dec36e;
}

.outline-gold {
  color: #a7852d;
  border-color: var(--gold);
  background: transparent;
}

.outline-purple {
  color: var(--purple);
  border-color: var(--purple);
  background: transparent;
}

.outline-gold:hover, .outline-purple:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 46px;
  margin-bottom: 42px;
}

.about-intro h2 {
  font-size: 44px;
}

.about-intro>p {
  border-top: 1px solid #8f7d99;
  padding-top: 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.photo-frame {
  background: var(--frame);
  border: 1px solid #d9d4dd;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.photo-frame span {
  font-size: 11px;
  letter-spacing: .16em;
  color: #a49bab;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 27% 1fr;
  gap: 20px;
}

.portrait-frame {
  aspect-ratio: .565;
}

.portrait-video {
  display: block;
  overflow: hidden;
  background: var(--purple-dark);
}

.portrait-video video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(3,1fr);
  gap: 6px;
  align-self: start;
}

.mosaic-grid .photo-frame {
  aspect-ratio: 1.46;
  overflow: hidden;
}

.centered {
  margin: 38px auto;
}

.event-details>.eyebrow {
  border-bottom: 1px solid var(--purple);
  padding-bottom: 10px;
  margin-bottom: 0;
}

.event-row {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 28px 16px;
  border-bottom: 1px solid #e9e5ea;
}

.date-block {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--serif);
  color: #9f94a6;
  font-size: 26px;
  line-height: .9;
}

.date-day {
  font-size: clamp(48px, 5.5vw, 72px);
  white-space: nowrap;
  color: var(--purple);
}

.event-address {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.event-address strong {
  font-weight: 400;
}

.event-buttons {
  margin-left: auto;
  display: flex;
  gap: 14px;
}

.event-buttons .button {
  font-size: 16px;
  padding: 6px 10px;
  min-height: 36px;
  letter-spacing: 0;
}

button[data-panel]:disabled {
  cursor: default;
}

nav button[data-panel]:disabled,
.footer-links button[data-panel]:disabled {
  opacity: 0.6;
}

.hero-actions button[data-panel]:disabled {
  color: #dfc67f;
  background: rgba(197, 163, 69, 0.14);
  border-color: rgba(197, 163, 69, 0.6);
}

.event-buttons .availability-button {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  min-width: 145px;
  min-height: 78px;
  padding: 16px 20px;
  color: var(--purple);
  background: #f7f3fa;
  border: 1px solid #e4dbe9;
  border-top: 2px solid var(--gold);
  text-align: left;
  opacity: 1;
}

.availability-title {
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.availability-label {
  color: #806c3a;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
}

.story {
  background: var(--purple);
  color: #d1c8d6;
  padding-top: 90px;
  padding-bottom: 55px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
}

.story-top {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.story .photo-frame {
  background: #493652;
  border-color: #66516f;
}

.story-portrait {
  aspect-ratio: .64;
}

.story-portrait,
.story-landscape,
.faq-photo {
  position: relative;
  overflow: hidden;
}

.story-portrait img,
.story-landscape img,
.faq-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-logo {
  width: 108px;
  margin-bottom: 30px;
}

.story h2 {
  font-size: clamp(20px, 2.2vw, 31px);
  color: #f0eaf2;
}

.story-landscape {
  aspect-ratio: 1.43;
}

.story-text article+article {
  margin-top: 40px;
}

.story h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  color: #e4dce8;
}

.story p {
  font-size: 14px;
  color: #b4a7bc;
  line-height: 1.7;
}

.story blockquote {
  color: var(--gold);
  text-align: center;
  font-size: 20px;
  margin: 65px 24px 0;
  font-family: var(--serif);
}

.story cite {
  font-family: var(--sans);
  display: block;
  font-size: 11px;
  font-style: normal;
  margin-top: 8px;
}

.faq {
  display: grid;
  grid-template-columns: 1.15fr .8fr;
  gap: 110px;
  align-items: center;
  padding: 150px 70px;
}

.faq-photo {
  aspect-ratio: .665;
}

.faq-content h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 20px;
}

.faq-content>p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.65;
  color: #635b68;
}

.faq-list {
  margin-top: 25px;
}

.faq-list details {
  border-top: 1px solid #cec8d2;
}

.faq-list details:last-child {
  border-bottom: 1px solid #cec8d2;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  padding: 15px 25px 15px 0;
  position: relative;
  line-height: 1.4;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--purple);
}

.faq-list details[open] summary:after {
  content: '−';
}

.faq-answer {
  font-size: 14px;
  color: var(--muted);
  padding: 0 14px 18px 0;
  animation: reveal .2s ease;
}

.faq-answer p {
  font-size: inherit;
  margin-bottom: 10px;
}

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

.faq-answer a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery {
  text-align: center;
}

.gallery>.eyebrow {
  margin-bottom: 8px;
}

.gallery h2 {
  font-size: 44px;
  margin-bottom: 28px;
}

.gallery-frames {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gallery-frames .photo-frame {
  aspect-ratio: 1.25;
}

.year-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.25;
  overflow: hidden;
  background: var(--purple-dark);
  color: #fff;
}

.year-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.year-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 17, 40, 0.7);
}

.year-preview-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1;
}

.year-preview:hover img {
  transform: scale(1.04);
}

.map-section {
  height: 420px;
  position: relative;
  background: #e8ebe6;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-link {
  position: absolute;
  left: 18px;
  top: 18px;
  background: #fff;
  padding: 12px 18px;
  box-shadow: 0 2px 12px #0002;
  font-size: 12px;
}

footer {
  padding-bottom: 65px;
}

footer .ornament {
  margin: 45px auto 66px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .75fr;
  gap: 40px;
}

.footer-grid h3 {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 14px;
}

.footer-grid p, .footer-grid a, .footer-grid button {
  font-size: 12px;
  color: #6f6675;
  margin: 0;
}

.organizer strong {
  color: #ac8b39;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 14px;
}

.footer-links a, .footer-links button {
  text-transform: uppercase;
  text-align: left;
}

.footer-links button {
  border: 0;
  padding: 0;
  background: none;
}

.footer-grid .social-link {
  font-size: 30px;
  color: var(--purple);
  line-height: 1;
}

.fa-brands.fa-instagram {
  display: inline-block;
  width: 25px;
  height: 25px;
  background: currentColor;
  -webkit-mask: url("assets/icons/instagram.svg") center / contain no-repeat;
  mask: url("assets/icons/instagram.svg") center / contain no-repeat;
}

.side-panel {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: none;
  width: min(540px,100%);
  max-width: 100%;
  padding: 0;
  border: 0;
  color: var(--purple);
  background: #fff;
  box-shadow: -20px 0 100px #160b2e40;
  transform: translateX(100%);
  transition: transform .32s ease;
  overflow: auto;
}

.side-panel[open] {
  display: flex;
  flex-direction: column;
}

.side-panel.is-visible {
  transform: translateX(0);
}

.side-panel::backdrop {
  background: #160b2e85;
  backdrop-filter: blur(3px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid #e8e3eb;
}

.panel-header .eyebrow {
  margin: 0;
}

.close-panel {
  border: 0;
  background: none;
  font-size: 36px;
  color: var(--purple);
  line-height: 1;
  padding: 0 5px;
}

.panel-content {
  padding: 65px 45px;
  flex: 1;
}

.panel-logo {
  width: 108px;
  margin-bottom: 18px;
}

.panel-content h2 {
  font-size: 52px;
  margin: 18px 0 28px;
}

.panel-rule {
  width: 65px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.panel-content p {
  font-size: 16px;
  color: #827588;
}

.panel-content h3 {
  font-size: 16px;
  font-weight: 500;
  margin-top: 30px;
}

.panel-footer {
  padding: 24px 32px;
  color: #9b8c6d;
  border-top: 1px solid #e8e3eb;
  font-size: 12px;
}

body.panel-open {
  overflow: hidden;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(min-width:1500px) {
  .home-page .hero {
    min-height: 854px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 115px;
  }
}

@media(max-width:1100px) {
  .header {
    gap: 25px;
    padding-inline: 30px;
  }

  nav {
    gap: 17px;
  }

  .container {
    width: calc(100% - 60px);
  }

  .about-intro {
    gap: 25px;
  }

  .story-grid {
    gap: 40px;
  }

  .story-top {
    gap: 22px;
  }

  .faq {
    padding-inline: 35px;
    gap: 60px;
  }

  .event-buttons {
    gap: 12px;
  }

  .language {
    display: none;
  }
}

@media(max-width:760px) {
  .home-page .hero {
    min-height: 706px;
    padding-top: 76px;
  }

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

  .header {
    height: 76px;
    padding: 0 22px;
    gap: 12px;
    justify-content: space-between;
    position: relative;
    z-index: 5;
  }

  .brand {
    width: 88px;
    font-size: 8px;
  }

  .menu-toggle {
    display: block;
    color: #fff;
    border: 1px solid #7b6589;
    background: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-left: auto;
  }

  .menu-toggle span {
    margin-left: 10px;
  }

  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: var(--purple);
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    border-top: 1px solid #594367;
  }

  nav.is-open {
    display: flex;
  }

  nav a, nav button {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 44px);
  }

  .hero {
    min-height: 630px;
    background-position: 62% center;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      var(--purple) 0%,
      rgba(50, 29, 67, 0.94) 30%,
      rgba(50, 29, 67, 0.75) 60%,
      rgba(50, 29, 67, 0) 100%
    );
  }

  .hero-frame {
    left: 10%;
    padding: 20px;
  }

  .hero-frame span {
    font-size: 9px;
  }

  .hero-content {
    padding-top: 62px;
    padding-bottom: 75px;
  }

  .hero-date {
    font-size: 32px;
  }

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

  .venue {
    font-size: 14px;
  }

  .hero-thanks {
    font-size: 14px;
    max-width: 290px;
  }

  .hero-thanks br {
    display: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    font-size: 10px;
    padding: 12px 14px;
  }

  .section {
    padding-block: 58px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
  }

  .about-intro h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .about-intro>p {
    font-size: 14px;
  }

  .photo-mosaic {
    grid-template-columns: 27% 1fr;
    gap: 8px;
  }

  .mosaic-grid {
    gap: 3px;
  }

  .photo-frame span {
    font-size: 8px;
    letter-spacing: .06em;
  }

  .event-row {
    padding: 20px 0;
    gap: 20px;
    flex-wrap: wrap;
  }

  .date-day {
    font-size: 48px;
  }

  .date-block {
    gap: 15px;
    font-size: 22px;
  }

  .event-address {
    font-size: 11px;
    flex: 1;
  }

  .event-row {
    row-gap: 24px;
  }

  .event-buttons .availability-button {
    min-width: 0;
    padding: 14px 16px;
    min-height: 76px;
  }

  .photo-mosaic {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .portrait-video {
    align-self: start;
    width: min(100%, 280px);
    justify-self: center;
  }

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

  .event-buttons {
    margin-left: 0;
    flex-basis: 100%;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
  }

  .event-buttons .button {
    flex: 1;
    padding: 11px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-visuals {
    max-width: 520px;
  }

  .story-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
  }

  .story h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .story-landscape {
    aspect-ratio: 1.43;
  }

  .story-text article+article {
    margin-top: 28px;
  }

  .story blockquote {
    margin-top: 38px;
    font-size: 22px;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-inline: 0;
  }

  .faq-photo {
    width: 80%;
    margin-inline: auto;
    aspect-ratio: .665;
  }

  .faq-content h2 {
    font-size: 24px;
  }

  .faq-list summary {
    font-size: 16px;
    padding-block: 18px;
  }

  .faq-list summary:after {
    top: 18px;
  }

  .gallery h2 {
    font-size: 36px;
  }

  .gallery-frames {
    gap: 4px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-frames .photo-frame {
    aspect-ratio: .85;
  }

  .map-section {
    height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }

  footer .ornament {
    margin-bottom: 40px;
  }

  .organizer {
    grid-column: 1/-1;
  }

  .panel-content {
    padding: 40px 28px;
  }

  .panel-content h2 {
    font-size: 46px;
  }

  .panel-header, .panel-footer {
    padding-inline: 24px;
  }
}

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

  *, *:before, *:after {
    animation: none!important;
    transition: none!important;
  }
}

nav [aria-current="page"] {
  color: var(--gold);
  position: relative;
}

nav [aria-current="page"]:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: var(--gold);
}

.collection-main {
  padding-top: 64px;
  padding-bottom: 28px;
  min-height: 65vh;
}

.page-heading {
  text-align: center;
  margin-bottom: 42px;
}

.page-heading>.eyebrow {
  color: #9b8b73;
  font-size: 11px;
  letter-spacing: .2em;
  margin-bottom: 12px;
}

.page-heading h1 {
  font-size: 64px;
  color: var(--purple);
  margin: 0;
}

.page-heading .ornament {
  width: 170px;
  margin: 22px auto 0;
}

.year-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 50px;
  gap: 4px;
  padding: 5px;
  border: 1px solid #e3dce7;
  background: #f7f5f8;
}

.year-tabs button {
  border: 0;
  background: transparent;
  padding: 16px 46px;
  color: #8e8196;
  min-width: 140px;
  position: relative;
  transition: background .2s,color .2s,box-shadow .2s;
}

.year-tabs button span {
  display: block;
  font-size: 24px;
  font-family: var(--serif);
  line-height: 1.15;
}

.year-tabs small {
  font-size: 10px;
  letter-spacing: .06em;
  display: block;
  margin-top: 6px;
}

.year-tabs button[aria-selected="true"] {
  background: var(--purple);
  color: var(--gold);
  box-shadow: 0 3px 10px #321d4320;
}

.year-tabs button:hover:not([aria-selected="true"]) {
  background: #ebe6ee;
  color: var(--purple);
}

.collection-meta {
  border-bottom: 1px solid #ddd4e1;
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.collection-meta h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .03em;
  margin: 0;
  color: var(--purple);
}

.collection-meta>span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #9c909f;
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.image-tile {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.image-tile .photo-frame {
  width: 100%;
  height: 100%;
  transition: border-color .2s,background .2s;
}

.gallery-tile {
  aspect-ratio: 1.5;
}

.image-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--purple);
  color: #fff;
  font-size: 10px;
  padding: 7px 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s,transform .2s;
  pointer-events: none;
}

.image-tile:hover .image-hint, .image-tile:focus-visible .image-hint {
  opacity: 1;
  transform: translateY(0);
}

.image-tile:hover .photo-frame {
  border-color: var(--gold);
}

.mosaic-photo .image-hint {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.05em;
}

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

.media-main {
  max-width: 1040px;
}

.press-grid {
  display: grid;
  gap: 32px;
}

.press-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.press-group-portrait > .press-tile:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.press-group-landscape {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.press-group-landscape > .press-tile:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc((100% - 24px) / 2);
  justify-self: center;
}

.press-tile {
  text-align: left;
}

.press-tile .photo-frame {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  height: auto;
  background: #fff;
}

.press-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.press-tile-wide {
  border-top: 3px solid var(--gold);
  background: #faf8f2;
}

.press-tile-wide .photo-frame {
  border: 0;
  aspect-ratio: 1.55;
}

.press-tile-wide .image-hint {
  display: none;
}

.press-wide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  height: 78px;
  color: var(--purple);
  font: 400 22px/1.15 var(--serif);
}

.press-wide-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font: 500 12px/1.4 var(--paragraph-font);
}

.press-wide-action > span:last-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--gold);
  font-size: 17px;
}

@media (max-width: 760px) {
  .press-group-landscape {
    grid-template-columns: minmax(0, 1fr);
  }

  .press-group-landscape > .press-tile:last-child:nth-child(odd) {
    width: 100%;
  }
}

.articles-heading {
  margin: 76px 0 30px;
  padding-top: 35px;
  border-top: 1px solid #dfd6e3;
}

.articles-heading h2 {
  font-size: 38px;
  margin-bottom: 0;
}

.media-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.media-card {
  border-top: 3px solid var(--gold);
  background: #faf8f2;
  color: var(--purple);
  padding: 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  min-height: 360px;
  font-family: var(--paragraph-font);
}

.media-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.article-metadata {
  min-width: 0;
  padding-top: 8px;
}

.article-tile {
  width: 104px;
  aspect-ratio: 1.15;
  flex-shrink: 0;
}

.article-tile .photo-frame {
  border: 0;
}

.article-tile .image-hint {
  display: none;
}

.article-date {
  display: block;
  font-size: 11px;
  color: #766a7c;
  margin-top: 12px;
}

.article-source {
  color: var(--purple);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  margin: 0;
}

.media-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--purple);
  overflow-wrap: anywhere;
  flex: 1;
  margin: 26px 0;
}

.article-link {
  border-top: 1px solid #d8cdb5;
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  min-height: 44px;
  font-size: 12px;
}

.article-link-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: var(--gold);
  font-size: 17px;
  transition: background .2s ease, transform .2s ease;
}

.article-link:hover .article-link-arrow,
.article-link:focus-visible .article-link-arrow {
  background: #4b2d60;
  transform: translate(2px, -2px);
}

@media (max-width: 1000px) {
  .media-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .media-article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .media-card {
    padding: 22px;
  }

  .article-tile {
    width: 80px;
  }

  .article-source {
    font-size: 20px;
  }
}

.partners-main {
  max-width: 1100px;
}

.partners-main .page-heading.partnership-heading {
  margin-bottom: 55px;
}

.partnership-intro {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.partnership-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 70px;
}

.partnership-invitation {
  background: var(--purple);
  color: #fff;
  border-top: 3px solid var(--gold);
}

.partnership-invitation-copy {
  padding: 42px 36px 34px;
}

.partnership-invitation .eyebrow {
  color: var(--gold);
}

.partnership-invitation h2 {
  font-size: clamp(36px, 3.5vw, 48px);
  max-width: 300px;
  margin-bottom: 25px;
}

.partnership-invitation-copy > p:not(.eyebrow) {
  color: #e2dbe6;
  font-size: 15px;
}

.partnership-date {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(197, 163, 69, .4);
  display: grid;
  gap: 4px;
  font: 500 13px/1.6 var(--paragraph-font);
}

.partnership-date span:first-child {
  color: var(--gold);
}

.partnership-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  display: block;
}

.partnership-contact {
  min-width: 0;
  padding-top: 6px;
}

.partnership-contact h2 {
  font-size: 36px;
  color: var(--purple);
  margin-bottom: 18px;
}

.partnership-contact > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 30px;
}

.partnership-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.partnership-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  min-width: 0;
}

.partnership-field label {
  color: var(--purple);
  font: 500 12px/1.5 var(--paragraph-font);
}

.partnership-field input,
.partnership-field textarea {
  width: 100%;
  border: 1px solid #d8d0dd;
  border-radius: 0;
  background: #faf8f4;
  color: var(--purple);
  padding: 12px;
  min-height: 46px;
  font: 500 16px/1.5 var(--paragraph-font);
}

.partnership-field textarea {
  resize: vertical;
  min-height: 125px;
}

.partnership-field input:focus-visible,
.partnership-field textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.partnership-trap {
  display: none;
}

.partnership-privacy {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 20px;
}

.partnership-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  background: var(--purple);
  color: #fff;
  font: 500 13px/1.4 var(--paragraph-font);
}

.partnership-submit > span:last-child {
  color: var(--gold);
  font-size: 20px;
}

.partnership-submit:hover {
  background: #4b2d60;
}

.partnership-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #faf8f2;
  color: var(--purple);
  font-size: 14px;
}

.form-status[data-state="error"] {
  border-color: #a33e45;
}

.partnership-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e3dce7;
  font: 500 12px/1.7 var(--paragraph-font);
  color: var(--muted);
}

.partnership-direct a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .partnership-grid {
    gap: 36px;
  }

  .partnership-invitation-copy {
    padding: 30px 26px;
  }
}

@media (max-width: 760px) {
  .partnership-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .partnership-invitation h2 {
    max-width: none;
  }
}

@media (max-width: 440px) {
  .partnership-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .partnership-submit {
    width: 100%;
  }
}

.partners-main .page-heading {
  margin-bottom: 10px;
}

.partner-group {
  padding-block: 30px 35px;
  text-align: center;
}

.partner-group+.partner-group:before {
  content: '';
  display: block;
  width: 260px;
  max-width: 65%;
  height: 1px;
  background: #d9bc72;
  margin: 0 auto 28px;
}

.partner-group h2 {
  font-family: var(--sans);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  color: #b28f3c;
  margin-bottom: 35px;
  line-height: 1.3;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 40px 55px;
  align-items: center;
}

.logo-grid.single-logo {
  grid-template-columns: minmax(0,220px);
  justify-content: center;
}

.logo-frame {
  aspect-ratio: 2.4;
  background: #faf9fb;
  border: 1px solid #e6e1e9;
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
}

.logo-frame img {
  object-fit: contain;
  padding: 15px;
}

.partner-group-many .logo-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 35px;
}

.image-lightbox {
  inset: 0;
  margin: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  overflow: hidden;
}

.image-lightbox::backdrop {
  background: rgba(30, 17, 40, 0.55);
}

.image-lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-shell {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-toolbar {
  height: 74px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff18;
  padding: 12px 32px;
}

.lightbox-counter {
  font-size: 12px;
  letter-spacing: .14em;
  color: #c7b8cf;
}

.lightbox-toolbar>div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.lightbox-toolbar button {
  color: #fff;
  border: 0;
  background: transparent;
}

.lightbox-zoom {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.lightbox-zoom:disabled {
  opacity: .35;
  cursor: default;
}

.lightbox-close {
  font-size: 38px;
  line-height: 1;
  padding: 3px 7px;
}

.lightbox-view {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 75px minmax(0,1fr) 75px;
  align-items: center;
  padding: 24px 10px;
}

.lightbox-prev, .lightbox-next {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 52px;
  font-family: Georgia,serif;
  justify-self: center;
  line-height: 1;
  padding: 12px;
}

.lightbox-stage {
  height: 100%;
  min-height: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage>img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
  user-select: none;
}

.lightbox-stage.is-zoomed {
  display: block;
  overscroll-behavior: contain;
}

.lightbox-stage.is-zoomed>img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  min-width: 100%;
}

.lightbox-placeholder {
  height: 100%;
  aspect-ratio: .69;
  max-width: 100%;
  background: #f6f3f7;
  border-color: #a79cae;
}

.lightbox-placeholder span {
  color: #9b8caa;
  font-size: 12px;
  text-transform: uppercase;
}

.lightbox-caption {
  
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lightbox-stage p {
  color: #c7b8cf;
}

@media(max-width:760px) {
  nav [aria-current="page"]:after {
    bottom: -5px;
  }

  .collection-main {
    padding-top: 44px;
  }

  .page-heading {
    margin-bottom: 30px;
  }

  .page-heading h1 {
    font-size: 48px;
  }

  .year-tabs {
    width: 100%;
    margin-bottom: 34px;
  }

  .year-tabs button {
    padding: 14px 10px;
    min-width: 0;
    flex: 1;
  }

  .year-tabs button span {
    font-size: 23px;
  }

  .year-tabs small {
    font-size: 9px;
  }

  .collection-meta {
    align-items: flex-end;
  }

  .collection-meta h2 {
    font-size: 13px;
  }

  .collection-meta>span {
    font-size: 9px;
  }

  .full-gallery-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .press-group-portrait {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-group-portrait > .press-tile:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .press-group-portrait > .press-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }

  .articles-heading {
    margin-top: 48px;
  }

  .articles-heading h2 {
    font-size: 32px;
  }

  .logo-grid {
    gap: 20px;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .partner-group-many .logo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
  }

  .partner-group h2 {
    font-size: 16px;
    margin-bottom: 26px;
  }

  .partner-group {
    padding-block: 24px;
  }

  .logo-frame {
    aspect-ratio: 2.2;
  }

  .logo-grid.single-logo {
    grid-template-columns: minmax(0,160px);
  }

  .lightbox-toolbar {
    height: 64px;
    padding-inline: 18px;
  }

  .lightbox-view {
    grid-template-columns: 32px minmax(0,1fr) 32px;
    padding: 16px 4px;
  }

  .lightbox-prev, .lightbox-next {
    font-size: 34px;
    padding: 8px 4px;
  }

  .lightbox-placeholder span {
    font-size: 9px;
  }

  .image-hint {
    bottom: 8px;
    right: 8px;
    font-size: 8px;
    padding: 5px 8px;
  }
}

@media(max-width:380px) {
  .media-article-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid:not(.single-logo) {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
