/* =========================================================
   OPALESCENT
   ========================================================= */

:root {

  --paper: #f5f7f4;

  --ink: #525f66;
  --ink-soft: #7a878c;

  --prose: #95a9af;
  --prose-soft: #aab9c0;

  --highlight: #beb4b6;

  --line:
    rgba(
      126,
      145,
      151,
      0.34
    );

  --periglacial: #dbe6e9;
  --mist-blue: #b8d6e4;
  --opal-lilac: #b9b3cf;
  --opal-green: #acb6b2;
  --opal-pink: #edc3c4;

  --serif:
    "Source Serif Pro",
    "Cormorant Garamond",
    "Noto Serif JP",
    serif;

  --jp:
    "Noto Serif JP",
    serif;

  --mono:
    "IBM Plex Mono",
    monospace;

  --script:
    "Antro Vectra",
    "Allura",
    "Segoe Script",
    cursive;

  --content-height: 390px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {

  margin: 0;

  color: var(--ink);

  font-family: var(--serif);

  background:

    linear-gradient(
      rgba(247, 249, 247, 0.84),
      rgba(247, 249, 247, 0.84)
    ),

    url("assets/topography.svg")
    center / 560px 560px
    repeat;
}


::selection {

  background:
    rgba(
      184,
      214,
      228,
      0.52
    );

  color: #46545a;
}


/* =========================================================
   PAGE
   ========================================================= */

.site-wrap {

  min-height: 100vh;

  display: grid;

  place-items: center;

  padding:
    42px
    24px;
}


/* =========================================================
   SHRINE SHELL
   ========================================================= */

.shrine-shell {

  position: relative;

  isolation: isolate;

  width:
    min(
      1040px,
      100%
    );

  padding:
    24px
    36px
    18px;

  overflow: hidden;

  border-top:
    1px solid
    rgba(
      108,
      127,
      133,
      0.28
    );

  border-bottom:
    1px solid
    rgba(
      108,
      127,
      133,
      0.28
    );

  background:

    linear-gradient(
      108deg,

      rgba(
        255,
        255,
        255,
        0.71
      ),

      rgba(
        240,
        246,
        247,
        0.72
      ) 45%,

      rgba(
        247,
        245,
        248,
        0.67
      ) 69%,

      rgba(
        243,
        247,
        244,
        0.74
      )
    );

  box-shadow:

    0
    20px
    60px
    rgba(
      83,
      97,
      104,
      0.06
    ),

    0
    1px
    0
    rgba(
      255,
      255,
      255,
      0.9
    )
    inset;
}


/* =========================================================
   PARTICLES.JS
   ========================================================= */

/*
  z-index 0:
  particles sit ABOVE shrine background

  shrine content uses z-index 1:
  particles sit BELOW everything readable
*/

#particles-js {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 0;

  pointer-events: none;
}

#particles-js canvas {
  display: block;

  width: 100% !important;
  height: 100% !important;

  opacity: 1;
}

.masthead,
.composition,
.shrine-nav,
.footer-strip {
  position: relative;
  z-index: 1;
}


/*
  Keep everything else above particles.
*/

.masthead,
.composition,
.shrine-nav,
.footer-strip {

  position: relative;

  z-index: 1;
}


/* =========================================================
   MASTHEAD
   ========================================================= */

.masthead {

  height: 155px;
}


.edition {

  position: absolute;

  top: 8px;
  left: 0;

  display: flex;

  gap: 18px;

  color: var(--ink-soft);

  font:
    300
    9px / 1.2
    var(--mono);

  letter-spacing: 0.16em;
}


/* =========================================================
   WORDMARK
   ========================================================= */

.wordmark {

  position: absolute;

  right: 8px;
  top: 38px;

  padding:
    10px
    28px
    14px
    18px;

  white-space: nowrap;

  overflow: visible;

  font-family: var(--script);

  font-size: 76px;

  font-weight: 400;

  line-height: 1.25;

  background:

    linear-gradient(
      90deg,

      #9fc5d8 0%,

      #b1a5c7 24%,

      #aebfc4 48%,

      #95aaa2 68%,

      #d9afb7 84%,

      #9fc7d3 100%
    );

  -webkit-background-clip: text;

  background-clip: text;

  -webkit-text-fill-color: transparent;

  color: transparent;
}


