/* KloudTech — www.kloudtech.co.za
 *
 * One stylesheet, no framework, and nothing loaded from a third party: the type
 * is served from this origin alongside everything else. That is what keeps the
 * Content-Security-Policy strict rather than aspirational, and it is why there
 * is no inline <script> or style= anywhere in the markup.
 *
 * THE PALETTE IS THE BRAND'S, unchanged — indigo, navy and the logo's own
 * purple-to-orange sweep. What changed is how it is used: flat bands became
 * layered gradient fields, hairline rules became soft-edged surfaces, and the
 * type is doing much more of the work.
 *
 *   #150438  indigo   the ground the whole site sits on
 *   #182b39  navy     the secondary dark
 *   #98276d  accent   the solid button — a ground for white type, never type
 *   #f0c3dd  accent-on  the accent where it is a word or an icon
 *   #8A2473 -> #E56924  the logo gradient
 *
 * THE SITE IS DARK THROUGHOUT. One indigo ground, one fixed gradient field
 * behind everything, and surfaces that lift off it with a few percent of white
 * rather than sitting on sheets of paper. Nothing here is a light-mode
 * stylesheet with a dark skin bolted on: the tokens are the dark values, so a
 * component cannot be built pale by accident.
 *
 * CONTRAST IS CHECKED, NOT ASSUMED. Every pairing used for text is noted with
 * its ratio. The orange end of the gradient is 3.1:1 under white, so it is a
 * decoration and a rule — never a background for words. The accent is the same
 * story the other way round: white on it is 7.4:1, it on indigo is 2.0:1.
 */

/* Variable weights 300-800 in one file per subset. woff2 only: every browser
   that can run this page supports it, and a woff fallback would double the
   bytes for nobody. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin.8R1ym7Ck2D.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;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.zz61D7IQFM.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --indigo:      #150438;
  --indigo-lift: #230d4f;
  --navy:        #182b39;
  --accent:      #98276d;   /* 6.9:1 on paper, 7.4:1 under white */
  --accent-lift: #b8348a;

  --purple: #8a2473;
  --mid:    #bc3a46;
  --orange: #e56924;
  --brand-gradient: linear-gradient(100deg, var(--purple), var(--mid) 55%, var(--orange));

  /* THE PAGE IS ONE DARK FIELD. There is no light surface left, so the ink
   * tokens are the light end of the scale and "paper" is a panel lifted off
   * the field with a little white rather than a sheet of it. Ratios are
   * against the indigo base; a panel only ever lifts it, so they are floors. */
  --ink:     #ffffff;                  /* 16.2:1 on indigo */
  --ink-2:   #cfc6de;                  /*  9.9:1 */
  --muted:   #b3a9c6;                  /*  7.2:1 */
  --line:    rgba(255, 255, 255, .11);
  --line-2:  rgba(255, 255, 255, .22);
  --paper:   rgba(255, 255, 255, .05);
  --shell:   #150438;
  --field:   rgba(255, 255, 255, .07);

  /* The accent is a 7.4:1 ground for white type and a 2.0:1 disaster as type
   * on indigo, so the two jobs are now two tokens. --accent fills, --accent-on
   * writes. */
  --accent-on: #f0c3dd;                /*  9.0:1 on indigo */

  /* On the dark surfaces */
  --on-dark:       #ffffff;
  --on-dark-muted: #c7c0d6;  /* 9.5:1 on indigo */
  --on-dark-line:  rgba(255, 255, 255, .13);
  --on-dark-fill:  rgba(255, 255, 255, .055);

  --wrap: 1200px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 10vw, 8rem);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shadows on a dark field have to be much deeper to register at all — a 4%
   * black over indigo is nothing. */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .30), 0 2px 10px -4px rgba(0, 0, 0, .45);
  --shadow:    0 1px 2px rgba(0, 0, 0, .30), 0 18px 40px -20px rgba(0, 0, 0, .75);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 40px 80px -32px rgba(0, 0, 0, .88);
}

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

html {
  background: var(--shell);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The sticky header would otherwise sit on top of whatever an anchor lands on. */
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .16vw, 1.0625rem);
  line-height: 1.68;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05" 1, "ss03" 1;   /* single-storey l, curved r */
}

/* ONE FIELD BEHIND THE WHOLE SITE, not a field per section.
 *
 * Fixed to the viewport rather than to the document, so the lights sit still
 * while the page moves over them — a per-section gradient would band, and a
 * document-height one would stretch the lights into stripes. It is a fixed
 * pseudo-element rather than `background-attachment: fixed`, which repaints the
 * whole gradient on every scroll frame on mobile Safari; this is one
 * composited layer that never repaints at all. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(65% 50% at 8% 0%,    rgba(138, 36, 115, .45) 0%, transparent 62%),
    radial-gradient(55% 45% at 97% 38%,  rgba(229, 105, 36, .17) 0%, transparent 58%),
    radial-gradient(60% 45% at 2% 92%,   rgba(138, 36, 115, .30) 0%, transparent 60%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-on); text-underline-offset: .18em; }
a:hover { color: #fff; }

:focus-visible { outline: 2.5px solid var(--accent-on); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--indigo); color: #fff; padding: .8rem 1.4rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------- typography */

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 {
  font-weight: 700;
  letter-spacing: -.035em;     /* Inter wants noticeably tighter tracking at display sizes */
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.1rem + 5.6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 1.1rem + 3.2vw, 3.25rem); }
h3 { font-size: clamp(1.1rem, 1.04rem + .3vw, 1.25rem); font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
h4 { font-weight: 650; letter-spacing: -.01em; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--ink); }

