/* ShezTeK Solutions — palette lifted directly from the original 2007 site's style.css
   #01509B / #315E88 / #A5CAEF / #E2EBF4 / #E1F1FF / #05396A / #F8F8F8 / #ededed / #666 */

/* === defensive base — injected by harden_css.py; do not hand-edit === */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: calc(var(--nav-h, 72px) + 1rem); }
img, svg, video, iframe, canvas, table { display: block; max-width: 100%; }
p, li, h1, h2, h3, h4, blockquote, td, dd, dt { overflow-wrap: anywhere; }
form[style*="min-height"] { align-content: center; }
/* === end defensive base === */

:root {
  --ink:       #0A1C2E;
  --ink-2:     #0F2942;
  --navy:      #05396A;
  --blue:      #01509B;
  --blue-lift: #1E72C8;
  --steel:     #315E88;
  --ice:       #A5CAEF;
  --mist:      #E2EBF4;
  --frost:     #E1F1FF;
  --paper:     #F8F8F8;
  --line:      #EDEDED;
  --slate:     #666666;
  --slate-2:   #6A6A6A;
  --white:     #FFFFFF;

  --display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;

  --nav-h: 68px;
  --shell: 1180px;
  --r:  14px;
  --r-s: 9px;

  --shadow-s: 0 1px 2px rgba(10, 28, 46, .06), 0 4px 14px rgba(10, 28, 46, .05);
  --shadow-m: 0 2px 6px rgba(10, 28, 46, .07), 0 18px 44px rgba(10, 28, 46, .09);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-lift); }

img { display: block; max-width: 100%; height: auto; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* ---------- eyebrow / section furniture ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0;
}
.eyebrow--on-dark { color: var(--ice); }

.section { padding: clamp(64px, 8vw, 116px) 0; }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--ink { background: var(--ink); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.9rem);
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: var(--slate);
  max-width: 58ch;
}
.section--ink .section-head h2 { color: var(--white); }
.section--ink .section-head p { color: var(--ice); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-s);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(5, 57, 106, .3), 0 10px 24px rgba(1, 80, 155, .22);
}
.btn--primary:hover { background: var(--blue-lift); color: var(--white); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(165, 202, 239, .42);
}
.btn--ghost-light:hover {
  background: rgba(165, 202, 239, .12);
  border-color: var(--ice);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: #D6E2EE;
}
.btn--ghost:hover { border-color: var(--steel); color: var(--blue); background: var(--white); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(10, 28, 46, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(165, 202, 239, .16);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
/* the mark ships on its own white ground, so it needs a hairline to read as a
   deliberate badge rather than a pasted-on sticker against the dark bar */
.nav__brand img {
  width: 34px; height: 34px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(165, 202, 239, .28);
}
.nav__wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1;
}
.nav__wordmark span { color: var(--ice); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #C9DCEF;
  letter-spacing: .01em;
}
.nav__links a:hover { color: var(--white); }

.nav__cta { padding: 11px 19px; font-size: 14.5px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(165, 202, 239, .3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block; position: relative;
  width: 17px; height: 1.5px; background: var(--white);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 17px; height: 1.5px; background: var(--white);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top:  5.5px; }

.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(165, 202, 239, .18);
  padding: 18px 24px 26px;
  flex-direction: column;
  gap: 4px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  color: #C9DCEF;
  font-size: 16px;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid rgba(165, 202, 239, .1);
}
.nav__mobile .btn { margin-top: 16px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  container-type: inline-size;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(30, 114, 200, .30), transparent 62%),
    radial-gradient(760px 460px at 6% 108%, rgba(5, 57, 106, .55), transparent 60%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
}

/* faint engineering grid — reads "infrastructure", costs nothing */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(165, 202, 239, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 202, 239, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(78% 68% at 50% 34%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 5cqi, 68px);
  padding-block: clamp(40px, 7cqi, 76px);
}

.hero__copy { display: flex; flex-direction: column; gap: clamp(14px, 2.1cqi, 24px); }

.hero h1 {
  font-size: clamp(2.05rem, 6.1cqi, 4.05rem);
  color: var(--white);
  letter-spacing: -.033em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--ice);
}

