/* ------------------------------------------------------------------
   app.css — additions layered on top of the handoff stylesheet.
   Everything here is either (a) a production-hardening rule that the
   prototype did not need, or (b) a hook for the Hono/JS implementation.
   ------------------------------------------------------------------ */

/* anchor rows reused as buttons */
a.svc__row,
a.more {
  text-decoration: none;
}
a.svc__row:focus-visible,
a.more:focus-visible,
.news a:focus-visible,
.nl__item a:focus-visible,
.nl__filters button:focus-visible,
.hd__nav a:focus-visible,
.idx a:focus-visible,
.ft__mid a:focus-visible,
.ft__cta:focus-visible,
.ft__circle:focus-visible,
.btn:focus-visible,
.dw__x:focus-visible,
.hd__burger:focus-visible,
.grp a:focus-visible,
.board summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.ft__cta:focus-visible {
  outline-offset: -4px;
}

/* the CTA band is a link on TOP; on sub pages the circle is the link */
a.ft__circle {
  display: grid;
  place-items: center;
  transition: background 0.5s, color 0.5s, transform 0.5s;
}
.ft__cta:hover a.ft__circle {
  background: #fff;
  color: var(--navy);
  transform: rotate(-45deg);
}

/* skip link */
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.3s;
}
.skip:focus {
  transform: none;
}

/* canvases never intercept pointer events or add layout weight */
.hero canvas,
.rd canvas,
.nh canvas {
  pointer-events: none;
}

/* the soft layer of the FV mark must stay blurred
   (the handoff applied this to the soft canvas of the FV animation) */
#markSoft {
  filter: blur(18px);
  opacity: 0.95;
}

/* drawer panel is a scroll container that also takes focus when open */
.dw__panel:focus {
  outline: none;
}
.dw__title small {
  font-family: var(--en);
  font-size: 0.4em;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.dw__body .dw__sec:first-of-type {
  margin-top: 40px;
}
.dw__list li b {
  font-weight: 500;
}
/* guards against a drawer body that is a touch taller than the panel */
.dw__body {
  padding-bottom: 100px;
}

/* news: inline "not found" block */
.nl__empty {
  padding: 40px 0;
}

/* contact: honeypot — never visible, never focusable */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* form: server-side send state */
.cf__btn[aria-busy='true'] {
  opacity: 0.6;
  cursor: wait;
}

/* send failure: reason + recovery hint, visually consistent with the form */
.cf__sendErr {
  border-left: 2px solid oklch(0.58 0.17 25);
  padding: 4px 0 4px 16px;
  font-weight: 500;
}
.cf__sendErr small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
  .hero__title span > em,
  .hero__co {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero__scroll i::after {
    animation: none;
    top: 50%;
  }
  html {
    scroll-behavior: auto;
  }
}
