/* Seven Shepherds V3 image-map presentation. The source art stays complete. */
@font-face {
  font-family: "EB Garamond";
  src: url("/static/fonts/eb-garamond-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/static/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;
  background: #050504;
  font-family: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #050504;
}

body.page-light {
  background: #f6f0e6;
}

.page-map {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.page-frame {
  position: relative;
}

.page-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot-layer,
.hotspot-map,
.join-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hotspot-layer,
.hotspot-map {
  pointer-events: none;
}

.hotspot-map a,
.hotspot-map .click-target {
  pointer-events: all;
  cursor: pointer;
}

.hotspot-map a {
  -webkit-tap-highlight-color: transparent;
}

.hotspot-map a:focus-visible .click-target {
  stroke: #d18f1f;
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.click-target {
  fill: transparent;
  stroke: transparent;
}

.nav-underline {
  pointer-events: none;
  stroke: transparent;
  stroke-width: 3.25;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
}

.hotspot-map a:not([aria-current="page"]):hover .nav-underline,
.hotspot-map a:not([aria-current="page"]):focus .nav-underline,
.hotspot-map a:not([aria-current="page"]):focus-visible .nav-underline,
.hotspot-map a.force-underline .nav-underline {
  stroke: #d18f1f;
}

.hotspot-map a.subnav-open:not([aria-current="page"]) .nav-underline {
  stroke: #d18f1f;
}

/* The Seven dropdown. site.js places it beneath the pictured header label;
   its type scales with the comp, like the photographed navigation. */
.v3-nav-menu {
  position: absolute;
  z-index: 6;
  display: flex;
  min-width: max-content;
  flex-direction: column;
  margin-top: 0.25vw;
  padding: 0.35em 0;
  border: 1px solid rgb(214 150 45 / 70%);
  border-radius: 0.3em;
  background: rgb(8 7 5 / 96%);
  box-shadow: 0 0.6em 1.6em rgb(0 0 0 / 45%);
  font: 500 clamp(0.95rem, 1.35vw, 2.6rem)/1.3 "EB Garamond", Georgia, serif;
}

.v3-nav-menu[hidden] {
  display: none;
}

.v3-nav-menu a {
  padding: 0.45em 1.1em;
  color: #eee3cc;
  text-decoration: none;
  white-space: nowrap;
}

.v3-nav-menu a:hover,
.v3-nav-menu a:focus-visible {
  background: rgb(214 150 45 / 16%);
  color: #fff3cf;
}

.v3-nav-menu a:focus-visible {
  outline: 2px solid #e3a62e;
  outline-offset: -3px;
}

.v3-nav-menu a[aria-current="page"] {
  box-shadow: inset 3px 0 #d6962d;
  color: #fff3cf;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border: 2px solid #d6962d;
  background: #061522;
  color: #fff;
  font: 700 1rem/1.2 Arial, sans-serif;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.v3-summary {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.join-overlay {
  z-index: 2;
  pointer-events: none;
  line-height: normal;
}

.join-control,
.join-submit {
  position: absolute;
  pointer-events: auto;
}

.join-control {
  left: 62.75%;
  width: 32.45%;
  height: 3.35%;
  margin: 0;
  padding: 0 1% 0 4.45%;
  border: 0;
  border-radius: 0.45vw;
  outline: 0;
  background: linear-gradient(90deg, transparent 0 13%, #f9ead6 13% 100%);
  color: #4a2d16;
  font: 400 clamp(11px, 1.48vw, 62px)/1.1 Georgia, "Times New Roman", serif;
}

.join-control::placeholder {
  color: #5b3a20;
  opacity: 1;
}

.join-control:focus {
  outline: max(2px, 0.12vw) solid #8a570b;
  outline-offset: min(-2px, -0.1vw);
}

.join-name {
  top: 35.55%;
}

.join-email {
  top: 39.82%;
}

.join-phone {
  top: 44.10%;
}

.join-state {
  top: 48.34%;
  appearance: none;
  background: linear-gradient(90deg, transparent 0 13%, #f9ead6 13% 88%, transparent 88% 100%);
}

.join-postal {
  top: 52.63%;
}

.join-submit {
  top: 57.05%;
  left: 62.75%;
  width: 32.45%;
  height: 3.2%;
  padding: 0;
  border: 0;
  border-radius: 0.4vw;
  background: transparent;
  color: transparent;
  cursor: pointer;
  font-size: 0;
}

.join-submit:focus,
.join-submit:focus-visible {
  outline: max(2px, 0.12vw) solid #fff5d6;
  outline-offset: min(-2px, -0.1vw);
  background: rgb(255 225 163 / 10%);
}

/* Consent sits over the comp's privacy note on a matching parchment panel. */
.join-consent {
  position: absolute;
  top: 61.35%;
  left: 62.75%;
  width: 32.45%;
  height: 4.1%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.6vw;
  padding: 0 0.6vw;
  background: #f8ecdb;
  color: #4a2d16;
  font: 400 clamp(9px, 0.98vw, 42px)/1.35 Georgia, "Times New Roman", serif;
  pointer-events: auto;
  cursor: pointer;
}

.join-consent input {
  flex: none;
  width: clamp(12px, 1.15vw, 48px);
  height: clamp(12px, 1.15vw, 48px);
  margin: 0;
  accent-color: #8a570b;
}

.join-consent a {
  color: inherit;
  text-decoration: underline;
}

.honeypot {
  position: fixed;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.v3-footer {
  position: relative;
  z-index: 3;
  min-height: 0;
  padding: clamp(2rem, 3vw, 3.5rem) clamp(1rem, 2vw, 3rem);
  padding-right: calc(5.625rem + 1in + clamp(1rem, 2vw, 3rem));
  border: 0;
  background: #060503;
  color: #e0d4ba;
  font: 400 clamp(2.0125rem, 1.725vw, 4.025rem)/1.35 "EB Garamond", Georgia, serif;
  overflow: hidden;
  text-align: left;
}

.v3-footer-inner {
  width: min(100%, 180rem);
  margin-inline: auto;
  overflow: visible;
}

.v3-footer nav {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.v3-footer nav a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
  overflow-wrap: anywhere;
}

.v3-footer nav a:hover,
.v3-footer nav a:focus-visible {
  color: #fff0bf;
}

.v3-footer a:focus-visible {
  outline: 0.12em solid #e3a62e;
  outline-offset: 0.18em;
}

/* Staff entry point, matching the Epic Fury footer pill: a small, quiet gold
   outline below the utility links so it never competes with public links. */
.v3-footer .footer-admin-login {
  display: flex;
  width: max-content;
  min-height: 2.75rem;
  align-items: center;
  margin: clamp(1rem, 1.4vw, 2rem) auto 0;
  padding: 0 1.1em;
  border: 1px solid rgb(201 160 76 / 48%);
  border-radius: 999px;
  color: #c9a04c;
  font: 500 clamp(0.75rem, 0.62vw, 1.25rem)/1 "EB Garamond", Georgia, serif;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.v3-footer .footer-admin-login:hover,
.v3-footer .footer-admin-login:focus-visible {
  border-color: #e3a62e;
  background: rgb(201 160 76 / 10%);
  color: #fff0bf;
}

.v3-footer-utilities {
  gap: clamp(0.75rem, 1.25vw, 2rem) clamp(1rem, 1.5vw, 2.5rem);
  margin-inline: auto;
  padding: 0;
  border: 0;
  color: #ded2b8;
  font-size: inherit;
}

.music-toggle {
  position: fixed;
  /* Match the established player placement from the authored site. */
  right: 1in;
  bottom: 1in;
  z-index: 1000;
  display: flex;
  width: 5.625rem;
  height: 5.625rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid rgb(221 180 88 / 88%);
  border-radius: 50%;
  background: rgb(14 11 6 / 96%);
  box-shadow: 0 0.25rem 1.25rem rgb(0 0 0 / 60%), 0 0 0 1px rgb(255 225 151 / 18%);
  color: #f1d995;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
  visibility: visible;
}

.music-toggle:hover,
.music-toggle:focus-visible {
  border-color: rgb(200 170 100 / 85%);
  color: #f1db95;
}

.music-toggle svg {
  width: 2.5rem;
  height: 2.5rem;
}

.music-toggle .mt-pause {
  display: none;
}

.cookie-note[hidden] {
  display: none;
}

.cookie-note {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: flex;
  width: min(34rem, calc(100vw - 2rem));
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(201 160 76 / 65%);
  border-radius: 0.5rem;
  background: rgb(11 9 6 / 97%);
  box-shadow: 0 0.35rem 1.5rem rgb(0 0 0 / 45%);
  color: #eee3cc;
  font: 400 0.9rem/1.4 Arial, sans-serif;
}

.cookie-note p {
  margin: 0;
}

.cookie-note a {
  color: #f0cf78;
}

.cookie-note button {
  flex: none;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid #d6a33f;
  border-radius: 0.25rem;
  background: transparent;
  color: #fff0bf;
  cursor: pointer;
}

.music-toggle[aria-pressed="true"] .mt-play {
  display: none;
}

.music-toggle[aria-pressed="true"] .mt-pause {
  display: block;
}

@media (max-width: 700px) {
  /* Phones keep the photographed header navigation. Its dropdown items get
     full touch-target height at this size. */
  .v3-nav-menu a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .join-overlay {
    position: relative;
    inset: auto;
    display: grid;
    width: auto;
    height: auto;
    gap: 0.75rem;
    margin: 0;
    padding: 1.25rem 1rem;
    background: #f6ead8;
    pointer-events: auto;
  }

  .join-control,
  .join-submit,
  .join-consent {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
  }

  .join-control {
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #8a570b;
    outline-offset: 2px;
    background: #fffaf2;
    font-size: 1rem;
  }

  .join-state {
    appearance: auto;
    background: #fffaf2;
  }

  .join-consent {
    order: 5;
    min-height: 2.75rem;
    gap: 0.65rem;
    padding: 0.65rem 0.25rem;
    font-size: 1rem;
  }

  .join-consent input {
    width: 1.35rem;
    height: 1.35rem;
  }

  .join-submit {
    order: 6;
    min-height: 3rem;
    border: 1px solid #704607;
    background: #d6a33f;
    color: #231507;
    font: 700 1rem/1 "EB Garamond", Georgia, serif;
  }

  .v3-footer {
    min-height: 0;
    padding: 0.75rem 0.375rem;
    padding-bottom: calc(0.75rem + 2.75rem + max(1rem, env(safe-area-inset-bottom)));
    overflow: hidden;
    font-size: 1.00625rem;
    text-align: center;
  }

  .v3-footer nav {
    width: 100%;
    justify-content: center;
  }

  .v3-footer nav a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding-inline: 0.125rem;
  }

  .v3-footer-utilities {
    gap: 0.375rem 0.5rem;
  }

  .music-toggle {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    /* Half the prior size, floored at the 44px minimum touch target. */
    width: 2.75rem;
    height: 2.75rem;
  }

  .music-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .cookie-note {
    right: 1rem;
    bottom: calc(3.75rem + max(1rem, env(safe-area-inset-bottom)));
    flex-direction: column;
    align-items: stretch;
  }
}

@media print {
  .v3-footer,
  .music-toggle,
  .cookie-note {
    display: none !important;
  }
}

@media (forced-colors: active) {
  .hotspot-map a:not([aria-current="page"]):hover .nav-underline,
  .hotspot-map a:not([aria-current="page"]):focus .nav-underline,
  .hotspot-map a:not([aria-current="page"]):focus-visible .nav-underline,
  .hotspot-map a.force-underline .nav-underline {
    stroke: Highlight;
  }

  .hotspot-map a:focus-visible .click-target {
    stroke: Highlight;
  }

  .join-control,
  .join-submit,
  .join-consent {
    border: 1px solid ButtonText;
  }
}
