/* Pavati website
   Plain CSS, no build step. Colours and fonts follow the Pavati brand
   specification (palette "Clear water", Sora and Manrope).

   Contents
   1. Fonts
   2. Colours and measures
   3. Base
   4. Layout helpers
   5. Header and navigation
   6. Buttons, links, labels, pills
   7. The link motif (line and node)
   8. Home
   9. Page header, Services, AITSM, About, Contact, 404
   10. Footer
   11. Reduced motion, print
*/

/* 1. Fonts (self-hosted, from Fontsource) ------------------------------- */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/sora-latin-ext-600-normal.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;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+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: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/sora-latin-ext-700-normal.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;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/sora-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-latin-ext-400-normal.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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/manrope-latin-400-normal.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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-latin-ext-500-normal.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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-latin-ext-700-normal.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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* 2. Colours and measures ------------------------------------------------ */

:root {
  --deep: #05404A;      /* Deep teal: headings, dark surfaces */
  --aqua: #2CD4D9;      /* Aqua: the node, accents, buttons on dark */
  --teal: #0B7C8A;      /* Teal: links, labels */
  --foam: #D6F4F5;      /* Foam: soft panels */
  --paper: #F2F9FA;     /* Paper: light bands */
  --ink: #062A30;       /* Ink: body text */
  --muted: #4D6D73;     /* Muted: secondary text */
  --line: #CFE3E5;      /* Line: rules and borders */
  --seaglass: #A5D3D6;  /* Seaglass: secondary text on Deep teal */
  --white: #FFFFFF;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --gap: clamp(1.75rem, 4vw, 3.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --radius: 12px;
  --header-h: 4.25rem;

  /* Roles. Pages use these, so that light and dark mode only differ here. */
  --bg: var(--white);          /* page background */
  --bg-soft: var(--paper);     /* light bands */
  --panel: var(--foam);        /* soft panels */
  --band-soft: var(--foam);    /* full-width soft bands */
  --text: var(--ink);          /* body text */
  --heading: var(--deep);      /* headings, strong lines */
  --link: var(--teal);         /* links, labels, focus */
  --subtle: var(--muted);      /* secondary text */
  --border: var(--line);       /* rules and borders */
  --soft-line: var(--seaglass);/* decorative lines */
  --chip-line: var(--deep);    /* outline of the chips in the hero drawing */
  --tile: var(--deep);         /* the tile behind the P in the hero drawing */
  --btn-bg: var(--deep);
  --btn-fg: var(--white);
  --btn-hover-bg: var(--ink);
  --btn-hover-fg: var(--white);
  --footer-bg: var(--deep);
  --rule: var(--border);
  color-scheme: light;
}

/* Dark mode. Used when the visitor's device asks for it, or when the visitor
   chooses it with the switch in the header (data-mode on the html element).
   The two blocks below must stay identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) {
    --bg: #04222A;
    --bg-soft: #062B33;
    --panel: #0A3943;
    --band-soft: #062B33;
    --text: #DCECEE;
    --heading: #FFFFFF;
    --link: #2CD4D9;
    --subtle: #9CBFC3;
    --border: #154852;
    --soft-line: #2A6570;
    --chip-line: #7FB9BF;
    --tile: #0A5562;
    --btn-bg: #2CD4D9;
    --btn-fg: #05404A;
    --btn-hover-bg: #FFFFFF;
    --btn-hover-fg: #05404A;
    --footer-bg: #021519;
    color-scheme: dark;
  }
}
:root[data-mode="dark"] {
  --bg: #04222A;
  --bg-soft: #062B33;
  --panel: #0A3943;
  --band-soft: #062B33;
  --text: #DCECEE;
  --heading: #FFFFFF;
  --link: #2CD4D9;
  --subtle: #9CBFC3;
  --border: #154852;
  --soft-line: #2A6570;
  --chip-line: #7FB9BF;
  --tile: #0A5562;
  --btn-bg: #2CD4D9;
  --btn-fg: #05404A;
  --btn-hover-bg: #FFFFFF;
  --btn-hover-fg: #05404A;
  --footer-bg: #021519;
  color-scheme: dark;
}

/* 3. Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.35rem + 3.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); }
h3 { font-size: clamp(1.1875rem, 1.1rem + 0.3vw, 1.3125rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; max-width: 33em; text-wrap: pretty; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--heading); }

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--panel); color: var(--text); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--deep);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
  transform: translateY(-110%);
}
.skip:focus { transform: none; color: var(--white); outline-color: var(--aqua); }

/* 4. Layout helpers -------------------------------------------------------- */

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

