/* Handcrafted navigation emblems and carved stone channel tablets. */
.paths {
  gap: 22px;
  padding-top: 4px;
}
.paths > a {
  border-top: 1px solid #76558b70;
  gap: 10px;
  padding-top: 17px;
  min-height: 128px;
}
.path-emblem {
  width: 94px;
  height: 94px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px #8f3db528);
  transition:
    transform 0.3s,
    filter 0.3s;
}
.paths > a:hover .path-emblem {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 17px #b363dc55);
}
.paths h2 {
  font-size: 16px;
}
.paths p {
  font-size: 11px;
  max-width: 235px;
}
.paths b {
  padding-right: 2px;
}
.portals {
  gap: 28px;
  align-items: stretch;
}
.portal {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  padding: 35px 23px 33px;
  box-shadow: none;
  transition:
    transform 0.3s,
    filter 0.3s;
}
.portal:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/stone-tablet-violet.png') center/100% 100% no-repeat;
  pointer-events: none;
}
.portal:hover {
  border: 0;
  box-shadow: none;
  transform: translateY(-5px);
  filter: drop-shadow(0 0 15px #b56ee22b);
}
.portal-art {
  min-height: 190px;
  overflow: visible;
  margin: 0 18px;
}
.portal-art img {
  width: 132px;
  height: 132px;
  filter: drop-shadow(0 0 12px #9c46d150);
}
.portal-halo {
  width: 158px;
  height: 158px;
  top: 12%;
  border-color: #a67bb73b;
  box-shadow: 0 0 25px #7a2fb422;
}
.portal-halo:after {
  inset: 10px;
}
.sparks {
  display: none;
}
.portal-body {
  padding: 15px 20px 5px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portal h2 {
  font-size: 29px;
  min-height: 76px;
  margin-bottom: 15px;
}
.portal-body > p:not(.platform-name) {
  min-height: 112px;
  font-size: 13px;
  margin-bottom: 22px;
}
.portal .handle {
  margin-top: auto;
  margin-bottom: 24px;
}
.portal .button {
  background: linear-gradient(120deg, #33213d, #201429);
  color: #ead4fa;
  border: 1px solid #ad84b971;
  box-shadow:
    inset 0 1px #dfbded19,
    0 3px 12px #0006;
  font-size: 11px;
  gap: 12px;
  padding: 12px 14px;
}
.portal .button:hover {
  background: linear-gradient(120deg, #4b2d5b, #2b1a36);
  border-color: #d4a1ef;
}
/* Preserve every carved corner by respecting each artwork's intrinsic ratio. */
.portrait picture {
  display: block;
}
.portrait img {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 100%;
  display: block;
}
.portrait {
  padding: 0;
  overflow: visible;
}
.portrait figcaption {
  margin-top: 20px;
}
.support-sigil blockquote {
  margin-top: 26px;
}
.coffee-link {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 22px;
  border-radius: 12px;
  padding: 0 20px 0 0;
  transition:
    background 0.25s,
    transform 0.25s;
}
.coffee-link > img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px #b667d533);
  transition:
    filter 0.3s,
    transform 0.3s;
}
.coffee-link > span {
  font-family: Georgia, serif;
  color: #e0bdf7;
  font-size: 19px;
  line-height: 1.45;
  max-width: 215px;
}
.coffee-link b {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-left: 5px;
}
.coffee-link small {
  display: block;
  font:
    10px/1.7 'Segoe UI',
    sans-serif;
  letter-spacing: 1.4px;
  color: #ac90bc;
  margin-top: 9px;
}
.coffee-link:hover {
  background: #8c4eaa0d;
}
.coffee-link:hover > img {
  filter: drop-shadow(0 0 25px #b667d566);
  transform: rotate(-4deg) translateY(-3px);
}
.coffee-link:hover > span {
  color: #f1d7ff;
}
.support-copy .support-footnote {
  margin-top: 2px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .paths {
    gap: 17px;
  }
  .path-emblem {
    width: 74px;
    height: 74px;
  }
  .paths h2 {
    font-size: 14px;
  }
  .paths p {
    font-size: 10px;
  }
  .portals {
    gap: 18px;
  }
  .portal {
    padding: 32px 14px 30px;
  }
  .portal-body {
    padding-inline: 19px;
  }
  .portal h2 {
    font-size: 25px;
    min-height: 86px;
  }
  .portal-body > p:not(.platform-name) {
    min-height: 145px;
    font-size: 12px;
  }
  .portal .button {
    font-size: 10px;
    padding: 11px 10px;
  }
  .portal-art img {
    width: 118px;
    height: 118px;
  }
  .coffee-link > img {
    width: 155px;
    height: 155px;
  }
  .coffee-link > span {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .paths {
    gap: 4px;
    padding-top: 0;
  }
  .paths > a {
    padding: 10px 2px;
    min-height: 110px;
    gap: 15px;
  }
  .path-emblem {
    width: 88px;
    height: 88px;
  }
  .paths p {
    max-width: none;
  }
  .portals {
    gap: 30px;
    max-width: 450px;
  }
  .portal {
    border-radius: 0;
    padding: 33px 22px 36px;
    min-height: 650px;
  }
  .portal-art {
    min-height: 190px;
  }
  .portal-body {
    padding: 15px 22px 3px;
  }
  .portal h2 {
    font-size: 30px;
    min-height: 0;
    margin-bottom: 19px;
  }
  .portal-body > p:not(.platform-name) {
    min-height: 0;
    margin-bottom: 26px;
    font-size: 14px;
  }
  .portal .handle {
    margin-top: auto;
    padding-top: 5px;
  }
  .portal .button {
    font-size: 12px;
  }
  .coffee-link {
    gap: 5px;
    padding: 0;
    margin-block: 6px 18px;
  }
  .coffee-link > img {
    width: 155px;
    height: 155px;
  }
  .coffee-link > span {
    font-size: 17px;
    max-width: 190px;
  }
  .support-page {
    gap: 40px;
  }
  .support-sigil blockquote {
    margin-top: 22px;
  }
}
@media (max-width: 380px) {
  .path-emblem {
    width: 76px;
    height: 76px;
  }
  .paths > a {
    gap: 10px;
  }
  .paths h2 {
    font-size: 15px;
  }
  .portal {
    padding-inline: 15px;
  }
  .portal-body {
    padding-inline: 21px;
  }
  .portal h2 {
    font-size: 28px;
  }
  .coffee-link > img {
    width: 130px;
    height: 130px;
  }
  .coffee-link > span {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .coffee-link:hover > img,
  .paths > a:hover .path-emblem {
    transform: none;
  }
}
.portal-body {
  padding-inline: 30px;
}
.portal h2,
.portal-body > p {
  text-shadow:
    0 2px 6px #000,
    0 0 14px #0008;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .portal-body {
    padding-inline: 26px;
  }
}
@media (max-width: 760px) {
  .portal-body {
    padding-inline: 33px;
  }
}
@media (max-width: 380px) {
  .portal-body {
    padding-inline: 30px;
  }
}
.portal {
  padding-bottom: 66px;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .portal {
    padding-bottom: 65px;
  }
}
@media (max-width: 760px) {
  .portal {
    padding-bottom: 72px;
  }
}
/* Quiet channel links: no rectangular button outlines or external-link arrows. */
.portal .button {
  align-self: flex-start;
  justify-content: flex-start;
  width: auto;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #dfb5f7;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #ad7bc95c;
  text-underline-offset: 6px;
}

.portal .button:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff0ff;
  text-decoration-color: #dfb5f7;
  transform: none;
}

.channel-note {
  gap: 0;
  text-align: center;
}
/* Center each channel link and retain bottom alignment without the handles. */
.portal .button {
  align-self: center;
  justify-content: center;
  margin-top: auto;
  text-align: center;
}
.store-link {
  margin: 10px 0 22px;
  font-size: 11px;
  padding: 12px 15px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  padding-bottom: 90px;
}
.contact-aside p {
  color: var(--dim);
  font-size: 14px;
}
.contact-email {
  overflow-wrap: anywhere;
}
.contact-tip {
  margin-top: 30px;
}
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  background: #15101ecc;
  border-radius: 5px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
  color: #e0c7ee;
}
.contact-form label > span {
  color: var(--dim);
  font-size: 11px;
}
.contact-form input:not([type='checkbox']),
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #624477;
  border-radius: 3px;
  color: var(--ink);
  background: #0c0812;
  font: inherit;
  font-size: 14px;
  margin-bottom: 22px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid #c497f0;
  outline-offset: 3px;
}
.contact-form .contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact-consent input {
  margin-top: 5px;
  accent-color: #ad76da;
}
.contact-consent span {
  line-height: 1.7;
}
.contact-privacy {
  color: var(--dim);
  font-size: 11px;
}
.contact-privacy a {
  text-decoration: underline;
}
.contact-form button {
  cursor: pointer;
  margin-top: 8px;
}
.form-trap {
  display: none;
}
@media (max-width: 1100px) {
  .header nav {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 55px;
  }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-form {
    padding: 22px;
  }
  .header nav {
    gap: 7px;
    font-size: 9px;
    flex-wrap: wrap;
  }
}
