/*! Plumb Line (plumb-line 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/plumb-line */
/* Plumb Line. Every rule is scoped to .plm so the gem drops into any page. Give it a width; about 360 px tall leaves
   room for the bob to hang below the bar. */
.plm {
  --plm-ink: #1c1b19;
  --plm-paper: #f2efe8;
  --plm-drop: 84px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 180px;
  background: var(--plm-paper);
  color: var(--plm-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.plm, .plm *, .plm *::before, .plm *::after { box-sizing: border-box; }
.plm-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 64px) 0;
}
.plm-brand { color: var(--plm-ink); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-decoration: none; }
.plm-brand:focus-visible, .plm-link:focus-visible { outline: 2px solid var(--plm-ink); outline-offset: 4px; border-radius: 3px; }
.plm-nav { position: relative; }
.plm-nav ul { display: flex; gap: clamp(18px, 3.4vw, 44px); margin: 0; padding: 0 6px; list-style: none; }
.plm-nav li { margin: 0; padding: 0; }
.plm-link {
  display: block;
  padding: 6px 2px 14px;
  color: var(--plm-ink);
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.plm-link.plm-near, .plm-link[aria-current="page"] { opacity: 1; }
/* the rail: a ruled brass strip under the links */
.plm-rail { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; pointer-events: none; }
.plm-ticks {
  position: absolute;
  left: -10px;
  right: -10px;
  top: 0;
  height: 6px;
  border-top: 1.5px solid currentColor;
  opacity: 0.55;
  background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) 0 0 / 100% 4px no-repeat;
}
.plm-hanger { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.plm-ring {
  position: absolute;
  left: -6px;
  top: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid #9d7b3f;
  background: var(--plm-paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.plm-line {
  position: absolute;
  left: -0.75px;
  top: 4px;
  width: 1.5px;
  height: calc(var(--plm-drop) - 4px);
  background: #6d6658;
  transform-origin: 50% -4px;
}
/* the bob: a turned brass weight, its light sliding across as it turns on the line */
.plm-bob {
  --turn: 0.5;
  position: absolute;
  left: -13px;
  top: 0;
  width: 26px;
  height: 40px;
  transform-origin: 50% 0;
  clip-path: polygon(22% 0, 78% 0, 100% 34%, 56% 100%, 44% 100%, 0 34%);
  background:
    radial-gradient(60% 90% at calc(var(--turn) * 70% + 15%) 30%, rgba(255, 246, 214, 0.95), rgba(255, 246, 214, 0) 70%),
    linear-gradient(90deg, #5a4120, #b48a45 40%, #e6c47e 55%, #8a6630 80%, #4a3518);
}
.plm-glint { position: absolute; left: 0; right: 0; top: 30%; height: 1.5px; background: rgba(60, 40, 15, 0.45); }
.plm-content { position: relative; z-index: 1; padding: calc(var(--plm-drop) + 40px) clamp(20px, 5vw, 64px) 32px; }
@media (max-width: 560px) {
  .plm-bar { flex-direction: column; align-items: center; gap: 16px; padding-top: 20px; }
  .plm-nav ul { gap: 20px; }
  .plm-link { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .plm-link { transition: none; }
}
