/* Albert Sans (SIL OFL, self-hosted: no third-party requests) */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/albert-sans-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/albert-sans-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/albert-sans-latin-700.woff2") format("woff2"); }

:root {
  --teal: #12a08e;
  --teal-d: #0e8576;
  --ink: #1d2226;
  --muted: #6b7278;
  --bg: #ffffff;
  --logo-color: #9aa1a6;
  --sans: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
}

html, body { background: var(--bg); }
.hero, .hero__fallback { background: var(--bg); }


html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.hero {
  flex: 1 1 auto;
  height: auto;

  max-height: calc(100vw * 0.555);
  min-height: 200px;
}

.masthead {
  flex: 0 0 auto;
  text-align: center;
  padding: clamp(12px, 2vh, 24px) 24px 0;
}

.masthead__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(10px, 1.6vh, 18px);
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--muted) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 6%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
}

.masthead__title {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(30px, min(4.6vw, 6.4vh), 62px);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.masthead__x {
  font-weight: 400;
  margin: 0 0.15em;
  color: var(--muted);
}

.masthead__body {
  margin: clamp(10px, 1.4vh, 16px) auto 0;
  max-width: 62ch;
  font-size: clamp(14px, min(1.35vw, 2.1vh), 19px);
  line-height: 1.45;
  color: var(--muted);
}

.footer {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 24px clamp(10px, 2vh, 22px);
}

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3.2vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.clients li { display: flex; align-items: center; justify-content: center; }
.clients a {
  display: block;
  border-radius: 4px;
}

.clients a:hover .clients__logo, .clients a:focus-visible .clients__logo,
.clients li:hover .clients__logo { background-color: var(--teal); }
.clients a:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }

.clients__logo {
  display: block;
  width: calc(var(--w, 140px) * var(--logo-k, 1));
  aspect-ratio: var(--ar, 3 / 1);
  background-color: var(--logo-color);
  transition: background-color 180ms ease;
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
}

.contact {
  margin: clamp(10px, 1.6vh, 18px) 0 0;
  font-style: normal;
  font-size: clamp(11px, 1.5vh, 13px);
  line-height: 1.7;
  color: var(--muted);
}
.contact span { margin: 0 0.35em; opacity: 0.6; }
.contact span.contact__privacy a { margin-left: 0.6em; color: inherit; border-bottom: 0; text-decoration: none; }
.contact span.contact__privacy a:hover, .contact span.contact__privacy a:focus-visible { color: var(--teal); }
.contact span.contact__privacy { display: block; margin: 12px 0 0; opacity: 0.75; font-size: 0.92em; }
.contact a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}
.contact a[href^="mailto:"] {
  color: var(--teal);
  border-bottom: 1px solid rgba(18, 160, 142, 0.45);
}
.contact a:hover, .contact a:focus-visible { color: var(--teal); border-bottom: 1px solid var(--teal); }

@media (max-height: 820px) { .clients { --logo-k: 0.8; } }
@media (max-height: 860px) and (min-width: 900px) {
  .masthead { padding-top: 10px; }
  .masthead__pill { margin-bottom: 8px; padding: 4px 11px; font-size: 11px; }
    .masthead__title { font-size: clamp(26px, min(4vw, 5vh), 48px); }
  .masthead__body { margin-top: 8px; font-size: clamp(13px, 1.8vh, 16px); line-height: 1.35; }
  .footer { padding-bottom: 8px; }
  .clients { gap: 14px 28px; --logo-k: 0.72; }
  .contact { margin-top: 8px; line-height: 1.5; }
  .contact span.contact__privacy { margin-top: 4px; }
}
@media (max-height: 700px) and (min-width: 900px) {
  .masthead__pill { display: none; }
  .masthead { padding-top: 8px; }
  .masthead__body { font-size: 12px; margin-top: 6px; }
  .clients { --logo-k: 0.6; gap: 10px 22px; }
  .contact { font-size: 11px; }
}
@media (max-height: 680px) { .clients { --logo-k: 0.65; } }

@media (max-width: 720px) {
  .masthead { padding-top: 26px; }
  .masthead__title { font-size: clamp(22px, 7vw, 32px); letter-spacing: 0.04em; white-space: nowrap; }
  .masthead__body { font-size: 14px; }
  .masthead__pill { font-size: 11px; padding: 5px 12px; }
  .clients { display: none; }
  .contact { font-size: 11px; }
  .contact span { margin: 0 0.2em; }
}

.dc-word { display: inline-block; white-space: nowrap; }
.dc { display: inline-block; white-space: pre; }
.dc--space { width: 0.32em; }

.masthead__title .dc--live { color: color-mix(in srgb, var(--teal) 55%, white); }
.masthead__body  .dc--live { color: #b8bec3; }

.dc--lock { animation: dc-lock 260ms ease-out; }
@keyframes dc-lock {
  0%   { opacity: 0.35; transform: translateY(-1px); }
  100% { opacity: 1;    transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dc--lock { animation: none; }
}


@media (max-height: 520px) and (orientation: landscape) {
  body { justify-content: flex-start; }
  .hero { min-height: calc(100vw * 0.40); max-height: calc(100vw * 0.40); flex: 0 0 auto; }
  .masthead { padding-top: 14px; }
  .masthead__pill { display: none; }
  .masthead__title { font-size: clamp(22px, 3.2vw, 32px); }
  .masthead__body { margin-top: 8px; font-size: 13px; }
  .footer { padding-top: 12px; }
  .clients { display: none; }
  .contact { margin-top: 6px; }
}
