/* Happy-GO-Lucky — hgl.digital */
/* Archivo (SIL Open Font License), served from our own domain: no third-party request. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #1a1b4b;
  --indigo: #5458f0;
  --sun: #ffc83d;
  --peach: #ffe3d6;
  --mist: #eef0ff;
  --white: #ffffff;
  --body: #3a3b63;
  --danger: #b3261e;
  --line: rgba(26, 27, 75, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --band: clamp(72px, 10vw, 136px);
  --r-ctl: 12px;
  --r-panel: 24px;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231a1b4b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 100px; }

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--sun); }
.page-head :focus-visible { outline-color: var(--ink); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 30; padding: 12px 18px; border-radius: var(--r-ctl); background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type: one family, two widths. Condensed heavy echoes the logo.
   Line-heights leave room for Czech diacritics on capitals. */
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(3.4rem, 10.5vw, 8.25rem); line-height: 1; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.125rem); line-height: 1.08; letter-spacing: 0.012em; }
.h2-long { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.06; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.375rem); line-height: 1.45; color: var(--ink); max-width: 38ch; }
.lead-wide { max-width: 52ch; }
.lead + p { margin-top: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--ink); border-radius: var(--r-ctl);
  background: var(--ink); color: var(--white);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--indigo); border-color: var(--indigo); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cases-cta, .trio-cta { margin-top: 56px; }

.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--indigo); }
.text-link:hover { color: var(--indigo); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: var(--r-ctl); color: var(--ink); font-weight: 600; text-decoration: none; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { font-weight: 800; text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav .nav-tel { display: none; }
.header-cta { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; width: 48px; height: 48px; flex: none; border: 2px solid var(--ink); border-radius: var(--r-ctl); background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-header .wrap { gap: 12px; }
  .logo img { height: 40px; }
  .header-cta { order: 2; margin-left: auto; padding: 0 14px; font-size: 0.9375rem; }
  .nav-toggle { display: block; order: 3; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 12px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(26, 27, 75, 0.12); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.125rem; }
  .nav .nav-tel { display: block; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); border-radius: 0; font-weight: 700; }
}

/* Bands */
.band { padding: var(--band) 0; }
.band-mist { background: var(--mist); }
.band-peach { background: var(--peach); }
.band-ink { background: var(--ink); color: #d6d8ff; }
.band-ink h2, .band-ink h3, .band-ink .lead { color: var(--white); }
.band-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.band-head p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(48px, 6vw, 72px); }
.hero h1 { font-size: clamp(4.25rem, 19vw, 7.5rem); line-height: 0.9; }
.hero h1 span { display: block; }
/* Third line sits in the logo's speech bubble: word, bubble, word */
.hero h1 .say { position: relative; width: max-content; margin: 0.1em 0 0 -0.12em; padding: 0.09em 0.12em 0.03em; background: var(--sun); border-radius: 0.14em; }
.hero h1 .say::after { content: ""; position: absolute; left: 0.42em; top: calc(100% - 1px); width: 0.36em; height: 0.3em; background: var(--sun); clip-path: polygon(0 0, 100% 0, 12% 100%); }
.hero .lead { margin-top: calc(28px + 2.2vw); }
.hero-note { margin-top: 14px; }
@media (min-width: 980px) {
  .hero h1 { font-size: clamp(5.5rem, 10.4vw, 9.5rem); }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; }
  .runlog { transform: rotate(1.5deg); margin-bottom: 14px; }
}
@media (max-width: 520px) { .hero .btn-row .btn { flex: 1 1 100%; } }

/* Panels: dark run log and the contact form share the hard sun shadow */
.runlog, .panel { border-radius: var(--r-panel); box-shadow: 14px 14px 0 var(--sun); }
@media (max-width: 520px) { .runlog, .panel { box-shadow: 8px 8px 0 var(--sun); } }

/* The run log: what the software does while nobody is watching.
   Without JS it shows the finished day; JS adds .is-animated and plays it once. */