/* A pill rather than a rule — the same job, less Victorian. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem .4rem .7rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
  color: var(--accent-on);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-gradient);
  flex: none;
}

.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); line-height: 1.6; color: var(--muted); }

/* THE DARK SURFACES CARRY THEIR OWN TEXT COLOURS.
 *
 * This used to hang off a class the markup had to remember to add, and the
 * moment a section was rewritten without it the headings went ink-on-indigo —
 * invisible, and invisible in a way that only shows up by looking. A surface
 * that is dark is now the thing that makes its text light, so the two cannot
 * come apart. `.on-dark` stays as an alias for anything that needs it
 * explicitly. */
.hero, .cta, .section--dark, .section--navy, .on-dark { color: var(--on-dark); }
:is(.hero, .cta, .section--dark, .section--navy, .on-dark) :is(h1, h2, h3, h4) { color: var(--on-dark); }
:is(.hero, .cta, .section--dark, .section--navy, .on-dark) :is(p, .lead) { color: var(--on-dark-muted); }
:is(.hero, .cta, .section--dark, .section--navy, .on-dark) strong { color: #fff; }

/* Sections are transparent so the page's field runs behind all of them. The
   two variants are a lift and an extra pair of lights, not a different
   colour — the rhythm comes from how much light falls on a band, not from
   swapping the ground under it. */
.section { padding-block: var(--section); background: transparent; position: relative; }
.section--paper { background: rgba(255, 255, 255, .028); }

/* The dark sections are a gradient field, not a flat fill: two soft brand-
   coloured lights over the indigo, which is what stops a large dark block
   reading as a hole in the page. */
.section--dark {
  background:
    radial-gradient(75% 120% at 12% 0%, rgba(138, 36, 115, .38) 0%, transparent 62%),
    radial-gradient(60% 100% at 92% 100%, rgba(229, 105, 36, .20) 0%, transparent 58%),
    var(--indigo);
  color: var(--on-dark);
}
.section--navy {
  background:
    radial-gradient(70% 110% at 85% 0%, rgba(24, 43, 57, 0) 0%, transparent 60%),
    var(--navy);
  color: var(--on-dark);
}

/* THE PAGE HAD ONE SECTION SHAPE AND USED IT SEVEN TIMES.
 *
 * Centred eyebrow, centred heading, centred lead, grid of equal cards --
 * at the same width, with the same padding, over backgrounds alternating on a
 * metronome. The eye learns that pattern by the second section and everything
 * after it reads as another row of the same list, however good the content is.
 * Length was never the problem; sameness was.
 *
 * So the shapes below are deliberately unlike each other, and which one a
 * section gets is a decision about what that section is for. Centred is now
 * reserved for the two moments that deserve the pause -- what we do, and the
 * call to action. Everything else earns its own rhythm. */
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Heading and lead side by side rather than stacked, with the lead sitting on
   the heading's baseline. Reads as one wide statement instead of a third
   centred stack. */
.section-head--split {
  max-width: none;
  display: grid; gap: .75rem clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: end;
}
.section-head--split > :is(.eyebrow, h2) { grid-column: 1; margin-bottom: 0; }
/* The eyebrow is an inline-flex pill. As a grid child it stretches to the
   whole column unless told not to, which turns a badge into a bar. */
.section-head--split .eyebrow { justify-self: start; margin-bottom: .35rem; }
.section-head--split .lead { grid-column: 2; grid-row: 2; margin-bottom: 0; padding-bottom: .5rem; }
@media (max-width: 900px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .lead { grid-column: 1; grid-row: auto; padding-bottom: 0; }
}

/* Vertical rhythm is a variable, not a constant. Sections that belong together
   run tight so they read as one chapter; the ones that should land on their
   own get the room. A single padding value everywhere is what makes a page
   feel like a spreadsheet. */
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }

/* A heading that stays while its content goes past it. The one genuinely
   scroll-driven moment on the page, and it is free -- position: sticky, no
   script, no scroll listener. Below the breakpoint it simply stops being
   sticky and the section stacks like any other. */
.stage { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, .82fr) minmax(0, 2fr); align-items: start; }
.stage__head { position: sticky; top: 108px; }
.stage__head .section-head { margin-bottom: 1.5rem; }
@media (max-width: 1020px) {
  .stage { grid-template-columns: 1fr; }
  .stage__head { position: static; }
}
/* Sticky and smooth-scroll anchoring do not mix well with a tall sticky block,
   so it is only sticky where there is room for it to be. */
@supports not (position: sticky) { .stage__head { position: static; } }

/* The logo wall was a centred heading over a centred row, 580px tall for three
   small plates. Sideways, it says the same thing in a third of the height --
   and the change of axis is itself part of the variety. */
/* ONE ROW, SMALL PLATES. Six customers across two rows of three read as a
   block of logos competing with the heading; on one line at half the height
   they read as what they are -- a list of people we work for. The marks are
   all wide-format wordmarks, so they lose nothing by being shorter, and
   object-fit keeps every one of them whole.
   Three abreast once a row of six would make each plate too narrow to read a
   wordmark in, two on a phone. */
