:root {
  --ink: #24271f;
  --muted: #626456;
  --red: #a61e2c;
  --cream: #f7f4ed;
  --paper: #fffdf8;
  --line: #ded6c7;
  --green: #506045;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    17px/1.65 Georgia,
    serif;
  padding-bottom: 130px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
.button {
  min-height: 44px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 20px;
  font: 600 13px/1.5 system-ui;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  border-color: var(--red);
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
input,
select,
textarea {
  max-width: 100%;
  min-height: 44px;
  border: 1px solid #a9aa9a;
  border-radius: 8px;
  padding: 8px 12px;
  background: white;
  color: var(--ink);
}
h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(34px, 4.4vw, 60px);
}
h2 {
  font-size: clamp(29px, 3.2vw, 42px);
}
h3 {
  font-size: 24px;
}
p {
  margin: 0 0 20px;
}
img {
  max-width: 100%;
  height: auto;
}
header {
  position: sticky;
  z-index: 10;
  top: 12px;
  margin: 12px auto -88px;
  width: calc(100% - 40px);
  max-width: 1220px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 22px;
  background: #fffdf8f7;
  border: 1px solid #e1dbce;
  border-radius: 18px;
  box-shadow: 0 6px 30px #39362c15;
}
header .brand img {
  display: block;
  width: 164px;
}
header nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
header a {
  font: 600 13px system-ui;
  text-decoration: none;
  padding: 12px 0;
}
header a[aria-current] {
  color: var(--red);
}
header .tools {
  display: flex;
  gap: 10px;
}
#menu-button {
  display: none;
}
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  border: 0;
  background: var(--cream);
  width: min(100%, 430px);
  height: 100%;
  max-height: 100%;
  margin: 0 0 0 auto;
  padding: 28px;
}
#mobile-menu::backdrop {
  background: #24271f66;
}
#mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
}
#mobile-menu a {
  padding: 12px;
  font-size: 24px;
}
#mobile-menu button {
  float: right;
}
.skip {
  position: fixed;
  left: -9999px;
  top: 5px;
  z-index: 50;
  background: white;
  padding: 10px;
}
.skip:focus {
  left: 10px;
}
.hero-art {
  display: block;
  width: 100%;
  max-height: 850px;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.hero-copy {
  text-align: center;
  padding: 42px 22px 58px;
  background: linear-gradient(#fffdf7, var(--cream));
}
.eyebrow {
  display: block;
  font: 700 11px/1.6 system-ui;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #824b3b;
  margin-bottom: 16px;
}
.hero-copy p {
  max-width: 590px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 19px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.primary {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.wrap {
  max-width: 1220px;
  margin: auto;
  padding: 0 28px;
}
.section {
  padding-top: 64px;
  padding-bottom: 24px;
}
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title p {
  font-style: italic;
  color: #846550;
}
.worlds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.world {
  display: block;
  position: relative;
  text-decoration: none;
  border: 1px solid #e1d8ca;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px #5443330c;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.world:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px #5443331c;
}
.world img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.world .inside {
  padding: 21px 22px 28px;
  min-height: 155px;
}
.world h3 {
  font-size: 25px;
  padding-right: 20px;
  margin-bottom: 10px;
}
.world p {
  font: 14px/1.6 system-ui;
  color: var(--muted);
  max-width: 255px;
  margin: 0;
}
.world .arrow {
  position: absolute;
  right: 18px;
  bottom: 14px;
  background: #f5eadd;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split img {
  border-radius: 14px;
  width: 100%;
}
.empty {
  border: 1px dashed #c8baa4;
  border-radius: 16px;
  padding: 32px;
  background: var(--paper);
  margin: 24px 0;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
  font-size: 28px;
}
.empty .eyebrow {
  color: var(--red);
}
.scenic {
  margin-top: 64px;
  background:
    linear-gradient(90deg, #fbf7edf5, #fbf7edb8 45%, #fbf7ed00),
    url("/assets/about_mountains.jpg") right center/cover;
}
.scenic .wrap {
  padding-top: 75px;
  padding-bottom: 75px;
}
.scenic article {
  background: #fffdf7e8;
  padding: 30px;
  max-width: 560px;
  border-radius: 12px;
}
.scenic article p {
  color: var(--muted);
}
footer {
  background: #293027;
  color: #f7f4ed;
  margin-top: 50px;
  padding: 46px max(28px, calc((100vw - 1164px) / 2)) 28px;
}
footer .foot-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
footer img {
  width: 210px;
  border-radius: 6px;
}
footer p {
  font-style: italic;
  font-size: 16px;
  margin-top: 14px;
}
footer .legal {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  border-top: 1px solid #68705d;
  padding-top: 24px;
  margin-top: 28px;
  font: 12px/1.6 system-ui;
}
footer .legal a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.page {
  padding-top: 140px;
  min-height: 65vh;
}
.page > h1 {
  max-width: 900px;
}
.lede {
  font-size: 20px;
  color: var(--muted);
  max-width: 760px;
}
.prose {
  max-width: 780px;
  margin: 25px 0;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: end;
  margin: 28px 0;
}
.filters label {
  display: grid;
  gap: 5px;
  font: 13px system-ui;
}
.filters input {
  width: 240px;
}
.filters select {
  max-width: 330px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tabs a {
  font: 600 13px system-ui;
  border: 1px solid var(--line);
  border-radius: 100px;
  min-height: 44px;
  padding: 12px 18px;
  text-decoration: none;
}
.tabs a[aria-current] {
  background: var(--green);
  color: white;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.catalog article {
  background: var(--paper);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.catalog img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 18px;
}
.catalog p,
.metadata {
  font: 14px/1.8 system-ui;
  color: var(--muted);
}
.catalog a {
  text-decoration: none;
}
.catalog h2 {
  font-size: 25px;
}
.cover {
  max-width: 420px;
  border-radius: 12px;
}
.recording {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 18px 0;
  background: var(--paper);
}
.recording p {
  white-space: pre-wrap;
}
.metadata dt {
  font-weight: bold;
  color: var(--ink);
}
.metadata dd {
  margin: 0 0 14px;
  white-space: pre-wrap;
}
.notice {
  background: #f1e6d2;
  border-left: 3px solid var(--red);
  padding: 15px 20px;
}
.error {
  color: #8b1522;
}
#player {
  position: fixed;
  z-index: 15;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 950px;
  background: #293027f7;
  color: white;
  box-shadow: 0 6px 28px #24302536;
  border: 1px solid #92977f;
  border-radius: 15px;
  padding: 10px 15px;
  display: flex;
  gap: 12px;
  align-items: center;
  font: 12px/1.5 system-ui;
}
#player .note {
  font: 34px Georgia;
  color: #ecd8b6;
}
#player .track {
  flex: 1;
  min-width: 0;
}
#player strong,
#player .track span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#player .track span {
  color: #d3d5c6;
}
#player button {
  padding: 8px 14px;
}
#player label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#player input {
  min-height: 20px;
  width: 95px;
  padding: 0;
  accent-color: #f1d6b4;
}
.seek input {
  width: 120px !important;
}
.entrance {
  animation: enter 0.8s ease-out both;
}
@keyframes enter {
  from {
    opacity: 0.3;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.motion-paused * {
  animation: none !important;
  transition: none !important;
}
#checkout-form {
  display: grid;
  gap: 14px;
  max-width: 450px;
  margin: 24px 0;
}
#checkout-form label {
  display: grid;
  gap: 6px;
}
.admin-shell {
  padding: 35px;
  max-width: 1200px;
  margin: auto;
}
.admin-shell nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-shell form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.admin-shell label {
  display: grid;
  gap: 5px;
  font: 13px/1.5 system-ui;
}
.admin-shell textarea {
  min-height: 100px;
}
.admin-list {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.admin-list button {
  justify-content: space-between;
  border-radius: 10px;
}
.admin-shell h1 {
  font-size: 38px;
}
.admin-shell .full {
  grid-column: 1/-1;
}
.admin-shell pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin-shell #admin-status {
  margin: 20px 0;
  white-space: pre-wrap;
}
.hidden {
  display: none !important;
}
header .brand {
  padding: 0;
}
footer .eyebrow {
  color: #edc0ac;
}
.page a {
  overflow-wrap: anywhere;
}
main:focus {
  outline: none;
}
.hero-art {
  content-visibility: auto;
}
@media (min-width: 1450px) {
  .worlds {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .world img {
    height: 135px;
  }
  .world .inside {
    min-height: 215px;
    padding: 18px 14px;
  }
  .world h3 {
    font-size: 22px;
  }
  .world p {
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  #menu-button {
    display: inline-flex;
  }
  .split {
    gap: 25px;
  }
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .volume {
    display: none !important;
  }
  .hero-art {
    padding-top: 82px;
    aspect-ratio: auto;
    min-height: 300px;
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  body {
    padding-bottom: 150px;
  }
  header {
    width: calc(100% - 20px);
    top: 8px;
    padding: 7px 11px;
    gap: 7px;
    min-height: 64px;
    margin-top: 8px;
  }
  header .brand img {
    width: 132px;
  }
  header button,
  header .button {
    padding: 8px 11px;
  }
  .hero-art {
    padding-top: 82px;
    min-height: 0;
    object-fit: contain;
  }
  .hero-copy {
    padding: 30px 22px 40px;
  }
  .hero-copy h1 {
    font-size: 35px;
  }
  .hero-copy p {
    font-size: 17px;
  }
  .wrap {
    padding: 0 18px;
  }
  .worlds {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .world {
    display: grid;
    grid-template-columns: 38% 62%;
  }
  .world img {
    height: 100%;
    min-height: 155px;
  }
  .world .inside {
    min-height: 155px;
    padding: 18px 18px 30px;
  }
  .world h3 {
    font-size: 22px;
  }
  .world p {
    font-size: 12px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 42px;
  }
  .catalog {
    grid-template-columns: 1fr;
  }
  .page {
    padding-top: 130px;
  }
  .scenic .wrap {
    padding: 40px 18px;
  }
  .scenic article {
    padding: 23px;
  }
  .foot-top {
    flex-direction: column;
  }
  footer a {
    overflow-wrap: anywhere;
  }
  .empty {
    padding: 25px;
  }
  .seek {
    width: 100%;
    flex-direction: row !important;
    align-items: center;
    gap: 10px !important;
  }
  .seek input {
    width: 100% !important;
    flex: 1;
  }
  #player {
    flex-wrap: wrap;
    gap: 7px;
    padding: 9px 12px;
  }
  #player .track {
    flex-basis: 35%;
  }
  #player button {
    font-size: 11px;
    padding: 8px 10px;
  }
  #player .note {
    font-size: 28px;
  }
  .admin-shell {
    padding: 22px;
  }
  .admin-shell form {
    grid-template-columns: 1fr;
  }
  .filters input,
  .filters label {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
#audio-options {
  display: none;
}
@media (max-width: 900px) {
  #audio-options {
    display: inline-flex;
  }
  #player.expanded .volume {
    display: flex !important;
  }
  #player.expanded {
    flex-wrap: wrap;
  }
  .volume {
    width: 100%;
    flex-direction: row !important;
    align-items: center;
  }
  .volume input {
    flex: 1;
  }
}
@media (max-width: 600px) {
  #player .track {
    flex: 1 1 45px;
  }
  body:has(#player.expanded) {
    padding-bottom: 185px;
  }
}