.section { padding-block: var(--section); }
.section--paper { background: var(--bg-soft); --rule: var(--soft-line); }
.section--tight-top { padding-top: 0; }
.section > .wrap:not(.split) > h2 { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section > .wrap > .rule { margin-bottom: var(--section); }

/* Heading on the left, content on the right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1.5rem var(--gap);
  align-items: baseline;
}
.split--top { align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--center { align-items: center; }

.stack > * + * { margin-top: 1.25rem; }

@media (max-width: 55.99em) {
  .split, .split--even, .split--wide-left { grid-template-columns: minmax(0, 1fr); }
}

/* 5. Header and navigation ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-h);
}
.brand { display: block; margin-right: auto; padding-block: 0.5rem; border-radius: 4px; }
.brand img { width: 7.25rem; height: auto; }
/* Two logos in the header: the colour one for light mode, the reversed one for dark mode. */
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .brand .logo-light { display: none; }
  :root:not([data-mode="light"]) .brand .logo-dark { display: block; }
}
:root[data-mode="dark"] .brand .logo-light { display: none; }
:root[data-mode="dark"] .brand .logo-dark { display: block; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding-inline: 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.site-nav a:hover { color: var(--link); }
.site-nav a[aria-current="page"] { color: var(--heading); font-weight: 700; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.875rem;
  right: 0.875rem;
  bottom: -1px;
  height: 2px;
  background: var(--heading);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}
.lang a {
  display: block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: var(--subtle);
  text-decoration: none;
}
.lang a:hover { color: var(--heading); }
.lang a[aria-current] { background: var(--panel); color: var(--heading); }

/* The switch between light and dark mode. Needs JavaScript, so it is hidden without it. */
.theme-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--subtle);
  font: inherit;
  cursor: pointer;
}
.js .theme-btn { display: inline-flex; }
.theme-btn:hover { background: var(--panel); color: var(--heading); }
.theme-btn svg { flex: none; width: 1.25rem; height: 1.25rem; }
.theme-btn__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--heading);
  border-radius: 999px;
  background: var(--bg);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.2;
  cursor: pointer;
}
.menu-btn__icon { position: relative; width: 1rem; height: 0.625rem; }
.menu-btn__icon::before,
.menu-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.menu-btn__icon::before { top: 1px; }
.menu-btn__icon::after { bottom: 1px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 51.99em) {
  :root { --header-h: 3.75rem; }
  .site-header__inner { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
  .js .site-header__inner { flex-wrap: nowrap; }
  .brand img { width: 6.5rem; }
  html:not(.js) .site-header { position: static; }
  .lang { order: 2; padding-left: 0; border-left: 0; }
  .lang a { padding: 0.45rem 0.65rem; }
  .menu-btn { order: 3; }
  .site-nav { order: 4; flex-basis: 100%; padding-bottom: 0.5rem; }
  .site-nav ul { display: block; }
  .site-nav li + li { border-top: 1px solid var(--border); }
  .site-nav a {
    height: auto;
    padding: 0.9rem 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--heading);
  }
  .site-nav a[aria-current="page"] { font-weight: 600; color: var(--link); }
  .site-nav a[aria-current="page"]::after {
    left: auto;
    right: 0.25rem;
    bottom: auto;
    top: 50%;
    width: 0.5625rem;
    height: 0.5625rem;
    margin-top: -0.28rem;
    border-radius: 50%;
    background: var(--aqua);
  }

  /* With JavaScript the navigation is a panel that opens under the header. */
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.25rem var(--gutter) 0.75rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .js .site-nav.is-open { display: block; }

  /* In the menu panel the switch is a row with its label. */
  .theme-btn {
    justify-content: flex-start;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0.9rem 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--heading);
  }
  .theme-btn:hover { background: transparent; color: var(--link); }
  .theme-btn__text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

/* 6. Buttons, links, labels, pills ---------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9688rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover-bg); border-color: var(--btn-hover-bg); color: var(--btn-hover-fg); }
.btn--outline { background: transparent; border-color: var(--heading); color: var(--heading); }
.btn--outline:hover { background: var(--panel); color: var(--heading); }
.btn--aqua { background: var(--aqua); border-color: var(--aqua); color: var(--deep); }
.btn--aqua:hover { background: var(--white); border-color: var(--white); color: var(--deep); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; max-width: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--link);
  text-decoration: none;
}
.link-arrow span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; text-decoration-color: var(--soft-line); }
.link-arrow:hover span { text-decoration-color: currentColor; }
.link-arrow svg { flex: none; width: 1.25rem; height: 0.75rem; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--aqua);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua);
}

.lead { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); line-height: 1.55; }

/* 7. The link motif: a thin line and a node ------------------------------ */

/* A short line that ends in a node. */
.motif {
  display: block;
  position: relative;
  width: 3rem;
  height: 1px;
  margin-bottom: 1.5rem;
  background: var(--rule);
}
.motif::after {
  content: "";
  position: absolute;
  right: -0.25rem;
  top: 50%;
  width: 0.5625rem;
  height: 0.5625rem;
  margin-top: -0.28125rem;
  border-radius: 50%;
  background: var(--aqua);
}

