@font-face {
  font-family: Barlow;
  src: url(../life/assets/barlow.woff2) format('woff2');
  font-display: swap;
  font-weight: 700;
}
@font-face {
  font-family: Inter;
  src: url(../life/assets/inter.woff2) format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Yellowtail;
  src: url(../life/assets/yellowtail.woff2) format('woff2');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #111315;
  --paper: #F6F0E3;
  --muted: #BAC1C1;
  --peach: #FF712C;
  --aqua: #A5DACF;
  --pad: clamp(1.15rem, 6vw, 7rem);
  font:
    100%/1.55 Inter,
    system-ui,
    sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -8rem;
  z-index: 5;
  background: var(--ink);
  padding: 0.8rem;
}
.skip:focus {
  top: 0.6rem;
}
.mast,
footer,
.section-head,
.actions,
.switches {
  display: flex;
  align-items: center;
}
.mast {
  padding: 0.75rem var(--pad);
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #ffffff28;
}
.mast a,
.switches a,
.actions a,
.signature {
  text-decoration: none;
}
.mast > a:last-child {
  padding: 0.6rem 0;
  font-size: 0.94rem;
}
.signature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font:
    700 1.2rem/1 Barlow,
    'Arial Narrow',
    sans-serif;
  letter-spacing: 0.04em;
}
.signature img {
  display: block;
  max-width: 100%;
  height: auto;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 55vh, 650px);
  display: grid;
  align-content: center;
  overflow: hidden;
  background: #3b2947;
}
.skyline,
.hero:after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.skyline {
  object-fit: cover;
  object-position: center 55%;
}
.hero:after {
  content: '';
  background:
    linear-gradient(90deg, rgba(20, 15, 28, 0.93) 0%, rgba(28, 17, 36, 0.77) 33%, rgba(26, 19, 34, 0.1) 79%),
    linear-gradient(0deg, #1113158a, transparent 36%);
}
.hero-inner {
  padding: 3.5rem var(--pad) 4rem;
}
.eyebrow,
.location {
  text-transform: uppercase;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow {
  color: var(--peach);
  margin: 0 0 0.8rem;
}
h1,
h2,
h3 {
  font-family: Barlow, 'Arial Narrow', sans-serif;
  line-height: 1;
  letter-spacing: -0.016em;
  margin: 0;
}
h1 {
  font-size: clamp(5rem, 9vw, 10rem);
}
h1 em {
  display: inline-block;
  font:
    400 0.92em/.9 Yellowtail,
    cursive;
  color: var(--peach);
  margin-left: -0.04em;
}
.intro {
  max-width: 35rem;
  color: #fff2e6;
  margin: 1.25rem 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.actions {
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.45rem;
}
button,
.actions a {
  font:
    650 1rem/1.25 Inter,
    sans-serif;
  cursor: pointer;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.3rem;
  border-radius: 0.42rem;
  border: 1px solid transparent;
}
.primary {
  background: var(--peach);
  color: #111315;
}
.secondary {
  background: #231b29dd;
  border-color: #ffefdc85;
  color: var(--paper);
}
.primary:hover,
.secondary:hover {
  filter: brightness(1.13);
}
.location {
  position: absolute;
  right: var(--pad);
  bottom: 1.25rem;
  margin: 0;
  text-shadow: 0 1px 4px #16101d;
}
.location span {
  color: var(--peach);
  margin: 0 0.35em;
}
.inside {
  padding: clamp(2rem, 4vw, 4.5rem) var(--pad);
}
.section-head {
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(2.5rem, 4.1vw, 4rem);
}
.switches {
  gap: 0.25rem;
  flex-wrap: wrap;
}
.switches a {
  padding: 0.65rem 0.95rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.switches a[aria-current='true'] {
  border-color: var(--aqua);
  color: var(--aqua);
}
.exhibit {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.8fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 5rem);
  margin-bottom: 1.5rem;
}
.preview {
  display: block;
  border: 1px solid #51585C;
  border-radius: 0.6rem;
  overflow: hidden;
  background: #292E32;
}
.preview img {
  display: block;
  width: 100%;
  height: auto;
}
.story {
  max-width: 32rem;
}
.story h3 {
  font-size: clamp(2.1rem, 4.1vw, 3.7rem);
}
.story > p:not(.eyebrow),
footer p,
dialog p {
  color: var(--muted);
}
.text-link,
footer a {
  color: var(--aqua);
  text-underline-offset: 0.24em;
  display: inline-block;
  padding: 0.55rem 0;
}
footer {
  padding: 1.2rem var(--pad);
  border-top: 1px solid #443a46;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
footer > div {
  display: flex;
  gap: 1rem;
}
footer strong {
  color: var(--paper);
}
dialog {
  max-width: min(29rem, 92vw);
  border-radius: 0.7rem;
  background: #1B1E20;
  color: var(--paper);
  padding: 1.6rem;
  border: 1px solid #766777;
}
dialog::backdrop {
  background: #110d18c9;
}
dialog h2 {
  font-size: 2rem;
  margin-top: 0.6rem;
}
[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .hero {
    min-height: 440px;
    align-content: end;
  }
  .skyline {
    object-position: 65% center;
  }
  .hero:after {
    background: linear-gradient(0deg, #111315 0%, #1d1424d6 43%, #271d2e25 96%);
  }
  .hero-inner {
    padding: 6rem var(--pad) 2.4rem;
  }
  .location {
    display: none;
  }
  .exhibit {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: start;
    gap: 0.45rem;
  }
  .switches {
    width: 100%;
  }
  .switches a {
    padding: 0.65rem 0.7rem;
  }
  .inside {
    padding-top: 1.6rem;
  }
}
@media (max-width: 370px) {
  h1 {
    font-size: 4.3rem;
  }
  .mast {
    gap: 0.4rem;
  }
  .signature {
    font-size: 1rem;
  }
}
