/* The two original canvas scenes track the SVG's bounds. Size the type and its
   clearance from that same mark, so the octagons can breathe without crossing it. */
.fci-public-site {
  --ink: #112e29;
  --emerald: #20634e;
  --deep-emerald: #123d35;
  --silver: #e5eae7;
  --cue-height: max(16svh, 86px);
}

#site-nav {
  background-color: var(--deep-emerald) !important; /* original inline brand bar */
  box-shadow: inset 0 -1px #a0c7b65c;
  font-family: 'Roboto', sans-serif;
}

#site-nav .nav-link {
  font-size: .875rem !important;
  font-weight: 400;
  letter-spacing: .035em;
}

#site-nav .nav-link:hover {
  animation: none;
  color: #fff;
  text-shadow: none;
}

#site-nav .nav-link::after {
  height: 1px;
  background: #b5d5c6;
}

#site-nav .nav-link:hover::after {
  animation: none;
  box-shadow: none;
}

/* A translucent silver finish over the first viewport leaves the live circuit
   traces visible and the contrast of the sections below unchanged. */
#content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: max(100svh, calc(25rem + var(--cue-height)));
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 38%, #f5f7f28c, transparent 60%),
    linear-gradient(115deg, #d7e2dfbc, #f4f6f1a6 48%, #d0dbd9bc);
}

/* Tint just the moving strokes; the mark keeps the gradient in its own SVG. */
#ring-canvas {
  filter: brightness(0) saturate(100%) invert(31%) sepia(21%) saturate(752%) hue-rotate(107deg);
  opacity: .74;
}

#scroll-hint {
  min-height: var(--cue-height) !important;
  padding: 0 1rem max(1rem, env(safe-area-inset-bottom)) !important;
  background: linear-gradient(transparent, var(--silver)) !important;
}

#scroll-hint > div:first-child {
  background: linear-gradient(var(--silver), transparent) !important;
}

#scroll-hint > span {
  margin-bottom: .5rem;
  color: #3d5851;
  font: 400 .6875rem/1.4 'Roboto', sans-serif;
  letter-spacing: .18em;
  text-indent: .18em;
}

#scroll-hint .scroll-chevron {
  width: 15px;
  height: 15px;
  color: var(--emerald);
  stroke-width: 1.5;
}
.fci-section{padding-block:clamp(4rem,8vw,6.5rem)}
.fci-section__title{letter-spacing:-.035em;line-height:1.08}
.fci-section__lead{line-height:1.75;max-width:64ch}
.fci-section__kicker{letter-spacing:.2em}
.fci-section__panel{border-radius:18px}
.fci-site-index__item{border-radius:8px}
.fci-meta-chip{letter-spacing:.035em}
.public-skip{position:fixed;top:-100px;left:16px;z-index:1000;background:#153b2c;color:#fff;padding:12px 18px;border-radius:4px}
.public-skip:focus{top:50px}
.fci-public-site :is(a,button,[tabindex]):focus-visible{outline:3px solid #206f50;outline-offset:4px}
#site-nav :is(a,button):focus-visible{outline-color:#fff}
@media (max-width: 639.98px) {
  #nav-toggle { width: 44px; height: 41px; }
  #nav-menu { background-color: var(--deep-emerald); }
  .fci-section{padding-inline:1.2rem}
  .fci-section__lead{font-size:1rem}
}

@media (max-height: 520px) and (orientation: landscape) {
  #content::before { height: max(100svh, calc(17rem + var(--cue-height))); }
  #scroll-hint { padding-bottom: .375rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  #content::before {
    background: radial-gradient(ellipse at 50% 38%, #f4f6f1, var(--silver) 65%, #d4ddda);
  }
  #scroll-hint .scroll-chevron { animation: none; }
}

.fci-public-site {
  --splash-ink: #102f2a;
  --splash-secondary: #234e44;
  --splash-accent: #337760;
  --splash-halo: #e7efebe5;
}