/* A divider: a node, then a line across the page. */
.rule {
  position: relative;
  height: 1px;
  background: var(--rule);
}
.rule::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.5625rem;
  height: 0.5625rem;
  margin-top: -0.28125rem;
  border-radius: 50%;
  background: var(--aqua);
}

/* A list with node bullets. */
.nodes li {
  position: relative;
  padding-left: 2rem;
  max-width: 33em;
}
.nodes li + li { margin-top: 0.875rem; }
.nodes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.825em;
  width: 0.875rem;
  height: 1px;
  background: var(--link);
}
.nodes li::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.825em;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border: 1.5px solid var(--link);
  border-radius: 50%;
  background: var(--bg);
}

/* 8. Home -------------------------------------------------------------------- */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.125rem, 0.9rem + 3.6vw, 3.75rem);
}
.hero .lead { margin-top: 1.5rem; max-width: 30em; }
.hero .actions { margin-top: 2.25rem; }
.hero__figure svg { width: 100%; }

@media (max-width: 55.99em) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__figure { max-width: 27rem; }
}

/* The link diagram in the hero. */
.dia-line { fill: none; stroke: var(--soft-line); stroke-width: 1.5; }
.dia-node { fill: var(--bg); stroke: var(--link); stroke-width: 1.5; }
.dia-chip { fill: var(--bg); stroke: var(--chip-line); stroke-width: 1.5; }
.dia-tile { fill: var(--tile); }
.dia-chip-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  fill: var(--heading);
  text-anchor: middle;
}
.dia-dot { fill: var(--aqua); }
.dia-dot--still { display: none; }

/* What we do: three columns, no boxes. */
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem var(--gap);
}
.cols3 h3 { margin-bottom: 0.625rem; }
.more { margin-top: clamp(2.25rem, 4vw, 3.25rem); max-width: none; }

/* Sectors: a plain list of examples, one row per sector. */
.section > .wrap:not(.split) > h2 + .sectors__intro { margin-top: calc(-1 * clamp(1.25rem, 3vw, 2.25rem)); }
.sectors__intro { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 40em; color: var(--subtle); }
.sectors { margin: 0; border-bottom: 1px solid var(--border); }
.sectors__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0.375rem var(--gap);
  padding-block: 1.375rem;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.sectors dt {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--heading);
}
.sectors dd { margin: 0; max-width: 40em; }
@media (max-width: 47.99em) {
  .sectors__row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 47.99em) {
  .cols3 { grid-template-columns: minmax(0, 1fr); }
}

/* How we work: three steps on one line. */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--gap);
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: calc(66.6667% + var(--gap) * 2 / 3);
  height: 1px;
  background: var(--rule);
}
.step { position: relative; padding-top: 4rem; }
.step__num {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--heading);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--heading);
}
.step h3 { margin-bottom: 0.625rem; }

@media (max-width: 47.99em) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2.25rem 0; }
  .steps::before { display: none; }
  .step { padding-top: 0.25rem; padding-left: 3.75rem; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: -2.25rem;
    width: 1px;
    background: var(--rule);
  }
}

/* Built on Microsoft: outlined pills. */
.tools { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.tools li {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--soft-line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--heading);
}
.microsoft h2 + p { margin-top: 1rem; }

/* Full-width bands. */
.band { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band--deep { background: var(--deep); color: var(--white); }
.band--deep h1, .band--deep h2, .band--deep h3 { color: var(--white); }
.band--deep a:not(.btn) { color: var(--white); }
.band--deep :focus-visible { outline-color: var(--aqua); }
.band--foam { background: var(--band-soft); --rule: var(--soft-line); }

.aitsm-band__id > * + * { margin-top: 1.5rem; }
.aitsm-band__id img { width: clamp(13rem, 24vw, 17rem); }
.aitsm-band .lead { max-width: 30em; }
.aitsm-band .actions { margin-top: 2rem; }

.contact-band h2 { max-width: 16em; }
.contact-band h2 + p { margin-top: 1rem; }
.big-links li + li { margin-top: 0.5rem; }
.big-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4375rem, 1.1rem + 1.5vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}
.big-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--link); }

/* 9. Inner pages ------------------------------------------------------------- */

.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.75rem, 6vw, 4.5rem);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-head .intro {
  margin-top: 1.25rem;
  max-width: 31em;
  font-size: clamp(1.1875rem, 1.1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

/* Services */
.service { padding-block: clamp(3rem, 6vw, 4.5rem); }
.service + .service { padding-top: 0; }
.service .rule { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.service h2 { margin-bottom: 1.125rem; }
.service__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem var(--gap);
  align-items: start;
}
.example {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel);
  border-radius: var(--radius);
}
.example .label { margin-bottom: 1.125rem; color: var(--heading); }
.service--simple h2 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.625rem); margin-bottom: 0; }
.service--simple .service__grid { row-gap: 0.875rem; align-items: baseline; }