/* =========================================================
   MAIN COMPOSITION
   ========================================================= */

.composition {

  display: grid;

  grid-template-columns:

    54px

    360px

    76px

    minmax(
      0,
      1fr
    );

  height:
    var(
      --content-height
    );

  min-height: 0;

  align-items: stretch;

  overflow: hidden;
}


/* =========================================================
   VERTICAL NAME
   ========================================================= */

.name-rail {

  grid-column: 1;

  padding-top: 10px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 1px;

  font-family: var(--jp);

  font-size: 38px;

  font-weight: 300;

  line-height: 1.12;

  color:
    rgba(
      91,
      108,
      114,
      0.48
    );

  text-shadow:

    0
    1px
    0
    rgba(
      255,
      255,
      255,
      0.9
    );
}


/* =========================================================
   PORTRAIT
   ========================================================= */

.portrait-column {
  grid-column: 2;
  min-width: 0;
  min-height: 0;
}

.portrait-frame {
  position: relative;

  height: 360px;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #dbe6e9,
      #c9c5d0
    );

  border:
    1px solid
    rgba(116, 136, 143, 0.34);
}

.portrait-frame::before {
  content: "";

  position: absolute;
  inset: 14px;

  z-index: 2;

  border:
    1px solid
    rgba(255, 255, 255, 0.54);

  pointer-events: none;
}


.portrait-frame::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:

    linear-gradient(
      135deg,
      rgba(130, 180, 218, 0.16) 0%,
      rgba(169, 204, 212, 0.12) 22%,
      rgba(179, 177, 214, 0.15) 48%,
      rgba(231, 178, 179, 0.09) 70%,
      rgba(173, 173, 178, 0.13) 100%
    ),

    linear-gradient(
      to bottom,
      transparent 45%,
      rgba(245, 247, 244, 0.08) 65%,
      rgba(245, 247, 244, 0.68) 100%
    );
}


.portrait {
  position: relative;
  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.82)
    contrast(0.96)
    brightness(1.03);
}


/* =========================================================
   PORTRAIT CAPTION
   ========================================================= */

.portrait-caption {
  position: absolute;

  z-index: 3;

  left: 18px;
  right: 18px;
  bottom: 14px;

  display: flex;
  align-items: baseline;
  justify-content: space-between;

  gap: 12px;

  color:
    rgba(70, 86, 92, 0.72);

  font:
    300
    9px / 1
    var(--mono);

  letter-spacing: 0.13em;
}


.portrait-caption span:last-child {

  /* font-family: var(--jp); */

  font-size: 11px;
}


.portrait-caption a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 108, 114, 0.28);
}


.portrait-caption a:hover {
  border-bottom-color: rgba(91, 108, 114, 0.65);
}


/* =========================================================
   SMALL INDEX
   ========================================================= */

.small-index {

  height: 30px;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  align-items: center;

  border-bottom:
    1px
    solid
    var(--line);

  padding:
    0
    1px;

  color: var(--ink-soft);

  font:

    300
    8px / 1
    var(--mono);

  letter-spacing: 0.12em;
}


.small-index span:nth-child(2) {

  text-align: center;
}


.small-index span:nth-child(3) {

  text-align: right;
}


/* =========================================================
   READING COLUMN
   ========================================================= */

.reading-column {

  grid-column: 4;

  height: 100%;

  min-width: 0;

  min-height: 0;

  padding-top: 8px;

  display: flex;

  flex-direction: column;

  overflow: hidden;
}

.reading-column {
  background:
    linear-gradient(
      90deg,
      rgba(247, 249, 247, 0.38),
      rgba(247, 249, 247, 0.55)
    );
}

.reading-column.is-switching .section-kicker,
.reading-column.is-switching .section-content {
  opacity: 0;

  transform:
    translateX(5px);

  filter:
    blur(0.6px);
}


