/* ===========================================================================
   rgserver.in

   Grounded in the subject's own vocabulary: rack chassis, patch cables, port
   numbers, indicator LEDs, throughput figures. The amber is the link LED and
   it carries the page; the blue is a patch cable and it only ever means "this
   is a link or a focus ring".

   Deliberately not: cream + serif + terracotta, near-black + one acid accent,
   or a hairline broadsheet grid.
   =========================================================================== */

/* --- fonts ------------------------------------------------------------- */
/* Self-hosted. Nothing on this site is fetched from a third party — same
   reason the applications vendor everything: a page that needs somebody
   else's server to finish rendering is a page that fails when they do. */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('../fonts/plex-sans-var.woff2') format('woff2-variations');
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/plex-mono-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}

/* --- tokens ------------------------------------------------------------ */
:root {
  --void:   #07090c;   /* rack shadow — the dark ground */
  --steel:  #11161d;   /* a raised surface on dark */
  --mist:   #edeff2;   /* the cool light ground */
  --signal: #f0b429;   /* link LED amber — the accent that carries the page */
  --patch:  #1d4ed8;   /* patch-cable blue — links and focus rings on light */
  --slate:  #59616b;   /* muted labels, units, timestamps */

  /* Two states, for the firewall visual only. */
  /* Darkened from a brighter green: the tick marks are non-text UI and
     need 3:1, which the brighter value missed on the light ground
     (2.67:1). This clears 3:1 on light, dark AND white. */
  --pass: #238a40;
  --drop: #e5484d;

  /* Derived. Kept here so a change to the six above propagates. */
  --line-dark:  rgba(255,255,255,.10);
  --line-light: #dfe3e8;
  --ink-dim:    #9aa3ad;

  --shell: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* One easing for everything, so the site moves like one object. */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Cross-document transitions: real Flask navigations, no router, no library,
   and nothing to re-initialise. Browsers without it just navigate. */
@view-transition { navigation: auto; }

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

/* The HTML `hidden` attribute must actually hide.
   The UA stylesheet's `[hidden]{display:none}` is specificity (0,1,0) — the
   same as any class rule — so a later `.btn-quiet{display:inline-block}` beats
   it and `hidden` silently does nothing. That is why "Remove" was showing on
   empty image fields even though the attribute was set. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--void);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.08;
                 letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--patch); text-decoration-thickness: 1px;
    text-underline-offset: 3px; }

/* Focus is visible everywhere, and it is the same object everywhere. */
:focus-visible {
  outline: 3px solid var(--patch);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark :focus-visible, .hero :focus-visible, .footer :focus-visible,
.cta :focus-visible, .page-head :focus-visible {
  outline-color: var(--signal);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--signal); color: var(--void); padding: .8rem 1.2rem;
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
}
.skip:focus { left: 0; }

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }

/* --- type scale --------------------------------------------------------- */
.h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700;
      font-stretch: 112%; margin-bottom: 1rem; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700;
      font-stretch: 108%; margin-bottom: .75rem; }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--slate); margin: 0 0 .9rem;
}
.section-dark .eyebrow, .hero .eyebrow, .footer .eyebrow,
.cta .eyebrow, .page-head .eyebrow { color: var(--signal); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.62;
        color: #333a42; max-width: 62ch; }
.lede-wide { max-width: 74ch; margin-bottom: 2.5rem; }
.section-dark .lede, .hero .lede, .cta .lede, .page-head .lede {
  color: var(--ink-dim);
}

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--signal); color: var(--void);
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .95rem 1.6rem; border: 1px solid var(--signal); border-radius: 3px;
  text-decoration: none; cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { background: #ffc94a; border-color: #ffc94a;
             transform: translateY(-2px);
             box-shadow: 0 6px 20px rgba(240,180,41,.28); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.1rem; font-size: .76rem; }
.btn-ghost { background: transparent; color: var(--void);
             border-color: rgba(7,9,12,.28); }
.btn-ghost:hover { background: rgba(7,9,12,.06); border-color: var(--void);
                   box-shadow: none; }
.section-dark .btn-ghost, .hero .btn-ghost, .footer .btn-ghost,
.cta .btn-ghost, .page-head .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.3);
}
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover,
.cta .btn-ghost:hover, .page-head .btn-ghost:hover {
  background: rgba(255,255,255,.08); border-color: #fff;
}

/* --- masthead ----------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,9,12,.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.masthead-in { display: flex; align-items: center; justify-content: space-between;
               gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-word { font-family: var(--display); font-weight: 800; font-stretch: 118%;
              font-size: .95rem; letter-spacing: .14em; color: #fff; }
.brand-mark { width: 34px; height: 34px; }

.nav ul { display: flex; align-items: center; gap: .35rem; }
.nav a { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em;
         color: var(--ink-dim); text-decoration: none;
         padding: .55rem .85rem; border-radius: 3px; position: relative;
         transition: color .18s var(--ease); }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--signal); }
/* The port-strip signature, reused as the nav indicator. */
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem;
  height: 2px; background: var(--signal); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; opacity: .9;
  transition: transform .22s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta a::after { display: none; }
.nav-cta .btn { color: var(--void); }

.burger { display: none; background: none; border: 0; cursor: pointer;
          padding: .6rem; width: 44px; height: 44px; }
