  :root {
  --plaster: #E8EBE8;
  --plaster-deep: #D9DED9;
  --walnut: #33261D;
  --walnut-soft: #5E4D40;
  --birch: #D6B37E;
  --lacquer: #1F4D45;
  --lacquer-dark: #163933;
  --measure: 34rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--walnut);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.65;
}
h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
a { color: var(--lacquer); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--lacquer);
  outline-offset: 4px;
  border-radius: 2px;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 1.75rem; padding-bottom: 1.75rem;
}
.wordmark {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em;
  color: var(--walnut); text-decoration: none;
}
.site-head nav a { font-size: 1rem; margin-left: 1.5rem; color: var(--walnut-soft); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding-top: 2rem; padding-bottom: 5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  max-width: 13ch;
}
.hero p.lede {
  max-width: var(--measure);
  font-size: 1.3rem;
  margin: 1.5rem 0 2rem;
  color: var(--walnut-soft);
}
.button {
  display: inline-block;
  background: var(--lacquer);
  color: #fff;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
}
.button:hover { background: var(--lacquer-dark); }
.hint { display: block; max-width: 30rem; margin: 1rem 0 0 auto; text-align: center; font-size: 0.95rem; color: var(--walnut-soft); font-style: italic; }

.art-button {
  display: block; width: 100%; max-width: 30rem; margin-left: auto;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.art-button svg { display: block; width: 100%; height: auto; overflow: visible; }

.lift {
  transform-box: view-box;
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1), filter 1.1s ease;
}
.lifted .lift {
  transform: translate(58px, -92px) rotate(-7deg);
  filter: drop-shadow(14px 22px 14px rgba(51, 38, 29, 0.35));
}
.lift { transform-origin: 210px 250px; }
@media (prefers-reduced-motion: reduce) {
  .lift { transition: none; }
}


/* Hero stage: studio backdrop, framed piece in 3D */
.stage {
  background: radial-gradient(ellipse 70% 90% at 68% 45%, #B3B3B5 0%, #A4A4A7 55%, #96969A 100%);
  overflow: hidden;
}
.stage-inner {
  max-width: 90rem; margin: 0 auto; aspect-ratio: 16 / 9; max-height: calc(100vh - 8rem); min-height: 28rem;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center;
  padding: 0 max(1.5rem, 4vw); gap: 2rem;
}
.stage-copy h1 { font-size: clamp(2.4rem, 4.2vw, 4rem); max-width: 12ch; }
.stage-copy .lede { font-size: 1.2rem; margin: 1.25rem 0 1.75rem; color: #2E241C; max-width: 30rem; }
.hero-photo { perspective: 1400px; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-photo img {
  display: block; width: 128%; max-width: none; height: auto; margin: 0 -14%;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 98%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 98%);
  transform-origin: 50% 60%;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px)) scale(var(--s, 1));
  opacity: var(--o, 1);
  will-change: transform;
}
.stage { position: relative; }
.stage-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease; }
.stage-inner { position: relative; z-index: 1; }
.stage-copy { pointer-events: none; }
.stage-copy a { pointer-events: auto; }
.has-3d .stage-gl { opacity: 1; }
.has-3d .hero-photo img { visibility: hidden; }
.has-3d .hero-photo { cursor: pointer; }
.stage .hint { display: block; margin-top: 1rem; font-size: .95rem; font-style: italic; color: #3E3229; text-align: left; max-width: none; }
@media (max-width: 52rem) {
  .stage-inner { aspect-ratio: auto; max-height: none; min-height: 0; grid-template-columns: 1fr; padding: 1.5rem 1.5rem 3rem; }
  .hero-photo { order: -1; }
}
/* Sections */
section { padding: 4.5rem 0; }
.band { background: var(--plaster-deep); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 3rem;
}
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1rem; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; max-width: var(--measure); }
.facts h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.facts p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; max-width: var(--measure); }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.5rem;
  padding: 1.1rem 0; border-top: 1px solid rgba(51, 38, 29, 0.18);
}
.steps li:last-child { border-bottom: 1px solid rgba(51, 38, 29, 0.18); }
.steps li::before {
  content: counter(step);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: var(--lacquer);
}
.steps strong { font-weight: 600; }

