/* DunaNet – site styles. No framework; ~all sizes in rem so the A/A+/A++
   switch and browser zoom scale everything. Colours from the logo:
   red #ed1650, blue #0095d9. All text colours ≥ 4.5:1 on their backgrounds.
   No animations or transitions anywhere: nothing moves, blinks or slides. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(/static/fonts/Inter-Regular.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(/static/fonts/Inter-SemiBold.woff) format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url(/static/fonts/Inter-Bold.woff) format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-style: normal; font-display: swap; src: url(/static/fonts/InterDisplay-Bold.woff) format("woff"); }
@font-face { font-family: "Inter Display"; font-weight: 300; font-style: normal; font-display: swap; src: url(/static/fonts/InterDisplay-Light.woff) format("woff"); }

:root {
  --bg: #060a12;
  --bg-2: #0a1322;
  --panel: rgba(10, 19, 34, .82);
  --panel-solid: #0c1628;
  --line: rgba(125, 175, 225, .20);
  --line-strong: rgba(125, 175, 225, .38);
  --text: #e9eff7;
  --muted: #aebdcd;
  --blue: #0095d9;
  --blue-hi: #3cb8f2;
  --red: #ed1650;
  --red-hi: #ff6b8f;
  --focus: #ffbf47;
  --ok: #3fd18b;
  --warn: #ffb020;
  --grad: linear-gradient(90deg, var(--red), var(--blue));
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "DejaVu Sans Mono", Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, sans-serif;
  --radius: .5rem;
  --wrap: 72rem;
  color-scheme: dark;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; }
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 131.25%; }

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(6,10,18,.55) 0%, rgba(6,10,18,.92) 55%, var(--bg) 100%),
    url(/static/img/bg.jpg);
  background-size: cover, cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed, fixed;
}
/* faint circuit grid */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(0,149,217,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,149,217,.05) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-hi); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: #8fd8ff; }
p { margin: 0 0 1rem; }
abbr[title] { text-decoration: none; }
code { font-family: var(--mono); font-size: .9em; background: rgba(125,175,225,.12); padding: .05em .35em; border-radius: .25rem; }

h1, h2, h3 { font-family: var(--display); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--sans); }
.center { text-align: center; }