.burger span { display: block; width: 20px; height: 2px; background: #fff;
               margin: 4px auto; border-radius: 1px;
               transition: transform .22s var(--ease), opacity .18s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- flashes ------------------------------------------------------------ */
.flashes { padding-top: 1rem; }
.flash { font-family: var(--mono); font-size: .84rem; padding: .8rem 1rem;
         border-radius: 4px; border-left: 3px solid; margin-bottom: .5rem; }
.flash-ok { background: rgba(47,168,79,.10); border-color: var(--pass); }
.flash-error { background: rgba(229,72,77,.10); border-color: var(--drop); }

/* --- hero --------------------------------------------------------------- */
.hero {
  background: var(--void); color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
/* A faint rack grid. A gradient, not an image, so it costs no request. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 40%, transparent 100%);
  pointer-events: none;
}
.hero-in { position: relative; display: grid; gap: clamp(2rem, 4vw, 3.5rem);
           grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: minmax(0, 50%) minmax(0, 50%); }
}
/* Capped at 3.15rem, not larger: above that the authored line breaks in
   index.html start wrapping a second time and the shape falls apart. */
.hero-h { font-size: clamp(2rem, 4.6vw, 3.15rem); font-stretch: 115%;
          font-weight: 800; margin-bottom: 1.25rem; }
.hero-h .l { display: block; }
.hero-h .accent { color: var(--signal); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-fig { margin: 0; }
.hero-cap { color: var(--slate); margin: .9rem 0 0; text-align: center; }

/* --- the topology ------------------------------------------------------- */
.topo { width: 100%; height: auto; overflow: visible; min-width: 0; }
@media (min-width: 980px) {
  /* Pull it out towards the edge and let it run bigger than the text
     column: it is the thing people look at first. */
  .hero-fig { margin-right: calc(var(--gap) * -1); }
}
.t-chassis { fill: var(--steel); stroke: var(--line-dark); stroke-width: 1; }
.t-port { fill: #05070a; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.t-led { fill: var(--signal); }
.t-led-up { fill: var(--signal); }
.t-portno { font-family: var(--mono); font-size: 8px; fill: #6b7480; }
.t-label { font-family: var(--mono); font-size: 9px; fill: var(--slate);
           letter-spacing: .14em; }
.t-wire { stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.t-box { fill: var(--steel); stroke: var(--line-dark); stroke-width: 1; }
.t-box-fw { stroke: rgba(240,180,41,.45); }
.t-boxname { font-family: var(--mono); font-size: 10px; font-weight: 500;
             fill: #e8ebee; letter-spacing: .1em; }
.t-boxsub { font-family: var(--mono); font-size: 8px; fill: var(--slate);
            letter-spacing: .06em; }
.t-scan { stroke: var(--signal); stroke-width: 1.5; opacity: .5; }
.t-packet { fill: var(--signal); }
.t-packet-drop { fill: var(--drop); }
.t-leader { stroke: var(--drop); stroke-width: 1; stroke-dasharray: 2 3; }
.t-drop { font-family: var(--mono); font-size: 9px; font-weight: 500;
          fill: var(--drop); letter-spacing: .16em; }

/* --- sections ----------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-dark { background: var(--void); color: #fff; }
.section-dark .h2, .section-dark h3 { color: #fff; }
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
             background: var(--void); color: #fff; }
.page-head .h1 { color: #fff; max-width: 20ch; }
.page-head .lede { color: var(--ink-dim); }
.narrow-page { min-height: 52vh; display: flex; align-items: center; }

/* --- service cards (home) ----------------------------------------------- */
.svc-grid { display: grid; gap: 1px; background: var(--line-light);
            border: 1px solid var(--line-light); border-radius: 6px;
            overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc { background: #fff; }
.svc a { display: block; padding: 1.75rem 1.5rem 1.6rem; height: 100%;
         text-decoration: none; color: inherit; position: relative;
         transition: background .2s var(--ease); }
.svc a::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.svc a:hover { background: #fbfcfd; }
.svc a:hover::before { transform: scaleX(1); }
.svc-n { display: block; color: var(--signal); font-weight: 500;
         margin-bottom: .9rem; }
.svc-name { font-size: 1.12rem; margin-bottom: .5rem; }
.svc-sum { font-size: .93rem; color: var(--slate); margin-bottom: 1.1rem; }
.svc-more { color: var(--patch); font-weight: 500; }
.svc-more .arr { display: inline-block; margin-left: .35rem;
                 transition: transform .2s var(--ease); }
.svc a:hover .arr { transform: translateX(4px); }

/* --- applications ------------------------------------------------------- */
.app-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr;
            margin: 2.5rem 0 3rem; }
@media (min-width: 860px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app { background: var(--steel); border: 1px solid var(--line-dark);
       border-radius: 6px; padding: 1.6rem 1.5rem;
       border-top: 3px solid var(--signal); }
.app-grid-light .app { background: #fff; border-color: var(--line-light);
                       border-top-color: var(--signal); color: var(--void); }
.app-name { font-size: 1.2rem; margin-bottom: .4rem; }
.app-short { color: var(--signal); margin-bottom: .9rem; }
.app-body { font-size: .95rem; color: var(--ink-dim); margin-bottom: 1rem; }
.app-grid-light .app-body { color: #333a42; }
.app-points { display: grid; gap: .5rem; }
.app-points li { font-size: .89rem; color: var(--ink-dim); padding-left: 1.1rem;
                 position: relative; line-height: 1.5; }
.app-grid-light .app-points li { color: #4a525c; }
.app-points li::before { content: ""; position: absolute; left: 0; top: .55em;
                         width: 5px; height: 5px; border-radius: 1px;
                         background: var(--signal); }

/* --- why grid ----------------------------------------------------------- */
.why-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { border-top: 1px solid var(--line-dark); padding-top: 1.1rem; }
.why-head { font-size: 1.02rem; margin-bottom: .45rem; color: var(--signal); }
.why p { font-size: .93rem; color: var(--ink-dim); margin: 0; }

/* --- proof list --------------------------------------------------------- */
.proof-list { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .proof-list { grid-template-columns: repeat(3, 1fr); } }
.proof a { display: block; height: 100%; padding: 1.6rem 1.5rem;
           background: #fff; border: 1px solid var(--line-light);
           border-radius: 6px; text-decoration: none; color: inherit;
           transition: transform .2s var(--ease), box-shadow .2s var(--ease),
                       border-color .2s var(--ease); }
.proof a:hover { transform: translateY(-3px); border-color: #c8cdd4;
                 box-shadow: 0 10px 30px rgba(7,9,12,.09); }
.proof-kind { color: var(--signal); font-weight: 500; display: block;
              margin-bottom: .8rem; text-transform: uppercase;
              letter-spacing: .12em; }
.proof-name { font-size: 1.15rem; margin-bottom: .5rem; }
.proof-sum { font-size: .93rem; color: var(--slate); margin-bottom: .9rem; }
.proof-client { color: #7c848e; margin: 0; }

/* --- services page ------------------------------------------------------ */
.svc-full { padding: clamp(3rem, 6vw, 4.5rem) 0;
            border-bottom: 1px solid var(--line-light); }
.svc-alt { background: #f5f7f9; }
.svc-full-head { display: flex; gap: 1.25rem; align-items: flex-start;
                 margin-bottom: 2.25rem; }
.svc-full-n { color: var(--signal); font-size: 1.6rem; font-weight: 500;
              line-height: 1; padding-top: .35rem; }
.svc-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .svc-cols { grid-template-columns: repeat(3, 1fr); } }
.col-head { text-transform: uppercase; letter-spacing: .12em; color: var(--slate);
            font-weight: 500; margin: 0 0 .9rem; font-size: .72rem; }
.svc-col p { font-size: .96rem; }
.svc-ask { margin-top: 2rem; }

.step-list { counter-reset: s; display: grid; gap: .85rem; }
.step-list li { counter-increment: s; position: relative; padding-left: 2.1rem;
                font-size: .94rem; line-height: 1.55; }
.step-list li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: .1em;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  color: var(--signal);
}
.tick-list { display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.6rem; font-size: .94rem;
                line-height: 1.55; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 9px; height: 5px; border-left: 2px solid var(--pass);
  border-bottom: 2px solid var(--pass); transform: rotate(-45deg);
}
.dash-list { display: grid; gap: .7rem; }
.dash-list li { position: relative; padding-left: 1.35rem; font-size: .94rem;
                line-height: 1.55; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em;
                        width: 9px; height: 2px; background: var(--signal); }
.section-dark .dash-list li, .contact-side .dash-list li { color: inherit; }

/* --- work page ---------------------------------------------------------- */
.case { padding: clamp(3rem, 6vw, 4.5rem) 0;
        border-bottom: 1px solid var(--line-light); }
.case-alt { background: #f5f7f9; }
.case-head { max-width: 68ch; margin-bottom: 2.25rem; }
.case-kind { color: var(--signal); text-transform: uppercase;
             letter-spacing: .14em; font-weight: 500; margin-bottom: .7rem; }
.case-client { color: var(--slate); margin: .5rem 0 1.1rem; }
.case-situation { max-width: 68ch; margin-bottom: 2rem;
                  padding-left: 1.25rem; border-left: 3px solid var(--signal); }
.case-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .case-cols { grid-template-columns: repeat(3, 1fr); } }

/* --- about -------------------------------------------------------------- */
.about-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.7fr 1fr; } }
.about-copy p { font-size: 1.02rem; }
.about-facts { background: #fff; border: 1px solid var(--line-light);
               border-radius: 6px; padding: 1.5rem; align-self: start; }
.about-facts dl { margin: 0; display: grid; gap: 1rem; }
.about-facts dt { text-transform: uppercase; letter-spacing: .1em;
                  color: var(--slate); font-size: .7rem; margin-bottom: .2rem; }
.about-facts dd { margin: 0; font-size: .96rem; }

.founder-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr;
                align-items: center; }
@media (min-width: 860px) { .founder-grid { grid-template-columns: 320px 1fr; } }
.founder-fig { margin: 0; }
.founder-fig img { border-radius: 6px; border: 1px solid var(--line-dark);
                   width: 100%; }
.founder-title { color: var(--signal); margin: .3rem 0 1.1rem;
                 text-transform: uppercase; letter-spacing: .12em; }
.founder-copy p { color: var(--ink-dim); }

.hold-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .hold-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .hold-grid { grid-template-columns: repeat(3, 1fr); } }
.hold { background: #fff; border: 1px solid var(--line-light);
        border-radius: 6px; padding: 1.5rem; }
.hold-n { color: var(--signal); font-weight: 500; display: block;
          margin-bottom: .8rem; }
.hold-head { font-size: 1.05rem; margin-bottom: .45rem; }
.hold p { font-size: .93rem; color: var(--slate); margin: 0; }

/* --- cta ---------------------------------------------------------------- */
.cta { background: var(--void); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-in { display: grid; gap: 2rem; grid-template-columns: 1fr;
          align-items: center; }
@media (min-width: 860px) { .cta-in { grid-template-columns: 1.6fr 1fr; } }
.cta .h2 { color: #fff; }
.cta-act { display: flex; flex-direction: column; align-items: flex-start;
           gap: .9rem; }
.cta-mail { margin: 0; }
.cta-mail a { color: var(--signal); text-decoration: none; }
.cta-mail a:hover { text-decoration: underline; }

/* --- contact ------------------------------------------------------------ */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.5fr 1fr; } }
.form { background: #fff; border: 1px solid var(--line-light);
        border-radius: 6px; padding: clamp(1.25rem, 3vw, 2rem); }
.row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-family: var(--mono); font-size: .74rem;
               text-transform: uppercase; letter-spacing: .1em;
               color: var(--slate); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body);
  /* 16px is not cosmetic: below it, iOS Safari zooms the page on focus and
     leaves the visitor scrolled sideways mid-sentence. */
  font-size: 16px; line-height: 1.5;
  padding: .75rem .85rem; color: var(--void); background: #fff;
  border: 1px solid #c8cdd4; border-radius: 4px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--patch); box-shadow: 0 0 0 3px rgba(29,78,216,.14);
  outline: none;
}
.field.has-error input, .field.has-error textarea { border-color: var(--drop); }
.err { display: block; color: #b3272b; font-size: .85rem; margin-top: .35rem; }
.form-summary { background: rgba(229,72,77,.08);
                border-left: 3px solid var(--drop); border-radius: 4px;
                padding: .9rem 1rem; margin-bottom: 1.5rem; }
.form-summary p { font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.form-summary ul { list-style: disc; padding-left: 1.2rem; }
.form-summary li { font-size: .9rem; margin-bottom: .2rem; }
.form-note { color: var(--slate); margin: 1rem 0 0; }
/* The honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and this one should look fillable. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px;
      overflow: hidden; }

.contact-side { display: grid; gap: 1rem; align-content: start; }
.side-card { background: #fff; border: 1px solid var(--line-light);
             border-radius: 6px; padding: 1.35rem; }
.side-head { text-transform: uppercase; letter-spacing: .12em;
             color: var(--slate); font-weight: 500; margin: 0 0 .6rem;
             font-size: .72rem; }
.big-mail { font-family: var(--mono); font-size: 1rem; font-weight: 500;
            word-break: break-all; }
.side-card p:last-child { margin-bottom: 0; }

/* --- sent / errors ------------------------------------------------------ */
.sent, .errpage { text-align: center; max-width: 58ch; margin-inline: auto; }
.sent .lede, .errpage .lede { margin-inline: auto; }
.sent-mark { display: inline-block; margin-bottom: 1.25rem; }
.sent-ring { stroke: var(--pass); stroke-width: 2; fill: none; }
.sent-tick { stroke: var(--pass); stroke-width: 3; fill: none;
             stroke-linecap: round; stroke-linejoin: round; }
.ref-line { color: var(--slate); }
.err-code { font-size: 2.2rem; font-weight: 500; color: var(--signal);
            letter-spacing: .1em; margin-bottom: .5rem; }
.err-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
             margin-top: 1.75rem; }

/* --- footer ------------------------------------------------------------- */
.footer { background: var(--void); color: var(--ink-dim);
          padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
          border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr;
               padding-bottom: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-tag { font-size: .95rem; margin: .9rem 0 .5rem; max-width: 34ch;
              color: var(--ink-dim); }
.footer-area { color: var(--slate); margin: 0; }
.footer-head { font-family: var(--mono); font-size: .72rem; font-weight: 500;
               text-transform: uppercase; letter-spacing: .13em; color: #fff;
               margin-bottom: .9rem; }
.footer-col ul { display: grid; gap: .45rem; }
.footer-col a { color: var(--ink-dim); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--signal); }
.footer-mail { color: var(--signal); font-family: var(--mono); font-size: .88rem;
               text-decoration: none; word-break: break-all; }
.footer-base { border-top: 1px solid var(--line-dark); padding-top: 1.25rem;
               display: flex; flex-wrap: wrap; gap: 1rem;
               justify-content: space-between; align-items: center; }
.footer-base p { margin: 0; color: var(--slate); font-family: var(--mono);
                 font-size: .75rem; }
/* The signature element once more, at rest. */
.footer-ports { display: flex; gap: 5px; }
.fp { width: 12px; height: 5px; border-radius: 1px;
      background: rgba(255,255,255,.14); }
.fp:nth-child(-n+5) { background: var(--signal); opacity: .75; }

/* ===========================================================================
   Motion
   ===========================================================================
   Three tiers, set by site.js on <html>:
     .m-full     desktop, capable device, motion allowed
     .m-reduced  phone / mid-tier: same choreography, shorter, fewer at once
     .m-static   prefers-reduced-motion — a DESIGNED resting state

   Everything that animates is hidden ONLY under .js, so with JavaScript off
   the page renders complete. Nothing here is the sole source of any content.
   =========================================================================== */
.js.m-full [data-reveal],
.js.m-reduced [data-reveal],
.js.m-full [data-stagger-item],
.js.m-reduced [data-stagger-item] {
  opacity: 0;
  transform: translateY(18px);
  /* A long, decelerating curve rather than ease-out: the element should
     arrive and settle, not stop dead. Opacity leads the movement slightly so
     text is readable before it finishes travelling. */
  transition: opacity .5s cubic-bezier(.22,.61,.36,1),
              transform .68s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

/* A heading gets a shorter, sharper rise than the prose under it, which is
   what makes the two read as one gesture rather than a queue. */
.js.m-full h1[data-reveal], .js.m-full h2[data-reveal],
.js.m-full .h1[data-reveal], .js.m-full .h2[data-reveal] {
  transform: translateY(12px);
  transition-duration: .42s, .52s;
}

/* Cards and tiles come up a little further, so a grid has depth to it. */
.js.m-full [data-stagger-item] { transform: translateY(24px); }
.js.m-reduced [data-stagger-item] { transform: translateY(14px); }
.js.m-full [data-h],
.js.m-reduced [data-h] { opacity: 0; }

/* The revealed state.
 *
 * These selectors repeat the tier class deliberately. The hiding rules above
 * are (0,3,0); a plain `[data-reveal].is-in` is (0,2,0) and LOSES to them, so
 * an element the script had revealed would stay invisible. Matching the tier
 * makes these (0,4,0), which wins outright rather than by source order.
 *
 * This is the fallback for anything the observer never reaches — a very short
 * page, a failed GSAP load. GSAP writes inline styles and wins over both. */
.js.m-full [data-reveal].is-in,
.js.m-reduced [data-reveal].is-in,
.js.m-full [data-stagger-item].is-in,
.js.m-reduced [data-stagger-item].is-in,
.js.m-full [data-h].is-in,
.js.m-reduced [data-h].is-in {
  opacity: 1;
  transform: none;
}

/* Static tier: nothing is hidden, nothing moves, and the hero SVG keeps the
   resting composition it was rendered in. */
.m-static [data-reveal], .m-static [data-stagger-item], .m-static [data-h] {
  opacity: 1 !important; transform: none !important;
}
.m-static * { animation: none !important; transition: none !important; }
.m-static html { scroll-behavior: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* --- phone -------------------------------------------------------------- */
@media (max-width: 860px) {
  /* The burger, and the drawer it opens, exist ONLY when there is script to
     work them. Without JS the button would be inert and a hidden drawer would
     leave a phone with no navigation at all — so in that case the nav simply
     stays in the flow, stacked under the header. */
  .js .burger { display: block; }
  .js .nav {
    position: fixed; inset: 66px 0 auto 0; background: rgba(7,9,12,.98);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    max-height: calc(100dvh - 66px); overflow-y: auto;
  }
  .js .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  /* No-JS: let the header wrap and show every link. */
  .no-js .masthead-in { flex-wrap: wrap; padding-bottom: .5rem; }
  .no-js .nav { width: 100%; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0;
            padding: .5rem 1.25rem 1.25rem; }
  .nav a { padding: .9rem .25rem; font-size: .95rem;
           border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav-cta { padding-top: .9rem; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .svc-full-head { flex-direction: column; gap: .5rem; }
}
@media (max-width: 400px) {
  body { font-size: 16px; }
  .btn { padding: .85rem 1.2rem; font-size: .78rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* --- print -------------------------------------------------------------- */
@media print {
  .masthead, .footer, .cta, .burger, .skip { display: none; }
  body { background: #fff; color: #000; }
  .hero, .section-dark, .page-head { background: #fff; color: #000; }
}

/* --- editor-authored page bodies ---------------------------------------- */
/* Whatever somebody writes in the visual editor lands here. The rules are
   deliberately generous about what tags appear, because the author is not
   thinking about CSS — they are writing a returns policy. */
.rich { max-width: 72ch; font-size: 1.02rem; line-height: 1.7; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.25rem 0 .75rem; }
.rich h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin: 1.75rem 0 .6rem; }
.rich h4 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
.rich p { margin: 0 0 1.1rem; }
.rich ul, .rich ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin-bottom: .45rem; }
.rich a { color: var(--patch); }
.rich strong { font-weight: 600; }
.rich blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--signal); color: #4a525c;
}
.rich hr { border: 0; border-top: 1px solid var(--line-light); margin: 2rem 0; }
.rich img { border-radius: 6px; margin: 1.25rem 0; }
.rich pre {
  background: var(--void); color: #e9ecef; padding: 1rem 1.15rem;
  border-radius: 6px; overflow-x: auto; font-family: var(--mono);
  font-size: .85rem; line-height: 1.55; margin: 0 0 1.1rem;
}
.rich code { font-family: var(--mono); font-size: .88em; }
.rich pre code { background: none; color: inherit; padding: 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 0 0 1.1rem;
              display: block; overflow-x: auto; }
.rich th, .rich td { padding: .6rem .75rem; border-bottom: 1px solid var(--line-light);
                     text-align: left; }
.rich th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
           color: var(--slate); }
/* Quill writes alignment as classes, which is what survives sanitising. */
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right  { text-align: right; }
.rich .ql-align-justify { text-align: justify; }

/* --- blocks built in the page builder ----------------------------------- */
/* Every block renders through these, which is what keeps a page somebody built
   in the panel responsive at 360px and recognisably part of this site. */
/* The flow itself is NOT capped — the SHELL already bounds it. What is capped
   is the text, at a readable measure. Media, columns and grids get the full
   shell width, which is how an image can be wider than the paragraph above it
   without any break-out trickery pushing it off the edge of the page. */
.bk-flow { max-width: none; }
.bk-flow > .bk-h2, .bk-flow > .bk-h3, .bk-flow > .bk-h4,
.bk-flow > .bk-text, .bk-flow > .bk-quote, .bk-flow > .bk-callout,
.bk-flow > .bk-btn-wrap, .bk-flow > .bk-code, .bk-flow > .bk-rule {
  max-width: 74ch;
}
.bk-flow > * + * { margin-top: 1.35rem; }
.bk-flow > .bk-h2 { margin-top: 2.5rem; }
.bk-flow > .bk-h3 { margin-top: 2rem; }
.bk-flow > :first-child { margin-top: 0; }

.bk-h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.bk-h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); }
.bk-h4 { font-size: 1.05rem; }

/* Images may break out of the reading column — that is the point of the
   width choice, and why the flow is a max-width rather than a container. */
.bk-img { margin-inline: 0; }
.bk-img img { border-radius: 6px; width: 100%; }
.bk-img figcaption, .bk-code figcaption, .bk-quote figcaption {
  font-family: var(--mono); font-size: .78rem; color: var(--slate);
  margin-top: .6rem;
}
.bk-img-inline { max-width: 26rem; }
.bk-img-wide { max-width: none; }        /* the full width of the shell */

/* Full-bleed to the viewport edge.
   `50%` resolves against the flow, which fills the shell, and the shell is
   centred — so this offset lands exactly on the viewport edge. An earlier
   version derived the offset from `74ch` and pushed the image (and its
   caption) off the left of the page. */
.bk-img-full {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
}
.bk-img-full img { border-radius: 0; }

.bk-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.bk-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3;
                  object-fit: cover; border-radius: 6px; }

.bk-code { margin: 0; }
.bk-lang { display: inline-block; background: var(--steel); color: var(--signal);
  padding: .2rem .55rem; border-radius: 4px 4px 0 0; text-transform: uppercase;
  letter-spacing: .1em; font-size: .68rem; }
.bk-code pre { background: var(--void); color: #e9ecef; padding: 1rem 1.15rem;
  border-radius: 6px; overflow-x: auto; margin: 0;
  font-family: var(--mono); font-size: .85rem; line-height: 1.6; }
.bk-lang + pre { border-top-left-radius: 0; }
.bk-code code { font-family: inherit; background: none; color: inherit; padding: 0; }

.bk-quote { margin: 0; padding-left: 1.4rem; border-left: 3px solid var(--signal); }
.bk-quote blockquote { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.bk-quote figcaption::before { content: "— "; }

.bk-callout { border-radius: 6px; padding: 1.1rem 1.25rem;
              border-left: 3px solid var(--slate); background: #fff; }
.bk-callout-h { font-weight: 600; margin: 0 0 .4rem; }
.bk-callout .rich > :last-child { margin-bottom: 0; }
.bk-tone-info   { border-left-color: var(--patch);  background: rgba(29,78,216,.05); }
.bk-tone-warn   { border-left-color: #b8860b;       background: rgba(240,180,41,.10); }
.bk-tone-ok     { border-left-color: var(--pass);   background: rgba(35,138,64,.07); }
.bk-tone-signal { border-left-color: var(--signal); background: rgba(240,180,41,.14); }

.bk-btn-wrap { margin: 0; }
.bk-rule { border: 0; border-top: 1px solid var(--line-light); }

.bk-cols { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .bk-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .bk-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.bk-col-h { font-size: 1.05rem; margin-bottom: .4rem; }
.bk-col .rich > :last-child { margin-bottom: 0; }

.bk-features { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bk-features { grid-template-columns: repeat(2, 1fr); } }
.bk-feature { background: #fff; border: 1px solid var(--line-light);
              border-radius: 6px; padding: 1.25rem; border-top: 3px solid var(--signal); }
.bk-feature-n { display: block; color: var(--signal); font-weight: 500; margin-bottom: .5rem; }
.bk-feature-h { font-size: 1.05rem; margin-bottom: .35rem; }
.bk-feature .rich > :last-child { margin-bottom: 0; }


/* ===========================================================================
   The boot sequence — the seal is struck, then the wordmark
   ===========================================================================
   Driven entirely by CSS.

   That is deliberate: GSAP loads only on the homepage, so a JS-driven sequence
   would not run for somebody landing on /services first. CSS runs everywhere,
   costs nothing, and opacity/transform animate off the main thread.

   boot.js only decides WHETHER to show it and clears it away early. The
   overlay's own animation ends with `visibility:hidden; pointer-events:none`,
   so if that script never runs the page is still reachable. A loading screen
   that can hang is a broken website, and this one cannot.
   =========================================================================== */
.boot { display: none; }

.js .boot {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--void);
  /* A FAILSAFE, not the schedule. boot.js dismisses this as soon as the
     fonts have actually loaded; this only guarantees that a browser where
     the script died, or a font that never arrives, cannot hold the page
     hostage. Hence 5s rather than the ~2.4s the sequence itself takes. */
  animation: boot-out .6s cubic-bezier(.4,0,.2,1) 5s forwards;
}
@keyframes boot-out {
  from { opacity: 1; }
  99%  { opacity: 0; pointer-events: none; }
  to   { opacity: 0; visibility: hidden; pointer-events: none; }
}
/* boot.js finishing early, or a repeat visit in the same session. */
.js .boot.is-done {
  animation: none; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s .45s;
}
.js .boot.is-skip { display: none; }
/* A repeat visit: the dark ground only, held for the few milliseconds the
   cached fonts take to be ready. No seal, no wordmark — the sequence is a
   first impression, not something to sit through on every navigation. */
.js .boot.is-quiet .boot-inner { display: none; }
.js .boot.is-quiet { animation: none; }

.boot-inner { position: relative; display: grid; place-items: center;
               width: 200px; height: 200px; }
.boot-seal { position: absolute; inset: 0; width: 200px; height: 200px; }

/* --- the rings draw themselves, outside in --- */
.boot-ring {
  stroke: var(--signal); stroke-width: 1.1; fill: none; opacity: .55;
  transform: rotate(-90deg); transform-origin: 100px 100px;
  animation: boot-draw .66s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes boot-draw { to { stroke-dashoffset: 0; } }
.boot-ring[data-ring="0"] { stroke-dasharray: 590.6; stroke-dashoffset: 590.6; animation-delay: 0s; }
.boot-ring[data-ring="1"] { stroke-dasharray: 540.4; stroke-dashoffset: 540.4; animation-delay: .1s; }
.boot-ring[data-ring="2"] { stroke-dasharray: 414.7; stroke-dashoffset: 414.7; animation-delay: .2s; }

/* --- the knurl strikes around the rim --- */
.boot-tick {
  stroke: var(--signal); stroke-width: 1.4; opacity: 0;
  animation: boot-tick .2s ease-out forwards;
}
@keyframes boot-tick { to { opacity: .5; } }
.boot-tick:nth-child(1) { animation-delay: 0.520s; }
.boot-tick:nth-child(2) { animation-delay: 0.531s; }
.boot-tick:nth-child(3) { animation-delay: 0.542s; }
.boot-tick:nth-child(4) { animation-delay: 0.553s; }
.boot-tick:nth-child(5) { animation-delay: 0.564s; }
.boot-tick:nth-child(6) { animation-delay: 0.575s; }
.boot-tick:nth-child(7) { animation-delay: 0.586s; }
.boot-tick:nth-child(8) { animation-delay: 0.597s; }
.boot-tick:nth-child(9) { animation-delay: 0.608s; }
.boot-tick:nth-child(10) { animation-delay: 0.619s; }
.boot-tick:nth-child(11) { animation-delay: 0.630s; }
.boot-tick:nth-child(12) { animation-delay: 0.641s; }
.boot-tick:nth-child(13) { animation-delay: 0.652s; }
.boot-tick:nth-child(14) { animation-delay: 0.663s; }
.boot-tick:nth-child(15) { animation-delay: 0.674s; }
.boot-tick:nth-child(16) { animation-delay: 0.685s; }
.boot-tick:nth-child(17) { animation-delay: 0.696s; }
.boot-tick:nth-child(18) { animation-delay: 0.707s; }
.boot-tick:nth-child(19) { animation-delay: 0.718s; }
.boot-tick:nth-child(20) { animation-delay: 0.729s; }
.boot-tick:nth-child(21) { animation-delay: 0.740s; }
.boot-tick:nth-child(22) { animation-delay: 0.751s; }
.boot-tick:nth-child(23) { animation-delay: 0.762s; }
.boot-tick:nth-child(24) { animation-delay: 0.773s; }
.boot-tick:nth-child(25) { animation-delay: 0.784s; }
.boot-tick:nth-child(26) { animation-delay: 0.795s; }
.boot-tick:nth-child(27) { animation-delay: 0.806s; }
.boot-tick:nth-child(28) { animation-delay: 0.817s; }
.boot-tick:nth-child(29) { animation-delay: 0.828s; }
.boot-tick:nth-child(30) { animation-delay: 0.839s; }
.boot-tick:nth-child(31) { animation-delay: 0.850s; }
.boot-tick:nth-child(32) { animation-delay: 0.861s; }
.boot-tick:nth-child(33) { animation-delay: 0.872s; }
.boot-tick:nth-child(34) { animation-delay: 0.883s; }
.boot-tick:nth-child(35) { animation-delay: 0.894s; }
.boot-tick:nth-child(36) { animation-delay: 0.905s; }
.boot-tick:nth-child(37) { animation-delay: 0.916s; }
.boot-tick:nth-child(38) { animation-delay: 0.927s; }
.boot-tick:nth-child(39) { animation-delay: 0.938s; }
.boot-tick:nth-child(40) { animation-delay: 0.949s; }
.boot-tick:nth-child(41) { animation-delay: 0.960s; }
.boot-tick:nth-child(42) { animation-delay: 0.971s; }
.boot-tick:nth-child(43) { animation-delay: 0.982s; }
.boot-tick:nth-child(44) { animation-delay: 0.993s; }
.boot-tick:nth-child(45) { animation-delay: 1.004s; }
.boot-tick:nth-child(46) { animation-delay: 1.015s; }
.boot-tick:nth-child(47) { animation-delay: 1.026s; }
.boot-tick:nth-child(48) { animation-delay: 1.037s; }

/* --- four cardinal marks, heavier, last --- */
.boot-cardinal {
  stroke: var(--signal); stroke-width: 2; opacity: 0;
  transform-origin: 100px 100px; transform: scale(.2);
  animation: boot-card .34s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes boot-card { to { opacity: .9; transform: scale(1); } }
.boot-cardinal:nth-of-type(1) { animation-delay: 1.02s; }
.boot-cardinal:nth-of-type(2) { animation-delay: 1.08s; }
.boot-cardinal:nth-of-type(3) { animation-delay: 1.14s; }
.boot-cardinal:nth-of-type(4) { animation-delay: 1.20s; }

/* --- the monogram resolves in the middle --- */
.boot-mark {
  width: 108px; height: 108px; position: relative;
  opacity: 0; transform: scale(.84);
  animation: boot-mark .55s cubic-bezier(.22,.61,.36,1) 1.18s forwards;
  /* The monogram is fine gold line-work; against a near-black ground it reads
     muddy at this size. A little brightness and a soft gold bloom separate it
     from the background without altering the mark itself. */
  filter: brightness(1.18) drop-shadow(0 0 16px rgba(240,180,41,.28));
}
@keyframes boot-mark { to { opacity: 1; transform: scale(1); } }

/* --- the wordmark sets, letter by letter --- */
.boot-word {
  position: absolute; top: calc(100% + 1.4rem); margin: 0;
  display: flex; gap: .1em;
  font-family: var(--display); font-weight: 800; font-stretch: 118%;
  font-size: .82rem; letter-spacing: .34em; color: #fff; white-space: nowrap;
}
/* Hidden until the display face has loaded. The wordmark is the only type
   on the loading screen, and it would be perverse for the screen that exists
   to prevent a font swap to perform one itself. */
.boot-word { visibility: hidden; }
.fonts-ready .boot-word { visibility: visible; }
.boot-ch {
  display: inline-block; opacity: 0; transform: translateY(8px);
  animation: boot-ch .34s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes boot-ch { to { opacity: 1; transform: none; } }
.boot-ch:nth-child(1) { animation-delay: 1.460s; }
.boot-ch:nth-child(2) { animation-delay: 1.488s; }
.boot-ch:nth-child(3) { animation-delay: 1.516s; }
.boot-ch:nth-child(4) { animation-delay: 1.544s; }
.boot-ch:nth-child(5) { animation-delay: 1.572s; }
.boot-ch:nth-child(6) { animation-delay: 1.600s; }
.boot-ch:nth-child(7) { animation-delay: 1.628s; }
.boot-ch:nth-child(8) { animation-delay: 1.656s; }
.boot-ch:nth-child(9) { animation-delay: 1.684s; }
.boot-ch:nth-child(10) { animation-delay: 1.712s; }

/* Reduced motion never sees it: the sequence is what is being suppressed. */
@media (prefers-reduced-motion: reduce) {
  .js .boot { display: none; }
}
.m-static .boot { display: none; }

/* ===========================================================================
   Micro-interactions
   ===========================================================================
   Sharp, short and only where something is actually interactive. Everything
   here is a transition on transform/opacity/colour — no layout is touched, so
   none of it can cause a reflow mid-hover.
   =========================================================================== */

/* Buttons: the lift already exists; give the label somewhere to go. */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%,
              rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn-ghost::after { background: linear-gradient(100deg, transparent 20%,
                    rgba(255,255,255,.14) 50%, transparent 80%); }

/* Service cards: the accent rule sweeps, and the arrow leads. */
.svc a .svc-name { transition: color .2s var(--ease); }
.svc a:hover .svc-name { color: var(--patch); }

/* Delivered-work cards: a quiet accent rule on hover, matching the services. */
.proof a { position: relative; overflow: hidden; }
.proof a::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.22,.61,.36,1);
}
.proof a:hover::before { transform: scaleX(1); }
.proof a .proof-name { transition: color .2s var(--ease); }
.proof a:hover .proof-name { color: var(--patch); }

/* Application cards on the dark band: lift the accent rather than the box. */
.app { transition: border-top-color .25s var(--ease),
                   background .25s var(--ease); }
.app:hover { background: #161c25; border-top-color: #ffc94a; }
.app-grid-light .app:hover { background: #fbfcfd; }

/* Commitment tiles. */
.hold { transition: transform .2s var(--ease), box-shadow .2s var(--ease),
                    border-color .2s var(--ease); }
.hold:hover { transform: translateY(-2px); border-color: #c8cdd4;
              box-shadow: 0 8px 24px rgba(7,9,12,.07); }

/* Footer links: the port-strip idea once more, very quietly. */
.footer-col a { position: relative; }
.footer-col a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform .24s var(--ease);
}
.footer-col a:hover::after { transform: scaleX(1); }

/* The footer's port strip idles, on the full tier only. */
.m-full .fp:nth-child(-n+5) { animation: fp-idle 3.4s ease-in-out infinite; }
.m-full .fp:nth-child(2) { animation-delay: .5s; }
.m-full .fp:nth-child(3) { animation-delay: 1.1s; }
.m-full .fp:nth-child(4) { animation-delay: 1.7s; }
.m-full .fp:nth-child(5) { animation-delay: 2.3s; }
@keyframes fp-idle {
  0%, 88%, 100% { opacity: .75; }
  92%           { opacity: .25; }
  96%           { opacity: 1; }
}

/* The brand mark acknowledges a hover without moving the header. */
.brand-mark { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-mark { transform: rotate(8deg) scale(1.06); }

/* Nothing above may run in the static tier. */
.m-static .btn::after, .m-static .proof a::before,
.m-static .footer-col a::after { display: none; }
/* The running build, readable without a login — the first question of every
   incident is "which version is this?". */
.dim-ver { opacity: .45; margin-left: .5rem; }
