/* TestTech Global, variant E "Global". One stylesheet for all four pages.
   Their logo globe in 3D inside the low-poly frame from their current site, on their blue.
   Lexend after the wordmark; headings at medium weight, body light. Motion is FirstFlag's
   stack (Lenis + GSAP ScrollTrigger). Phone numbers set in Lexend, tabular. */

:root {
  --navy-950: #020D20;
  --navy-900: #041C40;
  --navy-800: #0B2C5C;
  --ink: #0E1C36;
  --ink-2: #44546C;
  --sky: #56C1ED;
  --sky-ink: #0E6E9C;
  --ice: #C7F1FF;
  --mark: #B42318;
  --paper: #F4F7FA;
  --rule: #DCE3EA;
  --on-dark: #F2FAFF;
  --on-dark-2: rgba(226, 242, 252, 0.84);
  --rule-dark: rgba(199, 241, 255, 0.18);
  --brand-blue: linear-gradient(150deg, #1E5DB8 0%, #104694 38%, #0A3272 68%, #041C40 100%);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --margin: clamp(20px, 4vw, 56px);
  --radius: 6px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 300 17px/1.65 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--ice); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header) + 24px); }
.wrap { width: min(100% - 2 * var(--margin), 1320px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--radius); background: #fff; }
.skip:focus { top: 12px; }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }

h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
h2 { font: 500 clamp(30px, 3.6vw, 50px)/1.1 var(--font); letter-spacing: -0.02em; }
.lede { max-width: 34em; font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); }
.h2--small { margin-bottom: 24px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.figure-gap { margin-top: 40px; }

/* Small labels */
.steps__no, .sectors__focus, .cta__contact span, .detail dt {
  font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header); }
.brand img { width: auto; height: 44px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link { display: block; padding: 10px 13px; border-radius: var(--radius); font-size: 15px; font-weight: 400; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.nav-link:hover { background: var(--paper); }
.nav-link[aria-current="page"] { color: var(--sky-ink); }
.tel { letter-spacing: 0.01em; }
.nav .tel { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1199px) { .nav-link { padding-inline: 9px; } }

/* Services drop-down: every test, documentation testing and proof reading */
.nav-group { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: -12px; z-index: 60;
  display: grid; grid-template-columns: auto auto; gap: 8px 36px;
  padding: 20px 24px; background: #fff;
  border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 24px 50px -24px rgba(14, 28, 54, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu > div { display: grid; align-content: start; gap: 2px; }
.nav-menu__title { margin-bottom: 6px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.nav-menu a { margin-left: -10px; padding: 7px 10px; border-radius: var(--radius); font-size: 14.5px; font-weight: 400; text-decoration: none; white-space: nowrap; }
.nav-menu a:hover { background: var(--paper); color: var(--sky-ink); }

.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .js .menu-btn {
    display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
    border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; color: var(--ink);
    font: 500 14px/1 var(--font); cursor: pointer;
  }
  .js .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--margin) 24px; background: #fff; border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -28px rgba(14, 28, 54, 0.35);
  }
  .js .site-header[data-menu="open"] .nav { display: flex; }
  .js .nav-link { padding: 14px 0; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 17px; }
  .js .nav .btn--sm { justify-content: center; margin: 20px 0 0; height: 48px; }
  .nav { flex-wrap: wrap; }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--radius);
  background: var(--navy-900); color: #fff;
  font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; border: 0;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--navy-800); }
.btn:active { transform: scale(0.98); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--ice); }
.btn--sm { height: 42px; margin-left: 10px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; border-bottom: 1px solid currentColor; font-weight: 400; text-decoration: none; }