@media (max-width: 55.99em) {
  .service__grid { grid-template-columns: minmax(0, 1fr); }
}

.closing h2 + p { margin-top: 1rem; }
.closing .actions { margin-top: 2rem; }

/* AITSM */
.page-head--deep {
  background: var(--deep);
  border-bottom: 0;
  color: var(--white);
}
.page-head--deep h1 { color: var(--white); max-width: 14em; }
.page-head--deep .intro { color: var(--seaglass); max-width: 33em; }
.page-head--deep :focus-visible { outline-color: var(--aqua); }
.aitsm-id {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.aitsm-id img { width: clamp(11rem, 20vw, 14rem); }

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.5rem;
  max-width: 40rem;
}
.flow li {
  position: relative;
  padding-top: 1.75rem;
  padding-right: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem);
  line-height: 1.3;
  color: var(--heading);
}
.flow li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.4375rem;
  height: 1px;
  background: var(--soft-line);
}
.flow li:last-child::before { display: none; }
.flow li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.9375rem;
  height: 0.9375rem;
  border: 1.5px solid var(--heading);
  border-radius: 50%;
  background: var(--bg);
}
.flow li:last-child::after { border-color: var(--heading); background: var(--aqua); }

.nodes--2col { columns: 2; column-gap: var(--gap); }
.nodes--2col li { break-inside: avoid; margin-top: 0; margin-bottom: 1rem; }
@media (max-width: 47.99em) {
  .nodes--2col { columns: 1; }
}

.panel {
  --pad: clamp(1.75rem, 4vw, 3rem);
  padding: var(--pad);
  border-radius: var(--radius);
}
/* Keep the text in a panel on the same column as the text around it. */
.panel.split { grid-template-columns: calc((100% + 2 * var(--pad) - var(--gap)) / 3 - var(--pad)) minmax(0, 1fr); }
@media (max-width: 55.99em) {
  .panel.split { grid-template-columns: minmax(0, 1fr); }
}
.panel--foam { background: var(--panel); }
.panel--paper { background: var(--bg-soft); }

.follow .actions { margin-top: 1.75rem; }
.plain-link { font-weight: 500; }

/* About */
.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem var(--gap);
}
.principles h3 { margin-bottom: 0.5rem; }
@media (max-width: 39.99em) {
  .principles { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
.details { font-size: 1.125rem; line-height: 1.6; }
.details p + p { margin-top: 1rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--gap);
  align-items: start;
}
.contact-grid dl { margin: 0; }
.contact-grid dl > div {
  padding-block: 1.5rem 2.25rem;
  border-top: 1px solid var(--border);
}
.contact-grid dt { margin-bottom: 0.5rem; }
.contact-grid dd { margin: 0; }
.contact-grid .big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--heading);
}
.contact-grid .big a { color: inherit; text-decoration: none; white-space: nowrap; }
.contact-grid .big a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--link); }
.contact-grid .plain { font-size: 1.125rem; line-height: 1.6; }
@media (max-width: 47.99em) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 404 */
.notfound { padding-block: var(--section); }
.notfound .split { gap: 3rem var(--gap); }
.notfound h1, .notfound h2 { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.notfound p { margin-top: 1rem; }
.notfound p + p { margin-top: 1.5rem; }

/* 10. Footer ------------------------------------------------------------------ */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--footer-bg);
  color: var(--seaglass);
  font-size: 0.9375rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer :focus-visible { outline-color: var(--aqua); }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem var(--gap);
}
.site-footer__brand img { width: 8.25rem; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 20em; font-size: 1rem; color: var(--white); }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.site-footer__nav a { font-family: var(--font-head); font-weight: 600; font-size: 0.9375rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem var(--gap);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--teal);
}
.site-footer__details { display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.site-footer__details > * + *::before {
  content: "\00B7";
  margin-inline: 0.6rem;
  color: var(--seaglass);
}
.site-footer__details a { color: var(--seaglass); }
.site-footer__details a:hover { color: var(--white); }
.site-footer__copy { max-width: none; }

@media (max-width: 47.99em) {
  .site-footer__details { display: block; }
  .site-footer__details > * { display: block; }
  .site-footer__details > * + *::before { content: none; }
  .site-footer__nav ul { gap: 0.5rem 1.5rem; }
}

/* 11. Reduced motion, print --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .dia-dot--moving { display: none; }
  .dia-dot--still { display: block; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header { position: static; }
  .menu-btn, .theme-btn, .lang, .skip { display: none !important; }
  .dia-dot--moving { display: none; }
}
