/* media luna · moongate
   palette from A Harp is a Portal, ii. the moongate */
:root {
  --night: #26333D;
  --night-2: #45535E;
  --moongate: #98C3C6;
  --moongate-deep: #5E8F94;
  --delphinium: #8C7BB0;
  --petal: #D9A7BC;
  --moon: #EEE9DC;
  --paper: #F7F4EE;
  --display: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 3rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--moongate-deep); }
:focus-visible { outline: 2px solid var(--delphinium); outline-offset: 4px; }
h1, h2, h3, .wordmark, .t, .date b, .bubble {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
h1, h2, h3 { font-weight: 800; line-height: .98; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-style: italic; }
h3 { font-size: 1.6rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.measure { max-width: var(--measure); }
.small { font-size: .9rem; }
.muted { color: var(--night-2); }
.kicker { font-size: .95rem; color: var(--moongate-deep); font-weight: 600; margin: 0 0 .8rem; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem var(--gutter);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--night) 10%, transparent);
}
.wordmark { font-size: 1.7rem; font-weight: 900; font-style: italic; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--moongate-deep); }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; padding: .2rem 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--moongate-deep); color: var(--night); }
.nav-toggle { display: none; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; font: inherit; background: transparent; border: 1px solid var(--night); border-radius: 999px 999px 0 0; padding: .3rem 1rem; color: var(--night); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1rem var(--gutter) 1.5rem; background: var(--paper); border-bottom: 1px solid color-mix(in srgb, var(--night) 12%, transparent); font-size: 1.25rem; }
  .nav.open { display: flex; }
}

/* hero */
.hero {
  position: relative; min-height: min(94vh, 900px); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 22%),
    linear-gradient(180deg, #E9C9D8 0%, #E4D3E3 22%, #CFE3E3 52%, #DCEAE6 74%, var(--paper) 100%);
}
.hero-copy { position: relative; z-index: 6; padding: clamp(2.5rem, 8vh, 5.5rem) var(--gutter) 0; max-width: 44rem; }
.hero h1 {
  font-size: clamp(4.4rem, 15vw, 12rem);
  font-weight: 900; font-style: italic; line-height: .8; letter-spacing: -.03em;
  color: var(--night);
}
.hero .who { margin-top: 1.4rem; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 26rem; font-weight: 500; }
.hills { position: absolute; left: -2%; right: -2%; bottom: 0; width: 104%; height: 54%; z-index: 2; }
.mist { position: absolute; left: -20%; right: -20%; height: 18%; bottom: 24%; z-index: 3; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,255,255,.8), transparent 70%); filter: blur(16px); animation: drift 44s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.portal {
  position: absolute; z-index: 4; right: clamp(1rem, 9vw, 9rem); bottom: 13%;
  width: clamp(180px, 24vw, 330px); aspect-ratio: 3 / 4.3;
  border-radius: 999px 999px 0 0; overflow: hidden; text-decoration: none;
  outline: 1px solid rgba(255,255,255,.9); outline-offset: 7px;
  box-shadow: 0 0 80px 24px rgba(255,255,255,.75);
}
.portal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.portal:hover img { transform: scale(1.04); }

/* bubbles */
.bubble {
  position: absolute; z-index: 5;
  display: grid; place-items: center; text-align: center;
  width: var(--s, 120px); aspect-ratio: 1; border-radius: 50%;
  padding: 1rem; text-decoration: none;
  color: var(--night); font-weight: 700; font-style: italic; line-height: 1.05;
  font-size: calc(var(--s, 120px) * .14);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.95) 0 5%, rgba(255,255,255,0) 13%),
    radial-gradient(circle at 72% 78%, rgba(217,167,188,.55), transparent 46%),
    radial-gradient(circle at 22% 72%, rgba(152,195,198,.55), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(140,123,176,.25), transparent 40%),
    rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: inset 0 0 18px rgba(255,255,255,.7), inset -6px -10px 22px rgba(94,143,148,.22), 0 12px 30px rgba(38,51,61,.10);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: bob var(--d, 9s) ease-in-out infinite alternate;
  transition: transform .4s ease, box-shadow .4s ease;
}
.bubble:hover { color: var(--night); box-shadow: inset 0 0 22px rgba(255,255,255,.9), inset -6px -10px 22px rgba(217,167,188,.4), 0 16px 40px rgba(38,51,61,.16); }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-16px); } }
.b1 { --s: 150px; left: 46%; top: 16%; --d: 8s; }
.b2 { --s: 118px; left: 54%; top: 42%; --d: 11s; }
.b3 { --s: 96px; left: 40%; top: 50%; --d: 9.5s; }
.b4 { --s: 70px; left: 62%; top: 10%; --d: 12s; font-size: 0; }
.b5 { --s: 44px; left: 35%; top: 30%; --d: 7s; font-size: 0; }
@media (prefers-reduced-motion: reduce) { .bubble, .mist { animation: none; } }
@media (max-width: 800px) {
  .hero { min-height: 820px; }
  .portal { right: 50%; transform: translateX(50%); bottom: 12%; width: 56vw; }
  .b1 { --s: 112px; left: 6%; top: 52%; }
  .b2 { --s: 96px; left: auto; right: 5%; top: 50%; }
  .b3 { --s: 84px; left: 10%; top: 75%; }
  .b4 { left: 78%; top: 40%; }
  .b5 { left: 70%; top: 76%; }
}

