@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

/* TLS interim landing page — Variant B, "Bold brand"
   Plain CSS, no build step. */

:root {
  /* Brand palette */
  --lime: #a4e25a;
  --teal: #26cfc8;
  --cyan: #00bcdd;
  --blue: #3d5ba9;
  --graphite: #434345;

  /* Derived neutrals */
  --graphite-700: #323234;
  --graphite-900: #1c1c1e;
  --ink: #131315;          /* text on lime, teal and cyan */
  --blue-700: #2f4788;
  --paper: #eef0f4;
  --white: #ffffff;
  --on-dark: rgba(255, 255, 255, 0.8);

  /* Area colour assignments */
  --c-products: var(--cyan);
  --c-solutions: var(--teal);
  --c-services: var(--lime);
  --c-infrastructure: var(--blue);

  --font: "IBM Plex Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 78rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --band-pad: clamp(4rem, 9vw, 7.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--graphite-900);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

a { color: inherit; }

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

/* ---------- Focus, skip link ---------- */

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Shared pieces ---------- */

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn .icon { flex: none; }

.btn--primary { background: var(--teal); color: var(--ink); }
.btn--primary:hover { background: var(--lime); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn--small { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; white-space: nowrap; }
.btn--large { min-height: 3.75rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }

.band { padding-block: var(--band-pad); }
.band--dark { background: var(--graphite-900); }
.band--blue { background: var(--blue); }
.band--light { background: var(--paper); color: var(--ink); }
/* Teal and white fail contrast on the light grey; brand blue and ink are used instead. */
.band--light .eyebrow,
.site-footer .eyebrow { color: var(--blue); }
.band--light .section-head__lead--wide { color: var(--ink); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 4.4vw + 0.5rem, 4rem);
}
.section-head__lead {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  color: var(--on-dark);
}

.areas .section-head { max-width: none; }
.section-head__lead--wide {
  max-width: none;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

/* ---------- 1. Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding-block: clamp(1rem, 2.2vw, 1.75rem);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: block; flex: none; border-radius: 2px; }
.brand img { width: auto; height: 2.25rem; }

@media (min-width: 800px) {
  .brand img { height: 1.375rem; }
}
@media (max-width: 419px) {
  .brand img { height: 1.625rem; }
  .hide-narrow { display: none; }
  .btn--small { gap: 0.5rem; padding-inline: 0.75rem; font-size: 0.875rem; }
  .btn--large { padding-inline: 1rem; font-size: 1rem; text-align: left; }
}

/* ---------- 2. Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: min(100svh, 56rem);
  background: var(--graphite-900);
  overflow: hidden;
}

.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

/* Dark overlay: heavier on the left, where the text sits, and at the foot. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(19, 19, 21, 0.88) 0%, rgba(19, 19, 21, 0.2) 42%, rgba(19, 19, 21, 0.3) 100%),
    linear-gradient(90deg, rgba(19, 19, 21, 0.72) 0%, rgba(19, 19, 21, 0.5) 46%, rgba(26, 34, 66, 0.05) 100%);
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  gap: 2.5rem;
  padding-top: clamp(7rem, 16vh, 11rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero__text { max-width: 47rem; text-shadow: 0 1px 14px rgba(19, 19, 21, 0.55); }
.hero__text .btn { text-shadow: none; }

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.5rem, 5vw + 1rem, 5.25rem);
  line-height: 1;
  letter-spacing: -0.028em;
}

.hero__intro {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-size: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.since {
  text-shadow: 0 2px 24px rgba(19, 19, 21, 0.5);
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  line-height: 1;
}
.since__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.since__year {
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 3rem;
  }
  .since {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: -0.6rem;
  }
}

/* Index of the four areas at the foot of the hero */
.areas-index {
  background: rgba(19, 19, 21, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.areas-index__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.areas-index__link {
  --c: var(--teal);
  --on: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  height: 100%;
  padding: 1.125rem 1rem 1.125rem 0;
  border-top: 5px solid var(--c);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, padding 0.15s ease;
}
.areas-index__num {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}
.areas-index__link:hover {
  background: var(--c);
  color: var(--on);
  padding-left: 1rem;
  padding-right: 0;
}
.areas-index__link:hover .areas-index__num { color: inherit; }
.areas-index__link:focus-visible { outline-offset: -3px; box-shadow: none; }

.is-products { --c: var(--c-products); }
.is-solutions { --c: var(--c-solutions); }
.is-services { --c: var(--c-services); }
.is-infrastructure { --c: var(--c-infrastructure); --on: var(--white); }

@media (min-width: 800px) {
  .areas-index__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .areas-index__link { padding-block: 1.375rem; font-size: 1.1875rem; }
}

/* ---------- 3. The four areas ---------- */

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 2.2vw, 2rem);
}
@media (min-width: 860px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.area {
  --c: var(--teal);
  --on: var(--white);
  --rule: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  /* All four tiles share the brand blue (graphics team, 2026-10-14); white text on it is 6.4:1. The number tabs match. */
  background: var(--blue);
  color: var(--on);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: 1.5rem;
}
.area--products { --c: var(--c-products); }
.area--solutions { --c: var(--c-solutions); }
.area--services { --c: var(--c-services); }
.area--infrastructure { --c: var(--c-infrastructure); }

.area__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--graphite);
}
.area__media picture,
.area__media img { width: 100%; height: 100%; }
.area__media img { object-fit: cover; }

@media (min-width: 600px) and (max-width: 859px) {
  .area__media { aspect-ratio: 2 / 1; }
}

/* The photos are portrait; these keep the subject in the 16:9 frame. */
.area--products .area__media img { object-position: 50% 52%; }
.area--solutions .area__media img { object-position: 50% 45%; }
.area--services .area__media img { object-position: 50% 36%; }
.area--infrastructure .area__media img { object-position: 50% 42%; }

.area__num {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  padding: 0.5rem 1rem 0.375rem clamp(1.5rem, 3vw, 2.5rem);
  background: var(--blue);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-top-right-radius: var(--radius);
}

.area__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.5rem);
}
.area h3 { font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem); color: var(--white); }
.area__desc {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
}

