/* ftr — compact single row + chrome (age, cookie, modal, progress, summary) */
.ftr {
  background: var(--white);
  padding: var(--s5) 0 calc(var(--s5) + 8px);
}
.ftr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}
.ftr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
}
.ftr-brand:hover { color: var(--navy); }
.ftr-brand img { width: 36px; height: 36px; }
.ftr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.88rem;
}
.ftr-note {
  flex-basis: 100%;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.age {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
  border-top: 3px solid var(--cyan);
}
.age-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 10px 0;
  font-size: 0.85rem;
}
.age a { color: var(--cyan); }
.age a:hover { color: var(--white); }
.age-hide,
.age-show {
  background: var(--cyan);
  color: var(--navy);
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-display);
}
.age.is-compact .age-text { display: none; }
.age.is-compact .age-hide { display: none; }
.age-show { display: none; }
.age.is-compact .age-show { display: inline-flex; }

.cook {
  position: fixed;
  right: 16px;
  bottom: 64px;
  z-index: 35;
  max-width: 360px;
  background: var(--white);
  border: var(--border) solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--s4);
  display: none;
}
.cook.is-on { display: block; }
.cook p { font-size: 0.88rem; }

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 31, 74, 0.55);
  padding: var(--s5);
  overflow: auto;
}
.modal:target { display: grid; place-items: center; }
.modal-card {
  width: min(720px, 100%);
  background: var(--white);
  border: var(--border) solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--s6);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-weight: 800;
}

.prog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 45;
  background: transparent;
  pointer-events: none;
}
.prog-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
}

.sum {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 15;
  background: var(--navy);
  color: var(--white);
  border-bottom: 3px solid var(--cyan);
  transform: translateY(-120%);
}
.sum.is-on { transform: translateY(0); }
.sum-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 10px 0;
  font-size: 0.85rem;
}
.sum strong { color: var(--cyan); }

.form label {
  display: block;
  font-weight: 800;
  margin: var(--s3) 0 var(--s1);
}
.form input,
.form textarea {
  width: 100%;
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  box-shadow: var(--inner);
}
.form textarea { min-height: 120px; resize: vertical; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