.runlog { background: var(--ink); color: #d6d8ff; padding: 32px 32px 26px; }
.runlog-title { margin: 0 0 18px; color: var(--white); font-weight: 700; font-size: 1.125rem; line-height: 1.3; max-width: none; }
.runlog ol { list-style: none; margin: 0; padding: 0; }
.runlog li { display: grid; grid-template-columns: 48px 26px 1fr; gap: 10px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line-dark); font-size: 1.0625rem; line-height: 1.4; transition: opacity 0.4s ease; }
.runlog time { font-variant-numeric: tabular-nums; color: #b4b7f5; }
.runlog strong { color: var(--white); font-weight: 600; }
.runlog .tick { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--sun); background: var(--sun); display: grid; place-items: center; transition: background-color 0.3s ease, border-color 0.3s ease; }
.runlog .tick svg { width: 12px; height: 12px; transition: opacity 0.25s ease, transform 0.25s ease; }
.runlog.is-animated li:not(.is-on) { opacity: 0.55; }
.runlog.is-animated li:not(.is-done) .tick { background: transparent; border-color: #8083d6; }
.runlog.is-animated li:not(.is-done) .tick svg { opacity: 0; transform: scale(0.4); }
.runlog.is-animated li.is-on:not(.is-done) .tick { border-color: var(--sun); animation: pulse 0.9s ease-in-out infinite; }
.runlog-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 44px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 0.9375rem; color: #b4b7f5; }
.runlog-foot p { margin: 0; max-width: none; }
.runlog-replay { min-height: 36px; padding: 0 12px; border: 2px solid #8083d6; border-radius: var(--r-ctl); background: transparent; color: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.runlog-replay:hover { border-color: var(--sun); color: var(--sun); }
.runlog-replay:disabled { opacity: 0.4; cursor: default; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(255, 200, 61, 0.25); } }
@media (max-width: 420px) {
  .runlog { padding: 24px 20px 20px; }
  .runlog li { grid-template-columns: 42px 22px 1fr; gap: 8px; font-size: 1rem; }
}

/* Facts */
.facts { display: grid; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.facts b { display: block; font-stretch: 62%; font-weight: 800; font-size: clamp(1.75rem, 4.2vw, 2.5rem); line-height: 1.05; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 24px 32px 0 0; border-bottom: 0; }
}

/* Example projects */
.cases { display: grid; gap: clamp(48px, 7vw, 96px); }
.case { display: grid; gap: 28px; align-items: center; }
.case-art { display: grid; place-items: center; }

/* Three small screens from the same story as the run log: the customer's portal,
   the technician's phone, the invoice that sent itself. Drawn in HTML, not images. */
.mock { width: calc(100% - 10px); max-width: 420px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-panel); box-shadow: 10px 10px 0 var(--sun); color: var(--ink); font-size: 0.9375rem; line-height: 1.35; overflow: hidden; }
.mock p { margin: 0; max-width: none; }
.mock small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--body); }
.mock-body { display: grid; gap: 18px; padding: 22px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-head b { display: block; margin-top: 2px; font-stretch: 62%; font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.chip { padding: 5px 12px; border-radius: 999px; background: var(--sun); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }

.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9cae0; }
.mock-url { flex: 1; margin-left: 10px !important; padding: 4px 12px; border-radius: 999px; background: var(--mist); font-size: 0.8125rem; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 32px; font-size: 0.8125rem; font-weight: 700; }
.steps li::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); }
.steps li::after { content: ""; position: absolute; top: 11px; left: 24px; right: 0; height: 2px; background: #c9cae0; }
.steps li:last-child::after { display: none; }
.steps .done::before, .tasks .done::before { border-color: var(--sun); background: var(--sun) var(--tick) center / 13px no-repeat; }
.steps .done::after { background: var(--ink); }
.steps .now::before { background: radial-gradient(var(--ink) 0 5px, var(--white) 6px); }
.steps .todo { color: #6b6c8f; font-weight: 600; }
.steps .todo::before, .tasks .todo::before { border-color: #c9cae0; }
.mock-msg { padding: 12px 14px; border-radius: var(--r-ctl); background: var(--mist); font-weight: 600; }

.mock-phone { max-width: 270px; border-radius: 38px; }
.mock-phone::before { content: ""; display: block; width: 64px; height: 6px; margin: 14px auto 0; border-radius: 3px; background: #c9cae0; }
.mock-phone .mock-body { gap: 14px; padding: 16px 18px 20px; }
.tasks { display: grid; margin: 0; padding: 0; list-style: none; }
.tasks li { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 700; }
.tasks li::before { content: ""; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; }
.tasks time { font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--body); }
.mock-btn { padding: 12px; border-radius: var(--r-ctl); background: var(--ink); color: var(--white); font-size: 0.875rem; font-weight: 700; text-align: center; }

.mock-paper { max-width: 340px; border-radius: 8px; }
.mock-rows p { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mock-rows .sum { border-top: 2px solid var(--ink); font-size: 1.0625rem; font-weight: 800; }
.mock-sent { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--ink); color: var(--white); font-size: 0.875rem; font-weight: 700; }
.mock-sent::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) var(--tick) center / 12px no-repeat; }
@media (max-width: 380px) {
  .mock-body { padding: 18px; }
  .steps li { font-size: 0.75rem; }
}
.case-body h3 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); max-width: 24ch; margin-bottom: 18px; }