.trust__logos { display: grid; gap: clamp(.6rem, 1.2vw, .9rem); grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 980px) { .trust__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* NOT EVERY CUSTOMER HAS GIVEN US ARTWORK. Rather than leave those out or
   invent a mark for them, their name is set on the same plate at the same
   size, in our type. It reads as a deliberate wordmark instead of a gap, and
   it is not pretending to be anyone's logo. Swapping one for a real file later
   is a one-line change. */
.trust__name {
  display: flex; align-items: center; justify-content: center; text-align: center;
  height: 64px; padding: .5rem .6rem;
  background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  color: #241b3a;                       /* 14.8:1 on white */
  font-size: clamp(.68rem, .6rem + .24vw, .82rem); font-weight: 650;
  letter-spacing: -.01em; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease;
}
.trust__name:hover { transform: scale(1.03); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .trust__name:hover { transform: none; } }

/* Numbered and staggered rather than three identical cards in a row. The
   offset is what stops the eye reading it as another grid. */
.ladder { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: rung; }
.ladder > * { position: relative; padding-left: 3.6rem; }
.ladder > *::before {
  counter-increment: rung; content: "0" counter(rung);
  position: absolute; left: 0; top: -.15rem;
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 900px) {
  .ladder > *:nth-child(2) { margin-top: clamp(1.5rem, 3vw, 2.75rem); }
  .ladder > *:nth-child(3) { margin-top: clamp(3rem, 6vw, 5.5rem); }
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease,
              background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent); color: #fff;            /* 7.4:1 */
  box-shadow: 0 10px 24px -12px rgba(152, 39, 109, .9);
}
.btn--primary:hover { background: var(--accent-lift); color: #fff; box-shadow: 0 16px 32px -14px rgba(152, 39, 109, .95); }

.btn--ghost { background: var(--on-dark-fill); border-color: var(--on-dark-line); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .38); color: #fff; }

.btn[disabled] { opacity: .55; pointer-events: none; }

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--accent-on);
}
.textlink svg { transition: transform .18s cubic-bezier(.2,.7,.3,1); }
.textlink:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------- header */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 4, 56, .78);
  border-bottom: 1px solid transparent;
  transition: background-color .28s ease, border-color .28s ease, backdrop-filter .28s ease;
}
/* Glass only where it is actually supported; elsewhere it stays solid rather
   than becoming a translucent mess over the content behind it. */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .header { backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: var(--indigo); }
}
.header.is-stuck {
  background: rgba(21, 4, 56, .94);
  border-bottom-color: var(--on-dark-line);
}
.header__inner { display: flex; align-items: center; gap: 1rem; min-height: 78px; }
.header__logo { margin-right: auto; display: flex; align-items: center; }
.header__logo img { width: 168px; }