.hero__sub {
  font-size: clamp(1rem, 1.72cqi, 1.2rem);
  color: #C4D7EA;
  max-width: 54ch;
  line-height: 1.6;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(.86rem, 1.32cqi, .97rem);
  color: var(--ice);
  padding-top: 2px;
}
.hero__proof svg { flex: none; }

.hero__card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(165, 202, 239, .22);
  border-radius: var(--r);
  padding: clamp(20px, 2.4cqi, 28px);
  backdrop-filter: blur(6px);
}
.hero__card-head {
  display: flex; align-items: center; gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(165, 202, 239, .18);
  margin-bottom: 6px;
}
/* no object-fit: the logo is near-square (160x165) so it fits 46x46 as-is, and a
   fill-mode image sitting this high in the tall hero card reads as an image gap */
.hero__card-head img {
  width: 46px; height: 46px;
  border-radius: 9px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(165, 202, 239, .28);
}
.hero__card-head strong {
  display: block;
  font-family: var(--display);
  font-size: 15.5px;
  color: var(--white);
  letter-spacing: -.01em;
}
.hero__card-head span { font-size: 12.5px; color: var(--ice); }

.hero__card ul { list-style: none; margin: 0; padding: 0; }
.hero__card li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0;
  font-size: 14.5px;
  color: #CFE0F1;
  border-bottom: 1px solid rgba(165, 202, 239, .09);
}
.hero__card li:last-child { border-bottom: 0; }
.hero__card li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ice);
}

/* ---------- marker strip ---------- */

.facts { background: var(--navy); }
.facts ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.facts li {
  display: flex; flex-direction: column; gap: 3px;
  padding-left: 18px;
  border-left: 2px solid rgba(165, 202, 239, .32);
}
.facts b {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--white);
  letter-spacing: -.02em;
}
.facts span { font-size: 13px; color: var(--ice); line-height: 1.4; }

/* ---------- services ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 1fr));
  gap: 20px;
  /* let each card hug its own list — a 2-bullet card stretched to match a
     7-bullet one leaves a card-sized hole of dead white space */
  align-items: start;
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-s);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.svc:hover {
  border-color: #C9DBEC;
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.svc__no {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--steel);
  background: var(--frost);
  border: 1px solid var(--mist);
  border-radius: 5px;
  padding: 4px 9px;
  align-self: flex-start;
}
.svc h3 {
  font-size: 1.24rem;
  margin: 16px 0 12px;
  letter-spacing: -.02em;
}
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li {
  position: relative;
  padding-left: 19px;
  font-size: 14.9px;
  line-height: 1.55;
  margin-bottom: 8px;
  color: var(--slate);
}
.svc li:last-child { margin-bottom: 0; }
.svc li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 1.5px;
  background: var(--steel);
}

.svc-note {
  margin-top: 28px;
  background: var(--frost);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-s);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}
.svc-note p { color: var(--navy); font-size: 1.02rem; font-weight: 500; }

/* ---------- clients ---------- */

.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 18px;
}
.client {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 168px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}
a.client:hover { border-color: #C9DBEC; box-shadow: var(--shadow-m); }
.client img { max-height: 62px; width: auto; object-fit: contain; }
.client span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* ---------- testimonials ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 22px;
  align-items: start;
}
.quote {
  /* blockquote carries a UA default of `margin: 1em 40px` — unreset it squeezes
     the card 80px narrower than its grid track, worst on a phone */
  margin: 0;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(165, 202, 239, .2);
  border-radius: var(--r);
  padding: 32px 30px;
}
.quote__mark {
  font-family: var(--display);
  font-size: 40px;
  line-height: .8;
  color: var(--ice);
  opacity: .5;
  margin-bottom: 14px;
}
.quote p {
  color: #D2E1F0;
  font-size: 15.6px;
  line-height: 1.68;
}
.quote p + p { margin-top: 14px; }
.quote footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(165, 202, 239, .18);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ice);
}

/* ---------- contact / cta band ---------- */