/* =========================================================
   SECTION KICKER
   ========================================================= */

.section-kicker {

  flex:
    0
    0
    auto;

  display: flex;

  align-items: baseline;

  gap: 13px;

  padding-bottom: 9px;

  border-bottom:
    1px
    solid
    var(--line);

  font-family: var(--mono);

  letter-spacing: 0.14em;
}


#section-number {

  color: var(--ink-soft);

  font-size: 9px;
}


#section-label {

  font-size: 11px;
}


/* =========================================================
   SCROLLABLE SECTION
   ========================================================= */

.section-content {

  flex:
    1
    1
    0;

  min-width: 0;

  min-height: 0;

  overflow-y: auto;

  overflow-x: hidden;

  overscroll-behavior: contain;

  padding:

    20px

    42px

    18px

    0;

  scrollbar-gutter: stable;

  scrollbar-width: thin;

  scrollbar-color:

    rgba(
      126,
      145,
      151,
      0.42
    )

    transparent;

  /* animation:

    reveal
    0.35s
    ease
    both; */
}


.section-content::-webkit-scrollbar {

  width: 5px;
}


.section-content::-webkit-scrollbar-track {

  background: transparent;
}


.section-content::-webkit-scrollbar-thumb {

  background:

    rgba(
      126,
      145,
      151,
      0.38
    );

  border-radius: 999px;
}

/* =========================================================
   SECTION TRANSITION
   ========================================================= */

.section-kicker,
.section-content {
  transition:
    opacity 0.18s ease,
    transform 0.22s cubic-bezier(.22, .61, .36, 1),
    filter 0.18s ease;
}

.reading-column.is-switching .section-kicker,
.reading-column.is-switching .section-content {
  opacity: 0;

  transform:
    translateY(4px);

  filter:
    blur(0.6px);
}


.section-content::-webkit-scrollbar-thumb:hover {

  background:

    rgba(
      126,
      145,
      151,
      0.62
    );
}


/* =========================================================
   SECTION TYPOGRAPHY
   ========================================================= */

.section-title {

  margin:
    0
    0
    3px;

  color: #56646a;

  font-family: var(--jp);

  font-size: 32px;

  font-weight: 300;

  letter-spacing: 0.06em;
}


.section-subtitle {

  margin:
    0
    0
    24px;

  color: #8a969a;

  font:

    300
    9px / 1.5
    var(--mono);

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


.metadata {

  display: grid;

  grid-template-columns:

    94px

    1fr;

  gap:

    6px

    18px;

  margin:

    0

    0

    25px;

  font-size: 14px;
}


.metadata dt {

  margin: 0;

  color: #879397;

  font:

    300
    8px / 1.6
    var(--mono);

  letter-spacing: 0.12em;

  text-transform: uppercase;
}


.metadata dd {

  margin: 0;

}

.metadata timeline-title {

  font-size: 14px;

  font-family: var(--jp);

}


.section-content p {

  max-width: 60ch;

  margin:
    0
    0
    14px;

  color: var(--prose);

  font-size: 14px;

  line-height: 1.62;

  text-align: justify;

}

.highlight {

  color: var(--highlight);

}

/* .section-content p:not(.section-subtitle):not(.tag-panel-subtitle) {

  font-family:
    "Segoe UI",
    sans-serif;

} */


.quiet {

  color: var(--prose-soft);

  font-style: italic;
}


.hairline {

  width: 100%;

  height: 1px;

  margin:

    20px

    0;

  background:

    linear-gradient(
      to right,

      var(--line),

      rgba(
        185,
        179,
        207,
        0.28
      ),

      transparent
    );
}


.quote-fragment {

  margin-top: 24px;

  padding-left: 17px;

  border-left:

    1px
    solid
    rgba(
      185,
      179,
      207,
      0.46
    );

  color: #68767b;

  font-style: italic;
}


/* =========================================================
   SWATCHES / TAGS
   ========================================================= */

.swatches,
.tag-list {

  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;
}


.swatch {

  width: 42px;

  height: 42px;

  flex:
    0
    0
    auto;

  border-radius: 50%;

  border:

    1px
    solid
    rgba(
      91,
      108,
      114,
      0.15
    );
}


.tag {

  padding:

    5px

    8px;

  border:

    1px
    solid
    rgba(
      116,
      136,
      143,
      0.28
    );

  background:

    rgba(
      255,
      255,
      255,
      0.26
    );

  font:

    300
    8px / 1
    var(--mono);

  letter-spacing: 0.10em;
}

.tag-button {
  appearance: none;

  color: inherit;

  cursor: pointer;

  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.tag-button:hover {
  background: rgba(169, 204, 212, 0.14);

  border-color:
    rgba(130, 180, 218, 0.46);

  transform: translateY(-1px);
}

/* =========================================================
   FICTION ARCHIVE
   ========================================================= */

.fic-entry {
  width: 100%;
}


.fic-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 12px;
}


.fic-title {
  margin: 0;

  color: var(--ink);

  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;

  letter-spacing: 0.02em;
}


.fic-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}


