/* Circulum: tokens from the CGP handbook (julij 2022).
   Raisin Black #231f20, Orange #f26922, white. Headings condensed (Bahnschrift Condensed in the
   handbook; Barlow Condensed is the closest open face), body Open Sans. */

@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap;
  src: url(fonts/barlow-condensed-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap;
  src: url(fonts/barlow-condensed-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-condensed-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap;
  src: url(fonts/barlow-condensed-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap;
  src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap;
  src: url(fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap;
  src: url(fonts/open-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap;
  src: url(fonts/open-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #231f20;          /* Raisin Black */
  --ink-2: #2e292a;        /* raised surface on ink */
  --signal: #f26922;       /* Orange Pantone: fills and marks only, never text on white */
  --signal-text: #b5470c;  /* orange for text on light grounds, 5.4:1 */
  --paper: #ffffff;
  --stone: #eceeef;        /* cool grey band, the "tabla" plate */
  --rule: #d5d7d8;
  --muted: #5a5f63;        /* secondary text on light, 6.5:1 */
  --muted-dark: #b9b4b0;   /* secondary text on ink, 7.9:1 */

  --f-head: "Barlow Condensed", "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  --f-body: "Open Sans", system-ui, sans-serif;

  /* modular scale 1.25, base 17px */
  --s-1: .85rem; --s0: 1.0625rem; --s1: 1.33rem; --s2: 1.66rem; --s3: 2.07rem; --s4: 2.6rem; --s5: 3.25rem;
  --hero: clamp(3.4rem, 9vw + 1rem, 7.5rem);

  --wrap: 72rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --band: clamp(3.5rem, 8vw, 6.5rem);
  --r-btn: 999px;          /* pill buttons echo the ring */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.6 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: var(--s5); }
h2 { font-size: var(--s4); }
h3 { font-size: var(--s1); font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1em; max-width: 68ch; }
.h-sm { font-size: var(--s2); font-weight: 600; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--signal); color: var(--ink); padding: .5rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: .5rem; }

.lede { font-size: var(--s1); line-height: 1.5; max-width: 52ch; }
.link { color: var(--signal-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.link:hover { color: var(--ink); text-decoration-color: var(--signal); }
.band-dark .link { color: var(--paper); text-decoration-color: var(--signal); }

/* ---------------------------------------------------------------- buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.4rem; border-radius: var(--r-btn);
  font: 600 var(--s1)/1 var(--f-head); letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--paper); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band:not(.band-dark) .btn-signal:hover, .page-head .btn-signal:hover { background: var(--ink); color: var(--paper); }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--paper); border-bottom: 1px solid #3a3435; }
.top-in { display: flex; align-items: center; gap: 2rem; height: 4.5rem; }
.brand { display: block; flex: none; }
.wordmark { height: 2.6rem; width: auto; fill: currentColor; display: block; }
.wordmark .o, .mark .o, .ring .o { fill: var(--signal); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a, .menu nav a { font: 500 var(--s1)/1 var(--f-head); letter-spacing: .02em; text-decoration: none; color: var(--muted-dark); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--signal); }
.top-call { font: 600 var(--s1)/1 var(--f-head); text-decoration: none; color: var(--ink); background: var(--signal); padding: .6rem 1rem; border-radius: var(--r-btn); white-space: nowrap; }
.top-call:hover { background: var(--paper); }
.menu { display: none; }

@media (max-width: 62em) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .menu { display: block; position: static; }
  .menu summary { list-style: none; cursor: pointer; width: 3rem; height: 3rem; display: grid; place-items: center; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 1.5rem; height: 2px; background: var(--paper); position: relative; content: ""; transition: transform .2s; }
  .menu summary span::before { position: absolute; top: -7px; } .menu summary span::after { position: absolute; top: 7px; }
  .menu[open] summary span { background: transparent; }
  .menu[open] summary span::before { transform: translateY(7px) rotate(45deg); }
  .menu[open] summary span::after { transform: translateY(-7px) rotate(-45deg); }
  .menu nav { position: absolute; left: 0; right: 0; top: 4.5rem; background: var(--ink); border-top: 1px solid #3a3435; padding: .5rem var(--gut) 1.5rem; display: grid; }
  .menu nav a { font-size: var(--s2); padding: .8rem 0; border-bottom: 1px solid #3a3435; }
  .menu nav a[aria-current="page"] { color: var(--paper); }
  .menu nav a:last-child { color: var(--signal); border: 0; }
}
@media (max-width: 30em) { .top-call { display: none; } .wordmark { height: 2.2rem; } .top-in { gap: 1rem; } .menu { margin-left: auto; } }

/* ---------------------------------------------------------------- hero */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: var(--hero); font-weight: 700; line-height: .92; letter-spacing: -.005em; margin-bottom: .35em; }
.hero .lede { color: var(--muted-dark); }
.hero-ring { position: relative; }
.ring { width: 100%; max-width: 34rem; margin-left: auto; display: block; overflow: visible; }
.ring-text { animation: ring-in 1.4s cubic-bezier(.2, .7, .2, 1) .15s both; transform-origin: 300px 300px; }
.ring-icon path { fill: var(--paper); }
.ring-icon .o { fill: var(--signal); }
.ring-text { font: 600 21px var(--f-head); letter-spacing: .08em; fill: var(--muted-dark); }
.ring-text .sep { fill: var(--signal); font-size: 14px; }
@keyframes ring-in { from { opacity: 0; transform: rotate(-24deg); } to { opacity: 1; transform: none; } }

@media (max-width: 52em) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-ring { order: -1; max-width: 22rem; margin: 0 auto -1rem; }
}

/* ---------------------------------------------------------------- bands */
.band { padding: var(--band) 0; }
.band-stone { background: var(--stone); }
.band-dark { background: var(--ink); color: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 48em) { .section-head { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem 5rem; }
@media (max-width: 52em) { .split { grid-template-columns: 1fr; } }

/* licence strip */
.licences { padding: 2.25rem 0; border-bottom: 1px solid var(--rule); }
.licences .h-sm { font-size: var(--s1); color: var(--muted); font-weight: 500; margin-bottom: .9rem; }
.lic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.lic-list a { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .6rem; border: 1.5px solid var(--ink); border-radius: var(--r-btn);
  font: 600 var(--s1)/1.1 var(--f-head); text-decoration: none; background: var(--paper); }
.lic-list a::before { content: ""; width: .95rem; height: .95rem; border-radius: 50%; border: 3px solid var(--signal); flex: none; }
.lic-list a:hover { background: var(--ink); color: var(--paper); }

/* service rows on home */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-row a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 8.5rem; gap: .5rem 2.5rem; align-items: baseline;
  padding: 1.35rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .2s; }
.svc-row h3 { font-size: var(--s2); margin: 0; }
.svc-row p { margin: 0; color: var(--muted); }
.svc-row .lic { justify-self: end; }
.svc-row a:hover { padding-left: .75rem; }
.svc-row a:hover h3 { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.svc-special h3::after { content: "specialnost"; font: 600 var(--s-1)/1 var(--f-body); color: var(--ink); background: var(--signal); padding: .25rem .55rem; border-radius: var(--r-btn); margin-left: .75rem; vertical-align: .35em; }
@media (max-width: 52em) {
  .svc-row a { grid-template-columns: 1fr; }
  .svc-row .lic { justify-self: start; }
}

.lic { display: inline-flex; align-items: center; gap: .4rem; font: 600 var(--s-1)/1 var(--f-body); color: var(--muted); white-space: nowrap; }
.lic::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; border: 2.5px solid var(--signal); }

.value-run { font: 500 var(--s2)/1.25 var(--f-head); color: var(--ink); max-width: 30ch; }

/* team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem; }
.person { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 1.5rem; align-items: center; }
.person-img { width: 7.5rem; height: 7.5rem; object-fit: cover; object-position: 50% 20%; border-radius: 50%; box-shadow: 0 0 0 4px var(--paper), 0 0 0 7px var(--signal); filter: grayscale(1) contrast(1.05); }
.person figcaption { display: grid; gap: .2rem; }
.person strong { font: 600 var(--s2)/1.1 var(--f-head); }
.person .t-title { font-weight: 500; color: var(--muted); font-size: .8em; }
.person span { color: var(--muted); }
.band-stone .person-img { box-shadow: 0 0 0 4px var(--stone), 0 0 0 7px var(--signal); }

/* call to action */
.callout { position: relative; overflow: hidden; }
.callout::after { content: ""; position: absolute; right: -9rem; top: 50%; width: 26rem; height: 26rem; transform: translateY(-50%); border-radius: 50%; border: 22px solid #3a3435; border-left-color: transparent; transform: translateY(-50%) rotate(-30deg); pointer-events: none; }
.callout-in { position: relative; z-index: 1; }
.callout h2 { font-size: var(--s5); max-width: 18ch; }
.callout p { color: var(--muted-dark); }
@media (max-width: 40em) { .callout::after { display: none; } }

/* ---------------------------------------------------------------- inner pages */
.page-head { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.6rem, 6vw + .5rem, 5rem); font-weight: 700; max-width: 18ch; }
.page-head .lede { color: var(--muted-dark); }
.page-head::after { content: ""; position: absolute; right: -6rem; bottom: -11rem; width: 22rem; height: 22rem; border-radius: 50%; border: 18px solid #3a3435; border-top-color: transparent; transform: rotate(35deg); }
.page-head .wrap { position: relative; z-index: 1; }
.nf { min-height: 50vh; }

.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }

.with-index { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; padding-top: var(--band); padding-bottom: var(--band); }
.index { position: sticky; top: 6rem; align-self: start; }
.index ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.index a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font: 500 var(--s1)/1.15 var(--f-head); }
.index a:hover { color: var(--ink); }
.index a.on { color: var(--ink); border-left-color: var(--signal); }
@media (max-width: 62em) {
  .with-index { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .index { position: sticky; top: 4.5rem; z-index: 5; background: var(--paper); margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
  .index ul { display: flex; border: 0; gap: 1.25rem; white-space: nowrap; }
  .index a { padding: .9rem 0; border-left: 0; border-bottom: 2px solid transparent; margin: 0; }
  .index a.on { border-bottom-color: var(--signal); }
}

.svc { padding: 0 0 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--rule); }
.svc:last-child { border: 0; margin: 0; }
@media (max-width: 62em) { .svc { padding-top: 2.5rem; } }
.svc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; margin-bottom: 1.25rem; }
.svc-head h2 { margin: 0; font-size: var(--s4); }
.svc-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2rem 3rem; }
@media (max-width: 75em) { .svc-body { grid-template-columns: 1fr; } }
.svc-lists { display: grid; gap: 1.5rem; align-content: start; }
.svc-list-block h3 { font-size: var(--s1); margin-bottom: .6rem; }

.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { position: relative; padding: .3rem 0 .3rem 1.6rem; border-bottom: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .78rem; width: .62rem; height: .62rem; border-radius: 50%; border: 2.5px solid var(--signal); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.25rem; margin: 0 0 1.5rem; }
.facts dt { font: 600 var(--s1)/1.3 var(--f-head); }
.facts dd { margin: 0; color: var(--muted); }

.vms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.vms > div { border-top: 3px solid var(--ink); padding-top: 1.25rem; }
.vms p { font-size: var(--s1); line-height: 1.45; margin: 0; }
@media (max-width: 52em) { .vms { grid-template-columns: 1fr; } }

/* documents */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 2rem 1.5rem; margin-top: 2rem; }
.docs-intl { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.doc { margin: 0; }
.doc .zoom { display: block; background: var(--paper); padding: .6rem; border: 1px solid var(--rule); transition: transform .2s, box-shadow .2s; }
.doc .zoom:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(35, 31, 32, .55); }
.doc img { aspect-ratio: 1 / 1.414; object-fit: cover; object-position: top; width: 100%; }
.doc-intl img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper); }
.doc figcaption { margin-top: .75rem; font: 600 var(--s1)/1.15 var(--f-head); }
.doc-intl figcaption { display: grid; gap: .2rem; font-size: var(--s0); }
.doc-intl figcaption span { font: 400 var(--s-1)/1.35 var(--f-body); color: var(--muted); }
.note { color: var(--muted); font-size: var(--s-1); }