/* The sun tick from the run log marks every "done" on the site */
.case-result, .checks li { position: relative; }
.case-result { margin-top: 18px; padding-left: 38px; color: var(--ink); font-weight: 600; }
.case-result::before, .checks li::before { content: ""; position: absolute; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sun) var(--tick) center / 13px no-repeat; }
.case-result::before { top: 0.08em; }

/* Reference band */
.ref-grid { display: grid; gap: 40px; align-items: start; }
.logo-chip { display: inline-grid; place-items: center; background: var(--white); border-radius: var(--r-ctl); padding: 16px 22px; }
.logo-chip img { height: 34px; width: auto; }
.ref-grid .logo-chip { margin-bottom: 28px; }

/* Testimonial: the speech bubble from the logo, used for actual speech */
.quote { margin: 0; }
.bubble { position: relative; margin: 0; background: var(--sun); color: var(--ink); border-radius: 32px; padding: clamp(28px, 5vw, 64px); font-size: clamp(1.3rem, 2.7vw, 2.125rem); line-height: 1.3; font-weight: 600; }
.bubble p { max-width: none; }
.bubble::after { content: ""; position: absolute; left: 56px; top: calc(100% - 1px); width: 46px; height: 38px; background: var(--sun); clip-path: polygon(0 0, 100% 0, 12% 100%); }
.quote-by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 52px 0 0 40px; color: var(--ink); }
.quote-by > img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-by b { display: block; }
.quote-by .logo-chip { margin-left: auto; padding: 10px 16px; border: 1px solid var(--line); }
.quote-by .logo-chip img { height: 40px; }
@media (max-width: 620px) {
  .quote-by { margin-left: 24px; }
  .quote-by .logo-chip { margin-left: 66px; }
}

/* About */
.about-grid { display: grid; gap: 32px; align-items: start; }

