/* Appily Seventyone — stamp-bar chrome + perforated ticket footer */
.a71-dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--a71-dock-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 0;
  background: var(--a71-lime);
  border-bottom: 4px solid var(--a71-ink);
  color: var(--a71-ink);
  animation: a71-stamp 0.55s var(--a71-ease) both;
}
.a71-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1rem;
  border-right: 4px solid var(--a71-ink);
  background: var(--a71-cobalt);
  color: #fff;
  min-width: 0;
}
.a71-brand-seal {
  width: 2.6rem;
  height: 2.6rem;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  font-family: var(--a71-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  background: var(--a71-heat);
  color: #fff;
  box-shadow: 3px 3px 0 #000;
  flex: 0 0 auto;
}
.a71-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}
.a71-brand-copy strong {
  font-family: var(--a71-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.a71-brand-copy em {
  font-style: normal;
  font-family: var(--a71-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  opacity: 0.9;
}

.a71-orbit {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}
.a71-orbit::-webkit-scrollbar { display: none; }
.a71-orbit a {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-right: 2px solid rgba(18, 18, 18, 0.2);
  transition: background 0.15s;
}
.a71-orbit a:hover,
.a71-orbit a.is-on {
  background: var(--a71-ink);
  color: var(--a71-lime);
}

.a71-dock-tools {
  display: flex;
  align-items: stretch;
  border-left: 4px solid var(--a71-ink);
  background: var(--a71-panel);
}
.a71-seek {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  border-right: 2px solid var(--a71-ink);
}
.a71-seek input {
  width: min(11rem, 22vw);
  border: 0;
  background: transparent;
  outline: none;
  font-weight: 600;
}
.a71-seek button {
  border: 2px solid var(--a71-ink);
  background: var(--a71-lime);
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-weight: 800;
}
.a71-tool {
  width: 3.4rem;
  display: grid;
  place-items: center;
  border-right: 2px solid var(--a71-ink);
  position: relative;
  color: var(--a71-ink);
}
.a71-tool svg { width: 1.25rem; height: 1.25rem; }
.a71-tool.is-on,
.a71-tool:hover { background: var(--a71-slab); }
.a71-tool-count {
  position: absolute;
  top: 0.45rem;
  right: 0.4rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border: 2px solid var(--a71-ink);
  background: var(--a71-heat);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-style: normal;
}
.a71-menu-btn {
  width: 3.4rem;
  border: 0;
  background: var(--a71-heat);
  color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}
.a71-menu-btn span {
  width: 1.2rem;
  height: 3px;
  background: #fff;
  display: block;
}

.a71-drawer-back {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.45);
  z-index: 60;
}
.a71-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(20rem, 88vw);
  height: 100vh;
  z-index: 70;
  background: var(--a71-panel);
  border-left: 4px solid var(--a71-ink);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: -8px 0 0 var(--a71-ink);
}
.a71-drawer[hidden],
.a71-drawer-back[hidden] { display: none !important; }
.a71-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--a71-ink);
  padding-bottom: 0.75rem;
}
.a71-drawer-close {
  border: 3px solid var(--a71-ink);
  background: var(--a71-lime);
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.2rem;
  cursor: pointer;
}
.a71-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.a71-drawer-nav a {
  padding: 0.7rem 0.8rem;
  border: 3px solid var(--a71-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--a71-slab);
  box-shadow: var(--a71-shadow-sm);
}
.a71-drawer-mail {
  margin-top: auto;
  font-family: var(--a71-mono);
  font-size: 0.78rem;
  word-break: break-all;
}

/* Footer — perforated ticket strip */
.a71-foot {
  margin-top: 3rem;
  border-top: 4px solid var(--a71-ink);
  background: var(--a71-ink);
  color: #f2efe6;
  position: relative;
  overflow: hidden;
}
.a71-foot-watermark {
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  font-family: var(--a71-display);
  font-size: clamp(6rem, 18vw, 12rem);
  line-height: 0.8;
  opacity: 0.12;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.a71-foot-inner {
  width: min(var(--a71-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.a71-foot-brand,
.a71-foot-col {
  background: transparent;
  border: 3px solid #f2efe6;
  box-shadow: none;
  padding: 1.1rem 1.2rem;
}
.a71-foot-brand .a71-brand-seal {
  margin-bottom: 0.75rem;
  border-color: var(--a71-ink);
  color: var(--a71-ink);
  background: var(--a71-lime);
}
.a71-foot-brand h2 {
  font-family: var(--a71-display);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}
.a71-foot-brand p,
.a71-foot-col a {
  color: rgba(242, 239, 230, 0.82);
  margin: 0;
}
.a71-foot-col h3 {
  margin: 0 0 0.7rem;
  font-family: var(--a71-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a71-lime);
}
.a71-foot-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.a71-foot-col a:hover { color: var(--a71-lime); }
.a71-foot-base {
  width: min(var(--a71-max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--a71-mono);
  font-size: 0.72rem;
  border-top: 2px dashed rgba(242, 239, 230, 0.35);
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .a71-orbit { display: none; }
  .a71-seek input { width: 7rem; }
  .a71-menu-btn { display: flex; }
  .a71-foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .a71-brand-copy em { display: none; }
  .a71-seek { display: none; }
}