.nav { display: flex; align-items: center; gap: clamp(.35rem, 1.1vw, 1rem); }
.nav a {
  position: relative;
  text-decoration: none; color: #d9d2e6; font-size: .93rem; font-weight: 500;
  padding: .5rem .7rem; border-radius: 999px;
  transition: color .18s ease, background-color .18s ease;
}
.nav a:hover { color: #fff; background: var(--on-dark-fill); }
.nav a[aria-current="page"] { color: #fff; background: var(--on-dark-fill); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: .18rem; translate: -50% 0;
  width: 16px; height: 2px; border-radius: 2px; background: var(--brand-gradient);
}
.nav .btn { padding: .68rem 1.2rem; font-size: .9rem; }
/* "You are here": the visitor's own address, far right of the header.
 *
 * Deliberately quiet -- it is a fact about the reader, not a call to action,
 * and it must never compete with the navigation next to it. It is gone below
 * the nav breakpoint, where the header is a logo and a hamburger and there is
 * no corner left to put it in. The address is tabular so the digits do not
 * dance when it is read aloud or copied. */
.whoami {
  margin: 0; flex: none;
  display: inline-flex; align-items: baseline; gap: .45rem;
  padding: .32rem .7rem; border-radius: 999px;
  border: 1px solid var(--on-dark-line); background: var(--on-dark-fill);
  font-size: .74rem; color: var(--muted); white-space: nowrap;
  max-width: 19rem;
}
.whoami__flag { font-size: 1em; line-height: 1; flex: none; }
/* The address never shrinks and never ellipsises. Half an IP address answers
   nothing, and an IPv6 address is long enough that a chip sized to fit one
   would push the navigation about -- so it is the country name that gives way,
   here and at the breakpoint below. */
.whoami__ip { flex: none; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: var(--ink-2); }
.whoami__where { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1200px) { .whoami__where { display: none; } }
@media (max-width: 880px) { .whoami { display: none; } }


.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--on-dark-line); background: var(--on-dark-fill);
  border-radius: 12px; cursor: pointer; color: #fff;
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 78px 0 auto; flex-direction: column; align-items: stretch;
    gap: .15rem; padding: .75rem var(--gap) 1.5rem;
    background: var(--indigo);
    border-bottom: 1px solid var(--on-dark-line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .9);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .85rem 1rem; border-radius: 12px; font-size: 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: .75rem; padding: .9rem 1.2rem; }
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden;
  background: var(--indigo);
  color: var(--on-dark);
  padding-block: clamp(4.5rem, 11vw, 9rem);
  /* Pulled up under the translucent header so the gradient runs behind it. */
  margin-top: -78px; padding-top: calc(clamp(4.5rem, 11vw, 9rem) + 78px);
}
/* Three layers: the artwork, a brand-coloured light over it, and a wash that
   guarantees the headline's contrast wherever the artwork happens to be dark
   or bright. Only the last one is load-bearing. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/bg-gradient.dR6IRwyqx-.webp");
  background-size: cover; background-position: center;
  opacity: .3;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 8% 12%, rgba(138, 36, 115, .55) 0%, transparent 60%),
    radial-gradient(55% 75% at 95% 88%, rgba(229, 105, 36, .28) 0%, transparent 55%),
    linear-gradient(100deg, rgba(21, 4, 56, .93) 0%, rgba(21, 4, 56, .72) 52%, rgba(21, 4, 56, .42) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, #ffb48c 0%, var(--orange) 55%, #ff8f5e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.hero__parent { margin: 1.75rem 0 0; }

.hero__art { position: relative; }
.hero__art img {
  border-radius: var(--r-lg);
  border: 1px solid var(--on-dark-line);
  box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .95);
  max-height: 480px; width: 100%; object-fit: cover;
}
.hero--plain .hero__grid { grid-template-columns: minmax(0, 50rem); }

/* A short row of facts under the hero, on the same dark field. */
.hero__facts {
  display: grid; gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--on-dark-line);
}
.fact strong { display: block; font-size: 1.05rem; font-weight: 650; color: #fff; margin-bottom: .2rem; }
.fact span { font-size: .92rem; color: var(--on-dark-muted); }

/* ------------------------------------------------------------- bento grid --
 *
 * Seven services do not divide into a tidy grid, and forcing them into one
 * leaves an orphan on the last row. Two of them take a wider cell instead, so
 * the row lengths work out and the two the business leads with get the room
 * their copy needs.
 */

.bento {
  display: grid; gap: clamp(.85rem, 1.6vw, 1.15rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.bento > * { grid-column: span 2; }
.bento > .is-wide { grid-column: span 3; }
@media (max-width: 1040px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento > .is-wide { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
}

.tile {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: var(--line-2); box-shadow: var(--shadow); }
/* A gradient hairline along the top edge, revealed on hover. Painted on a
   pseudo-element so it can fade without the border reflowing anything. */
.tile::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--brand-gradient);
  opacity: 0; transition: opacity .22s ease;
}
.tile:hover::before, .tile:focus-within::before { opacity: 1; }

.tile__icon {
  width: 46px; height: 46px; margin-bottom: 1.3rem;
  display: grid; place-items: center;
  border-radius: 14px;
  color: var(--accent-on);
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
}
.tile__icon svg { width: 23px; height: 23px; }
.tile h3 { margin-bottom: .55rem; }
.tile p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
/* Until now every tile held one paragraph, so nothing separated two. The
   high-performance-compute tile has two and they ran together into a wall. */
.tile p + p { margin-top: .72rem; }
.tile .textlink { margin-top: auto; padding-top: 1.3rem; }
/* The "new" flag on the three services just added. */
.tile__tag {
  position: absolute; top: 1.35rem; right: 1.35rem;
  font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  padding: .28rem .55rem; border-radius: 999px;
  color: #fff; background: var(--accent);
}

/* ---------------------------------------------------------------- features */

.features { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature__icon {
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  display: grid; place-items: center; border-radius: 16px;
  color: var(--accent-on); background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: .45rem; }
.feature p { color: var(--muted); font-size: .96rem; }

/* --------------------------------------------------------------- call to act */

.cta {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(70% 130% at 15% 0%, rgba(138, 36, 115, .5) 0%, transparent 60%),
    radial-gradient(60% 110% at 90% 100%, rgba(229, 105, 36, .26) 0%, transparent 55%),
    var(--indigo);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}
.cta > .wrap { position: relative; z-index: 1; text-align: center; }
.cta .btn { margin-top: 2rem; }

/* ------------------------------------------------------------------ clients */

.clients {
  display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
/* Flat artwork of very different proportions — one a tall mascot, the others
   wide wordmarks. Capping both dimensions gives them comparable weight.
   THE PLATE IS NOT DECORATION. These are customers' marks, drawn in their own
   ink for a white page: Platinum Global's is black serif type over a dark
   globe and simply disappears on indigo. Recolouring someone else's logo is
   not ours to do, so each one keeps its own white ground instead. */
:is(.clients, .trust__logos) img {
  width: 100%; max-width: 100%; height: 64px;
  object-fit: contain;
  background: #fff; border-radius: var(--r);
  padding: .5rem .7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
:is(.clients, .trust__logos) img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* -------------------------------------------------------------------- about */

.about { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.about--four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.about article {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
}
.about h3 {
  font-size: .92rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650;
  margin-bottom: 1rem; color: var(--accent-on);
}
.about p { font-size: .96rem; }

/* -------------------------------------------------------------------- split */

.split { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* THE DRAWN PIECES ARE DIAGRAMS, NOT PHOTOGRAPHS.
 *
 * They carry labels, so `cover` would crop words off the edge; they are drawn
 * on transparency, so the card frame the photographs get would box in empty
 * space instead of framing anything. */
:is(.hero__art, .split__art) img.art {
  object-fit: contain;
  border: 0; box-shadow: none; border-radius: 0;
  max-height: 440px;
}
.split__art img {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: 430px; width: 100%; object-fit: cover;
}

/* -------------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step {
  position: relative; padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 1.1rem;
  border-radius: 50%;
  font-size: .9rem; font-weight: 700; color: #fff;
  background: var(--brand-gradient);
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------------------------------------------------------------------- faq */

.faq { display: grid; gap: .7rem; max-width: 52rem; margin-inline: auto; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 1.5rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 0;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2px solid var(--accent-on); border-bottom: 2px solid var(--accent-on);
  rotate: 45deg; translate: 0 -3px;
  transition: rotate .22s ease, translate .22s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 2px; }
.faq p { color: var(--muted); font-size: .96rem; padding-bottom: 1.35rem; margin: 0; }

/* ------------------------------------------------- technologies & vendors */

/* THE ICONS ARE OURS, NOT THE VENDORS'.
 *
 * Real logos would be better and are not available: these are other companies'
 * trademarks, and several of them -- Microsoft and Cisco especially -- permit
 * their marks only under a partner agreement, because showing a vendor's logo
 * is a claim about a relationship with that vendor. So each group gets an
 * original icon for the kind of thing it holds, and the products keep their
 * names in plain text, which nobody needs permission to write down. If
 * KloudTech holds partner badges it is licensed to display, those drop in here
 * and are worth far more than anything drawn.
 */
/* Columns rather than a grid: the groups hold two to five items each, and in a
   grid every card in a row stretches to the tallest, so five short ones sat in
   a lot of empty space and Distribution was left alone on a row of its own.
   Column flow packs them by height instead. */
.stack { columns: 255px 4; column-gap: clamp(1rem, 2vw, 1.4rem); }
.stack > * {
  break-inside: avoid;
  display: inline-block; width: 100%;      /* so the break rule is honoured */
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .22s ease, background-color .22s ease;
}
.stack > *:hover { background: rgba(255, 255, 255, .075); border-color: var(--line-2); }
.stack__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.05rem; }
.stack__icon {
  flex: none; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 12px;
  color: var(--accent-on);
  background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
}
.stack__icon svg { width: 20px; height: 20px; }
.stack h3 {
  margin: 0;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 650;
  color: var(--accent-on);
}
.stack ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.stack li {
  padding: .42rem .82rem; border-radius: 999px;
  background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
  font-size: .88rem; line-height: 1.35; color: var(--ink-2);
}

/* ------------------------------------------------------------------- reach */

/* The map is the widest thing on the page for a reason: at half width its
   labels come out around 12px and the whole point of it is the four names. */
.reach { margin-block: clamp(1.5rem, 4vw, 3rem); }
.reach img { width: 100%; height: auto; }

/* -------------------------------------------------------------- group note */

.group {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem;
  padding: 1.5rem 1.75rem; margin-top: clamp(2rem, 5vw, 3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, rgba(138, 36, 115, .30), rgba(229, 105, 36, .14));
  border: 1px solid rgba(240, 195, 221, .20);
  font-size: .97rem; color: var(--ink-2);
}
.group a { font-weight: 600; white-space: nowrap; }
.group span { flex: 1 1 22rem; }
.group .group__logo { margin-bottom: 0; flex: none; }

/* ------------------------------------------------------- service health */

/* ONE PROVIDER PER ROW.
 *
 * Three cards abreast left each per-service grid about two names wide, which
 * is how a catalogue of two hundred services turns into a column you scroll
 * forever. Full width gives that grid five or six columns and the whole
 * catalogue fits on a screen or two. */
.health { display: grid; gap: clamp(1.25rem, 2.5vw, 1.9rem); grid-template-columns: 1fr; }
.health__card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.health__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; justify-content: space-between; }
.health__head h3 { margin: 0; }
.health__state {
  display: inline-flex; align-items: center; gap: .5rem; flex: none;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .78rem; font-weight: 650; letter-spacing: .04em;
  border: 1px solid var(--on-dark-line); background: var(--on-dark-fill);
}
.health__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
/* The three states are not interchangeable and must not look it: green is a
   feed we read that reported nothing, amber is trouble or an old read, grey is
   a feed we could not read at all. Colour is never the only signal -- each
   pill carries its own words. */
.health__state.is-ok   { color: #9fe7bd; } .health__state.is-ok   .health__dot { background: #4ad991; }
.health__state.is-warn { color: #ffc89a; } .health__state.is-warn .health__dot { background: #ff9f45; }
.health__state.is-off  { color: var(--muted); } .health__state.is-off .health__dot { background: #8a81a0; }
.health__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.health__items li { display: grid; gap: .35rem; }
.health__items p { margin: 0; font-size: .92rem; color: var(--muted); }
.health__note { margin: 0; color: var(--muted); font-size: .94rem; }
.health__note--quiet { font-size: .84rem; opacity: .85; }
.health__meta { margin: 0; margin-top: auto; font-size: .84rem; color: var(--muted); }
.health__link { color: var(--accent-on); text-decoration: none; font-weight: 600; }
.health__link:hover { color: #fff; text-decoration: underline; }
.health__loading { color: var(--muted); margin: 0; }

/* The per-service catalogue, on the page rather than behind a disclosure.
   Every service the provider publishes, affected ones sorted to the top, with
   a count above it so you know the size of what you are reading. No height
   cap: a list that scrolls inside a card that scrolls inside a page is three
   scrollbars answering one question. */
.health__services { border-top: 1px solid var(--on-dark-line); padding-top: .9rem; }
.health__services-head { margin: 0; font-size: .86rem; font-weight: 600; }
.health__services-head.is-ok { color: var(--accent-on); }
.health__services-head.is-down { color: #ffc89a; }
.health__grid {
  list-style: none; margin: .9rem 0 0; padding: 0;
  display: grid; gap: .3rem .9rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
/* Two columns: the dot, then everything else. A grid rather than a flex row
   because "Cloud Key Management Service" does not fit one line at this width,
   and wrapping it as a flex item drops the whole name below its own dot. Here
   the second line hangs under the first and the state tag lands under the
   name, so a wrapped row still reads as one row. */
.health__grid li {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline; gap: .1rem .45rem;
  font-size: .84rem; color: var(--muted);
}
.health__grid li.is-down { color: #ffc89a; font-weight: 600; }
.health__tick { color: #4ad991; flex: none; font-size: .7em; }
.health__grid li.is-down .health__tick { color: #ff9f45; }
/* Sits after the name, not pinned to the right edge of the cell: pinning it
   squeezed the name into a wrap on every affected service, which made the one
   row you actually care about the hardest one to read. */
.health__state-tag { font-size: .76rem; font-weight: 600; white-space: nowrap; opacity: .9; }

/* ----------------------------------------------------------- threat maps */

.maps { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* STACKED, AND AS BIG AS THE COLUMN ALLOWS.
 *
 * Side by side made each map a fraction of the width, and a world map at
 * 380px is a smudge -- the country labels and the attack arcs are the whole
 * content. One per row instead, at 16:9, which is the shape these maps are
 * drawn for. Capped against the viewport height as well, so a wide monitor
 * with a short window does not produce a panel taller than the screen.
 *
 * The caption sits above the frame now: when a vendor's page takes a moment
 * to paint, a label over an empty panel reads as loading, whereas the panel
 * with the label somewhere below it reads as broken. */
.maps { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: 1fr; }
.maps__frame { margin: 0; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--on-dark-line); background: #0b0320; }
.maps__frame iframe {
  display: block; width: 100%; border: 0;
  aspect-ratio: 16 / 9; max-height: 78vh;
  background: #0b0320;
}
@media (max-width: 720px) { .maps__frame iframe { aspect-ratio: 4 / 3; } }
.maps__frame figcaption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--on-dark-line);
  background: var(--on-dark-fill);
  font-size: .9rem;
}
.maps__frame figcaption strong { color: #fff; font-weight: 650; }
.maps__frame figcaption a { color: var(--accent-on); text-decoration: none; font-weight: 600; white-space: nowrap; }
.maps__frame figcaption a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------- known exploited */

.kev { display: grid; gap: clamp(.8rem, 1.6vw, 1.1rem); grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.kev__row {
  display: flex; flex-direction: column; gap: .5rem;
  padding: clamp(1.3rem, 2.2vw, 1.7rem);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.kev__row h3 { margin: 0; font-size: 1.02rem; }
.kev__row p { margin: 0; font-size: .92rem; color: var(--muted); }
.kev__top { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.kev__cve {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .82rem; font-weight: 650; letter-spacing: .01em;
  padding: .22rem .6rem; border-radius: 999px;
  color: var(--accent-on); background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
}
.kev__flag {
  font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: .24rem .6rem; border-radius: 999px;
  color: #ffc2ca; background: rgba(206, 62, 84, .22); border: 1px solid rgba(255, 146, 162, .42);
}
/* Specificity rather than !important: these are all `p` inside .kev__row, so
   naming both is enough to win and leaves the cascade usable. */
.kev__row p.kev__vendor { font-weight: 600; color: var(--ink-2); font-size: .88rem; }
.kev__row p.kev__action { color: var(--ink-2); }
.kev__row p.kev__meta { margin-top: auto; padding-top: .3rem; font-size: .84rem; }
.kev__asof { grid-column: 1 / -1; margin: 0; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------------ contact */

.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .9rem 1.05rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--field);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #a79ebb; }
.field input:focus, .field textarea:focus {
  border-color: var(--accent-on); outline: none; background: rgba(255, 255, 255, .11);
  box-shadow: 0 0 0 4px rgba(240, 195, 221, .16);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--pair { display: grid; gap: 1.05rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field--pair { grid-template-columns: 1fr; } }
.optional { font-weight: 400; color: var(--muted); }

/* The honeypot. Off-screen rather than display:none, because some bots skip
   fields that are not rendered at all. Never shown, never focusable. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .95rem 1.15rem; border-radius: var(--r-sm); font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status--ok  { background: rgba(52, 168, 104, .16); border: 1px solid rgba(124, 226, 168, .38); color: #a9ecc6; }
.form-status--err { background: rgba(206, 62, 84, .18); border: 1px solid rgba(255, 146, 162, .38); color: #ffc2ca; }

.contact aside { align-self: start; }
.details { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.details li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.details svg { width: 20px; height: 20px; flex: none; margin-top: .22rem; color: var(--accent-on); }
.details a { text-decoration: none; font-weight: 600; color: var(--ink); }
.details a:hover { color: var(--accent-on); }
.details span { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; }

/* ------------------------------------------------------ enquiry assistant */

/* The launcher sits above everything except the skip link, and clear of the
   iOS home indicator. */
.bot-launch {
  position: fixed; z-index: 70;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  background: var(--accent); color: #fff;
  font: inherit; font-size: .93rem; font-weight: 650; letter-spacing: -.005em;
  cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .85), 0 0 0 6px rgba(152, 39, 109, .14);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), background-color .2s ease;
}
.bot-launch:hover { transform: translateY(-2px); background: var(--accent-lift); }
.bot-launch__dot { width: 9px; height: 9px; border-radius: 50%; background: #7bf0b0; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .bot-launch__dot { animation: bot-pulse 2.4s ease-in-out infinite; }
}
@keyframes bot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.bot {
  position: fixed; z-index: 71;
  right: clamp(1rem, 3vw, 2rem);
  bottom: calc(clamp(1rem, 3vw, 2rem) + env(safe-area-inset-bottom, 0px));
  width: min(26rem, calc(100vw - 2rem));
  max-height: min(34rem, calc(100vh - 2rem));
  display: flex; flex-direction: column;
  background: #1d0b40;
  border: 1px solid var(--on-dark-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bot[hidden] { display: none; }
/* On a phone it is the screen, not a card floating on it. */
@media (max-width: 560px) {
  .bot { inset: auto .5rem calc(.5rem + env(safe-area-inset-bottom, 0px)) .5rem; width: auto; max-height: min(30rem, calc(100vh - 5rem)); }
}

.bot__head {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--on-dark-line);
  background: linear-gradient(100deg, rgba(138, 36, 115, .38), rgba(229, 105, 36, .16));
}
.bot__title { display: grid; gap: .1rem; }
.bot__title strong { color: #fff; font-size: .98rem; font-weight: 650; }
.bot__title span { color: var(--on-dark-muted); font-size: .82rem; }
.bot__close {
  flex: none; width: 32px; height: 32px; line-height: 1;
  border: 1px solid var(--on-dark-line); border-radius: 10px;
  background: var(--on-dark-fill); color: #fff;
  font: inherit; font-size: 1.3rem; cursor: pointer;
}
.bot__close:hover { background: rgba(255, 255, 255, .14); }

.bot__log { flex: 1 1 auto; overflow-y: auto; padding: 1.15rem; display: grid; gap: .8rem; align-content: start; }
.bot__turn { display: flex; }
.bot__turn--user { justify-content: flex-end; }
.bot__bubble {
  margin: 0; max-width: 88%;
  padding: .7rem .95rem; border-radius: 16px;
  font-size: .93rem; line-height: 1.55;
  background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
  color: var(--ink-2);
}
.bot__turn--user .bot__bubble { background: var(--accent); border-color: transparent; color: #fff; }

.bot__dots { display: inline-flex; gap: .3rem; align-items: center; padding: .85rem .95rem; }
.bot__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-on); opacity: .4; }
@media (prefers-reduced-motion: no-preference) {
  .bot__dots span { animation: bot-dot 1.2s ease-in-out infinite; }
  .bot__dots span:nth-child(2) { animation-delay: .15s; }
  .bot__dots span:nth-child(3) { animation-delay: .3s; }
}
@keyframes bot-dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.bot__status {
  margin: 0; padding: .85rem 1.15rem;
  border-top: 1px solid var(--on-dark-line);
  background: rgba(52, 168, 104, .14);
  color: #a9ecc6; font-size: .88rem;
}
/* "We could not deliver that" must not wear the colour of "sent". */
.bot__status--warn { background: rgba(206, 62, 84, .18); color: #ffc2ca; }
/* Underlined and brighter than the sentence around it: this link is the whole
   point of the message it sits in, and a failed enquiry is not the moment for
   a subtle call to action. */
.bot__status--warn a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.bot__status--warn a:hover { text-decoration-thickness: 2px; }
.bot__status[hidden] { display: none; }

.bot__form { display: flex; gap: .5rem; padding: .85rem; border-top: 1px solid var(--on-dark-line); }
.bot__form[hidden] { display: none; }
.bot__input {
  flex: 1 1 auto; min-width: 0;
  font: inherit; font-size: .93rem; color: var(--ink);
  padding: .7rem .9rem; border-radius: 12px;
  background: var(--field); border: 1px solid var(--line-2);
}
.bot__input::placeholder { color: #a79ebb; }
.bot__input:focus { outline: none; border-color: var(--accent-on); box-shadow: 0 0 0 3px rgba(240, 195, 221, .16); }
.bot__send {
  flex: none; font: inherit; font-size: .9rem; font-weight: 650;
  padding: .7rem 1.1rem; border-radius: 12px; cursor: pointer;
  background: var(--accent); color: #fff; border: 1px solid transparent;
}
.bot__send:hover { background: var(--accent-lift); }
.bot__send:disabled, .bot__input:disabled { opacity: .55; cursor: default; }

/* The launcher would sit on top of the open panel on a phone. */
.has-bot-open .bot-launch { display: none; }
@media (min-width: 561px) { .has-bot-open .bot-launch { display: inline-flex; opacity: 0; pointer-events: none; } }

/* ------------------------------------------------------------------- footer */

/* The same gradient field the dark sections carry, so the page does not end on
   a flat slab after the lit block above it. */
.footer {
  position: relative; overflow: hidden;
  background:
    radial-gradient(75% 120% at 12% 0%, rgba(138, 36, 115, .38) 0%, transparent 62%),
    radial-gradient(60% 100% at 92% 100%, rgba(229, 105, 36, .20) 0%, transparent 58%),
    var(--indigo);
  color: #cfc6de;
  padding-block: clamp(3.5rem, 7vw, 5rem);
  font-size: .94rem;
}
.footer::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(45% 60% at 20% 25%, rgba(138, 36, 115, .42) 0%, transparent 62%),
    radial-gradient(40% 55% at 82% 78%, rgba(229, 105, 36, .24) 0%, transparent 58%);
  pointer-events: none;
  animation: kt-field 22s ease-in-out infinite;
  will-change: transform;
}
.footer > .wrap { position: relative; z-index: 1; }
/* Explicit tracks: an auto-fit repeat may not share a track list with an `fr`
   track, so the old `1.6fr repeat(auto-fit, ...)` was invalid and collapsed the
   whole footer into a single column. */
/* Four children now -- the wordmark and three link columns. The track count
   is explicit rather than auto-fit because an auto-fit repeat cannot share a
   track list with the `fr` the wordmark needs, which is what collapsed this
   whole footer into one column once already. */
.footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1020px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.footer img { width: 182px; margin-bottom: 1.25rem; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer a { color: #cfc6de; text-decoration: none; transition: color .18s ease; }
.footer a:hover { color: #fff; }
.footer__base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px solid var(--on-dark-line);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  color: #a79eba; font-size: .88rem;
}

/* ------------------------------------------------------------------ 404 page */

.notfound { display: grid; place-items: center; text-align: center; padding-block: clamp(5rem, 14vw, 10rem); }
.notfound h1 {
  font-size: clamp(4.5rem, 16vw, 10rem); margin-bottom: .1em;
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* ==========================================================================
   Motion
   ==========================================================================
   Sections arrive as they are scrolled to, as the old site's did.

   HOW IT FAILS SAFE. The hidden state hangs off `.js` on <html>, which is in
   the markup and REMOVED by the script if IntersectionObserver is missing. With
   JavaScript off entirely the script never runs to remove it — so no-js.css,
   loaded only from inside <noscript>, forces everything visible. Three ways in,
   and the content is readable down all of them.

   Every animation is a compositor-only opacity/transform. Nothing animates a
   property that forces layout, so a cheap phone does not judder down the page. */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .8s cubic-bezier(.22, .68, .3, 1),
    transform .8s cubic-bezier(.22, .68, .3, 1);
  will-change: opacity, transform;
}
.js [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }
.js [data-reveal="left"]  { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }

/* A grid arriving all at once is a flash; one after another reads as a list.
   The delay sits on the child, so the same rule covers three, four, seven or a
   single orphan in the last row. */
.js .bento > [data-reveal]:nth-child(2),
.js .features > [data-reveal]:nth-child(2),
.js .steps > [data-reveal]:nth-child(2),
.js .about > [data-reveal]:nth-child(2),
.js .clients > [data-reveal]:nth-child(2) { transition-delay: 70ms; }
.js .bento > [data-reveal]:nth-child(3),
.js .features > [data-reveal]:nth-child(3),
.js .steps > [data-reveal]:nth-child(3),
.js .about > [data-reveal]:nth-child(3),
.js .clients > [data-reveal]:nth-child(3) { transition-delay: 140ms; }
.js .bento > [data-reveal]:nth-child(4),
.js .about > [data-reveal]:nth-child(4) { transition-delay: 210ms; }
.js .bento > [data-reveal]:nth-child(5) { transition-delay: 280ms; }
.js .bento > [data-reveal]:nth-child(6) { transition-delay: 350ms; }
.js .bento > [data-reveal]:nth-child(7) { transition-delay: 420ms; }

/* The hero is on screen at load, so it plays as an entrance: slower, and
   further apart. */
.js .hero [data-reveal] { transition-duration: .95s; }
.js .hero [data-reveal]:nth-child(2) { transition-delay: 110ms; }
.js .hero [data-reveal]:nth-child(3) { transition-delay: 220ms; }
.js .hero .hero__actions[data-reveal] { transition-delay: 330ms; }
.js .hero .hero__art[data-reveal]     { transition-delay: 170ms; }
.js .hero .hero__facts[data-reveal]   { transition-delay: 430ms; }

@keyframes kt-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-14px); }
}
.js .hero__art.is-in img { animation: kt-drift 7s ease-in-out 1.2s infinite alternate; }

/* A real 1px box, not an empty div — a zero-area IntersectionObserver target is
   a corner of the spec worth not relying on. */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* prefers-reduced-motion is honoured twice: the global rule at the top collapses
   every duration, and this removes the offsets and the drift so nothing waits
   its turn or moves on its own. Elements still get `.is-in`, so they are simply
   there. */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition-delay: 0ms !important; }
  .js .hero__art.is-in img { animation: none; }
  .btn:hover, .tile:hover, :is(.clients, .trust__logos) img:hover { transform: none; }
}

/* ------------------------------------------------------------ TEKCS badge --
 *
 * KloudTech is part of TEK Consulting Services, and saying so is worth more
 * than a footer link: it is where a decade of consulting behind a small
 * Bloemfontein company comes from. The mark is the TEKCS one, keyed off its own
 * navy card so it sits on our surfaces.
 */
.parent-badge {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .45rem 1rem .45rem .6rem;
  border-radius: 999px;
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
  color: #d9d2e6; text-decoration: none;
  font-size: .82rem; font-weight: 500;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.parent-badge:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.34); color: #fff; }
.parent-badge img { width: 26px; height: auto; opacity: .95; }
.parent-badge strong { color: #fff; font-weight: 650; }

/* `--light` dates from when some sections were white and the white TEKCS mark
   needed its own dark chip. Nothing is white any more, so it is just a slightly
   firmer outline of the same badge. */
.parent-badge--light { border-color: var(--line-2); }

.group__logo {
  display: block; width: 190px; margin-bottom: 1.75rem;
  /* The mark is white artwork. It no longer needs a dark ground, but it does
     need to read as a thing you can click. */
  background: var(--on-dark-fill); border: 1px solid var(--on-dark-line);
  border-radius: var(--r-sm);
  padding: .85rem 1.1rem;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease;
}
.group__logo:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.group__logo img { width: 100%; }

/* ==========================================================================
   More motion
   ==========================================================================
   Everything below is compositor-only — opacity, transform, and background
   position on a decorative layer. Nothing animates a property that forces
   layout, so none of it costs a frame on a cheap phone. All of it is switched
   off under prefers-reduced-motion at the bottom of this file. */

/* A thread of the brand gradient across the top, showing how far down you are.
   Driven by a CSS custom property the script sets, so the paint stays on the
   compositor and the script only writes a number. */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 60;
  background: var(--brand-gradient);
  transform: scaleX(var(--scrolled, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

/* The dark fields drift. Two large soft lights moving slowly in opposite
   directions — at this size and speed it reads as depth rather than as
   something moving, which is the point. */
@keyframes kt-field {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
.hero::after, .cta::before, .section--dark::before {
  animation: kt-field 22s ease-in-out infinite;
  will-change: transform;
}
.cta::before, .section--dark::before {
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(45% 60% at 20% 25%, rgba(138, 36, 115, .42) 0%, transparent 62%),
    radial-gradient(40% 55% at 82% 78%, rgba(229, 105, 36, .24) 0%, transparent 58%);
  pointer-events: none;
}
.section--dark { position: relative; overflow: hidden; }
.section--dark > .wrap, .cta > .wrap { position: relative; z-index: 1; }

/* The headline arrives a word at a time. Each word is its own span so the
   transform is per-word rather than per-letter — letters are a gimmick at this
   size, words read as the sentence assembling itself. */
.js .hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  transition: opacity .7s cubic-bezier(.22,.68,.3,1), transform .7s cubic-bezier(.22,.68,.3,1);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.js .hero h1.is-in .word { opacity: 1; transform: none; }

/* The hero artwork drifts against the scroll. The script writes one number; the
   browser does the rest. */
.hero__art img { will-change: transform; }
.js .hero__art.is-in img { transform: translate3d(0, var(--parallax, 0px), 0); }

/* Reveals gain a touch of scale, which reads as arriving rather than sliding. */
.js [data-reveal] { transform: translateY(22px) scale(.985); }
.js [data-reveal="left"]  { transform: translateX(-28px) scale(.985); }
.js [data-reveal="right"] { transform: translateX(28px) scale(.985); }
.js [data-reveal].is-in   { transform: none; }
/* Narrow screens stack the side-entering panels anyway, and the 28px sideways
   offset pokes past the viewport — enough to raise a horizontal scrollbar until
   they land. Bring them in from below instead. */
@media (max-width: 860px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(22px) scale(.985); }
}

/* Micro-motion on the tiles: the icon lifts and warms with the card. */
.tile__icon { transition: transform .22s cubic-bezier(.2,.7,.3,1), background-color .22s ease, color .22s ease; }
.tile:hover .tile__icon { transform: translateY(-3px) scale(1.06); background: rgba(255, 255, 255, .14); }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .cta::before, .section--dark::before, .footer::before { animation: none; }
  .js .hero h1 .word { opacity: 1; transform: none; transition-delay: 0ms !important; }
  .js .hero__art.is-in img { transform: none; }
  .js [data-reveal], .js [data-reveal="left"], .js [data-reveal="right"] { transform: none; }
  .tile:hover .tile__icon { transform: none; }
  .progress { display: none; }
}
