/* Contact: one tank, completely still, and a hood light that comes up once. */

/* Nothing moves on this page except the photograph: the device is drawn already filled and lit. */
.page-contact .tank .waterline,
.js .page-contact .tank:not(.is-lit) .waterline { transform: none; transition: none; }
.page-contact .tank::before,
.js .page-contact .tank:not(.is-lit)::before { opacity: .55; transition: none; }

.visit { min-height: 0; padding-bottom: clamp(3rem, 9vh, 6rem); }
.visit .tank-body { align-content: start; row-gap: clamp(2.5rem, 7vh, 4.5rem); }

.visit .display { font-size: clamp(2.75rem, 1rem + 6vw, 7rem); }

.visit-addr {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.25;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.visit-addr span { display: block; }

.visit-reach .label { margin-bottom: .5rem; }
.visit-links { list-style: none; padding: 0; margin: 0; }
.visit-links li + li { margin-top: .4rem; }

.big {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, .85rem + 1.7vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--teal-lit);
  text-decoration-thickness: var(--hair);
  text-underline-offset: .22em;
  transition: none;
}
.big:hover { text-decoration-color: var(--ink); }

.visit-hours-h { margin-top: clamp(2rem, 5vh, 3rem); }
.visit-hours { list-style: none; padding: 0; margin: 0; border-bottom: var(--hair) solid var(--line); }
.visit-hours li {
  padding: .8rem 0;
  border-top: var(--hair) solid var(--line);
  color: var(--ink);
}

.visit-note { margin-top: clamp(1.5rem, 4vh, 2.25rem); max-width: 26rem; }

/* The light left on: the tank photograph along the bottom edge. */
.glow {
  position: relative;
  margin: 0;
  background: var(--shade);
  overflow: hidden;
}
.glow img {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 717;
  min-height: 12rem;
  object-fit: cover;
  filter: brightness(1) saturate(1);
  transition: filter 1.6s var(--ease);
}
/* Soft dissolve into the water above and the shaded footer below. */
.glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--ground) 0%, transparent 22%),
    linear-gradient(to top, var(--shade) 0%, transparent 14%);
}
/* Before it is seen, only the shape of the tank can be read. */
.js .glow:not(.is-lit) img { filter: brightness(.1) saturate(.6); }

@media (prefers-reduced-motion: reduce) {
  .js .glow:not(.is-lit) img { filter: none; }
  .glow img { transition: none; }
}
