:root {
  --paper: #FFFCF4;
  --paper2: #ffffff;
  --ink: #000000;
  --soft: #3d3d3d;
  --gold: #800020;
  --red: #800020;
  --line: rgba(0,0,0,.15);
  --serif: "Cormorant Garamond",Georgia,serif;
  --sans: "Jost",system-ui,sans-serif;
  --h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--h);
}

body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.05rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: .5rem 1rem;
  z-index: 99;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px,100% - 3rem);
  margin: auto;
}

.narrow {
  width: min(820px,100% - 3rem);
}

.center {
  text-align: center;
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.8rem,8vw,5.8rem);
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem,4.5vw,3.2rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: .5rem;
}

.eyebrow {
  font: 500 .78rem/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section {
  padding: clamp(4rem,10vw,7.5rem) 0;
}

.alt {
  background: var(--paper2);
}

.dark {
  background: var(--ink);
  color: var(--paper);
}

.dark .eyebrow,.venues .tag {
  color: #FFFCF4;
}

.intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--soft);
  font-size: 1.15rem;
  text-align: center;
}

.tag {
  font: 500 .75rem var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem,3vw,2.5rem);
  transition: background .3s,box-shadow .3s;
}

.site-header.solid {
  background: rgba(255,252,244,.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font: 600 1.35rem var(--serif);
  opacity: 0;
  transition: opacity .3s;
}

.site-header.solid .brand {
  opacity: 1;
}

.brand img {
  width: 40px;
  height: auto;
}

nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  gap: clamp(.55rem,1.1vw,1.4rem);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: .7rem;
  position: relative;
  z-index: 1;
}

nav a {
  text-decoration: none;
  font: 500 .82rem var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width .25s;
}

.nav-links a:hover::after,.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: .5rem 1.1rem;
  transition: .25s;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.lang {
  display: flex;
  gap: .1rem;
}

.lang a {
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  font: 500 .78rem var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .4rem .5rem;
  color: var(--soft);
}

.lang a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  background: #000;
  color: var(--paper);
  border: 1px solid #000;
  padding: .8rem 1.4rem;
  font: 500 .85rem var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: .25s;
}

.btn-social svg {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}

.btn-social:hover {
  background: var(--red);
  border-color: var(--red);
}

.btn-social.lg {
  padding: 1.15rem 2.2rem;
  font-size: .95rem;
}

.btn-social.lg svg {
  width: 1.5em;
  height: 1.5em;
}

nav a.btn-social {
  padding: .5rem .9rem;
  font-size: .76rem;
}

@media(max-width:1280px) {
  .nav-links {
    gap: .5rem;
  }
  .nav-links a {
    letter-spacing: .06em;
    font-size: .78rem;
  }
  .header-tools {
    gap: .55rem;
  }
  nav a.btn-social {
    padding: .5rem .8rem;
    font-size: .74rem;
  }
  .lang a {
    padding: .35rem .4rem;
  }
}

.social-lead {
  font: italic 400 1.35rem var(--serif);
  color: var(--soft);
  margin: 1.5rem 0 0;
}

.social-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}

.insta-feed {
  margin-top: clamp(3.5rem,7vw,5.5rem);
}

.insta-feed h3 {
  margin-bottom: 1.75rem;
}

.insta-feed .social-cta {
  margin: 1.75rem 0 0;
}

.shot {
  margin: 0;
  position: relative;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.shot figcaption {
  font: italic 400 1.05rem var(--serif);
  color: var(--soft);
  padding: .7rem 0 0;
  text-align: center;
}

.photo-band {
  background: var(--ink);
}

.photo-band .shot img {
  height: clamp(260px,46vw,540px);
  object-fit: cover;
  object-position: 50% 40%;
  opacity: .95;
  filter: grayscale(1);
}

.photo-band .shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top,rgba(0,0,0,.62),rgba(0,0,0,0));
  pointer-events: none;
}

.photo-band figcaption {
  z-index: 1;
  position: absolute;
  left: clamp(1rem,4vw,3rem);
  bottom: clamp(1rem,3vw,2rem);
  color: #FFFCF4;
  font-size: clamp(1.3rem,2.6vw,2rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
  padding: 0;
  text-align: left;
}

.photo-band {
  display: grid;
  grid-template-columns: 1fr;
}

@media(max-width:700px) {
  .photo-band {
    grid-template-columns: 1fr;
  }
  .photo-band .shot img {
    height: clamp(260px,70vw,420px);
  }
}

.guests li {
  cursor: default;
  transition: color .2s;
}

.guests li:hover,.guests li:focus-visible {
  color: var(--red);
}

.guest-pop {
  position: fixed;
  z-index: 60;
  width: 164px;
  pointer-events: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,.2);
  padding: .5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s,transform .15s;
  font-style: normal;
}