.area__list {
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 1rem;
  line-height: 1.4;
}
.area__list li {
  padding: 0.6875rem 0;
  border-top: 1px solid var(--rule);
  break-inside: avoid;
}
@media (min-width: 520px) {
  .area__list--cols { columns: 2; column-gap: 2rem; }
}

/* ---------- 4. Why TLS ---------- */

.proof { position: relative; isolation: isolate; overflow: hidden; }
/* Graphics-team banner (2026-10-14), drawn on the brand blue so the edges blend when it is cropped. */
.proof {
  background: var(--blue) url("assets/why-tls-banner.jpg") center / cover no-repeat;
  background-image: image-set(url("assets/why-tls-banner.webp") type("image/webp"), url("assets/why-tls-banner.jpg") type("image/jpeg"));
}

.band--blue .eyebrow { color: var(--white); }
.band--blue .section-head__lead { color: var(--white); }

.section-head--split { max-width: none; }
@media (min-width: 960px) {
  .section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
  .section-head--split .section-head__lead { margin-top: 0; padding-bottom: 0.5rem; }
}

.figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem 2rem;
}
@media (min-width: 560px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
}

.figure {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 3px solid var(--white);
}
.figure__value {
  font-size: clamp(4.25rem, 6.2vw + 1.25rem, 7.25rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variant-numeric: lining-nums tabular-nums;
}
.figure__plus { font-weight: 300; letter-spacing: 0; }
.figure__unit {
  margin-left: 0.2em;
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.figure__label {
  margin-top: 1.25rem;
  max-width: 22rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}
.figure__label strong { font-weight: 600; }

/* ---------- 5. Contact footer ---------- */

.site-footer { background: var(--paper); color: var(--ink); }
.site-footer > .wrap { padding-top: var(--band-pad); }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
}
.contact h2 {
  margin-top: 1rem;
  font-size: clamp(2.25rem, 4.4vw + 0.5rem, 4rem);
}
.contact__channels { display: grid; gap: 2rem; align-content: start; }
.contact__label {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.contact__link {
  display: inline-block;
  font-size: clamp(1.1875rem, 0.6vw + 1rem, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.contact__link:hover { color: var(--blue); }
.contact__address address { font-size: 1.0625rem; line-height: 1.65; color: var(--graphite); }

.contact__map {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe3ea;
}
.contact__map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 700px) {
  .contact__map { aspect-ratio: auto; height: 26rem; }
}

@media (min-width: 900px) {
  .contact {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: start;
  }
  .contact__channels, .contact__address { padding-top: 0.5rem; }
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-block: 2rem;
  border-top: 1px solid rgba(19, 19, 21, 0.15);
  font-size: 0.9375rem;
  color: var(--graphite);
}
.site-footer__logo { width: auto; height: 1.375rem; }

.colour-strip { display: grid; grid-template-columns: repeat(4, 1fr); height: 8px; }
.colour-strip span:nth-child(1) { background: var(--c-products); }
.colour-strip span:nth-child(2) { background: var(--c-solutions); }
.colour-strip span:nth-child(3) { background: var(--c-services); }
.colour-strip span:nth-child(4) { background: var(--c-infrastructure); }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  z-index: 20;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(19, 19, 21, 0.6);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.to-top:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

/* Where the browser supports scroll-driven animation, the button fades in once the page is scrolled; elsewhere it is always shown. No JavaScript. */
@supports (animation-timeline: scroll()) {
  .to-top {
    animation: to-top-reveal linear both;
    animation-timeline: scroll(root);
    animation-range: 0 60vh;
  }
  @keyframes to-top-reveal {
    0%, 50% { opacity: 0; visibility: hidden; transform: translateY(0.75rem); }
    100% { opacity: 1; visibility: visible; transform: none; }
  }
}

/* ---------- Motion and print ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

@media print {
  .site-header { position: static; background: var(--graphite-900); }
  .hero { min-height: 0; }
  .to-top { display: none; }
}

/* ---------- 404 page (404.html) ---------- */

.not-found { min-height: 100svh; }
.not-found .brand img { height: 1.375rem; margin-bottom: clamp(3rem, 10vh, 6rem); }
.not-found h1 { margin-top: 1rem; font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); }
.not-found__action { margin-top: 2.25rem; }
