/* unspokenmelodies: the stone and ink of unspokenmelodies.com */
:root {
  --stone: #bcbcb9;
  --stone-hi: #c9c9c6;
  --ink: #1a1a17;
  --ink-2: #3d3d38;
  --ink-soft: rgba(26, 26, 23, .56);
  --line: rgba(26, 26, 23, .14);
  --glass: rgba(255, 255, 255, .28);
  --glass-hi: rgba(255, 255, 255, .5);
  --glass-edge: rgba(255, 255, 255, .55);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", Calibri, "Gill Sans", "Trebuchet MS", sans-serif;
  --gutter: clamp(18px, 5.5vw, 48px);
  --max: 980px;
  --radius: 26px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--stone);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
h1 em, h2 em { color: var(--ink-2); }
.eyebrow { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--stone-hi);
  font: 500 .95rem var(--sans); letter-spacing: .01em; text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn-glass { background: var(--glass); color: var(--ink); border-color: var(--glass-edge); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-full { width: 100%; }
@media (hover: hover) {
  .btn:hover { background: var(--ink-2); }
  .btn-glass:hover { background: var(--glass-hi); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: max(10px, env(safe-area-inset-top)) var(--gutter) 10px;
  transition: background-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(188, 188, 185, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; font-weight: 600; font-size: .95rem; }
.links { display: none; gap: 28px; font-size: .9rem; }
.links a, .nav-book { text-decoration: none; }
.links a { color: var(--ink-2); padding: 10px 0; }
.nav-book { font-size: .88rem; font-weight: 500; padding: 9px 20px; border-radius: 999px; background: var(--ink); color: var(--stone-hi); }
@media (hover: hover) { .links a:hover { color: var(--ink); } }
@media (min-width: 760px) { .links { display: flex; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 96px var(--gutter) 56px;
}
/* two soft lights drifting over the stone */
.glow { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.glow i { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .42), transparent 62%); }
.glow i:first-child { left: -30vmax; top: -28vmax; animation: drift-a 22s ease-in-out infinite alternate; }
.glow i:last-child { right: -34vmax; bottom: -36vmax; background: radial-gradient(circle, rgba(255, 255, 255, .3), transparent 62%); animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vmax, 14vmax); } }
@keyframes drift-b { to { transform: translate(-16vmax, -12vmax); } }

/* the pan, with its sound lines playing behind it like a live meter */
.hero-mark { position: relative; width: clamp(130px, 38vw, 190px); aspect-ratio: 476 / 504; margin: 20px 0 44px; }
.hero-mark img { position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.eq { position: absolute; inset: 0; }
.eq i {
  position: absolute; left: calc(var(--x) * 1%); top: 51%;
  width: 1.9%; min-width: 2.5px; height: calc(var(--h) * 1.45%);
  margin-left: -.95%;
  border-radius: 2px; background: #fff;
  transform: translateY(-50%) scaleY(var(--a, 1));
  will-change: transform;
}
h1 { font-size: clamp(2.6rem, 11vw, 5.2rem); }
.sub { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 4.6vw, 1.6rem); color: var(--ink-2); line-height: 1.2; }
.lede { margin: 16px auto 0; max-width: 27em; color: var(--ink-2); font-size: clamp(1rem, 3.6vw, 1.12rem); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; width: 100%; }
@media (max-width: 520px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* entrance */
.up { animation: up 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

/* ---------- blocks ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 11vw, 112px) var(--gutter) 0; }
.head { margin-bottom: clamp(24px, 5vw, 40px); }
.head .eyebrow { margin-bottom: 12px; }
h2 { font-size: clamp(2.5rem, 9vw, 3.8rem); }

/* glass card, used throughout */
.card, .own, .tile, .book-card, .faq {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 18px 40px -24px rgba(26, 26, 23, .35);
}

/* ---------- workshops ---------- */
.cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; gap: 18px; } }
.card { padding: clamp(22px, 5vw, 32px); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 28px 50px -26px rgba(26, 26, 23, .45); } }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.tag { font-size: .74rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--glass-hi); }
.seats { display: flex; gap: 5px; }
.seats i { width: 10px; height: 10px; border-radius: 50%; border: 1.2px solid var(--ink); animation: seat 3.2s ease-in-out infinite; }
.seats i:nth-child(2) { animation-delay: .2s; } .seats i:nth-child(3) { animation-delay: .4s; } .seats i:nth-child(4) { animation-delay: .6s; }
@keyframes seat { 0%, 70%, 100% { background: transparent; } 35% { background: var(--ink); } }
.card h3 { font-size: clamp(2.1rem, 8vw, 2.6rem); }
.card-line { margin-top: 10px; color: var(--ink-2); }
.card .btn { margin-top: auto; }

.more { margin: 22px 0; border-top: 1px solid var(--line); }
.more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 500; font-size: .92rem; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-weight: 300; font-size: 1.4rem; transition: transform .35s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more h4 { margin: 10px 0 6px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.more ul { list-style: none; margin-bottom: 14px; }
.more li { position: relative; padding: 6px 0 6px 18px; font-size: .94rem; color: var(--ink-2); }
.more li::before { content: ""; position: absolute; left: 0; top: .95em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink); }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.2; margin: 8px 0 4px; }
.more[open] > *:not(summary) { animation: up .6s var(--ease) both; }

/* ---------- buy a handpan ---------- */
.own {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: clamp(44px, 10vw, 72px) 24px;
  text-decoration: none;
  transition: transform .5s var(--ease);
}
.own-title { font-family: var(--serif); font-size: clamp(2.5rem, 9vw, 3.8rem); line-height: 1.02; }
.own-title em { color: var(--ink-2); }
.own-text { color: var(--ink-2); }
.own-btn { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--stone-hi); font-weight: 500; font-size: .95rem; }
@media (hover: hover) { .own:hover { transform: translateY(-4px); } .own:hover .own-btn { background: var(--ink-2); } }

/* ---------- details ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.tile { padding: 20px 18px; border-radius: 22px; display: flex; flex-direction: column; gap: 6px; }
.tile b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 6vw, 2.1rem); line-height: 1; }
.tile span { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }

/* ---------- booking ---------- */
.book-card { padding: clamp(22px, 5vw, 36px); max-width: 640px; }
.pay { margin-bottom: 22px; }
.pay-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-row:first-child { border-top: 1px solid var(--line); }
.pay-row span { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.pay-row b { font-weight: 600; }
.pay-row small { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-soft); }
.steps { list-style: none; display: grid; gap: 16px; margin-bottom: 26px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; }
.steps p { color: var(--ink-2); padding-top: 4px; }
.fine { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq { padding: 4px 22px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 62px; padding: 12px 0; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.4rem; color: var(--ink-soft); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { text-align: center; padding: clamp(80px, 13vw, 130px) var(--gutter) max(36px, env(safe-area-inset-bottom)); }
.footer img { width: 44px; height: auto; margin-bottom: 14px; }
.footer > p:nth-of-type(1) { font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.15; }
.footer em { color: var(--ink-2); }
.foot-links { margin-top: 14px; display: flex; justify-content: center; gap: 12px; font-size: .9rem; }
.foot-links a { padding: 10px 2px; }
.copy { margin-top: 8px; font-size: .78rem; color: var(--ink-soft); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .up, .reveal { opacity: 1; transform: none; }
}