/* sections */
.band { padding: clamp(4rem, 10vw, 7.5rem) var(--gutter); position: relative; }
.band.moon { background: var(--moon); }
.band.mist-band { background: linear-gradient(180deg, var(--paper), #E3EEEC); }
.band.petal { background: linear-gradient(180deg, var(--paper), #F1E2E8); }
.band.night { background: var(--night); color: var(--moon); }
.band.night a:hover { color: var(--moongate); }
.wrap { max-width: 76rem; margin: 0 auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.lede { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

/* portal-shaped buttons */
.btn, button.btn {
  display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: 1.05rem 1.9rem .75rem; border-radius: 999px 999px 0 0;
  background: var(--night); color: var(--paper); border: 1px solid var(--night);
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--moongate); color: var(--night); }
.btn.ghost { background: transparent; color: var(--night); }
.btn.ghost:hover { background: var(--moongate); }
.night .btn { background: var(--moongate); color: var(--night); border-color: var(--moongate); }
.night .btn:hover { background: var(--petal); border-color: var(--petal); }

/* threshold strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(190px, 22vw, 270px); gap: 1.5rem; overflow-x: auto; padding: 0 var(--gutter) 1.5rem; margin: 0 calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
.strip a { scroll-snap-align: start; text-decoration: none; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 3 / 4; background: var(--moon); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
a:hover .arch img { transform: scale(1.04); }
.cap { margin-top: .7rem; font-size: .95rem; line-height: 1.35; font-weight: 500; }
.cap .no { font-family: var(--display); font-weight: 800; font-style: italic; color: var(--moongate-deep); margin-right: .35rem; }

/* weird at heart */
.wah { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: end; }
.cards img { width: 100%; border-radius: 10px; box-shadow: 0 18px 36px -18px rgba(0,0,0,.55); }
.cards img:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.cards img:nth-child(2) { transform: rotate(-1deg); }
.cards img:nth-child(3) { transform: rotate(2deg) translateY(-8px); }
.cards img:nth-child(4) { transform: rotate(5deg) translateY(6px); }
.wah .tagline { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25; color: var(--moongate); margin: 1.2rem 0; }
@media (max-width: 860px) { .wah { grid-template-columns: 1fr; } .cards { grid-template-columns: repeat(2, 1fr); } }

/* events */
.event { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.5rem; padding: 2rem 0; border-top: 1px solid color-mix(in srgb, var(--night) 25%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--night) 25%, transparent); }
.date { line-height: .9; text-align: center; min-width: 6rem; }
.date b { display: block; font-weight: 800; font-size: 4.4rem; color: var(--moongate-deep); font-style: italic; }
.date span { font-weight: 600; }
.event h3 { font-size: 2rem; margin-bottom: .5rem; }
.event p { margin-bottom: .6rem; }
.past { columns: 2 16rem; column-gap: 3rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.past li { padding: .35rem 0; break-inside: avoid; }
@media (max-width: 520px) { .event { grid-template-columns: 1fr; } .date { text-align: left; } }

/* forms */
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; } }
form.wix { display: grid; gap: 1.1rem; max-width: 34rem; }
form.wix.inline { grid-template-columns: 1fr auto; align-items: end; }
form.wix label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
form.wix input, form.wix textarea {
  font: inherit; font-weight: 400; color: var(--night);
  background: rgba(255,255,255,.75); border: 1px solid color-mix(in srgb, var(--night) 30%, transparent);
  border-radius: 14px; padding: .8rem 1rem;
}
form.wix textarea { min-height: 9rem; resize: vertical; }
form.wix input:focus, form.wix textarea:focus { outline: 2px solid var(--moongate-deep); outline-offset: 1px; border-color: transparent; }
.form-status { min-height: 1.3em; font-size: .9rem; color: var(--night-2); margin: 0; }
.form-done { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.6rem; }
@media (max-width: 520px) { form.wix.inline { grid-template-columns: 1fr; } }

/* socials as bubbles */
.socials { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; }
.socials .bubble { position: relative; --s: 96px; animation-duration: 10s; font-size: 1rem; }
.socials .bubble:nth-child(2) { animation-delay: -3s; }
.socials .bubble:nth-child(3) { animation-delay: -6s; }

/* page heads + galleries */
.page-head { padding: clamp(3.5rem, 9vw, 6.5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); }
.page-head h1 { font-size: clamp(3.4rem, 11vw, 8rem); line-height: .88; font-weight: 900; font-style: italic; }
.page-head h1.series-title { font-size: clamp(4rem, 15vw, 12rem); line-height: .8; }
.threshold-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 3.5rem 2.5rem; align-items: start; }
.piece { margin: 0; }
.piece button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.piece .frame { background: #fff; padding: 14px; box-shadow: 0 1px 2px rgba(38,51,61,.08), 0 22px 40px -24px rgba(38,51,61,.45); transition: transform .4s ease; }
.piece button:hover .frame { transform: translateY(-4px); }
.piece img { width: 100%; height: auto; }
.piece figcaption { margin-top: 1rem; }
.piece .t { font-size: 1.45rem; font-weight: 700; line-height: 1.15; display: block; }
.piece .c { font-size: .9rem; color: var(--moongate-deep); font-weight: 600; }
.piece .no { font-family: var(--display); font-weight: 800; font-style: italic; color: var(--moongate-deep); font-size: 1.2rem; }
.piece button:focus-visible .frame { outline: 2px solid var(--delphinium); outline-offset: 4px; }
.trip { grid-column: 1 / -1; padding: 1rem 0 0; }
.trip p { max-width: var(--measure); }
.masonry { columns: 3 240px; column-gap: 1.5rem; }
.masonry .piece { break-inside: avoid; margin-bottom: 1.5rem; }
.masonry .frame { padding: 10px; }
.moon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.75rem; }
.moon-grid .piece .frame { padding: 0; }
.moon-grid .piece img { aspect-ratio: 1; object-fit: cover; }
.moon-grid .t { font-size: 1.15rem; }
.issues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 2.5rem 2rem; }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; color: var(--moon); }
dialog.lb::backdrop { background: rgba(38, 51, 61, .94); }
dialog.lb img { max-height: 80vh; width: auto; margin: 0 auto; }
dialog.lb .meta { text-align: center; padding: 1rem; font-family: var(--display); font-weight: 700; font-style: italic; font-size: 1.5rem; }
dialog.lb .meta small { display: block; font-family: var(--body); font-style: normal; font-size: .9rem; color: var(--moongate); font-weight: 600; }
dialog.lb .x { position: fixed; top: 1rem; right: 1rem; font: inherit; font-weight: 600; background: var(--moon); color: var(--night); border: 0; border-radius: 999px 999px 0 0; padding: .6rem 1.1rem .4rem; cursor: pointer; }