.options { margin-top: 2rem; max-width: var(--measure); }
.options dt { font-weight: 600; margin-top: 1rem; }
.options dd { margin: 0.15rem 0 0; color: var(--walnut-soft); }

.timeline { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; padding: 0.6rem 0; }
.timeline time {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700; color: var(--lacquer);
}

.contact { text-align: left; }
.contact .email {
  display: inline-block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 4.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 1rem 0 1.5rem;
  word-break: break-word;
}


/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.gallery-head p { margin: 0; color: var(--walnut-soft); max-width: 28rem; }
.feature { margin: 0 0 1.5rem; }
.feature img, .grid img, .inline-photo img {
  display: block; width: 100%; height: auto; border-radius: 3px;
  background: var(--plaster-deep);
}
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid img { aspect-ratio: 4 / 3; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: 0.95rem; color: var(--walnut-soft); margin-top: 0.6rem; line-height: 1.45; }
.inline-photo { margin-top: 2rem; max-width: var(--measure); }
@media (max-width: 52rem) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .gallery-head { display: block; }
  .gallery-head p { margin-top: 0.75rem; }
}
@media (max-width: 34rem) { .grid { grid-template-columns: 1fr; } }

footer { padding: 2.5rem 0 3rem; font-size: 0.95rem; color: var(--walnut-soft); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3rem; }
  .art-button { margin: 0 auto; max-width: 24rem; }
  .hint { margin: 1rem auto 0; }
  .section-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-head nav a:nth-child(2) { display: none; }
}