.cta-band {
  background:
    radial-gradient(760px 420px at 88% 8%, rgba(30, 114, 200, .3), transparent 60%),
    var(--navy);
  border-radius: var(--r);
  padding: clamp(38px, 5.5vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-top: 13px;
}
.cta-band > div > p {
  color: var(--ice);
  margin-top: 15px;
  font-size: 1.04rem;
  max-width: 46ch;
}
.cta-band__actions { display: flex; flex-direction: column; gap: 11px; }
.cta-band__actions .btn { width: 100%; }
.cta-band__direct {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(165, 202, 239, .22);
  font-size: 14px;
  color: var(--ice);
  line-height: 1.9;
}
.cta-band__direct a { color: var(--white); }
.cta-band__direct a:hover { color: var(--ice); }
.cta-band__direct b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FB4D8;
  display: inline-block;
  min-width: 54px;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #9FBBD6;
  padding: 56px 0 34px;
  font-size: 14.5px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(165, 202, 239, .14);
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(165, 202, 239, .22);
}
.footer__brand strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  color: var(--white);
  letter-spacing: -.02em;
}
.footer__brand span { font-size: 13px; color: var(--ice); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__links a { color: #9FBBD6; font-size: 14.5px; }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #7F9CB8;
}

/* ---------- contact page ---------- */

.page-head {
  background:
    radial-gradient(880px 480px at 82% -20%, rgba(30, 114, 200, .28), transparent 62%),
    var(--ink);
  color: var(--white);
  padding: clamp(52px, 7vw, 84px) 0 clamp(56px, 7vw, 88px);
}
.page-head h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  margin-top: 14px;
  max-width: 18ch;
}
.page-head p {
  color: #C4D7EA;
  margin-top: 18px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 52ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-s);
}
.card > h2 { font-size: 1.5rem; }
.card > p.card__lede { margin-top: 12px; color: var(--slate); font-size: 15.5px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-top: 19px; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}
.field input,
.field textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #D8E2EC;
  border-radius: var(--r-s);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 80, 155, .13);
}
.field input::placeholder,
.field textarea::placeholder { color: #A8B8C6; }

#estimate-form .btn { width: 100%; margin-top: 24px; }
#estimate-form .btn[disabled] { opacity: 1; cursor: default; transform: none; }

.form-status {
  margin-top: 18px;
  border-radius: var(--r-s);
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
}
.form-status--ok {
  background: var(--frost);
  border: 1px solid var(--mist);
  border-left: 4px solid var(--blue);
  color: var(--navy);
}
.form-status--err {
  background: #FDF2F2;
  border: 1px solid #F5D9D9;
  border-left: 4px solid #B4453C;
  color: #8C332C;
}
.form-status strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 5px; }

.turnstile-box { margin-top: 20px; }

.contact-aside { display: flex; flex-direction: column; gap: 18px; }
.detail {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 19px 21px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.detail__ico {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--frost);
  border: 1px solid var(--mist);
  color: var(--blue);
}
.detail dl { margin: 0; min-width: 0; }   /* dl also has a UA block margin */
.detail dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 3px;
}
.detail dd {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.detail dd a { color: var(--ink); }
.detail dd a:hover { color: var(--blue); }
.detail small { display: block; font-size: 13px; color: var(--slate); font-weight: 400; margin-top: 3px; }

/* ---------- reveal (below the fold only) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  /* the card's contents are the services section immediately below —
     dropping it here is what guarantees the hero core clears the fold on a phone */
  .hero__card { display: none; }
  .hero__inner { align-content: center; }
}

@media (max-width: 560px) {
  .shell { padding-inline: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .facts ul { grid-template-columns: 1fr; }
  .svc-note { flex-direction: column; align-items: flex-start; }
  .svc-note .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .svc:hover { transform: none; }
}

/* === site credit (injected by credit_footer.py); do not hand-edit === */
.site-credit {
  margin: 2.25rem 0 0;
  padding-inline: 1.25rem;
  font-size: .73rem;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
  opacity: .65;
}
.site-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(128, 128, 128, .5);
  border-bottom: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  transition: border-bottom-color .25s ease;
}
.site-credit a:hover,
.site-credit a:focus-visible { border-bottom-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .site-credit a { transition: none; }
}

/* Shares the footer's own copyright row: sits opposite it rather than adding a
   third line under the page. The parent is reached with :has() so no client
   class name has to be guessed, and the rule cannot fire on a footer that has
   no inline credit in it. */
.site-credit--inline {
  margin: 0;
  padding: 0;
  text-align: right;
}
footer :has(> .site-credit--inline) {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1.5rem;
}
/* === end site credit === */