.lightbox { border: 0; padding: 0; max-width: min(92vw, 70rem); max-height: 92vh; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 17, 18, .88); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; background: var(--paper); }
.lb-cap { color: var(--paper); text-align: center; margin: .75rem auto 0; font: 600 var(--s1)/1.2 var(--f-head); }
.lb-close { position: absolute; top: -3rem; right: 0; background: var(--signal); color: var(--ink); border: 0; border-radius: var(--r-btn); padding: .55rem 1.1rem; font: 600 var(--s0)/1 var(--f-head); cursor: pointer; }

/* jobs */
.job { border: 2px solid var(--ink); }
.job-head { background: var(--ink); color: var(--paper); padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 3rem; }
.job-head h2 { margin: 0; }
.job-meta { display: grid; grid-template-columns: max-content max-content; gap: .3rem 1rem; margin: 0; }
.job-meta dt { color: var(--muted-dark); } .job-meta dd { margin: 0; font-weight: 600; }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 52em) { .job-grid { grid-template-columns: 1fr; } }
.job-apply { border-top: 1px solid var(--rule); padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--stone); }
.job-apply p { margin: 0; }
.job-apply .btn-signal:hover { background: var(--ink); color: var(--paper); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem 5rem; }
@media (max-width: 52em) { .contact-grid { grid-template-columns: 1fr; } }
.contact-main { display: grid; align-content: start; border-top: 2px solid var(--ink); }
.big-link { display: grid; gap: .1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 600 clamp(1.9rem, 4vw + .5rem, 3.2rem)/1.05 var(--f-head); overflow-wrap: anywhere; }
.big-link span { font: 500 var(--s0)/1.2 var(--f-body); color: var(--muted); }
.big-link:hover { color: var(--signal-text); }
address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.contact-side .h-sm { margin-top: 2rem; } .contact-side .h-sm:first-child { margin-top: 0; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.plain a { color: var(--signal-text); font-weight: 600; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: var(--muted-dark); border-top: 1px solid #3a3435; padding: 3rem 0 2rem; font-size: var(--s-1); }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem 3rem; }
.foot-id { display: flex; gap: 1rem; align-items: flex-start; }
.foot-mark .mark { width: 2.75rem; height: 2.75rem; fill: var(--paper); flex: none; }
.foot strong { color: var(--paper); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--signal); }
.foot-contact a { color: var(--paper); font: 600 var(--s1)/1.3 var(--f-head); }
.foot-social { grid-template-columns: repeat(2, max-content); column-gap: 1.5rem !important; }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid #3a3435; padding-top: 1.5rem; margin: 1rem 0 0; max-width: none; }
@media (max-width: 52em) { .foot-in { grid-template-columns: 1fr; } }

@media print {
  .top, .foot, .callout, .index, .hero-ring { display: none; }
  .hero, .page-head { background: none; color: var(--ink); }
}

/* contact: 24/7 line and company register data */
.hours-247 { font: 600 var(--s2)/1.2 var(--f-head); margin-bottom: .5rem; }
.company { grid-template-columns: max-content 1fr; font-size: var(--s0); }
.company dt { font: 600 var(--s0)/1.5 var(--f-body); color: var(--ink); }
.company dd { color: var(--ink); font-variant-numeric: tabular-nums; }
.company dd span { color: var(--muted); font-size: var(--s-1); }
.foot-contact li:last-child { color: var(--muted-dark); font: 500 var(--s0)/1.3 var(--f-body); }

/* issuer line under a licence caption, and the issuer note in the home licence strip */
.doc-src { display: block; margin-top: .25rem; font: 400 var(--s-1)/1.35 var(--f-body); color: var(--muted); }
.lic-list small { font: 500 var(--s-1)/1 var(--f-body); color: var(--muted); }
.lic-list a:hover small { color: inherit; }