.guest-pop.show {
  opacity: 1;
  transform: none;
}

.guest-pop .ph {
  aspect-ratio: 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font: italic 400 2.6rem var(--serif);
  color: var(--red);
  overflow: hidden;
}

.guest-pop .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guest-pop b {
  display: block;
  text-align: center;
  font: 500 1rem/1.2 var(--serif);
  padding: .55rem .2rem .2rem;
  color: var(--ink);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: .3s;
}

.menu-btn span:first-child {
  top: 18px;
}

.menu-btn span:last-child {
  top: 26px;
}

.menu-btn[aria-expanded=true] span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded=true] span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 5rem;
  position: relative;
  background: radial-gradient(ellipse at 50% 35%,#ffffff,var(--paper) 70%);
}

.hero-logo {
  width: clamp(130px,18vw,200px);
  margin-bottom: 1.5rem;
  animation: fade 1.2s both;
}

.hero h1 {
  margin: .5rem 0 1.5rem;
  animation: fade 1.2s .2s both;
}

.hero .eyebrow {
  animation: fade 1.2s .1s both;
}

.lead {
  max-width: 600px;
  font: italic 400 clamp(1.2rem,2.3vw,1.55rem)/1.5 var(--serif);
  color: var(--soft);
  animation: fade 1.2s .35s both;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.2rem;
  animation: fade 1.2s .5s both;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  text-decoration: none;
  color: var(--gold);
  font-size: 1.5rem;
  animation: bob 2s infinite;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 500 .85rem var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  border: 1px solid var(--ink);
  transition: .25s;
}

.btn:hover {
  background: #800020;
  border-color: #800020;
}

.btn.ghost {
  background: none;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn.big {
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: none;
  margin: 1.5rem 0;
}

/* schedule */
.schedule {
  background: var(--ink);
  color: var(--paper);
  padding: 3.5rem 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.schedule .eyebrow {
  grid-column: 1/-1;
  color: #FFFCF4;
  margin: 0;
}

.event {
  border: 1px solid rgba(255,252,244,.3);
  padding: 2rem;
}

.event.featured {
  border-color: rgba(255,252,244,.7);
}

.event .tag {
  color: #FFFCF4;
}

.event .when {
  font: 500 1.5rem var(--serif);
  color: rgba(255,252,244,.7);
  margin-bottom: .6rem;
}

.event p {
  color: #FFFCF4;
}

.event .when strong {
  font-weight: 500;
}

.link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--paper);
}

/* about */
#o-nama h2 {
  margin-bottom: clamp(2rem,4vw,3rem);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(1.5rem,4vw,3.5rem);
  align-items: start;
}

.about-photo {
  margin: 0;
  align-self: stretch;
}

.about-photo img {
  position: sticky;
  top: calc(var(--h) + 1.25rem);
  width: 100%;
  height: auto;
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
  filter: grayscale(1);
}

.prose p {
  margin-bottom: 1.3rem;
  color: var(--soft);
}

.prose .big {
  font: 400 1.7rem/1.4 var(--serif);
  color: var(--ink);
}

#prica .prose {
  max-width: 700px;
  margin: 0 auto;
}

.story-hero {
  margin: clamp(2.75rem,6vw,4.5rem) 0 0;
  height: clamp(16rem,46vw,34rem);
  overflow: hidden;
  position: relative;
}

.story-hero img {
  position: absolute;
  top: -14%;
  left: 0;
  width: 100%;
  height: 128%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: .45rem;
  margin-top: clamp(3rem,6vw,5rem);
}

#gosti .story-gallery {
  margin-bottom: 2.5rem;
}

.story-shot {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.story-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.story-shot:hover img,
.story-shot:focus-visible img {
  transform: scale(1.045);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 4.25rem 4.5rem 3.75rem;
  border: 0;
  background: rgba(0,0,0,.92);
  color: #fff;
}

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

.lightbox::backdrop {
  background: rgba(0,0,0,.92);
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: calc(100vw - 9rem);
  max-height: calc(100vh - 8.5rem);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--serif);
  line-height: 1;
}

.lightbox-close {
  top: .85rem;
  right: .85rem;
  width: 3rem;
  height: 3rem;
  font-size: 2.6rem;
}

.lightbox-nav {
  top: 50%;
  width: 3.25rem;
  height: 4.5rem;
  font-size: 4rem;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: .35rem;
}

.lightbox-nav.next {
  right: .35rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  color: var(--paper);
}

