/* ===== Gaia Boutique: events / journal / post / visit (shared) ===== */

.page-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  margin: 48px 0 32px;
}

.page-main {
  padding-top: 70px;
}

/* ===================================================================== */
/* VISIT: the wall of the shop                                            */
/* ===================================================================== */

.world {
  position: relative;
  min-height: 220vh;
  padding: 0 40px 120px;
  background: var(--white);
}

.world-title {
  position: sticky;
  top: 45vh;
  z-index: 2;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 64px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
  mix-blend-mode: difference;
  color: #fff;
}

.world-cols {
  display: grid;
  grid-template-columns: repeat(4, 156px);
  justify-content: space-between;
  margin-top: -30vh;
}

.world-col {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.world-col-1 { padding-top: 20vh; }
.world-col-2 { padding-top: 46vh; }
.world-col-3 { padding-top: 8vh; }
.world-col-4 { padding-top: 34vh; }

.world-item {
  margin: 0 0 64px;
  overflow: hidden;
}
.world-item img {
  width: 156px;
  height: auto;
  display: block;
}
.world-item.wi-b { margin-bottom: 48px; }
.world-item.wi-c { margin-bottom: 96px; }

/* ===================================================================== */
/* Breakpoints                                                           */
/* ===================================================================== */

@media (max-width: 767px) {
  .page-title {
    font-size: 13px;
  }
  .world {
    padding: 0 16px 100px;
  }
  .world-title {
    font-size: 34px;
  }
  .world-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .world-item img {
    width: 100%;
  }
  .world-col-1,
  .world-col-2,
  .world-col-3,
  .world-col-4 {
    padding-top: 10vh;
  }
}

/* ===================================================================== */
/* OUR WORLD on a phone                                                  */
/* The 767px block above drops the grid to two columns but leaves the    */
/* 220vh page height, the -30vh pull and a title pinned at top:45vh.     */
/* A sticky title over a grid yanked up 30vh collapses on a small screen,*/
/* so below 768px the title simply sits at the top and the grid flows.   */
/* ===================================================================== */
@media (max-width: 767px) {
  .world {
    min-height: 0;
    padding: 0 16px 80px;
  }
  .world-title {
    position: static;
    top: auto;
    mix-blend-mode: normal;
    color: var(--black, #000);
    padding: 48px 0 24px;
  }
  /* Four flex columns shown two-up left a dead band where columns 3 and 4
     wrapped. Dissolving the columns makes all thirteen images grid items,
     so they fill row by row with no seam. */
  .world-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 0;
  }
  .world-col {
    display: contents;
    transform: none !important;
  }
  .world-item {
    margin: 0;
  }
}

/* Our World carried a title and thirteen photographs and no language at all. */
.world-standfirst {
  position: relative;
  z-index: 2;
  max-width: 54ch;
  margin: 24px auto 64px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.75;
  color: rgba(0,0,0,0.62);
}
@media (max-width: 767px) {
  .world-standfirst {
    font-size: 17px;
    margin: 0 auto 32px;
    padding: 0 8px;
  }
}

/* ===================================================================== */
/* EVENTS, JOURNAL, POST: Robbie's blog, read live from Shopify           */
/* The date is the headline of an event, so it is set in the serif at     */
/* display size, the way a gallery prints dates on its window.            */
/* ===================================================================== */

.stories {
  background: var(--white);
  padding: 0 var(--pad-desktop) 120px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.stories-intro {
  text-align: center;
  padding: 24px 0 56px;
}
.stories-intro .page-title { margin: 48px 0 20px; }
.stories-lede {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 auto;
  text-wrap: balance;
}
.stories-note {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  text-align: center;
  padding: 40px 0;
}
.stories .heading { margin-bottom: 28px; }
.section-rule {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0,0,0,.12);
  padding-top: 20px;
  margin-bottom: 32px;
}
.section-rule .heading { margin: 0; }

/* Coming up */
.ev-coming { margin-bottom: 96px; }
.ev-next {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 0 0 56px;
}
.ev-next + .ev-next { border-top: 1px solid rgba(0,0,0,.08); padding-top: 56px; }
.ev-date {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(64px, 9vw, 132px);
  line-height: .9;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
  margin: 0 0 12px;
}
.ev-date-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.ev-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 14px;
  text-wrap: balance;
}
.ev-title a { color: inherit; }
.ev-line { color: rgba(0,0,0,.66); margin-bottom: 24px; }
.ev-next-img, .ev-card-img, .jr-img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--ground);
}
.ev-next-img { aspect-ratio: 16 / 10; }
.ev-empty {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: end;
  background: var(--ground);
  padding: 56px;
}
.ev-empty-line {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.ev-empty-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 8px; }
.text-link {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Filters */
.ev-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-filter {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 999px;
  color: var(--black);
}
.ev-filter[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.ev-filter:focus-visible, .text-link:focus-visible, .ev-card:focus-visible, .jr-row:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

/* Past events */
.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 32px;
}
.ev-card { display: grid; gap: 14px; align-content: start; color: inherit; }
.ev-card-img { aspect-ratio: 16 / 10; transition: opacity var(--dur) var(--ease); }
.ev-card:hover .ev-card-img { opacity: .88; }
.ev-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.ev-card-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}
.ev-more { display: flex; justify-content: center; margin-top: 64px; }