.fic-title a:hover {
  color: var(--highlight);
}


.fic-date {
  flex: 0 0 auto;

  color: var(--ink-soft);

  font:
    300
    8px / 1
    var(--mono);

  letter-spacing: 0.12em;
}


/* metadata */

.fic-meta {
  display: grid;

  grid-template-columns:
    54px
    minmax(0, 1fr);

  gap:
    5px
    14px;

  margin:
    0
    0
    16px;
}


.fic-meta dt {
  margin: 0;

  color: var(--ink-soft);

  font:
    300
    8px / 1.5
    var(--mono);

  letter-spacing: 0.10em;

  text-transform: uppercase;
}


.fic-meta dd {
  margin: 0;

  color: var(--prose);

  font-size: 13px;
  line-height: 1.45;
}


/* summary / hook */

.fic-entry .quote-fragment {
  margin:
    17px
    0
    15px;
}


/* read link */

.fic-read {
  display: inline-block;

  color: var(--ink-soft) !important;

  font:
    300
    8px / 1
    var(--mono);

  letter-spacing: 0.14em;

  text-decoration: none;
  border-bottom: 0 !important;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}


.fic-read:hover {
  color: var(--ink) !important;

  transform:
    translateX(3px);
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {

  display: grid;

  grid-template-columns:

    repeat(
      3,
      minmax(
        0,
        1fr
      )
    );

  gap: 8px;

  width: 100%;

  margin-top: 16px;
}


.gallery-thumb {

  position: relative;

  display: block;

  width: 100%;

  padding: 0;

  aspect-ratio:
    1 / 1;

  appearance: none;

  border:

    1px
    solid
    rgba(
      116,
      136,
      143,
      0.22
    );

  background: transparent;

  overflow: hidden;

  cursor: zoom-in;
}


.gallery-thumb img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition:

    transform
    0.35s
    ease,

    opacity
    0.35s
    ease;
}


.gallery-thumb:hover img {

  transform:
    scale(
      1.025
    );

  opacity: 0.88;
}


.gallery-thumb::after {

  content: "＋";

  position: absolute;

  right: 8px;

  bottom: 7px;

  color:

    rgba(
      72,
      89,
      95,
      0.72
    );

  font:

    300
    11px / 1
    var(--mono);

  opacity: 0;

  transition:
    opacity
    0.20s
    ease;
}