.lightbox-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.15rem;
  margin: 0;
  text-align: center;
  font: 500 .78rem/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}

@media(max-width:700px) {
  .story-gallery {
    grid-template-columns: repeat(2,1fr);
  }

  .lightbox {
    padding: 3.75rem 3.1rem 3.25rem;
  }

  .lightbox-nav {
    font-size: 3rem;
    width: 2.6rem;
  }
}

/* acts */
.acts {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,270px),1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.act {
  background: var(--paper2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 2rem 1.8rem;
}

.num {
  font: italic 400 3.5rem/1 var(--serif);
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}

.act p {
  color: var(--soft);
}

/* venues */
.venues {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.venues article {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,252,244,.7);
}

.venues p:last-child {
  color: #FFFCF4;
}

/* people */
.people {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.people li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s,color .25s;
}

.people li:hover {
  padding-left: .8rem;
  color: var(--red);
}

.people b {
  display: block;
  font: 700 1.2rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
}

.dark .people li {
  border-bottom-color: rgba(255,252,244,.3);
}

.dark .people li:hover {
  color: #FFFCF4;
}

.dark .people b {
  color: var(--paper);
}

/* guests */
.guests {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 0;
  font: italic 400 1.45rem/1.5 var(--serif);
}

.guests li:not(:last-child)::after {
  content: "✦";
  font-style: normal;
  font-size: .6rem;
  color: var(--gold);
  margin: 0 .9rem;
  vertical-align: middle;
}

/* diplomacy */
.cities {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: clamp(1rem,4vw,3rem);
  flex-wrap: wrap;
  font: 500 1.6rem var(--serif);
  margin-bottom: 3rem;
}

.cities li {
  border-bottom: 2px solid var(--red);
  padding-bottom: .2rem;
}

blockquote {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

blockquote p {
  font: italic 400 clamp(1.5rem,3vw,2.1rem)/1.35 var(--serif);
}

cite {
  display: block;
  margin-top: 1rem;
  font: 500 .8rem var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* press */
.press {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.press a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .25s,color .25s;
}

.press a:hover {
  padding-left: .8rem;
  color: var(--red);
}

.press b {
  display: block;
  font: 500 .75rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* partners */
.sub {
  font: 500 .8rem var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--soft);
  margin: 3rem 0 1.5rem;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 3.5rem;
}

.logo-cell {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.logo-cell img {
  max-width: 100%;
  height: auto;
}

.text-logo {
  width: 280px;
}

.text-logo span {
  font: 600 1.05rem/1.3 var(--serif);
  text-align: center;
  color: var(--ink);
}

.friends {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}

.friends li {
  border: 1px solid var(--line);
  padding: .45rem 1rem;
  font-size: .92rem;
  border-radius: 99px;
}

/* contact */
.contact {
  background: var(--paper2);
}

.contact h2 {
  font-style: italic;
  font-weight: 400;
}

.meta {
  color: var(--soft);
}

.social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.social a {
  font: 500 .85rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}

footer {
  background: var(--ink);
  color: #FFFCF4;
  text-align: center;
  padding: 2.5rem 1rem;
  font-size: .85rem;
}

footer img {
  width: 64px;
  height: auto;
  margin: 0 auto 1rem;
  filter: invert(1);
  opacity: .8;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s,transform .8s;
}

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

@media(max-width:1150px) {
  .menu-btn {
    display: block;
  }
  .brand {
    opacity: 1;
  }
  nav {
    position: fixed;
    top: var(--h);
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 1rem 1.5rem 2rem;
    box-shadow: 0 20px 30px rgba(0,0,0,.1);
    transform: translateY(-120%);
    transition: transform .35s;
  }
  .nav-links,.header-tools {
    position: static;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  nav.open {
    transform: none;
  }
  nav a {
    padding: .9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a {
    font-size: .95rem;
    letter-spacing: .1em;
  }
  nav a.btn-social {
    margin-top: 1rem;
    padding: .9rem 1.2rem;
    border: 1px solid #000;
    font-size: .85rem;
  }
  .lang {
    justify-content: center;
    margin: 1rem 0 0;
  }
  .lang a {
    font-size: .95rem;
    padding: .6rem .9rem;
    border-bottom-color: transparent;
  }
  .lang a[aria-current="page"] {
    border-bottom-color: var(--gold);
  }
  .site-header {
    background: rgba(255,252,244,.95);
  }
}

@media(max-width:960px) {
  .schedule-grid,.two-col {
    grid-template-columns: 1fr;
  }
  .about-photo img {
    position: static;
  }
  .guests {
    font-size: 1.25rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .story-hero img {
    top: 0;
    height: 100%;
    transform: none;
  }
}