/* Journal */
.jr-hero {
  position: relative;
  height: 72vh;
  min-height: 460px;
  margin-top: -70px;
  overflow: hidden;
  background: #111;
}
.jr-hero .photo-gap, .jr-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jr-tint { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.jr-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 70px 24px 0;
}
.jr-hero-copy .page-title { color: var(--white); margin: 0 0 24px; }
.jr-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1.3;
  max-width: 26ch;
  margin: 0 0 16px;
  color: var(--white);
  text-wrap: balance;
}
.jr-cite {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.jr-list { display: grid; margin-top: 80px; }
.jr-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 220px;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid rgba(0,0,0,.12);
  color: inherit;
}
.jr-row:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.jr-date {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.jr-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 10px;
  text-wrap: balance;
}
.jr-row p:last-child { margin: 0; color: rgba(0,0,0,.66); font-size: 18px; }
.jr-img { aspect-ratio: 4 / 3; }
.jr-row:hover .jr-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.jr-cross { text-align: center; margin-top: 72px; }

/* One post */
.post { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-desktop) 120px; }
.post-head { text-align: center; padding: 56px 0 40px; }
.post-kicker {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
  margin: 0 0 18px;
}
.post-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}
.post-when { font-family: var(--font-serif); font-size: 23px; margin: 0; }
.post-hero { margin: 0 calc(-1 * min(120px, 8vw)) 48px; }
.post-hero img { width: 100%; display: block; background: var(--ground); }
.post-body { font-family: var(--font-serif); font-size: 20px; line-height: 1.7; }
.post-body p, .post-body li { font-size: inherit; line-height: inherit; }
.post-body h2, .post-body h3, .post-body h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 40px 0 16px;
}
.post-body a { border-bottom: 1px solid currentColor; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 32px auto; }
.post-body ul, .post-body ol { padding-left: 1.2em; margin: 0 0 16px; }
.post-body blockquote { margin: 32px 0; padding-left: 24px; border-left: 1px solid rgba(0,0,0,.3); font-style: italic; }
.post-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.12);
}
.post-visit {
  background: var(--ground);
  padding: 28px 32px;
  margin-top: 48px;
  display: grid;
  gap: 6px;
}
.post-visit p { margin: 0; }

/* Visit: the practical block above the wall */
.visit-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: end;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px var(--pad-desktop) 96px;
}
.visit-street {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .95;
  margin: 0 0 32px;
}
.visit-facts { display: grid; gap: 20px; margin: 0 0 32px; }
.visit-facts div { display: grid; gap: 4px; }
.visit-facts dt {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
.visit-facts dd { margin: 0; font-family: var(--font-serif); font-size: 21px; line-height: 1.4; }
.visit-facts a { border-bottom: 1px solid rgba(0,0,0,.3); }
.visit-top img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.visit-gallery {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--pad-desktop);
}
.visit-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.visit-gallery h2 { font-family: var(--font-serif); font-weight: 500; font-size: 40px; line-height: 1.15; margin: 0 0 20px; }

@media (max-width: 1023px) {
  .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jr-row { grid-template-columns: 110px minmax(0, 1fr) 160px; gap: 24px; }
}
@media (max-width: 767px) {
  .stories { padding: 0 16px 80px; }
  .stories-intro { padding-bottom: 40px; }
  .stories-lede { font-size: 24px; }
  .ev-next, .ev-empty, .visit-top, .visit-gallery { grid-template-columns: 1fr; gap: 28px; }
  .ev-empty { padding: 32px 24px; }
  .ev-empty-line { font-size: 32px; }
  .ev-grid { grid-template-columns: 1fr; gap: 44px; }
  .jr-hero { height: 60vh; min-height: 380px; }
  .jr-quote { font-size: 24px; }
  .jr-list { margin-top: 48px; }
  .jr-row { grid-template-columns: minmax(0, 1fr) 96px; gap: 8px 16px; padding: 24px 0; }
  .jr-row .jr-date { grid-column: 1 / -1; }
  .jr-title { font-size: 23px; }
  .jr-row p:last-child { display: none; }
  .post { padding: 0 16px 80px; }
  .post-title { font-size: 34px; }
  .post-hero { margin: 0 -16px 32px; }
  .post-body { font-size: 19px; }
  .visit-top { padding: 40px 16px 56px; }
  .visit-gallery { padding: 64px 16px; }
  .visit-gallery h2 { font-size: 30px; }
}

/* 404 */
.notfound { text-align: center; padding: 48px 0 160px; display: grid; gap: 20px; justify-items: center; }
.notfound .page-title { margin: 48px 0 0; }
.notfound-line { color: rgba(0,0,0,.62); max-width: 44ch; margin: 0; }
.notfound-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: center; margin-top: 12px; }