/* Services */
.services { display: grid; border-top: 2px solid var(--ink); }
.service { display: grid; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service .text-link { display: inline-block; margin-top: 14px; }
@media (min-width: 900px) { .service { padding: 40px 0; } }

/* Sub-page heads: a sun band with an oversized title */
.page-head { background: var(--sun); padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 80px); }
.page-head h1 { font-size: clamp(3.5rem, 15vw, 9rem); }
.page-head .lead { margin-top: 24px; }
.page-head-tall { min-height: 60vh; }
.page-head .btn-ghost:hover { background: var(--ink); }
.jump { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 8px 0; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.jump a:hover { text-decoration-thickness: 4px; }
.clients-label { margin: 28px 0 0; font-weight: 700; color: var(--ink); }
.clients { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.clients .logo-chip { height: 72px; flex: 1 1 150px; max-width: 300px; padding: 0 24px; }
.clients img { height: 30px; }
.clients img[alt="Internet Billboard"] { height: 46px; }

/* Reference page */
.checks { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--sun); }
.checks li { padding: 20px 0 20px 44px; border-bottom: 1px solid var(--line-dark); }
.checks li::before { top: 21px; }
.checks b { color: var(--white); }
.trio { display: grid; gap: 40px; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.trio h3 { padding-top: 20px; border-top: 2px solid var(--ink); margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-areas: "form direct" "form company"; grid-template-rows: auto 1fr; row-gap: 40px; align-items: start; }
  .contact-form { grid-area: form; }
  .contact-direct { grid-area: direct; }
  .contact-company { grid-area: company; }
}
.panel { background: var(--white); border: 2px solid var(--ink); padding: clamp(20px, 4vw, 36px); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); }
.field .hint { font-size: 0.9375rem; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r-ctl); background: var(--white); color: var(--ink); font: inherit; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--indigo); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .error { color: var(--danger); font-weight: 600; font-size: 0.9375rem; }
.field .error:empty { display: none; }
.form .btn { justify-self: start; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--r-ctl); background: #fde8e6; color: #8c1d18; font-weight: 600; max-width: none; }
.form-status:empty { display: none; }
.form-done h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.form-done p { color: var(--ink); font-size: 1.125rem; overflow-wrap: anywhere; }
.form-done .btn { margin-top: 28px; }
.form-done:focus-visible { outline-offset: 6px; }
.details { display: grid; gap: 28px; margin: 0; }
.details dt { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.details dd { margin: 0; }
.details .big { display: inline-block; padding: 8px 0; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; color: var(--ink); text-decoration: none; }
.details .big:hover { color: var(--indigo); }
.details table { border-collapse: collapse; }
.details dd > table:not(:first-child) { margin-top: 12px; }
.details th { text-align: left; font-weight: 600; color: var(--ink); padding: 2px 16px 2px 0; vertical-align: top; white-space: nowrap; }
.details td { padding: 2px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 400px) { .details table { font-size: 0.875rem; } .details th { padding-right: 10px; } }

/* Closing call + footer */
.closing h2 { font-size: clamp(2.8rem, 8vw, 6rem); max-width: 14ch; }
.closing .lead { margin-top: 24px; }
.closing-links { display: flex; flex-direction: column; margin-top: 36px; border-top: 2px solid var(--sun); }
.closing-links a { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-stretch: 62%; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.1; text-transform: uppercase; color: var(--sun); text-decoration: none; }
.closing-links a:hover { color: var(--white); }
@media (min-width: 900px) {
  .closing .wrap { display: grid; grid-template-columns: 7fr 5fr; column-gap: 72px; align-items: end; }
  .closing h2 { grid-row: 1 / span 3; max-width: none; }
  .closing .wrap > :not(h2) { grid-column: 2; }
  .closing .lead { margin-top: 0; }
}
.site-footer { background: var(--ink); color: #b4b7f5; padding: 0 0 40px; }
.site-footer .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 40px; }
.site-footer .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line-dark); }
.site-footer img { height: 60px; width: auto; }
.site-footer nav, .foot-contact { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { color: #d6d8ff; text-decoration: none; padding: 8px 0; }
.site-footer a:hover { color: var(--sun); }
.site-footer p { flex-basis: 100%; margin: 0; font-size: 0.9375rem; max-width: none; }

/* One column axis for every two-column block */
@media (min-width: 900px) {
  .band-head.split, .about-grid, .ref-grid, .service, .case { grid-template-columns: 5fr 7fr; column-gap: 72px; }
  .band-head.split { align-items: end; }
  .case:nth-child(even), .contact-grid { grid-template-columns: 7fr 5fr; column-gap: 72px; }
  .case:nth-child(even) .case-art { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .runlog { transform: none; }
}

.form-note { margin: 0; font-size: 0.9375rem; max-width: none; }