/* visible focus everywhere – the old site removed outlines */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: .2rem; }
main:focus, section[tabindex="-1"]:focus { outline: none; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 1rem; top: -10rem; z-index: 100;
  background: var(--focus); color: #000; font-weight: 700; padding: .75rem 1.25rem; border-radius: 0 0 .5rem .5rem; text-decoration: none;
}
.skip:focus { top: 0; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { --wrap: 50rem; }

.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- accessibility bar (one slim row: controls left, label right) ---------- */
.a11y-bar { background: #03060b; border-bottom: 1px solid var(--line); font-size: .78rem; }
.a11y-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .75rem; padding-block: .2rem; }
.a11y-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.a11y-group { display: inline-flex; border: 1px solid var(--line-strong); border-radius: .3rem; overflow: hidden; }
.a11y-btn {
  font: inherit; color: var(--text); background: transparent; border: 0; cursor: pointer;
  min-height: 1.75rem; min-width: 1.9rem; padding: .1rem .45rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; line-height: 1;
}
.a11y-btn .ic { width: 1em; height: 1em; }
.a11y-group .a11y-btn + .a11y-btn { border-left: 1px solid var(--line-strong); }
.a11y-btn.fs-mid { font-size: .88rem; } .a11y-btn.fs-big { font-size: .98rem; }
.a11y-btn.wide { border: 1px solid var(--line-strong); border-radius: .3rem; }
.a11y-btn:hover { background: rgba(0,149,217,.15); }
.a11y-btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.a11y-label { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; }
.a11y-label .ic { color: var(--blue-hi); width: 1.05rem; height: 1.05rem; }
html:not(.js) .a11y-bar { display: none; }   /* the controls need JavaScript */
@media (max-width: 30rem) {   /* phones: one row – the label keeps only its symbol */
  .a11y-label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,10,18,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; padding: .35rem 0; }
.brand img { height: 2.8rem; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  display: inline-block; position: relative; color: var(--text); text-decoration: none;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .85rem; padding: .7rem .85rem;
}
.main-nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover { color: #fff; }
.main-nav .lang { border-left: 1px solid var(--line-strong); padding-left: .75rem; }
.main-nav .lang a { font-family: var(--mono); letter-spacing: .02em; padding: .6rem .45rem; color: var(--muted); }
.main-nav .lang a[aria-current="true"] { color: #fff; }
.main-nav .lang a::after { display: none; }
.nav-toggle { display: none; }

@media (max-width: 52rem) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-weight: 600; color: var(--text);
    background: transparent; border: 1px solid var(--line-strong); border-radius: .4rem; padding: .55rem .8rem; cursor: pointer; min-height: 2.75rem;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.2rem; height: 2px; background: currentColor; position: relative; border-radius: 1px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .header-inner { flex-wrap: wrap; }
  html.js .main-nav { display: none; }
  html.js .main-nav.open { display: flex; }
  .main-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: .5rem; padding-bottom: 1rem; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { display: block; padding: .8rem .5rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { left: .5rem; right: auto; width: 2.5rem; bottom: .45rem; }
  .main-nav .lang { flex-direction: row; border-left: 0; padding-left: 0; }
  .main-nav .lang a { border-bottom: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 600; line-height: 1.2;
  padding: .8rem 1.3rem; border-radius: .45rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; min-height: 2.75rem;
}
.btn-primary { background: #0079b3; color: #fff; border-color: #2aa7e6; box-shadow: 0 0 0 0 rgba(0,149,217,.0); }
.btn-primary:hover { background: #0090d2; color: #fff; box-shadow: 0 0 1.5rem rgba(0,149,217,.45); }
.btn-ghost { background: rgba(6,10,18,.4); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue-hi); color: #fff; }
.btn-block { width: 100%; }
.btn-small { padding: .45rem .8rem; min-height: 2.25rem; font-size: .9rem; background: rgba(125,175,225,.10); color: var(--text); border-color: var(--line-strong); }
.btn-small:hover { border-color: var(--blue-hi); }
.btn-icon { min-width: 2.4rem; min-height: 2.4rem; padding: .3rem; font-size: 1.1rem; background: rgba(125,175,225,.10); color: var(--text); border-color: var(--line-strong); }
.btn-icon:hover:not(:disabled) { border-color: var(--blue-hi); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn-danger { color: #ffd0db; border-color: rgba(255,107,143,.55); background: rgba(237,22,80,.12); }
.btn-danger:hover { background: rgba(237,22,80,.28); }

/* ---------- hero ---------- */
.hero { padding-top: 1.75rem; }
.hero-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line-strong); min-height: 26rem; display: flex; align-items: flex-end;
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.5), 0 0 0 1px rgba(0,149,217,.08) inset;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-frame::after { /* readable overlay for text */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,8,15,.95) 0%, rgba(4,8,15,.82) 42%, rgba(4,8,15,.25) 75%, rgba(4,8,15,.05) 100%),
              linear-gradient(0deg, rgba(4,8,15,.7), transparent 50%);
}
.fiber { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.fiber path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.f-base { stroke: rgba(120,190,255,.18); stroke-width: 1.2; }

.hero-copy { position: relative; z-index: 2; padding: 3rem clamp(1.25rem, 4vw, 3.5rem); max-width: 40rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #cfe7f7; border: 1px solid var(--line-strong); border-radius: 2rem; padding: .3rem .85rem; background: rgba(4,8,15,.6); }
.kicker .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 .25rem rgba(237,22,80,.25); }
.hero h1 { margin: 1rem 0 .9rem; color: #fff; }
.lead { font-size: 1.15rem; color: #d6e1ec; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }

/* ---------- sections ---------- */
.about, .services, .contact, .page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow { font-family: var(--mono); color: var(--blue-hi); letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: .5rem; }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.about-text p { color: #d3dde8; }
.about-figure { margin: 0; position: sticky; top: 6.5rem; }
.screen { position: relative; padding: .6rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(6,12,22,.7); }
.screen::before, .screen::after { content: ""; position: absolute; width: 1.4rem; height: 1.4rem; border: 2px solid var(--blue); }
.screen::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.screen::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-color: var(--red); border-bottom-right-radius: var(--radius); }
.screen img { border-radius: .3rem; width: 100%; }
.about-figure figcaption { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--red); color: var(--text); font-weight: 600; }

.services { background: linear-gradient(180deg, transparent, rgba(0,60,100,.12) 30%, rgba(0,60,100,.12) 70%, transparent); }
.svc-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; counter-reset: svc; }
.svc {
  counter-increment: svc; position: relative; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
}
.svc::before { content: counter(svc, decimal-leading-zero); position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.svc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: .5; border-radius: var(--radius) var(--radius) 0 0; }
.svc:hover { border-color: rgba(60,184,242,.55); box-shadow: 0 0 2rem rgba(0,149,217,.15); }
.svc:hover::after { opacity: 1; }
.svc-ic { width: 3rem; height: 3rem; color: var(--blue-hi); margin-bottom: 1rem; }
.svc-ic .accent-fill { fill: var(--red); }
.svc h3 { color: #fff; }
.svc p { color: #c9d5e2; font-size: .95rem; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ic { width: 1.4rem; height: 1.4rem; color: var(--blue-hi); margin-top: .2rem; }
.map { border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--panel-solid); min-height: 20rem; display: flex; }
.map iframe { width: 100%; min-height: 22rem; border: 0; display: block; }
.map-placeholder { display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; position: relative; width: 100%; }
.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--blue); }
.map-placeholder p { position: relative; color: var(--muted); max-width: 32rem; }
.map-placeholder > p:not(.map-actions) { background: rgba(6,10,18,.88); padding: .6rem .8rem; border-radius: .35rem; border: 1px solid var(--line); }
.map-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
html:not(.js) .js-only { display: none; }

/* ---------- inner pages ---------- */
.page h1 { margin-bottom: 1.5rem; }
.intro { color: #d3dde8; font-size: 1.05rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; }

.doc-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "type title go" "type meta go"; align-items: center; column-gap: 1rem;
  padding: .85rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line);
}
.doc:hover { border-color: rgba(60,184,242,.6); background: rgba(0,60,100,.3); color: #fff; }
.doc-type { grid-area: type; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: #fff; background: linear-gradient(135deg, #c8103f, #9e0c33); padding: .55rem .45rem; border-radius: .3rem; min-width: 2.9rem; text-align: center; }
.doc-title { grid-area: title; font-weight: 600; line-height: 1.35; }
.doc-meta { grid-area: meta; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.doc-go { grid-area: go; color: var(--blue-hi); }
.doc-go .ic { width: 1.4rem; height: 1.4rem; }
.empty { color: var(--muted); }

.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; padding-left: .9rem; border-left: 3px solid var(--blue); }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose ul.plain { list-style: none; padding-left: 0; }
.placeholder { border: 1px dashed var(--warn); color: #ffe2a8; background: rgba(255,176,32,.08); padding: .8rem 1rem; border-radius: var(--radius); }
.am-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.am-head h1 { margin: 0; }
.am-head .badge-ic { width: 4rem; height: 4rem; flex: none; }

/* forms */
.login-form { max-width: 26rem; margin: 2rem auto 0; }
.field { margin: 0 0 1.2rem; border: 0; padding: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: .4rem; }
label.radio, label.check { display: flex; align-items: center; gap: .6rem; font-weight: 400; margin: .35rem 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="file"] {
  font: inherit; color: var(--text); background: #050a13; border: 1px solid var(--line-strong); border-radius: .4rem;
  padding: .65rem .8rem; width: 100%; min-height: 2.75rem;
}
input:focus-visible { border-color: var(--focus); }
input[type="radio"], input[type="checkbox"] { width: 1.2rem; height: 1.2rem; accent-color: var(--blue); }
.help { font-size: .88rem; color: var(--muted); margin: .4rem 0 0; }

/* admin */
.flash { padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 600; }
.flash.ok { background: rgba(63,209,139,.12); border: 1px solid rgba(63,209,139,.6); color: #b8f5d6; }
.flash.err { background: rgba(237,22,80,.14); border: 1px solid rgba(255,107,143,.7); color: #ffd0db; }
.upload-form { display: grid; gap: .25rem; }
.upload-form .btn { justify-self: start; margin-top: .75rem; }
.count { font-family: var(--mono); font-size: .9rem; color: var(--muted); font-weight: 400; }
.adm-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.adm-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: .6rem 1rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5,10,19,.6); }
.adm-item:target { border-color: var(--focus); box-shadow: 0 0 0 2px rgba(255,191,71,.35); }
.adm-item.missing { border-color: rgba(255,176,32,.6); }
.adm-pos { font-family: var(--mono); font-weight: 700; color: var(--blue-hi); text-align: center; }
.title-form { display: flex; gap: .5rem; align-items: center; }
.title-form input { flex: 1; }
.adm-meta { margin: .35rem 0 0; font-family: var(--mono); font-size: .8rem; color: var(--muted); word-break: break-all; }
.warn { color: var(--warn); }
.badge { display: inline-block; font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: .25rem; border: 1px solid; }
.badge.on { color: #b8f5d6; border-color: rgba(63,209,139,.6); background: rgba(63,209,139,.12); }
.badge.off { color: #d6dde6; border-color: var(--line-strong); background: rgba(125,175,225,.08); }
.badge.warn { color: #ffe2a8; border-color: rgba(255,176,32,.6); background: rgba(255,176,32,.1); }
.adm-state { margin: .4rem 0 0; }
.adm-item.is-hidden .title-form input[type="text"] { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.arch-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .92rem; }
.arch-table th, .arch-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.arch-table th { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mono { font-family: var(--mono); font-size: .82rem; word-break: break-all; }
html.hc .badge { background: #000; color: #fff; border-color: #fff; }
.adm-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: flex-start; }
.adm-actions form { display: flex; gap: .3rem; align-items: center; }
.pos-form input { width: 4.5rem; min-height: 2.25rem; padding: .3rem .5rem; }
@media (max-width: 60rem) {
  .adm-item { grid-template-columns: 2rem 1fr; }
  .adm-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .title-form { flex-wrap: wrap; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: 2rem; background: rgba(3,6,11,.92); }
.fiber-rule { height: 2px; background: var(--grad); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2.75rem; }
.f-h { font-family: var(--mono); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-hi); margin-bottom: 1rem; }
.f-sub { font-size: .95rem; margin: 1.2rem 0 .4rem; }
.f-text { color: #cdd8e4; }
.f-list, .f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.f-list li { display: flex; gap: .6rem; align-items: flex-start; color: #cdd8e4; }
.f-list .ic { color: var(--blue-hi); margin-top: .25rem; }
.site-footer a { color: #e9eff7; }
.site-footer a:hover { color: var(--blue-hi); }
.f-links a { display: inline-flex; align-items: center; gap: .5rem; padding: .2rem 0; }
.f-links a::before { content: "›"; color: var(--red-hi); font-weight: 700; }
.hours { margin: 0; display: grid; gap: .15rem; color: #cdd8e4; }
.hours div { display: flex; gap: .75rem; }
.hours dt { font-weight: 700; min-width: 1.6rem; }
.hours dd { margin: 0; font-family: var(--mono); font-size: .92rem; }
.a11y-badge { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding: .6rem .9rem .6rem .6rem; border: 1px solid var(--line-strong); border-radius: 3rem; text-decoration: none; background: rgba(10,19,34,.8); }
.a11y-badge .badge-ic { width: 2.8rem; height: 2.8rem; flex: none; }
.a11y-badge small { color: var(--muted); font-size: .78rem; }
.a11y-badge:hover { border-color: var(--blue-hi); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.2rem; font-size: .88rem; color: var(--muted); text-align: center; }
.footer-bottom p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 52rem) {
  .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; }
  .hero-frame { min-height: 0; }
  .hero-frame::after { background: linear-gradient(0deg, rgba(4,8,15,.96) 0%, rgba(4,8,15,.85) 55%, rgba(4,8,15,.35) 100%); }
  .hero-copy { padding-top: 9rem; }
}

/* ---------- high contrast (toolbar) ---------- */
html.hc { --text: #fff; --muted: #fff; --blue-hi: #ffff00; --line: #fff; --line-strong: #fff; --panel: #000; --panel-solid: #000; }
html.hc body { background: #000; color: #fff; }
html.hc body::before, html.hc .hero-img, html.hc .fiber, html.hc .map-grid { display: none; }
html.hc .fiber-rule { background: #fff; opacity: 1; }
html.hc .hero-frame::after, html.hc .hero-frame { background: #000; box-shadow: none; }
html.hc .site-header, html.hc .a11y-bar, html.hc .site-footer, html.hc .services { background: #000; backdrop-filter: none; }
html.hc a { color: #ffff00; text-decoration: underline; }
html.hc .main-nav a, html.hc .site-footer a { color: #ffff00; }
html.hc .eyebrow, html.hc .f-h, html.hc .svc-ic, html.hc .doc-go, html.hc .contact-list .ic, html.hc .f-list .ic, html.hc .adm-pos, html.hc .a11y-label .ic { color: #ffff00; }
html.hc p, html.hc li, html.hc .svc p, html.hc .about-text p, html.hc .intro, html.hc .lead, html.hc .f-text, html.hc .hours, html.hc .f-list li { color: #fff; }
html.hc .svc, html.hc .doc, html.hc .card, html.hc .screen, html.hc .map, html.hc .adm-item, html.hc .kicker, html.hc .a11y-badge { background: #000; border: 2px solid #fff; }
html.hc .doc { color: #fff; }
html.hc .doc-type { background: #fff; color: #000; }
html.hc .btn-primary { background: #ffff00; color: #000; border-color: #ffff00; }
html.hc .btn-ghost, html.hc .btn-small, html.hc .btn-icon, html.hc .a11y-btn { background: #000; color: #fff; border: 2px solid #fff; }
html.hc .a11y-btn[aria-pressed="true"] { background: #ffff00; color: #000; }
html.hc .svc::after, html.hc .main-nav a::after { background: #ffff00; }
html.hc input { background: #000; color: #fff; border: 2px solid #fff; }
html.hc .about-figure figcaption { border-color: #ffff00; color: #fff; }
html.hc .svc-ic .accent-fill { fill: #ffff00; }
html.hc :focus-visible { outline: 4px solid #00ffff; }

/* Windows high-contrast / forced colours */
@media (forced-colors: active) {
  .fiber, .map-grid, body::before { display: none; }
  .btn, .svc, .doc, .card { border: 1px solid CanvasText; }
}

@media print {
  .a11y-bar, .site-header nav, .nav-toggle, .fiber, .map, .hero-cta { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

/* small note under a page intro (e.g. "courtesy translation") */
.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: .8rem; }