/* about */
.statement p { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.7; }
.statement p:first-of-type::first-letter { font-family: var(--display); font-weight: 900; font-style: italic; float: left; font-size: 4.8em; line-height: .78; padding: .06em .12em 0 0; color: var(--moongate-deep); }
.portrait { border-radius: 999px 999px 0 0; overflow: hidden; }
.series { list-style: none; padding: 0; margin: 0; }
.series li { padding: 1rem 0; border-top: 1px solid color-mix(in srgb, var(--night) 20%, transparent); display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: baseline; }
.series li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--night) 20%, transparent); }
.series .yr { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.3rem; color: var(--moongate-deep); }
.series b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; display: block; }

/* footer */
.foot { background: var(--night); color: var(--moon); padding: 4.5rem var(--gutter) 3rem; }
.foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 2.5rem; }
.foot .wordmark { font-size: 3rem; }
.foot .wordmark span { color: var(--moongate); }
.foot ul { list-style: none; margin: 0; padding: 0; font-weight: 500; }
.foot li { padding: .2rem 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--moongate); }
.foot .bubble { color: var(--night); }
.foot .socials { margin-top: 0; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }
/* v4: streamlined home, work hub, about on home */
.hero .who { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.25; max-width: 28rem; margin-bottom: .4rem; }
.hero .who-sub { font-size: 1.05rem; font-weight: 500; color: var(--night-2); margin: 0; }
.socials .bubble { --s: 104px; font-size: .78rem; padding: .5rem; letter-spacing: .01em; }
.release { border-left: 2px solid var(--moongate); padding-left: 1rem; margin: 1.5rem 0; font-size: .98rem; }
.release p { margin: 0; }
.about-home { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-home .portrait { max-width: 360px; }
.about-home .btn { margin: 0 .6rem .6rem 0; }
@media (max-width: 760px) { .about-home { grid-template-columns: 1fr; } .about-home .portrait { max-width: 280px; } }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 3rem 2rem; }
.tile { text-decoration: none; display: block; }
.tile h3 { font-size: 1.9rem; font-style: italic; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

/* v5: descriptive bubbles, series subtitle */
.subtitle { font-family: var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; font-style: italic; font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--moongate-deep); margin: .4rem 0 0; line-height: 1.1; }
.b1 { --s: 156px; font-size: 1.15rem; padding: 1.4rem; }
.b2 { --s: 138px; font-size: 1.02rem; padding: 1.3rem; }
.b3 { --s: 108px; font-size: .95rem; padding: 1rem; }
@media (max-width: 800px) { .b1 { --s: 126px; font-size: .98rem; } .b2 { --s: 116px; font-size: .9rem; } .b3 { --s: 94px; font-size: .85rem; } }