/* Header + burger menu */
.site-head { display: flex; justify-content: space-between; align-items: center; padding-top: 1.25rem; padding-bottom: 1.25rem; position: relative; z-index: 20; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; background: none; border: 0; padding: .5rem .25rem; cursor: pointer;
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 500; font-size: 1.05rem; color: var(--walnut);
}
.burger { position: relative; width: 26px; height: 18px; display: inline-block; }
.burger span { position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 7.75px; } .burger span:nth-child(3) { top: 15.5px; }
.menu-open .burger span:nth-child(1) { top: 7.75px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 7.75px; transform: rotate(-45deg); }
.menu-panel {
  position: fixed; inset: 0; z-index: 15; background: var(--walnut); color: var(--plaster);
  display: flex; align-items: center; padding: 6rem max(1.5rem, 8vw) 3rem;
  clip-path: circle(0 at calc(100% - 3rem) 2.5rem); transition: clip-path .55s cubic-bezier(.7,0,.2,1); visibility: hidden;
}
.menu-open .menu-panel { clip-path: circle(150% at calc(100% - 3rem) 2.5rem); visibility: visible; }
.menu-open .site-head .wordmark, .menu-open .menu-btn { color: var(--plaster); }
.menu-panel ol { list-style: none; margin: 0; padding: 0; }
.menu-panel li + li { margin-top: .4rem; }
.menu-panel a {
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1.1; color: var(--plaster); text-decoration: none;
}
.menu-panel a:hover, .menu-panel a[aria-current="page"] { color: var(--birch); }
.menu-panel .menu-foot { position: absolute; left: max(1.5rem, 8vw); bottom: 2rem; font-size: 1rem; color: #CDBFAF; }
.menu-panel .menu-foot a { font: inherit; color: inherit; text-decoration: underline; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .menu-panel, .burger span { transition: none; } }

/* Inner pages */
.page-head { padding: 2.5rem 0 1rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.page-head p { margin: 1rem 0 0; max-width: var(--measure); color: var(--walnut-soft); font-size: 1.2rem; }
.page main section:first-of-type { padding-top: 1.5rem; }
.next-link { display: inline-block; margin-top: 2.5rem; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 500; font-size: 1.15rem; }

/* Home: one screen, header sits on the studio grey */
body.home { background: #A4A4A7; min-height: 100vh; display: flex; flex-direction: column; }
.home .site-head { max-width: none; margin: 0; padding-left: max(1.5rem, 4vw); padding-right: max(1.5rem, 4vw); }
.home main { flex: 1; display: flex; }
.home .stage { flex: 1; display: flex; align-items: center; }
.home .stage-inner { width: 100%; }
.home footer { padding: 1rem max(1.5rem, 4vw); color: #3E3229; font-size: .9rem; max-width: none; margin: 0; }


.section-grid h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
.gallery-head.page-head { padding-top: 1rem; }

body.home { background: #A1A1A5; }
.home .stage { background: transparent; }

/* Story, register, remaining */
h2.sub { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin: 2.25rem 0 .75rem; }
.prose .timeline { margin-top: 2rem; }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.text-link { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 500; font-size: 1.05rem; color: var(--lacquer); }
.stage-copy .text-link { margin-left: 1.25rem; pointer-events: auto; color: #1A3F39; }
.note { margin-top: 2rem; color: var(--walnut-soft); font-style: italic; }
.notice { background: var(--plaster-deep); border-left: 4px solid var(--lacquer); padding: 1rem 1.25rem; max-width: var(--measure); margin: 1rem 0 2.5rem; }
.past-title { margin-top: 1rem; }
.past-note { margin: 0 0 1.5rem; color: var(--walnut-soft); max-width: var(--measure); }
.lede-small { color: var(--walnut-soft); font-size: 1.2rem; margin: 1rem 0 0; max-width: 24rem; }
.signup { display: grid; gap: .4rem; max-width: 28rem; }
.signup label { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 500; margin-top: .8rem; }
.signup .opt { font-weight: 400; color: var(--walnut-soft); }
.signup input[type=text], .signup input[type=email], .signup select {
  font: inherit; font-size: 1.05rem; padding: .7rem .8rem; border: 1.5px solid #9C8E80; border-radius: 4px; background: #fff; color: var(--walnut);
}
.signup input:focus-visible, .signup select:focus-visible, .signup .check input:focus-visible { outline: 3px solid var(--lacquer); outline-offset: 2px; }
.signup .check { display: flex; gap: .7rem; align-items: flex-start; font-family: "Source Serif 4", Georgia, serif; font-weight: 400; margin: 1.2rem 0 .8rem; }
.signup .check input { width: 1.25rem; height: 1.25rem; margin-top: .25rem; flex: none; accent-color: var(--lacquer); }
.signup button { justify-self: start; border: 0; cursor: pointer; }
.signup button:disabled { opacity: .6; cursor: default; }
.form-msg { min-height: 1.5em; margin: .5rem 0 0; font-weight: 600; color: var(--lacquer); }
.small { font-size: .9rem; color: var(--walnut-soft); margin: .25rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.other-interest { margin-top: 3rem; max-width: 28rem; }

/* Brochure flip-book */
.book-section { padding: 0 0 3rem; }
.book-head { padding-top: 1rem; padding-bottom: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 2rem; }
.book-head h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.book-head p { margin: 0; color: var(--walnut-soft); }
.book-stage {
  background: radial-gradient(ellipse at 50% 40%, #5A4A3E 0%, #33261D 70%);
  padding: clamp(1.25rem, 4vw, 3rem) clamp(.75rem, 4vw, 3rem);
}
.book { margin: 0 auto; max-width: 1400px; }
.book .page { background: #fff; overflow: hidden; }
.book .page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.book-controls { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 1.25rem; font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.book-btn { font: inherit; font-weight: 500; font-size: 1rem; background: var(--lacquer); color: #fff; border: 0; border-radius: 4px; padding: .6rem 1rem; cursor: pointer; }
.book-btn:hover { background: var(--lacquer-dark); }
.book-btn:disabled { opacity: .35; cursor: default; }
.book-btn:focus-visible { outline: 3px solid var(--lacquer); outline-offset: 3px; }
#book-count { min-width: 9.5rem; text-align: center; color: var(--walnut-soft); }

.book { max-width: min(1400px, calc((100vh - 300px) * 2)) !important; }
@media (max-width: 52rem) { .book { max-width: min(700px, calc(100vh - 260px)) !important; } }
