:root {
  --ink: #2f312b;
  --muted: #62685c;
  --paper: #f1efec;
  --sage: #8d9b82;
  --sage-dark: #56634f;
  --clay: #b87863;
  --butter: #f3d89f;
  --mist: #e8ece2;
  --white: #ffffff;
  --shadow: 0 22px 60px rgb(47 49 43 / 14%);
  --page-margin: 7vw;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  background: var(--paper);
}

body {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  background:
    linear-gradient(to bottom, rgb(47 49 43 / 34%), rgb(47 49 43 / 18%)),
    rgb(47 49 43 / 18%);
  backdrop-filter: blur(10px) saturate(110%);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
}

.brand {
  font-family: "Indie Flower", cursive;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.nav-toggle__icon {
  display: grid;
  gap: 4px;
  width: 22px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 16px;
  font-weight: 400;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.main-nav a[aria-current="page"] {
  border-color: currentColor;
}

.site-header.nav-overflow .nav-toggle {
  display: inline-flex;
}

.site-header.nav-overflow .main-nav {
  position: absolute;
  top: calc(100% - 1px);
  right: clamp(18px, 4vw, 54px);
  display: none;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  min-width: min(260px, calc(100vw - 36px));
  padding: 22px 20px 24px;
  color: var(--white);
  background: rgb(47 49 43 / 96%);
}

.site-header.nav-overflow.nav-open .main-nav {
  display: flex;
}

.site-header.nav-overflow .main-nav a {
  width: 100%;
  padding: 12px 0;
}

.hero,
.stage {
  position: relative;
  min-height: 100svh;
}

.hero {
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-image: url("assets/images/hero-location.jpg");
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(0 0 0 / 64%), rgb(0 0 0 / 10%) 58%),
    linear-gradient(to right, rgb(0 0 0 / 42%), rgb(0 0 0 / 0%) 62%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - var(--page-margin) - var(--page-margin)));
  margin: 0 auto;
  padding: 140px 0 clamp(46px, 12vh, 110px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: Newsreader, ui-serif, Georgia, serif;
  margin: 0;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  font-size: 96px;
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 24px;
}

.hero__date {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.hero__text {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 20px;
  line-height: 1.6;
}

.stage {
  display: flex;
  align-items: center;
  padding: 118px var(--page-margin) 68px;
  color: var(--white);
}

.stage-stay {
  background: #94341d;
}

.stage-location {
  background: #74808a;
}

.stage__inner {
  width: 100%;
  margin: 0 auto;
}

.stage__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 2px solid rgb(255 255 255 / 86%);
  padding-bottom: 24px;
}

.stage__title {
  font-size: 96px;
  font-variant-caps: all-small-caps;
  line-height: 0.85;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.stage__top h2 {
  font-size: 36px;
  font-weight: 400;
}

.stage__place {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  white-space: nowrap;
}

.stage__place::before {
  content: "●";
  width: 24px;
  height: 24px;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
}

.stage__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60%;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  padding-top: 42px;
}

.stage__content {
  max-width: 820px;
}

.copy-large,
.stage__content p {
  max-width: 780px;
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 300;
  color: currentColor;
}

.stage__content p + p {
  margin-top: 25px;
}

.stage__content strong {
  font-weight: 700;
}

.stage__actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 30px;
  margin-top: 28px;
}

.stage__text-link,
.stage__button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: currentColor;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.stage__text-link {
  gap: 10px;
}

.stage__link-label {
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}

.stage__link-icon {
  transform: translateY(-1px);
  font-size: 1.05em;
  line-height: 1;
  transition: transform 160ms ease;
}

.stage__text-link:hover .stage__link-icon,
.stage__text-link:focus-visible .stage__link-icon {
  transform: translate(3px, -4px);
}

.stage__button {
  min-height: 72px;
  border: 2px solid currentColor;
  padding: 0 24px;
}

.stage__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  box-shadow: none;
}

.stage-stay .stage__media img {
  filter: grayscale(1);
}

.section {
  width: calc(100% - var(--page-margin) - var(--page-margin));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.section--compact {
  padding-bottom: 18px;
}

.section__intro {
  max-width: 660px;
  margin-bottom: 28px;
}

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

.callout {
  border-left: 6px solid var(--clay);
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.callout p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 72px);
  border-bottom: 1px solid rgb(47 49 43 / 84%);
  margin-bottom: 0;
}

.tab {
  position: relative;
  min-height: 48px;
  border: 0;
  padding: 0 0 12px;
  color: var(--ink);
  background: transparent;
  font: 400 24px/1.2 "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.tab.is-active {
  color: var(--ink);
  background: transparent;
  font-weight: 400;
}

.tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: currentColor;
}

.tab-panel {
  display: grid;
}

.tab-panel[hidden] {
  display: none;
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 37.5%;
  gap: clamp(32px, 4vw, 58px);
  align-items: start;
  padding: 54px 0;
  border-bottom: 1px solid rgb(47 49 43 / 42%);
  background: transparent;
  box-shadow: none;
}

.location-card img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  aspect-ratio: 1.56 / 1;
  object-fit: cover;
}