/* Home hero: their blue, edge to edge, with the globe and its frame on one canvas behind the copy */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100svh - var(--header));
  background: var(--brand-blue);
  color: var(--on-dark);
}
.hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; cursor: grab; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-canvas.is-ready { opacity: 1; }
.hero.is-dragging, .hero.is-dragging .hero-canvas { cursor: grabbing; }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(64px, 10vh, 120px); pointer-events: none; }
.hero__copy { max-width: 800px; pointer-events: auto; }
.hero h1 { font: 500 clamp(40px, 4.8vw, 76px)/1.06 var(--font); letter-spacing: -0.025em; color: #fff; }
[data-line] { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
[data-line] > span { display: inline-block; }
.hero .lead { max-width: 32em; margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--on-dark-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.hero .link-arrow { color: var(--on-dark); border-color: rgba(242, 250, 255, 0.4); }
.hero .link-arrow:hover { border-color: var(--on-dark); }
@media (max-width: 1023px) {
  .hero { display: block; min-height: 0; padding-bottom: min(100vw, 620px); }
  .hero__inner { padding-block: 56px 0; }
}

/* Subpage header */
.page-head { position: relative; overflow: hidden; background: var(--brand-blue); color: var(--on-dark); padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.page-head > .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 16ch; font: 500 clamp(36px, 4.4vw, 64px)/1.08 var(--font); letter-spacing: -0.025em; color: #fff; }
.page-head .lede { margin-top: 24px; color: var(--on-dark-2); }
.page-head__globe { position: absolute; z-index: 0; right: -3%; top: 50%; width: min(38vw, 500px); height: auto; transform: translateY(-48%); pointer-events: none; }
@media (max-width: 860px) { .page-head__globe { display: none; } }
.page-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; }
.page-nav a { padding-bottom: 4px; border-bottom: 1px solid rgba(242, 250, 255, 0.35); color: var(--on-dark); text-decoration: none; }
.page-nav a:hover { border-color: var(--on-dark); }

/* Sections */
.section { padding-block: clamp(88px, 11vw, 144px); }
.section--paper { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lede { margin-top: 16px; }
.split { display: grid; gap: 28px 72px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split__head { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
}
.split__head .lede { margin-top: 20px; }
.prose p + p { margin-top: 16px; }
.prose p { max-width: 36em; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); }
.prose .strong { color: var(--ink); font-weight: 400; }

/* What we test: the section pins on desktop and brings each test into focus in turn */
.rc-section { background: #fff; padding-block: clamp(88px, 12vw, 150px); }
@media (min-width: 1024px) and (min-height: 700px) {
  .rc-section { display: flex; align-items: center; min-height: 100svh; padding-block: 72px; }
}
.rc-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .rc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; } }
.rc-copy .lede { margin-top: 20px; }
.rc-count { margin-top: 36px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.rc-count span { color: var(--ink); }
.rc-progress { max-width: 320px; height: 2px; margin-top: 10px; overflow: hidden; background: var(--rule); }
.rc-progress__bar { display: block; height: 100%; background: var(--sky-ink); transform-origin: left; }
.fx .rc-progress__bar { transform: scaleX(0); }
.rc-copy .note { margin-top: 24px; max-width: 30em; font-size: 15px; color: var(--ink-2); }
.rc-copy .link-arrow { margin-top: 20px; }

.rc { border-top: 1px solid var(--ink); }
.rc__item { border-bottom: 1px solid var(--rule); }
.rc__link { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 0 16px; padding: 18px 4px 18px 0; color: inherit; text-decoration: none; transition: background-color 0.2s; }
.rc__link:hover { background: linear-gradient(90deg, var(--paper), rgba(244, 247, 250, 0)); }
.rc__name { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; transition: color 0.3s; }
.rc__q { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.rc__do { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease), opacity 0.35s; }
.rc__do-in { min-height: 0; overflow: hidden; }
.rc__do-in::before { content: ""; display: block; height: 10px; }
.rc__do-text { display: block; max-width: 40em; padding-left: 12px; border-left: 2px solid var(--sky); font-size: 15px; line-height: 1.55; color: var(--ink); }
.fx .rc__item:not(.is-active) .rc__do { grid-template-rows: 0fr; opacity: 0; }
.rc__item.is-active .rc__name { color: var(--sky-ink); }
.rc__arrow { margin-top: 6px; color: var(--sky-ink); opacity: 0; transition: opacity 0.2s, transform 0.3s var(--ease); }
.rc__link:hover .rc__arrow, .rc__item.is-active .rc__arrow { opacity: 1; }
.rc__link:hover .rc__arrow { transform: translateX(3px); }
@media (max-width: 640px) { .rc__link { grid-template-columns: minmax(0, 1fr); } .rc__arrow { display: none; } }

/* Proof: the approved figure, stated plainly */
.proof-band { background: var(--navy-900); color: var(--on-dark); padding-block: clamp(72px, 9vw, 120px); }
.proof { display: grid; gap: 20px; align-items: end; }
@media (min-width: 640px) { .proof--figure { grid-template-columns: auto minmax(0, 1fr); gap: 32px; } }
.proof-band > .wrap > .proof--figure { max-width: 900px; }
.proof__fig { font: 300 clamp(84px, 10vw, 140px)/0.82 var(--font); letter-spacing: -0.05em; color: #fff; }
.proof__text { max-width: 26em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }

/* Test list (Services) */
.tests { border-top: 1px solid var(--ink); }
.test { display: grid; gap: 6px 32px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .test { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; } }
.test h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.test__q { margin-top: 6px; font-weight: 400; color: var(--ink); }
.test__do { color: var(--ink-2); }
.tests-note { margin-top: 24px; color: var(--ink-2); }

/* Steps, proof reading */
.steps-wrap { position: relative; padding-left: clamp(20px, 3vw, 40px); }
.steps__line { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--rule); }
.steps__line span { display: block; width: 100%; height: 100%; background: var(--sky-ink); transform-origin: top; }
.fx .steps__line span { transform: scaleY(0); }
.steps li { display: grid; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.steps li:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .steps li { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1.4fr); align-items: baseline; padding: 32px 0; } }
.steps__no { color: var(--sky-ink); }
.steps h3 { font-size: clamp(20px, 1.8vw, 25px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.steps p { max-width: 30em; color: var(--ink-2); }

.proof__grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .proof__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; } }
.proof__grid .prose { margin-top: 24px; }
.proof__grid .link-arrow { margin-top: 28px; }
.sheet { padding: clamp(32px, 4vw, 56px); border: 1px solid var(--rule); border-radius: 12px; background: #fff; box-shadow: 0 30px 70px -36px rgba(14, 28, 54, 0.3); }
.sheet__line { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; line-height: 1.5; letter-spacing: -0.015em; }
.sheet del { color: var(--mark); text-decoration-thickness: 2px; }
.sheet ins { padding: 0 6px; border-radius: 4px; background: rgba(86, 193, 237, 0.16); color: var(--sky-ink); text-decoration: none; }
.fx .sheet del { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 58% / 0% 2px; transition: background-size 0.7s var(--ease) 0.2s; }
.fx .sheet.is-in del { background-size: 100% 2px; }
.fx .sheet ins { display: inline-block; opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease) 0.9s, transform 0.5s var(--ease) 0.9s; }
.fx .sheet.is-in ins { opacity: 1; transform: none; }
.sheet + figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

.facts { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px; } }
.facts h3 { font-size: 17px; font-weight: 500; }
.facts h3 ~ h3 { margin-top: 32px; }
.facts ul { margin-top: 10px; border-top: 1px solid var(--rule); }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.facts p { margin-top: 10px; color: var(--ink-2); }

/* About and Contact */
.detail { display: grid; border-top: 1px solid var(--ink); }
.detail > div { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .detail > div { grid-template-columns: 180px minmax(0, 1fr); } }
.detail dt { padding-top: 3px; color: var(--ink-2); }
.detail dd { font-size: 18px; }
.detail a { border-bottom: 1px solid var(--rule); text-decoration: none; }
.detail a:hover { border-color: var(--ink); }

.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .hint { font-weight: 300; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #B9C4D0; border-radius: var(--radius); background: #fff; color: var(--ink);
  font: 300 17px/1.4 var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(86, 193, 237, 0.3); }
.field [aria-invalid="true"] { border-color: var(--mark); }
.field .error { min-height: 1em; font-size: 14px; font-weight: 400; color: var(--mark); }
.field--pair { display: grid; gap: 22px; }
@media (min-width: 640px) { .field--pair { grid-template-columns: 1fr 1fr; } }
fieldset.field { margin: 0; padding: 0; border: 0; }
.choices { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border: 1px solid #B9C4D0; border-radius: var(--radius); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--sky-ink); background: #F1F8FC; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--sky-ink); }
.form-note { font-size: 14px; color: var(--ink-2); }

/* Closing band, edge to edge */
.cta { position: relative; overflow: hidden; background: var(--brand-blue); color: var(--on-dark); padding-block: clamp(80px, 10vw, 136px); }
.cta > .wrap { position: relative; z-index: 1; }
.cta h2 { max-width: 16ch; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -0.025em; color: #fff; }
.cta__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 56px; margin-top: clamp(40px, 5vw, 64px); }
.cta__contact { display: grid; gap: 10px; font-size: clamp(20px, 1.9vw, 26px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; }
.cta__contact span { color: var(--on-dark-2); }
.cta__contact:hover { color: var(--ice); }
.cta .btn { margin-left: auto; }
@media (max-width: 899px) { .cta .btn { margin-left: 0; } }

/* Their polygon mesh behind the closing band */
.mesh { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }

/* Footer */
.site-footer { padding-block: 64px 36px; font-size: 15px; color: var(--ink-2); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer-logo img { width: auto; height: 44px; }
.footer-brand p { max-width: 22em; margin-top: 18px; }
.site-footer h2 { margin-bottom: 12px; font: 500 14px/1.4 var(--font); letter-spacing: 0; color: var(--ink); }
.footer-list { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14px; }

/* Scroll choreography hooks. .fx is set in <head> only when motion is allowed,
   and removed again if the motion libraries fail to load. */
.fx [data-reveal] { opacity: 0; transform: translateY(24px); }
.fx [data-reveal][data-stagger] { opacity: 1; transform: none; }
.fx [data-reveal][data-stagger] > * { opacity: 0; transform: translateY(24px); }
.fx .hero [data-line] > span { transform: translateY(108%); }
.fx .hero [data-intro] { opacity: 0; transform: translateY(18px); }

/* About: team photo slots, ready for TestTech's own photos */

/* Privacy policy: TestTech's own wording, set for reading */
.legal { max-width: 46em; }
.legal h2 { margin: 48px 0 14px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 17px; color: var(--ink-2); }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-ink); }
.legal a { color: var(--sky-ink); text-underline-offset: 3px; }
.footer-legal__links { display: flex; gap: 24px; }

/* About: TestTech's history from their current site in plain words, with space for a photo */

/* Footer: LinkedIn and email as round logo buttons */
.social { display: flex; gap: 12px; margin-top: 22px; }
.site-footer .social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff; transition: background-color 0.2s; }
.site-footer .social a:hover { background: var(--sky-ink); color: #fff; }
.social svg { width: 19px; height: 19px; fill: currentColor; }

/* Ross's changes (Nov 2026): hero badges, black-box and white-box, sector cards, credentials, form confirmation */
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.hero h1 .hl { color: var(--sky); }
.tagline { margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); font-style: italic; color: var(--ice); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges a { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px 11px 14px; border: 1px solid rgba(242, 250, 255, 0.45); border-radius: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.hero-badges a:hover { border-color: #fff; background: rgba(242, 250, 255, 0.12); }
.hero-badges .icon { width: 26px; height: 26px; }
.hero .hero-badges + .lead { margin-top: 24px; }

.section--approach { background: #EEF3F8; }
.approach-grid { display: grid; gap: 20px; }
@media (min-width: 760px) and (max-width: 1099px) { .approach-grid { grid-template-columns: 1fr 1fr; } .approach-visual { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .approach-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr) minmax(0, 1fr); align-items: stretch; gap: 0; } .approach-visual { align-self: center; } }
.approach-visual { position: relative; order: -1; }
@media (min-width: 1100px) { .approach-visual { order: 0; } }
.approach-video { position: relative; z-index: 0; display: block; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; object-fit: cover; background: #EEF3F8;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
@media (max-width: 1099px) { .approach-video { max-width: 300px; } }
@media (min-width: 1100px) {
  .approach-visual::before, .approach-visual::after { content: ""; position: absolute; top: 50%; z-index: 1; width: 16%; height: 9px; transform: translateY(-50%); opacity: 0.75;
    background: radial-gradient(circle, #1E5DB8 3px, transparent 3.6px) var(--dot) / 9px 9px no-repeat, linear-gradient(#1E5DB8, #1E5DB8) center / 100% 1px no-repeat; }
  .approach-visual::before { left: 0; --dot: right center; }
  .approach-visual::after { right: 0; --dot: left center; }
}
.section--approach .box { border-color: #D8E3F0; border-radius: 16px; background: linear-gradient(180deg, #FFFFFF, #F8FBFE); box-shadow: 0 1px 2px rgba(14, 28, 54, 0.04), 0 18px 40px -24px rgba(30, 93, 184, 0.35); }
.section--approach .box__icon { background: #1E5DB8; }
.section--approach .checks li::before { background: #1E5DB8; }
.checks strong, .lede strong { font-weight: 500; color: var(--ink); }
.box { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.box__head { display: flex; align-items: center; gap: 16px; }
.box__icon { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: #fff; }
.box h3 { font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.box > p { max-width: 34em; margin-top: 18px; color: var(--ink-2); }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; align-items: baseline; gap: 10px; font-weight: 400; }
.checks li::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--sky-ink); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }

.sector-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.sector, .sector-more > a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.sector .icon, .sector-more .icon { flex: none; width: 34px; height: 34px; color: var(--sky-ink); stroke-width: 1.4; }
.sector__name { display: block; font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.sector__sub { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-2); }
.sector-more { grid-column: 1 / -1; }
.sector-more > a { border-color: transparent; background: var(--ice); color: inherit; text-decoration: none; transition: background-color 0.2s; }
.sector-more > a:hover { background: #B4E9FB; }
.sector-more .arrow { flex: none; margin-left: auto; color: var(--navy-900); }

.creds { display: grid; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .creds { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.creds li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.creds h3 { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.creds p { max-width: 30em; margin-top: 8px; color: var(--ink-2); }

.legal__updated { color: var(--ink-2); font-size: 15px; }
.form-done { padding: 28px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
.form-done h3 { font-size: 22px; font-weight: 500; }
.form-done p { margin-top: 8px; color: var(--ink-2); }
.form-fail { margin-top: 16px; color: var(--mark); }

/* ISTQB: the testers are certified (an individual credential), so the badge says testers, never the company */
.nav-cred { display: none; align-items: center; gap: 10px; margin: 0 10px 0 6px; color: var(--sky-ink); font-size: 12.5px; font-weight: 500; line-height: 1.25; text-decoration: none; white-space: nowrap; }
.nav-cred img { width: auto; height: 40px; }
.nav-cred span { padding-left: 10px; border-left: 1px solid var(--rule); }
.nav-cred:hover span { text-decoration: underline; }
@media (min-width: 1100px) { .nav-cred { display: inline-flex; } }
.creds__logo { display: block; width: auto; height: 88px; margin-top: 28px; }

/* Credibility strip under the home hero: four plain facts (Ross, 23 Nov 2026) */
.stats { padding-block: clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--rule); }
.stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 900px) { .stats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats__list li { padding-left: 18px; border-left: 2px solid var(--sky); }
.stats__fig { font: 500 clamp(30px, 3.2vw, 44px)/1 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.stats__label { margin-top: 12px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.stats__sub { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.prose + .creds { margin-top: 40px; }
