@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* A provisional palette and type system, ready for the future brand identity. */
:root {
  color-scheme: dark;
  --color-paper: #14271f;
  --color-ink: #f5f3ec;
  --color-muted: #e9ede5;
  --color-rule: #b7beb3;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

.coming-soon {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: clamp(3rem, 9vh, 7rem);
  padding: clamp(2.5rem, 7vh, 5rem) 1.5rem clamp(2.5rem, 6vh, 4.5rem);
  text-align: center;
}

/* Cover crops the original photograph to the viewport without distortion or outpainting. */
.venue-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* A uniform tint preserves the photograph while keeping all text readable. */
.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(8 18 13 / 57%);
  pointer-events: none;
}

.event-identity__name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.3;
}

.event-identity__name span {
  margin-left: 0.35em;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.event-identity__dates {
  margin: 0.875rem 0 0;
  color: var(--color-ink);
  font-size: 0.8125rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.event-identity__description {
  margin: 1.125rem 0 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.65;
}

.announcement {
  align-self: center;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 13.5vw, 12.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.announcement em {
  font-weight: 400;
}

.venue::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.65rem;
  background: var(--color-rule);
}

.venue__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  color: inherit;
  text-decoration: none;
  border-radius: 2px;
}

.venue__name {
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: var(--color-rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 160ms ease;
}

.venue__country {
  color: var(--color-muted);
  font-size: 0.6875rem;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

.venue__link:hover .venue__name {
  text-decoration-color: var(--color-ink);
}

.venue__link:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 6px;
}

@media (max-width: 540px) {
  .venue-background {
    object-position: 65% 50%;
  }

  .announcement {
    font-size: clamp(5rem, 23vw, 7.75rem);
  }

  .announcement em {
    display: block;
  }

  .event-identity__name {
    font-size: 1.3125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