.location-card > div {
  grid-column: 1;
  grid-row: 1;
}

.location-card h3 {
  margin: 0 0 14px;
  line-height: 1.2;
  font-weight: 700;
}

.location-card p,
.location-card dl,
.card-actions {
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

.location-card p {
  margin: 0 0 16px;
  line-height: 1.4;
  font-size: 20px;
  color: var(--ink);
}

.location-card dl {
  display: grid;
  margin: 0 0 24px;
  border-top: 1px solid rgb(47 49 43 / 28%);
}

.location-card dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid rgb(47 49 43 / 28%);
  padding: 14px 0;
}

.location-card dt {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-transform: none;
}

.location-card dd {
  margin: 0;
  font-size: 20px;
  font-weight: 300;
  text-align: right;
}

.card-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.card-actions a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 0;
  border-bottom: 2px solid currentColor;
  color: var(--ink);
  background: transparent;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.card-actions a::after {
  content: "↗";
  border-bottom: 0;
  line-height: 1;
  transform: translateY(-1px);
}

.card-actions a:nth-child(2) {
  color: var(--ink);
  background: transparent;
}

.site-footer {
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 120px) var(--page-margin);
  color: var(--white);
  background: var(--sage-dark);
}

.site-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 28vw);
  align-items: stretch;
  gap: clamp(40px, 8vw, 140px);
  width: 100%;
}

.site-footer__text {
  align-self: center;
}

.site-footer__headline {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.35;
  font-weight: 400;
}

.site-footer__signature {
  margin: clamp(28px, 4vw, 52px) 0 0;
  font-family: "Indie Flower", cursive;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
}

.site-footer__heart-wrap {
  position: relative;
  align-self: stretch;
  min-width: 180px;
}

.site-footer__heart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  justify-self: center;
  object-fit: contain;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 14px 36px rgb(47 49 43 / 10%);
}

@media (max-width: 820px) {
  :root {
    --page-margin: 32px;
  }

  body {
    font-size: 18px;
  }

  h1 {
    font-size: 64px;
  }

  .stage__title {
    font-size: 64px;
  }

  .section h2 {
    font-size: 32px;
  }

  .hero__date,
  .hero__text,
  .callout p:last-child,
  .location-card p,
  .location-card dd,
  .card-actions a,
  .stage__text-link,
  .stage__button {
    font-size: 18px;
  }

  .copy-large,
  .stage__content p {
    font-size: 21px;
  }

  .site-footer__content {
    grid-template-columns: 1fr minmax(150px, 30vw);
    gap: 32px;
  }

  .site-footer__headline {
    font-size: 34px;
  }

  .site-header {
    gap: 18px;
  }

  .main-nav {
    gap: 8px;
  }

  .stage {
    align-items: stretch;
    padding-top: 132px;
  }

  .stage__top {
    align-items: flex-end;
    flex-direction: row;
    gap: 18px;
    padding-bottom: 18px;
  }

  .stage__top h2 {
    font-size: 30px;
  }

  .stage__place::before {
    width: 20px;
    height: 20px;
    font-size: 15px;
    line-height: 20px;
  }

  .stage__body {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 42px;
  }

  .stage__content p + p {
    margin-top: 25px;
  }

  .stage__media {
    width: 100%;
  }

  .stage__media img {
    aspect-ratio: 16 / 11;
  }

  .location-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 38px 0;
  }

  .location-card img,
  .location-card > div {
    grid-column: 1;
  }

  .location-card img {
    grid-row: 1;
  }

  .location-card > div {
    grid-row: 2;
  }

  .location-card dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .location-card dd {
    text-align: left;
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid img {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 520px) {
  :root {
    --page-margin: 20px;
  }

  body {
    font-size: 17px;
  }

  h1 {
    font-size: 46px;
  }

  .stage__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section h2 {
    font-size: 30px;
  }

  .stage__top {
    gap: 12px;
    padding-bottom: 14px;
  }

  .stage__top h2 {
    font-size: 20px;
  }

  .stage__place {
    gap: 8px;
  }

  .stage__place::before {
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
  }

  .hero__date,
  .hero__text,
  .callout p:last-child,
  .location-card p,
  .location-card dd,
  .card-actions a,
  .stage__text-link,
  .stage__button {
    font-size: 17px;
  }

  .copy-large,
  .stage__content p {
    font-size: 19px;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .site-footer__headline {
    font-size: 28px;
  }

  .hero__content {
    text-align: left;
  }

  .section h2,
  .site-footer__headline {
    line-height: 1.05;
  }

  .site-footer__headline {
    line-height: 1.25;
  }

  .site-footer__signature {
    margin-top: 28px;
    font-size: 34px;
  }

  .site-footer__heart-wrap {
    min-width: 0;
    width: 220px;
    aspect-ratio: 345 / 400;
    justify-self: start;
  }

  .site-footer__heart {
    max-width: 220px;
  }

  .tab-list {
    gap: 24px;
  }

  .tab {
    width: auto;
  }

  .card-actions a {
    width: fit-content;
    justify-content: flex-start;
  }

  .stage__button {
    width: 100%;
    justify-content: space-between;
  }
}
