@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600&display=swap");
:root {
  color: #24221f;
  background: #f6f3ed;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5vw;
  border-bottom: 1px solid #d8d1c5;
  gap: 1rem;
}
header a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
header a:first-child {
  font-weight: 600;
  font-size: 1.1rem;
}
header span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
}
main {
  max-width: 1420px;
  margin: auto;
  padding: 4rem 5vw;
}
.intro {
  max-width: 850px;
  margin-bottom: 3rem;
}
.ey {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #76654e;
}
h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
}
h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.04;
  margin: 1rem 0;
}
h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0.8rem 0 1.7rem;
}
.subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  line-height: 1.8;
}
.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: start;
}
#poster {
  width: 100%;
  height: auto;
  display: block;
}
.details {
  padding: 2rem 0;
  line-height: 1.9;
}
.details ul {
  padding-left: 1.3rem;
}
aside {
  background: #eae3d7;
  padding: clamp(1.3rem, 3vw, 3rem);
}
dt {
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  margin-top: 1.4rem;
  color: #76654e;
}
dd {
  margin: 0.5rem 0;
  line-height: 1.7;
}
.availability {
  padding: 1rem 0;
  border-top: 1px solid #c9bdab;
  border-bottom: 1px solid #c9bdab;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
label {
  display: block;
  margin-top: 1.1rem;
  font-size: 0.8rem;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border: 1px solid #c7bba7;
  background: #fcfaf6;
  border-radius: 0;
  margin-top: 0.4rem;
  font: inherit;
  font-size: 1rem;
  color: #24221f;
}
small,
.fine {
  color: #6f6557;
  font-size: 0.75rem;
  line-height: 1.7;
}
.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.5rem;
}
.total strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 500;
}
button {
  padding: 1.15rem;
  background: #24221f;
  color: #fffaf1;
  border: 1px solid #24221f;
  width: 100%;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #8c6f49;
  outline-offset: 3px;
}
#message {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#confirmation {
  overflow-wrap: anywhere;
  line-height: 1.8;
}
footer {
  padding: 2rem 5vw;
  border-top: 1px solid #d8d1c5;
  font-size: 0.8rem;
  line-height: 1.9;
}
#recheck {
  margin-top: 1rem;
}
@media (max-width: 760px) {
  main {
    padding: 2rem 5vw;
  }
  .event-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .intro {
    margin-bottom: 1.5rem;
  }
  aside {
    padding: 1.5rem;
  }
  h1 {
    font-size: 2.9rem;
  }
  header {
    padding: 1.3rem 5vw;
  }
}
[hidden] {
  display: none !important;
}

/* A keepsake-style admission confirmation, within the existing gallery palette. */
#confirmation:not([hidden]) { border-top: 1px solid #b8a68b; padding-top: 2rem; }
.confirmation-mark { display:grid; place-items:center; width:3rem; height:3rem; border:1px solid #8c6f49; border-radius:50%; color:#655039; font-size:1.6rem; margin-bottom:1.5rem; }
#confirmation h2 { font-size:clamp(2rem,4vw,3rem); margin:1rem 0; }
.confirmation-guest { font-size:1.2rem; margin-bottom:.25rem; }
.confirmation-event { margin-top:0; color:#6f6557; }
.confirmation-facts { display:grid; grid-template-columns:1fr 1.5fr; gap:1rem; border-block:1px solid #c9bdab; padding-bottom:1rem; }
.confirmation-facts dd { font-family:"Cormorant Garamond",serif; font-size:2rem; }
.confirmation-reference { background:#fcfaf6; border:1px dashed #b8a68b; padding:1.2rem; }
.confirmation-reference span { display:block; font-size:.65rem; letter-spacing:.12em; color:#76654e; }
.confirmation-reference strong { display:block; font-size:.85rem; margin-top:.6rem; overflow-wrap:anywhere; }