.gallery-thumb:hover::after,
.gallery-thumb:focus-visible::after {

  opacity: 1;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.shrine-nav {

  display: grid;

  grid-template-columns:
    repeat(
      4,
      1fr
    );

  column-gap: 22px;

  margin-top: 35px;

  padding:

    13px

    0

    11px;

  border-top:
    1px
    solid
    var(--line);

  border-bottom:
    1px
    solid
    var(--line);
}


.nav-item {

  position: relative;

  appearance: none;

  border: 0;

  background: transparent;

  padding:
    7px
    0;

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

  text-align: left;

  color: inherit;

  font:

    300
    9px / 1
    var(--mono);

  letter-spacing: 0.13em;

  transition:

    color
    0.18s
    ease,

    transform
    0.18s
    ease;
}


.nav-item b {

  font-weight: 300;
}


.nav-item span {

  color: #9aa6aa;

  font-size: 8px;
}


.nav-item::after {

  content: "";

  position: absolute;

  left: 0;

  right: 100%;

  bottom: 2px;

  height: 1px;

  background:

    linear-gradient(
      to right,

      var(--mist-blue),

      var(--opal-lilac)
    );

  transition:
    right
    0.22s
    ease;
}


.nav-item:hover,
.nav-item:focus-visible,
.nav-item.active {

  color: #354a53;

  transform:
    translateX(
      3px
    );
}


.nav-item:hover::after,
.nav-item:focus-visible::after,
.nav-item.active::after {

  right: 18%;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-strip {

  padding-top: 13px;

  display: grid;

  grid-template-columns:

    1fr

    auto

    1fr;

  align-items: center;

  gap: 12px;

  color: #99a3a6;

  font:

    300
    7px / 1
    var(--mono);

  letter-spacing: 0.14em;
}


.footer-strip span:last-child {

  text-align: right;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {

  position: fixed;

  inset: 0;

  z-index: 9999;

  display: grid;

  place-items: center;

  padding: 55px;

  background:

    rgba(
      24,
      28,
      30,
      0.88
    );

  backdrop-filter:
    blur(
      3px
    );

  -webkit-backdrop-filter:
    blur(
      3px
    );

  opacity: 0;

  visibility: hidden;

  transition:

    opacity
    0.25s
    ease,

    visibility
    0.25s
    ease;
}


.lightbox.is-open {

  opacity: 1;

  visibility: visible;
}


.lightbox-inner {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  max-width:
    min(
      1200px,
      92vw
    );

  max-height: 88vh;
}


.lightbox-image {

  display: block;

  width: auto;

  height: auto;

  max-width: 100%;

  max-height: 82vh;

  object-fit: contain;

  background:

    rgba(
      245,
      247,
      244,
      0.96
    );

  border:

    1px
    solid
    rgba(
      220,
      230,
      233,
      0.72
    );

  box-shadow:

    0
    24px
    80px
    rgba(
      0,
      0,
      0,
      0.28
    );
}


.lightbox-caption {

  margin:

    11px

    0

    0;

  color:

    rgba(
      235,
      240,
      241,
      0.78
    );

  font:

    300
    9px / 1.5
    var(--mono);

  letter-spacing: 0.12em;
}

.lightbox-caption a {
  color: inherit;
  text-decoration: none;

  border-bottom:
    1px solid
    rgba(235, 240, 241, 0.38);

  transition:
    border-color 0.18s ease,
    opacity 0.18s ease;
}

.lightbox-caption a:hover {
  border-bottom-color:
    rgba(235, 240, 241, 0.8);

  opacity: 0.8;
}

.lightbox-close {

  position: fixed;

  top: 22px;

  right: 30px;

  z-index: 10000;

  appearance: none;

  border: 0;

  background: transparent;

  color:

    rgba(
      255,
      255,
      255,
      0.92
    );

  font-family:
    Arial,
    sans-serif;

  font-size: 38px;

  font-weight: 200;

  line-height: 1;

  cursor: pointer;

  transition:

    transform
    0.20s
    ease,

    opacity
    0.20s
    ease;
}


.lightbox-close:hover {

  transform:
    rotate(
      4deg
    );

  opacity: 0.7;
}


body.lightbox-open {

  overflow: hidden;
}


/* =========================================================
   DISABLE SELECTION / DRAG
   ========================================================= */

.shrine-shell,
.shrine-shell *,
.lightbox,
.lightbox * {

  -webkit-user-select: none;

  -moz-user-select: none;

  user-select: none;
}


.shrine-shell img,
.lightbox img {

  -webkit-user-drag: none;

  user-drag: none;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes reveal {

  from {

    opacity: 0;

    transform:
      translateY(
        5px
      );
  }

  to {

    opacity: 1;

    transform:
      translateY(
        0
      );
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 860px) {

  .site-wrap {

    padding:
      20px
      14px;

    align-items: start;
  }


  .shrine-shell {

    padding:

      18px

      20px

      16px;
  }


  /* Header */

  .masthead {

    height: 128px;
  }


  .edition {

    font-size: 8px;
  }


  .wordmark {

    right: 0;

    top: 42px;

    padding-right: 22px;

    font-size: 64px;
  }


  /* Main body */

  .composition {

    height: auto;

    min-height: 0;

    grid-template-columns:

      34px

      minmax(
        0,
        1fr
      );

    gap:

      0

      14px;

    align-items: start;

    overflow: visible;
  }


  .name-rail {

    grid-column: 1;

    font-size: 27px;
  }


  .portrait {
    object-position: center top;
  }

  .portrait-column {

    grid-column: 2;
  }


  .portrait-frame {

    height:

      min(
        400px,
        72vw
      );
  }


  /* Normal scrolling on tablet */

  .reading-column {

    grid-column: 2;

    height: auto;

    min-height: 0;

    margin-top: 34px;

    padding-top: 8px;

    display: block;

    overflow: visible;
  }


  .section-content {

    overflow: visible;

    padding:

      20px

      0

      0;

    scrollbar-gutter: auto;
  }


  .shrine-nav {

    grid-template-columns:

      repeat(
        2,
        1fr
      );

    column-gap: 28px;
  }
}

.section-content a {
  color: inherit;
  text-decoration: none;

  border-bottom:
    1px solid
    rgba(91, 108, 114, 0.34);

  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}

.section-content a:visited {
  color: inherit;
}

.section-content a:hover {
  color: #56646a;

  border-bottom-color:
    rgba(91, 108, 114, 0.72);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 520px) {

  .shrine-shell {

    padding-inline:
      15px;
  }


  .masthead {

    height: 118px;
  }


  .edition span:first-child {

    display: none;
  }


  .wordmark {

    right: 0;

    top: 46px;

    padding-right: 18px;

    font-size: 52px;
  }


  .composition {

    display: block;

    height: auto;

    overflow: visible;
  }


  .name-rail {

    display: none;
  }


  .portrait-frame {

    height: 110vw;

    max-height: 430px;
  }


  .reading-column {

    height: auto;

    margin-top: 30px;

    overflow: visible;
  }


  .section-content {

    overflow: visible;

    padding:

      20px

      0

      0;
  }


  .section-content p {

    font-size: 16px;
  }


  .gallery-grid {

    grid-template-columns:

      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );
  }


  .shrine-nav {

    grid-template-columns:

      1fr

      1fr;

    margin-top: 28px;
  }


  .footer-strip {

    grid-template-columns:

      1fr

      auto;
  }


  .footer-strip span:first-child {

    display: none;
  }


  .lightbox {

    padding:

      50px

      16px

      24px;
  }


  .lightbox-image {

    max-height: 76vh;
  }


  .lightbox-close {

    top: 14px;

    right: 16px;

    font-size: 34px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media
(prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {

    animation-duration:
      0.001ms
      !important;

    animation-iteration-count:
      1
      !important;

    transition-duration:
      0.001ms
      !important;
  }
}

/* ============================================================
   SHRINE BANNERS
   ============================================================ */

.shrine-banner-list {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.shrine-banner {
  display: block;

  width: 100%;
  aspect-ratio: 3 / 1;

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: var(--paper-cool);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.shrine-banner img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 300ms cubic-bezier(.2, .7, .2, 1);
}

.shrine-banner:hover,
.shrine-banner:focus-visible {
  transform: translateY(-3px);

  border-color: var(--indigo);

  box-shadow:
    0 14px 34px rgba(23, 29, 67, .14);
}

.shrine-banner:hover img,
.shrine-banner:focus-visible img {
  transform: scale(1.015);
}