/* =========================================================================
   iFCast Partner Network — landing page styles
   Light theme · navy ink #0F172A, brand cyan #0AA5D8 (logo #00AEEF), cool light-blue surfaces
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: var(--font); /* small labels, counts & step numbers (Inter, tabular figures) */

  /* Neutrals */
  --ink: #0f172a;          /* navy, as in the hero */
  --ink-2: #3e4a5c;
  --muted: #56657a;
  --placeholder: #8a97a8;
  --bg: #ffffff;
  --bg-soft: #f3f8fb;      /* cool off-white */
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(15, 23, 42, 0.14);

  /* Brand */
  --cyan: #00aeef;
  --green: #229d69;
  --coral: #e56369;
  --accent: #0a7a8b;          /* cyan-teal for small text (5.0:1 on white) */
  --accent-strong: #07606d;
  --accent-soft: #e8f4f9;
  --accent-mid: #0e8a96;      /* borders, icons, selected states */
  --cyan-strong: var(--accent-mid);
  --cyan-btn: linear-gradient(100deg, #0890c0 0%, #0890c0 26%, #108881 100%);   /* logo gradient, button-safe */
  --teal-deep: #0b6b7e;
  --grad: linear-gradient(100deg, #00aeef 0%, #00aeef 31%, #179a88 100%);        /* the logo gradient */
  --grad-text: linear-gradient(100deg, #0995c7 0%, #0995c7 36%, #138f85 100%);   /* logo gradient, large text */
  --grad-tint: linear-gradient(135deg, rgba(0, 174, 239, 0.13), rgba(18, 150, 140, 0.1));

  /* Feedback */
  --danger: #c9182b;
  --danger-soft: #fff3f4;

  /* Shape & depth */
  --r-sm: 10px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-card: 0 1px 2px rgba(10, 72, 96, 0.05), 0 18px 40px -18px rgba(10, 72, 96, 0.2);
  --shadow-lift: 0 1px 2px rgba(10, 72, 96, 0.05), 0 24px 48px -20px rgba(10, 72, 96, 0.26);
  --ring: 0 0 0 4px rgba(14, 138, 150, 0.2);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 144px);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent-mid);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(0, 174, 239, 0.18); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.i {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }

/* ---------- Typography ---------- */
.display {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
}

.h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.016em;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: -0.008em;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.label::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .i--arrow { transform: translateX(3px); }

.btn-primary { background: var(--cyan-btn); color: #fff; font-weight: 600; }
.btn-primary:hover { background: #0a8089; }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-secondary:hover { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.35); color: var(--accent-strong); }

.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--accent);
}
.link-arrow .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled,
.site-header:has(.menu-btn[aria-expanded="true"]) {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }

.nav-list { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); }
.header-cta {
  height: 48px;
  padding: 0 22px 0 24px;
  background: #0b6b7e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px -12px rgba(11, 107, 126, 0.8);
}
.header-cta:hover { background: #095a6a; }
.header-cta .i { width: 18px; height: 18px; }
.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  transition: color 0.2s var(--ease);
}
.nav-link { padding-block: 6px; }
.nav-link:hover,
.nav-link.is-active { color: var(--ink); }
/* a line in the logo colours (cyan to green) under the current section, and on hover */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #00aeef 0%, #00aeef 35%, #229d69 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease);
  opacity: 0;
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after { transform: scaleX(1); opacity: 1; }
/* hovering another link while one is active: the active line eases back to a thinner hint */
.nav-list:hover .nav-link.is-active:not(:hover)::after { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { .nav-link::after { transition: none; } }

.header-actions { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 999px;
  margin-right: -10px;
}
.menu-btn span {
  position: relative;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color 0.2s var(--ease);
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.menu-btn span::before { transform: translateY(-4px); }
.menu-btn span::after { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 28px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease-out);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero {
  --hero-ink: #0f172a;
  --hero-text: #3e4a5c;
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(24px, 2.8vw, 48px));
  padding-bottom: clamp(40px, 4vw, 60px);
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-ink);
  background:
    radial-gradient(48% 60% at 80% 42%, rgba(255, 255, 255, 0.95), transparent 72%),
    radial-gradient(40% 50% at 6% 6%, rgba(0, 174, 239, 0.09), transparent 70%),
    radial-gradient(45% 55% at 96% 96%, rgba(0, 174, 239, 0.05), transparent 70%),
    linear-gradient(180deg, #f4fafd 0%, #f0f7fa 55%, #f4fafd 100%);
}

/* Large, faint concentric arcs */
.hero-arcs {
  position: absolute;
  z-index: -2;
  fill: none;
  stroke: rgba(14, 138, 150, 0.12);
  stroke-width: 1;
  pointer-events: none;
}
.hero-arcs--left { width: 1100px; height: 1100px; left: -640px; top: -520px; }
.hero-arcs--right { width: 1300px; height: 1300px; right: -820px; top: -120px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* Left column leaves room at the bottom for the line drawing */
.hero-copy {
  container-type: inline-size;
  container-name: herocopy;
  padding-top: clamp(8px, 2.4vw, 32px);
  padding-bottom: clamp(170px, 15vw, 244px);
}

/* Eyebrow: a quiet text line, same language as the section labels */
.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  line-height: 1.4;
}
.eyebrow-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.005em;
}
.eyebrow-main::before {
  content: "";
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow-sub {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--muted);
}
.eyebrow-sub::before {
  content: "";
  width: 1px; height: 14px;
  background: rgba(15, 23, 42, 0.18);
}

.hero-title {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(2.25rem, 3.7vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--hero-ink);
}
.hero-title strong {
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin-top: 22px;
  font-size: clamp(1.125rem, 1.55vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--hero-ink);
}

.hero-lead {
  margin-top: 16px;
  max-width: 600px;
  font-size: clamp(1rem, 1.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--hero-text);
}

/* Stats with icons */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  margin-top: clamp(28px, 3.4vw, 44px);
}
.hero-stat {
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  column-gap: 11px;
  padding: 2px clamp(12px, 1.4vw, 22px);
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat .i {
  grid-row: span 2;
  width: 30px; height: 30px;
  max-width: none;
  color: var(--accent-mid);
  stroke-width: 1.5;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.3vw, 2.125rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--hero-ink);
}
.stat-label {
  grid-column: 2;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--hero-ink);
  white-space: nowrap;
}

/* Stats wrap to a 2×2 grid when the copy column is too narrow for one row */
@container herocopy (max-width: 690px) {
  .hero-stats { grid-template-columns: repeat(2, max-content); row-gap: 20px; }
  .hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stat:nth-child(2), .hero-stat:nth-child(4) { padding-left: clamp(20px, 3vw, 36px); }
}

/* Architectural line drawing, anchored bottom-left and bleeding off the edge */
.hero-illustration {
  position: absolute;
  z-index: -1;
  left: clamp(-140px, -5vw, 0px);
  bottom: -6px;
  width: min(63vw, 1140px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 66%, transparent 100%), linear-gradient(to right, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 66%, transparent 100%), linear-gradient(to right, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.hero-illustration .hero-bp {
  display: block;
  width: 100%;
  height: auto;
  stroke: #02a1dd;
  stroke-width: 2.1;
  opacity: 0.85;
  filter: hue-rotate(-5deg) saturate(0.92);
}
.hero-illustration .hero-bp .bp-main { stroke-width: 2.3; }
.hero-illustration .hero-bp .bp-fine { stroke-width: 1.45; stroke-opacity: 0.82; }

/* Staged blueprint construction animation on page load */
.js .hero-bp path {
  stroke-dasharray: 1.04;
  stroke-dashoffset: 1.04;
  animation: bp-draw var(--t, 0.85s) var(--ease-out) var(--d, 0s) both;
}
@keyframes bp-draw {
  0%   { stroke-dashoffset: 1.04; opacity: 0; }
  4%   { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Subtle ambient crane boom motion once construction completes */
.js .hero-bp .bp-crane-jib {
  transform-origin: 1226px 252px;
  transform-box: view-box;
  animation: bp-jib-sway 10s ease-in-out 3.2s infinite;
}
@keyframes bp-jib-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-0.45deg); }
}

/* Hero form card */
.form-card--hero {
  margin-top: 0;
  box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.12), 0 2px 6px rgba(10, 72, 96, 0.04), 0 40px 80px -36px rgba(10, 72, 96, 0.28);
}

/* Gentle highlight when a "Register" button points at the form */
.form-card--hero.is-called { animation: card-call 1.1s var(--ease-out); }
@keyframes card-call {
  0%   { box-shadow: inset 0 0 0 1.5px rgba(14, 138, 150, 0.55), 0 0 0 0 rgba(14, 138, 150, 0.35), 0 40px 80px -36px rgba(10, 72, 96, 0.28); }
  100% { box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.12), 0 0 0 18px rgba(14, 138, 150, 0), 0 40px 80px -36px rgba(10, 72, 96, 0.28); }
}

/* ---------- Form card ---------- */
.form-card {
  position: relative;
  container-type: inline-size;
  container-name: card;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line);
  padding: clamp(22px, 2.6vw, 32px);
}

.form-card-head { margin-bottom: 22px; }
.form-card-title {
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
}
.form-card-sub {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.partner-form { display: grid; gap: 18px; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; min-width: 0; }
.field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field-hint { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--placeholder); }
.input:hover { border-color: rgba(0, 0, 0, 0.24); }
.input:focus { outline: none; border-color: var(--accent-mid); box-shadow: var(--ring); }

.field.is-invalid .input,
.field.is-invalid .code-select,
.field.is-invalid .picker-trigger { border-color: var(--danger); }
.field.is-invalid .input:focus { box-shadow: 0 0 0 4px rgba(201, 24, 43, 0.14); }

.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--danger);
  line-height: 1.35;
}
.field-error:empty { display: none; }
.field-error::before {
  content: "";
  width: 14px; height: 14px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Partner type — compact selectable cards: icon tile + title, description, corner check */
.type-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.type-group legend { padding: 0; margin-bottom: 7px; }
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.type-opt { position: relative; display: block; cursor: pointer; }
.type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.type-card {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  align-content: start;
  column-gap: 9px;
  row-gap: 6px;
  height: 100%;
  padding: 10px 12px 11px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #dde6ec;
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease-out);
}
.type-opt:hover .type-card {
  box-shadow: inset 0 0 0 1px #aebfcb, 0 6px 14px -8px rgba(10, 72, 96, 0.25);
  transform: translateY(-1px);
}
.type-opt:active .type-card { transform: scale(0.985); transition-duration: 0.1s; }

/* Icon in its own tinted tile */
.type-icon {
  box-sizing: border-box;
  width: 26px; height: 26px;
  padding: 5.5px;
  border-radius: 8px;
  background: var(--grad-tint);
  color: var(--accent);
  stroke-width: 1.8;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.type-text { display: contents; }
.type-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.type-desc {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--muted);
}

/* Check badge: hangs on the card's top-right corner, only when selected */
.type-radio {
  position: absolute;
  top: -7px; right: -7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-mid) center / 12px no-repeat;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(10, 72, 96, 0.3);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s var(--ease), transform 0.35s var(--ease-out);
}

/* Selected */
.type-opt input:checked + .type-card {
  background: linear-gradient(180deg, #f1f9fc 0%, #e7f3f8 100%);
  box-shadow: inset 0 0 0 1.5px var(--accent-mid), 0 8px 18px -10px rgba(14, 138, 150, 0.5);
}
.type-opt input:checked + .type-card .type-icon { background: var(--accent-mid); color: #fff; }
.type-opt input:checked + .type-card .type-name { color: var(--accent-strong); }
.type-opt input:checked + .type-card .type-radio {
  opacity: 1;
  transform: scale(1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.type-opt input:focus-visible + .type-card { box-shadow: inset 0 0 0 1.5px var(--accent-mid), var(--ring); }
.field.is-invalid .type-card { box-shadow: inset 0 0 0 1px rgba(201, 24, 43, 0.55); }

/* Narrow cards (phones): keep 3 columns, stack icon / title / description */
@container card (max-width: 440px) {
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .type-card {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    row-gap: 2px;
    padding: 10px 8px 10px 9px;
    border-radius: 12px;
  }
  .type-icon { width: 28px; height: 28px; padding: 6px; margin-bottom: 5px; }
  .type-name { font-size: 13.5px; line-height: 1.2; letter-spacing: -0.015em; }
  .type-desc { grid-column: 1; font-size: 11.5px; line-height: 1.3; hyphens: manual; overflow-wrap: break-word; }
  .type-radio { top: -6px; right: -5px; width: 19px; height: 19px; background-size: 11px; }
}
/* Very small phones */
@container card (max-width: 300px) {
  .type-grid { gap: 5px; }
  .type-card { padding: 9px 6px 9px 7px; }
  .type-icon { width: 26px; height: 26px; padding: 5.5px; }
  .type-name { font-size: 12.5px; letter-spacing: -0.02em; }
  .type-desc { font-size: 11px; }
}

/* Two fields side by side when the card is wide enough */
.field-row { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 12px; }
@container card (max-width: 430px) {
  .field-row { grid-template-columns: 1fr; gap: 18px; }
}

/* Inputs with a leading icon */
.input-wrap { position: relative; }
.lead-icon {
  width: 18px; height: 18px;
  color: #64748b;
  stroke-width: 1.7;
  pointer-events: none;
}
.input-wrap .lead-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
.input-wrap .input { padding-left: 44px; }
.input-wrap:focus-within .lead-icon { color: var(--accent-mid); }

/* Specialisation picker */
.picker { position: relative; }
.picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: #fff;
  text-align: left;
  font-size: 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.picker-trigger:hover { border-color: rgba(0, 0, 0, 0.24); }
.picker-trigger:focus-visible { outline: none; border-color: var(--accent-mid); box-shadow: var(--ring); }
.picker-trigger[aria-expanded="true"] { border-color: var(--accent-mid); box-shadow: var(--ring); }
.picker-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-value.is-placeholder { color: var(--placeholder); }
.picker-trigger .i { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease-out); }
.picker-trigger[aria-expanded="true"] .i { transform: rotate(180deg); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips:empty { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 5px 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  animation: chip-in 0.3s var(--ease-out);
}
.chip button {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  color: var(--accent);
  transition: background-color 0.2s var(--ease);
}
.chip button:hover { background: rgba(14, 138, 150, 0.14); }
.chip .i { width: 13px; height: 13px; stroke-width: 2.25; }
@keyframes chip-in { from { opacity: 0; transform: scale(0.92); } }

.picker-panel {
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.18), 0 2px 6px rgba(10, 72, 96, 0.05), 0 28px 56px -22px rgba(10, 72, 96, 0.4);
  overflow: hidden;
  animation: panel-in 0.28s var(--ease-out);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(-4px) scale(0.99); } }

/* Search: a pill inside the panel */
.picker-search {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.picker-search .i {
  position: absolute;
  left: 25px; top: 50%;
  width: 17px; height: 17px;
  transform: translateY(-50%);
  color: var(--accent-mid);
  pointer-events: none;
}
.picker-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 40px;
  border: 0;
  border-radius: 11px;
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px transparent;
  font-size: 15px;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.picker-search input::placeholder { color: var(--placeholder); }
.picker-search input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent-mid), var(--ring); }
.picker-search input::-webkit-search-cancel-button { cursor: pointer; }

.picker-list {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 4px;
}
@supports not selector(::-webkit-scrollbar) {
  .picker-list { scrollbar-width: thin; scrollbar-color: rgba(15, 23, 42, 0.25) transparent; }
}
.picker-list::-webkit-scrollbar { width: 10px; }
.picker-list::-webkit-scrollbar-track { background: transparent; }
.picker-list::-webkit-scrollbar-thumb {
  border: 3px solid #fff;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
}
.picker-list::-webkit-scrollbar-thumb:hover { background: rgba(15, 23, 42, 0.38); }

.picker-group { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Practice-area title: a bold sticky banner with icon and count */
.picker-group-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  background: linear-gradient(90deg, #e6f3f9 0%, #eff8fb 100%);
  box-shadow: inset 0 1px 0 rgba(14, 138, 150, 0.1), inset 0 -1px 0 rgba(14, 138, 150, 0.14);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.pg-icon {
  box-sizing: border-box;
  width: 24px; height: 24px;
  padding: 4.5px;
  flex: none;
  border-radius: 8px;
  background: #fff;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.2);
  stroke-width: 1.8;
}
.pg-name { flex: 1; min-width: 0; }
.pg-meta {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.2);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.pg-meta.is-active { background: var(--accent-mid); box-shadow: none; color: #fff; }

/* Options */
.picker-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 6px;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.picker-group .picker-opt:first-of-type { margin-top: 6px; }
.picker-opt:hover { background: rgba(14, 138, 150, 0.07); }
.picker-opt:has(input:checked) { background: rgba(14, 138, 150, 0.1); color: var(--accent-strong); font-weight: 600; }
.picker-opt input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.picker-box {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  flex: none;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #c3ced6;
  color: #fff;
  transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.picker-box .i { width: 13px; height: 13px; stroke-width: 3; opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.25s var(--ease-out); }
.picker-opt:hover .picker-box { box-shadow: inset 0 0 0 1.5px var(--accent-mid); }
.picker-opt input:checked + .picker-box { background: var(--accent-mid); box-shadow: none; }
.picker-opt input:checked + .picker-box .i { opacity: 1; transform: none; }
.picker-opt input:focus-visible + .picker-box { box-shadow: inset 0 0 0 1.5px var(--accent-mid), var(--ring); }
.picker-opt.is-disabled { cursor: not-allowed; color: var(--placeholder); font-weight: 400; }
.picker-opt.is-disabled:hover { background: transparent; }
.picker-opt.is-disabled .picker-box,
.picker-opt.is-disabled:hover .picker-box { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px #e1e8ed; }

.picker-empty {
  padding: 32px 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* Footer: progress dots + count, and Done */
.picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-top: 1px solid var(--line);
  background: #fafcfd;
}
.picker-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.picker-status strong { color: var(--ink); font-weight: 700; }
.picker-dots { display: inline-flex; gap: 4px; }
.picker-dots i {
  width: 18px; height: 5px;
  border-radius: 999px;
  background: #dbe4ea;
  transition: background-color 0.25s var(--ease);
}
.picker-dots i.on { background: var(--grad); }
.picker-status.is-full { color: var(--accent); }
.picker-done {
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cyan-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 16px -8px rgba(14, 138, 150, 0.7);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}
.picker-done:hover { box-shadow: 0 10px 18px -8px rgba(14, 138, 150, 0.85); }
.picker-done:active { transform: scale(0.97); }

/* Phone — one field: icon · country code · number */
.phone-field {
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: var(--r);
  border: 1px solid #dbe4ea;
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.phone-field:hover { border-color: #b9c8d2; }
.phone-field:focus-within { border-color: var(--accent-mid); box-shadow: var(--ring); }
.phone-field .lead-icon { margin-left: 15px; flex: none; }
.phone-field:focus-within .lead-icon { color: var(--accent-mid); }
.code-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 10px 0 8px;
  border-right: 1px solid #e3eaef;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  flex: none;
}
.code-select .i { width: 15px; height: 15px; color: #64748b; }
.code-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
.phone-field input {
  flex: 1;
  width: 0;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 11px;
  border: 0;
  background: transparent;
  font-size: 15px;
}
.phone-field input::placeholder { color: var(--placeholder); }
.phone-field input:focus { outline: none; }
.field.is-invalid .phone-field { border-color: var(--danger); }

/* Consent */
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  margin-top: 1px;
  flex: none;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.22);
  color: #fff;
  transition: background-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.consent-box .i { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.consent input:checked + .consent-box { background: var(--accent); box-shadow: none; }
.consent input:checked + .consent-box .i { opacity: 1; }
.consent input:focus-visible + .consent-box { box-shadow: inset 0 0 0 1.5px var(--accent), var(--ring); }
.field.is-invalid .consent-box { box-shadow: inset 0 0 0 1.5px var(--danger); }
.consent-text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(14, 138, 150, 0.4); }
.consent-text a:hover { text-decoration-color: currentColor; }

/* Submit */
.form-actions { display: grid; gap: 10px; margin-top: 2px; }
.btn-submit { height: 50px; font-size: 16px; font-weight: 500; }
.btn-submit[aria-busy="true"] { pointer-events: none; background: #3a3a3c; }
.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
}
.form-note .i { display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; }

.form-alert {
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--danger-soft);
  box-shadow: inset 0 0 0 1px rgba(201, 24, 43, 0.18);
  font-size: 14px;
  line-height: 1.5;
  color: #8a1020;
}
.form-alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.form-card.is-success, .form-card.form-card--hero.is-success { display: flex; flex-direction: column; padding: 0 !important; gap: 0; overflow: hidden; }
.form-success { flex: 1; display: flex; flex-direction: column; text-align: center; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.success-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(26px, 4vw, 38px) 20px clamp(44px, 6vw, 58px);
  color: #fff;
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(255, 255, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #0aa6df 0%, #0b93bd 45%, #1f9a78 100%);
}
.success-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 30px);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 75%);
}
.success-rings { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.22); stroke-width: 1; animation: ring-breathe 6s ease-in-out infinite alternate; }
@keyframes ring-breathe { to { transform: scale(1.08); } }
.success-mark {
  position: relative;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  color: #0b93bd;
  box-shadow: 0 14px 30px -10px rgba(5, 60, 80, 0.5), 0 0 0 8px rgba(255, 255, 255, 0.2), 0 0 0 18px rgba(255, 255, 255, 0.1);
  animation: pop 0.7s var(--ease-out);
}
.success-mark .i { width: 30px; height: 30px; stroke-width: 2.8; }
.success-mark .i path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 0.5s 0.3s var(--ease-out) forwards; }
.success-rays { position: absolute; left: 50%; top: 60px; width: 0; height: 0; }
.success-rays i {
  position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; opacity: 0;
  animation: burst 1s 0.35s var(--ease-out) both;
}
.success-rays i:nth-child(3n) { background: #ffd1cc; width: 5px; height: 5px; }
.success-rays i:nth-child(1) { --x: -70px; --y: -14px; }
.success-rays i:nth-child(2) { --x: 72px; --y: -18px; }
.success-rays i:nth-child(3) { --x: -100px; --y: 24px; }
.success-rays i:nth-child(4) { --x: 102px; --y: 22px; }
.success-rays i:nth-child(5) { --x: -54px; --y: 70px; }
.success-rays i:nth-child(6) { --x: 56px; --y: 72px; }
.success-rays i:nth-child(7) { --x: -128px; --y: 58px; }
.success-rays i:nth-child(8) { --x: 130px; --y: 56px; }
@keyframes burst { 0% { opacity: 0; transform: translate(0, 0) scale(0.3); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1); } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.success-kicker {
  margin-bottom: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  animation: rise 0.6s 0.35s var(--ease-out) both;
}
.form-success h3 { font-family: var(--display); font-size: clamp(1.55rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; color: #fff; animation: rise 0.6s 0.42s var(--ease-out) both; }
.success-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-evenly;
  padding: 0 clamp(16px, 3vw, 28px) clamp(18px, 3vw, 26px);
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f1f9fd 100%);
}
/* fine isometric lines + soft arcs behind the content */
.success-body::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(30deg, rgba(10, 165, 216, 0.09) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-30deg, rgba(10, 165, 216, 0.09) 0 1px, transparent 1px 28px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%);
}
.success-body::after {
  content: ""; position: absolute; z-index: -1; right: -120px; bottom: -150px;
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(10, 165, 216, 0.22);
  box-shadow: 0 0 0 36px rgba(10, 165, 216, 0.04), 0 0 0 37px rgba(10, 165, 216, 0.16), 0 0 0 76px rgba(10, 165, 216, 0.03), 0 0 0 77px rgba(10, 165, 216, 0.1);
}
.success-back {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; margin-top: 16px;
  border-radius: 999px; background: #fff; color: var(--accent);
  box-shadow: inset 0 0 0 1.5px #19b3e6, 0 8px 18px -12px rgba(11, 147, 189, 0.6);
  font: 600 14px var(--font); cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  animation: rise 0.6s 1s var(--ease-out) both;
}
.success-back .i { width: 16px; height: 16px; stroke-width: 2.2; transition: transform 0.3s var(--ease-out); }
.success-back:hover { background: var(--cyan-btn); color: #fff; transform: translateY(-2px); }
.success-back:hover .i { transform: translateX(-3px); }
.success-back:focus-visible { outline: 2px solid #0994c6; outline-offset: 3px; }
.success-body > p { max-width: 380px; margin: 18px auto 0; color: var(--muted); font-size: 15px; line-height: 1.55; animation: rise 0.6s 0.5s var(--ease-out) both; }
.success-recap {
  width: 100%; margin-top: 16px; padding: 12px 14px;
  border-radius: 16px; background: #fff;
  box-shadow: inset 0 0 0 1px #d9e6ee, 0 14px 28px -18px rgba(10, 72, 96, 0.45);
  text-align: left;
  animation: rise 0.6s 0.58s var(--ease-out) both;
}
.success-recap[hidden] { display: none; }
.recap-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.recap-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font: 600 16px var(--display); }
.recap-text { display: grid; min-width: 0; flex: 1; }
.recap-text strong { font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recap-text > span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recap-tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f6ee; color: #1f9a78; }
.recap-tick .i { width: 13px; height: 13px; stroke-width: 3; }
.recap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.recap-chips:empty { display: none; }
.recap-chips li { padding: 4px 10px; border-radius: 999px; background: #e8f5fa; color: var(--accent); font-size: 12px; font-weight: 600; }
.success-next { margin-top: 20px; font: 700 11.5px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-strong); animation: rise 0.6s 0.64s var(--ease-out) both; }
.success-steps { position: relative; display: grid; gap: 14px; width: 100%; margin-top: 12px; text-align: left; }
.success-steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, #19b3e6, #229D69); opacity: 0.35; border-radius: 2px; }
.success-steps li { position: relative; display: flex; align-items: center; gap: 12px; animation: rise 0.6s var(--ease-out) both; }
.success-steps li:nth-child(1) { animation-delay: 0.7s; }
.success-steps li:nth-child(2) { animation-delay: 0.8s; }
.success-steps li:nth-child(3) { animation-delay: 0.9s; }
.st-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #19b3e6; color: var(--accent); font-size: 12.5px; font-weight: 700; }
.st-t { display: grid; font-size: 13px; line-height: 1.35; color: var(--muted); }
.st-t strong { font-size: 14px; color: var(--ink); }
/* wide card (closing form): banner on the left, details on the right, so the card keeps the form's height */
@container card (min-width: 560px) {
  .form-success { flex-direction: row; }
  .success-hero { flex: 0 0 42%; justify-content: center; padding: 28px 20px; }
  .success-body { justify-content: center; padding-top: 18px; }
  .success-body > p { margin-top: 0; }
  .success-next { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .form-success *, .success-mark { animation: none !important; }
  .success-mark .i path { stroke-dashoffset: 0; }
  .success-rays { display: none; }
}

/* ---------- Form theme (matches the hero reference) ---------- */
.form-card {
  border-radius: 24px;
  padding: clamp(20px, 2.2vw, 30px);
}
.form-card-head { margin-bottom: 16px; }
.form-card-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.form-card-sub { margin-top: 4px; font-size: 15px; line-height: 1.45; color: #56657a; }
.partner-form { gap: 13px; }
.field { gap: 6px; }
.field-label { font-weight: 600; color: #0f172a; }
.field-hint { color: #56657a; }

.input,
.picker-trigger {
  height: 42px;
  border-color: #dbe4ea;
  font-size: 15px;
}
.input:hover,
.picker-trigger:hover { border-color: #b9c8d2; }
.input:focus,
.picker-trigger:focus-visible,
.picker-trigger[aria-expanded="true"] { border-color: var(--accent-mid); }

.picker-trigger { justify-content: flex-start; gap: 12px; padding: 0 14px 0 15px; }
.picker-trigger .picker-value { flex: 1; }
.picker-trigger .picker-chevron { width: 18px; height: 18px; color: #64748b; }
.picker-trigger[aria-expanded="true"] .picker-chevron { transform: rotate(180deg); }
.picker-trigger .lead-icon { transition: color 0.2s var(--ease); }
.picker-trigger[aria-expanded="true"] .lead-icon { color: var(--accent-mid); }

.consent-box { width: 20px; height: 20px; border-radius: 6px; margin-top: 0; box-shadow: inset 0 0 0 1.5px #c3ced6; }
.consent input:checked + .consent-box { background: var(--accent-mid); }
.consent-text { font-size: 13.5px; line-height: 1.45; color: #1f2937; }
.consent-text a { color: var(--accent); font-weight: 600; text-decoration-color: rgba(10, 127, 168, 0.4); }

.chip { background: var(--accent-soft); color: var(--accent-strong); }
.chip button { color: var(--accent); }
.picker-opt input:checked + .picker-box { background: var(--accent-mid); }
.picker-status.is-full { color: var(--accent); }

/* Primary submit — brand cyan, large bold label (meets 3:1 large-text contrast) */
.btn-submit {
  height: 50px;
  border-radius: 13px;
  background: var(--cyan-btn);
  font-family: var(--display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 14px 28px -14px rgba(14, 138, 150, 0.7);
}
.btn-submit:hover { background: #0a8089; }
.btn-submit[aria-busy="true"] { background: #6fb0c6; }
.btn-submit .i { width: 20px; height: 20px; }

/* ---------- Skills strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip-track {
  display: flex;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-list { display: flex; align-items: center; flex: none; }
.strip-list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.strip-list li::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.8;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.why {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(52px, 5.6vw, 84px);
  background:
    radial-gradient(55% 60% at 100% 0%, rgba(0, 174, 239, 0.03), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.why-top {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: clamp(24px, 3.6vw, 64px);
  align-items: center;
  margin-bottom: clamp(30px, 3.6vw, 50px);
}
.why-top .h2 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 3.7vw, 3.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.why .h2 .grad-text { background: none; color: inherit; }
.why .label { font-weight: 700; color: var(--cyan-strong); }
.why .label::before { height: 3px; width: 22px; background: var(--cyan-strong); }

/* Copy block: a hairline divider on the left, two navy paragraphs */
.why-text {
  display: grid;
  gap: 16px;
  padding-left: clamp(22px, 2.6vw, 40px);
  border-left: 1px solid #d3dce3;
}
.why-text p { font-size: clamp(1rem, 1.25vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); }
.why-text p:first-child { color: var(--ink); }

.icon-tile {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 0 0 1px var(--line);
}
.icon-tile .i { width: 22px; height: 22px; }

/* ---- Pillar cards ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  min-height: 284px;
  padding: clamp(22px, 2vw, 28px);
  border-radius: 26px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3ebf0, 0 2px 4px rgba(10, 72, 96, 0.04), 0 22px 44px -26px rgba(10, 72, 96, 0.3);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.3), 0 2px 4px rgba(10, 72, 96, 0.04), 0 34px 56px -26px rgba(8, 110, 150, 0.42);
}
.pillar > *:not(.pillar-art) { position: relative; z-index: 1; }

/* Glossy cyan icon tile */
.pillar .icon-tile {
  width: 58px; height: 58px;
  border-radius: 17px;
  color: #0b93bd;
  background: linear-gradient(150deg, #eaf9fd 0%, #c8edf7 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(0, 174, 239, 0.2), 0 12px 22px -12px rgba(0, 150, 200, 0.55);
  animation: tile-float 6s ease-in-out infinite;
  animation-delay: calc(var(--n, 0) * -1.6s);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.pillar .icon-tile .i { width: 29px; height: 29px; stroke-width: 1.9; }
.pillar:hover .icon-tile { color: #fff; background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%); }
@keyframes tile-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.pillar .h3 {
  margin-top: clamp(16px, 1.8vw, 22px);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.pillar p { margin-top: 6px; max-width: 36ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }

/* ---- Corner patterns: smooth shapes tucked into the bottom-right ---- */
.pillar-art {
  position: absolute;
  z-index: 0;
  right: 0; bottom: 0;
  width: auto;
  height: clamp(112px, 8.6vw, 144px);
  pointer-events: none;
  fill: none;
  stroke: #0aa5d8;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 100% 105% at 100% 100%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 105% at 100% 100%, #000 40%, transparent 80%);
}

/* waves */
.pillar-art--waves .art-lines path { stroke-opacity: 0.7; }
.pillar-art--waves .art-fill { stroke: rgba(10, 165, 216, 0.45); stroke-width: 0.8; }
/* ripple */
.art-ripple circle { stroke-opacity: var(--o, 0.5); }
/* mesh */
.pillar-art--mesh .art-mesh path { stroke-opacity: 0.7; stroke-width: 1; }
.pillar-art--mesh .art-mesh--b path { stroke-opacity: 0.5; }
.pillar-art--mesh { height: clamp(128px, 10vw, 164px); }

/* reveal: a simple fade + slide, so the lines are always drawn even if animation is unsupported */
.js .pillar-art { opacity: 0; transform: translate3d(18px, 18px, 0); transition: opacity 1.1s var(--ease) 0.2s, transform 1.3s var(--ease-out) 0.2s; }
.js .pillar.is-visible .pillar-art { opacity: 1; transform: none; }
.js .pillar.is-visible:hover .pillar-art { transform: scale(1.05); transition-delay: 0s; }

/* then keep them gently alive */
.art-waves .art-fill { animation: wave-sway 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1.4s); }
.art-lines { animation: art-drift 9s ease-in-out infinite alternate; }
@keyframes wave-sway { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-14px, 4px, 0); } }
@keyframes art-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-12px, 5px, 0); } }
.art-ripple circle { transform-origin: 320px 200px; transform-box: view-box; animation: ripple 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.5s); }
@keyframes ripple { 0%, 100% { transform: scale(0.95); } 50% { transform: scale(1.04); } }
.art-mesh { animation: mesh-sway 10s ease-in-out infinite alternate; }
.art-sheet { animation: mesh-sway 10s ease-in-out infinite alternate; }
.art-mesh--b { animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes mesh-sway { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(9px, -5px, 0); } }

/* ---------- Who ---------- */
.who {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(52px, 5.4vw, 80px);
  background: var(--bg-soft);
}

.who-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 3.2vw, 40px);
}
.who-head .h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.who .label { font-weight: 700; color: var(--cyan-strong); }
.who .label::before { height: 3px; width: 22px; background: var(--cyan-strong); }
.who-intro {
  max-width: 54ch;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}
.who-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.2vw, 30px);
  border-radius: 26px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3ebf0, 0 2px 4px rgba(10, 72, 96, 0.04), 0 22px 44px -26px rgba(10, 72, 96, 0.3);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.who-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.3), 0 2px 4px rgba(10, 72, 96, 0.04), 0 34px 56px -26px rgba(8, 110, 150, 0.42);
}
.who-card > *:not(.who-art) { position: relative; z-index: 1; }

/* icon tile: the original flat tinted square */
.who-card .icon-tile {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-tint);
  box-shadow: none;
  color: var(--accent);
}
.who-card .icon-tile .i { width: 22px; height: 22px; stroke-width: 1.75; }

.who-kicker {
  align-self: flex-start;
  margin-top: 18px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 165, 216, 0.1);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0a7a93;
}
.who-title {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.who-fit { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.who-fit strong { color: var(--ink); font-weight: 700; }

.who-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  margin-bottom: 22px;
  border-top: 1px solid #e6edf2;
}
.who-list li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); line-height: 1.4; }
.who-list .i {
  box-sizing: content-box;
  width: 11px; height: 11px;
  padding: 3px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(10, 165, 216, 0.12);
  color: #0a8aad;
  stroke-width: 3;
  flex: none;
}

.who-card .btn {
  margin-top: auto;
  height: 46px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px #d3dee6;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.who-card:hover .btn,
.who-card .btn:focus-visible {
  color: #fff;
  background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%);
  box-shadow: 0 12px 22px -12px rgba(11, 147, 189, 0.7);
}

/* ---- corner patterns (top-right) ---- */
.who-art {
  position: absolute;
  z-index: 0;
  right: 0; top: 0;
  width: auto;
  height: clamp(104px, 8vw, 132px);
  pointer-events: none;
  fill: none;
  stroke: #0aa5d8;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  -webkit-mask-image: radial-gradient(ellipse 100% 105% at 100% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 105% at 100% 0%, #000 40%, transparent 80%);
}
.who-art--mesh { height: clamp(120px, 9.4vw, 150px); }
.who-art--waves .art-lines path { stroke-opacity: 0.7; }
.who-art--waves .art-fill { stroke: rgba(10, 165, 216, 0.45); stroke-width: 0.8; }
.who-art--mesh .art-mesh path { stroke-opacity: 0.7; stroke-width: 1; }
.who-art--mesh .art-mesh--b path { stroke-opacity: 0.5; }

.js .who-art { opacity: 0; transform: translate3d(18px, -18px, 0); transition: opacity 1.1s var(--ease) 0.2s, transform 1.3s var(--ease-out) 0.2s; }
.js .who-card.is-visible .who-art { opacity: 1; transform: none; }
.js .who-card.is-visible:hover .who-art { transform: scale(1.05); transition-delay: 0s; transform-origin: 100% 0; }

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.benefit {
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3vw, 40px);
  background: #fff;
  transition: background-color 0.3s var(--ease);
}
.benefit:hover { background: #fcfcfd; }
.benefit-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-tint);
  color: var(--accent);
}
.benefit-icon .i { width: 22px; height: 22px; }
.benefit .h3 { margin-top: 24px; }
.benefit p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* Benefits: flat white with a fine pattern, clearer card text */
.benefits-sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 5.6vw, 84px);
  background: #ffffff;
}
/* isometric line grid, top-right */
.benefits-sec::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: min(62%, 860px);
  height: 340px;
  background-image:
    repeating-linear-gradient(30deg, rgba(10, 165, 216, 0.2) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-30deg, rgba(10, 165, 216, 0.2) 0 1px, transparent 1px 30px);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 100% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 100% at 100% 0%, #000 0%, transparent 72%);
}
/* soft arcs, bottom-left */
.benefits-sec::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; bottom: 0;
  width: 420px; height: 300px;
  background: repeating-radial-gradient(circle at 0 100%, rgba(10, 165, 216, 0.24) 0 1px, transparent 1px 24px);
  -webkit-mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%);
}
.benefits-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.benefits-sec .label { font-weight: 700; color: var(--cyan-strong); }
.benefits-sec .label::before { height: 3px; width: 22px; background: var(--cyan-strong); }
.benefits-head .h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.benefits-sec .benefits { background: #e6edf2; box-shadow: 0 0 0 1px #e6edf2, 0 24px 48px -32px rgba(10, 72, 96, 0.25); }
.benefits-sec .benefit { padding: clamp(26px, 2.8vw, 38px) clamp(22px, 2.6vw, 36px); }
.benefits-sec .benefit-icon { width: 48px; height: 48px; border-radius: 14px; }
.benefits-sec .benefit-icon .i { width: 23px; height: 23px; stroke-width: 1.75; }
.benefits-sec .benefit:hover .benefit-icon { background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%); color: #fff; }
.benefit-icon { transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.benefits-sec .benefit .h3 {
  margin-top: 20px;
  font-size: clamp(1.1875rem, 1.45vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.benefits-sec .benefit p {
  margin-top: 8px;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .benefits-sec { padding-block: 40px 44px; }
  .benefits-head { margin-bottom: 22px; }
  .benefits-head .h2 { margin-top: 12px; font-size: 1.9rem; }
  .benefits-sec .benefit { padding: 22px 20px; }
  .benefits-sec .benefit .h3 { margin-top: 16px; font-size: 1.1875rem; }
  .benefits-sec .benefit p { max-width: none; font-size: 16px; }
  .benefits-sec::before { height: 220px; width: 100%; }
  .benefits-sec::after { width: 260px; height: 200px; }
}

/* ---------- Specialisations ---------- */
.spec { background: var(--bg-soft); padding-block: clamp(52px, 5.6vw, 84px); }

.spec-head { max-width: 820px; margin-bottom: clamp(28px, 3.4vw, 44px); }
.spec .label { font-weight: 700; color: var(--cyan-strong); }
.spec .label::before { height: 3px; width: 22px; background: var(--cyan-strong); }
.spec-head .h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.spec-num { color: var(--cyan-strong); }
.spec-intro {
  max-width: 54ch;
  margin-top: 16px;
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
  align-items: start;   /* an expanded card grows alone; its neighbours keep their height */
}

/* Practice-area card */
.spec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 20px 14px;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3ebf0, 0 2px 4px rgba(10, 72, 96, 0.04), 0 18px 36px -24px rgba(10, 72, 96, 0.28);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.3), 0 2px 4px rgba(10, 72, 96, 0.04), 0 30px 50px -26px rgba(8, 110, 150, 0.4);
}
/* soft contour rings tucked into the top-right corner */
.spec-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: 150px; height: 150px;
  background: repeating-radial-gradient(circle at 100% 0, rgba(10, 165, 216, 0.3) 0 1px, transparent 1px 15px);
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 100% 0, #000 0%, transparent 72%);
  opacity: 0.8;
  transition: transform 0.9s var(--ease-out), opacity 0.5s var(--ease);
}
.spec-card:hover::after { transform: scale(1.12); opacity: 1; }

.spec-card-top { align-self: stretch; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.spec-card .icon-tile {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-tint);
  box-shadow: none;
  color: var(--accent);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.spec-card .icon-tile .i { width: 20px; height: 20px; stroke-width: 1.75; }
.spec-card:hover .icon-tile { background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%); color: #fff; }

.spec-count {
  min-width: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 165, 216, 0.1);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  color: #0a7a93;
  font-variant-numeric: tabular-nums;
}
.spec-card .h3 {
  margin-top: 12px;
  font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.spec-chips {
  align-self: stretch;
  display: block;
  margin-top: 6px;
  border-top: 1px solid #e8eef3;
}
.spec-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 2px;
  border-top: 1px solid #eef3f7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), padding-left 0.3s var(--ease-out);
}
.spec-chip:first-child { border-top: 0; }
.spec-chip::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #7ccbe6;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.3s var(--ease-out);
}
.spec-chip:hover { color: var(--ink); padding-left: 6px; }
.spec-chip:hover::before { background: #0aa5d8; box-shadow: none; transform: scale(1.25); }
.spec-chip.is-new { animation: row-in 0.4s var(--ease-out) both; }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }

.spec-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  min-height: 36px;
  padding: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #0a7a93;
  background: none;
  transition: color 0.25s var(--ease);
}
.spec-toggle .i { width: 15px; height: 15px; stroke-width: 2.4; transition: transform 0.35s var(--ease-out); }
.spec-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.spec-toggle:hover { color: var(--accent-strong); }
.spec-toggle:hover span { text-decoration: underline; text-underline-offset: 3px; }
/* chips take their natural height; the toggle sits at the card bottom */
.spec-card .spec-chips { margin-bottom: 4px; }
@media (min-width: 1101px) { .spec-card .h3 { min-height: 2.5em; } }

/* "Don't see your exact skill?" card */
.spec-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 20px 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(150deg, #0a86ae 0%, #0b6b7e 100%);
  box-shadow: 0 2px 4px rgba(10, 72, 96, 0.1), 0 26px 44px -22px rgba(8, 100, 130, 0.65);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.spec-cta:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(10, 72, 96, 0.1), 0 34px 54px -22px rgba(8, 100, 130, 0.75); }
.spec-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px; bottom: -60px;
  width: 260px; height: 260px;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 18px);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  animation: cta-rings 9s ease-in-out infinite alternate;
}
@keyframes cta-rings { from { transform: scale(0.94); } to { transform: scale(1.1); } }
.spec-cta .h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: #fff;
}
.spec-cta p { margin-top: 10px; max-width: 24ch; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); }
.spec-cta-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #0a6a85;
  box-shadow: 0 10px 20px -10px rgba(0, 40, 60, 0.5);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.spec-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 24px -10px rgba(0, 40, 60, 0.6); }
.spec-cta-btn .i { width: 17px; height: 17px; stroke-width: 2.2; transition: transform 0.3s var(--ease-out); }
.spec-cta-btn:hover .i { transform: translateX(3px); }
.spec-cta-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-right: 16px; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.step:first-child .step-num { background: var(--cyan-btn); color: #fff; box-shadow: 0 8px 18px -8px rgba(14, 138, 150, 0.7); }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 60px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), rgba(0, 0, 0, 0.04));
}
.step .h3 { margin-top: 28px; }
.step p { margin-top: 8px; font-size: 16px; color: var(--muted); }

/* How it works: flat white with a fine contour-wave pattern (no fade, no tint) */
.how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(52px, 5.6vw, 84px);
  background: #ffffff;
}
.how-art {
  position: absolute;
  z-index: -1;
  top: 0; right: 0;
  width: min(80%, 1150px);
  height: 100%;
  pointer-events: none;
  fill: none;
  stroke: #0aa5d8;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.34;
  -webkit-mask-image: radial-gradient(ellipse 95% 110% at 100% 20%, #000 0%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 95% 110% at 100% 20%, #000 0%, #000 25%, transparent 80%);
}
.how-arcs {
  position: absolute;
  z-index: -1;
  left: 0; bottom: 0;
  height: min(100%, 360px);
  width: auto;
  pointer-events: none;
  fill: none;
  stroke: #0aa5d8;
  stroke-width: 1;
  stroke-opacity: 0.3;
  -webkit-mask-image: radial-gradient(circle at 0% 100%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 0% 100%, #000 0%, transparent 72%);
}
/* gentle drift: the lines slide slowly, each a little out of step */
.how-waves path { animation: how-drift 14s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -0.5s); }
@keyframes how-drift { from { transform: translate3d(-14px, 3px, 0); } to { transform: translate3d(14px, -4px, 0); } }
.how:not(.is-visible) .how-waves path { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .how-waves path { animation: none; } }
@media (max-width: 760px) {
  .how-art {
    width: 100%;
    height: 210px;
    stroke-opacity: 0.26;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 100%);
  }
  .how-arcs { height: 150px; stroke-opacity: 0.22; }
}
.how-head { max-width: 820px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.how .label { font-weight: 700; color: var(--cyan-strong); }
.how .label::before { height: 3px; width: 22px; background: var(--cyan-strong); }
.how-head .h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
}
/* Steps: numbers are always visible; text appears left to right; the current number is filled */
.js .steps .step .h3,
.js .steps .step p {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .steps .step.is-shown .h3,
.js .steps .step.is-shown p { opacity: 1; transform: none; }
.js .steps .step.is-shown p { transition-delay: 0.05s; }

/* connecting line after a step draws towards the next one, evenly */
.js .steps .step:not(:last-child)::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.45, 0, 0.25, 1);
}
.js .steps .step.is-linked:not(:last-child)::after { transform: scaleX(1); }

/* number: the cyan fill is its own layer, so it can fade smoothly in and out */
.js .how .step .step-num {
  position: relative;
  background: #fff;
  color: #0a8aad;
  box-shadow: inset 0 0 0 1.5px #bfe3f1;
  transition: color 0.3s ease;
}
.js .how .step .step-num::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.js .how .step.is-active .step-num { color: #fff; }
.js .how .step.is-active .step-num::before { opacity: 1; }

@media (max-width: 640px) {
  .js .steps .step:not(:last-child)::after { transform: scaleY(0); transform-origin: top; }
  .js .steps .step.is-linked:not(:last-child)::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .steps .step .h3, .js .steps .step p { opacity: 1; transform: none; transition: none; }
  .js .steps .step:not(:last-child)::after { transform: none; transition: none; }
  .js .how .step .step-num, .js .how .step .step-num::before { transition: none; }
}

.how .step-num { font-family: var(--display); font-weight: 700; font-size: 1rem; color: #0a8aad; box-shadow: inset 0 0 0 1.5px #bfe3f1; }
html:not(.js) .how .step:first-child .step-num { color: #fff; box-shadow: 0 8px 18px -8px rgba(11, 147, 189, 0.7); background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%); }
.how .step .h3 { font-weight: 700; color: var(--ink); }
.how .step p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 5.8vw, 84px);
  background:
    radial-gradient(48% 55% at 96% 8%, rgba(14, 174, 232, 0.08), transparent 72%),
    radial-gradient(50% 45% at 8% 96%, rgba(14, 174, 232, 0.07), transparent 70%),
    linear-gradient(180deg, #f3f9fc 0%, #f7fbfd 100%);
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4.8fr) minmax(0, 7.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.faq-aside .h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 3.5vw, 3.05rem);
  line-height: 1.06;
}
.faq-lead {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 16.5px;
  line-height: 1.52;
  color: var(--muted);
}

/* 3D Claymorphic dual speech-bubble FAQ artwork */
.faq-art {
  margin-top: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: 318px;
  pointer-events: none;
  user-select: none;
}
.faq-bubbles {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Smooth reveal on scroll */
.js .faq-bubbles {
  opacity: 0;
  transform: translateY(18px) scale(0.95);
  transition: opacity 0.9s var(--ease-out) 0.15s, transform 1s var(--ease-out) 0.15s;
}
.js .faq-aside.is-visible .faq-bubbles { opacity: 1; transform: none; }

/* Gentle 3D floating motion + live typing dot wave */
.faq-bubbles .fb-bub--front { animation: fb-float-front 5.8s ease-in-out infinite; }
.faq-bubbles .fb-bub--back { animation: fb-float-back 5.8s ease-in-out -1.8s infinite; }
.faq-bubbles .fb-floor {
  transform-box: fill-box;
  transform-origin: center;
  animation: fb-floor-breathe 5.8s ease-in-out infinite;
}
.faq-bubbles .fb-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: fb-dot-wave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.22s);
}
@keyframes fb-float-front {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes fb-float-back {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes fb-floor-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.68; }
}
@keyframes fb-dot-wave {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-3.5px) scale(1.08); }
}

/* Bottom white rounded email contact card */
.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(12px, 1.5vw, 18px);
  padding: 14px 22px 14px 15px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e4edf3, 0 10px 26px -18px rgba(10, 72, 96, 0.28);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease);
}
.faq-contact:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.28), 0 16px 32px -18px rgba(8, 110, 150, 0.36);
}
.faq-contact-icon {
  display: grid; place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(150deg, #eaf9fd 0%, #d4f1fa 100%);
  color: var(--ink);
}
.faq-contact-icon .i { width: 21px; height: 21px; stroke-width: 1.85; }
.faq-contact-copy { display: grid; gap: 2px; line-height: 1.32; }
.faq-contact-copy strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.faq-contact-copy span { font-size: 14px; color: var(--muted); }
.faq-contact-copy em { font-style: normal; font-weight: 600; color: #09a4d6; }
.faq-contact:hover .faq-contact-copy em { text-decoration: underline; text-underline-offset: 2px; }

/* Right-side interactive icon-tile FAQ accordion cards */
.faq-list {
  display: grid;
  gap: 9px;
}
.faq-item {
  position: relative;
  border-radius: 15px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5eef4, 0 4px 14px -10px rgba(10, 72, 96, 0.2);
  overflow: hidden;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease-out);
}
.faq-item:hover {
  box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.26), 0 12px 24px -18px rgba(10, 72, 96, 0.3);
}
.faq-item.is-open {
  background: #fff;
  box-shadow: inset 0 0 0 1px #c8dce7, 0 14px 30px -20px rgba(10, 72, 96, 0.28);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.016em;
  line-height: 1.35;
  color: var(--ink);
  border-radius: 15px;
}
.faq-q-icon {
  display: grid; place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(150deg, #e8f8fd 0%, #d4f2fb 100%);
  color: #08a5d8;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-q-icon .i { width: 19px; height: 19px; stroke-width: 1.9; }
.faq-item.is-open .faq-q-icon {
  background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(0, 150, 200, 0.65);
}
.faq-q-text { flex: 1; min-width: 0; }
.faq-q:hover { color: #000; }

/* Clean morphing + / - toggle button */
.faq-icon {
  position: relative;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  margin-left: auto;
  flex: none;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.25s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item:hover .faq-icon { background: var(--bg-soft); }
.faq-q[aria-expanded="true"] .faq-icon {
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px #d7e4ec;
}
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg) scaleX(0); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease-out);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 54px 16px 68px;
  font-size: 14.5px;
  color: #46586b;
  line-height: 1.58;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Closing ---------- */
.closing-section { padding-block: clamp(32px, 3.7vw, 54px); }
.closing-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4.4vw, 68px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 46px);
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(46% 70% at 82% 50%, rgba(255, 255, 255, 0.14), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(120, 225, 255, 0.22), transparent 70%),
    linear-gradient(135deg, #0b2f4d 0%, #0a5b7e 52%, #0a95bf 100%);
  box-shadow: 0 2px 6px rgba(8, 40, 70, 0.12), 0 40px 80px -40px rgba(6, 70, 105, 0.7);
  overflow: hidden;
  isolation: isolate;
}
/* fine isometric line pattern */
.closing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 30px);
  -webkit-mask-image: radial-gradient(ellipse 70% 120% at 0% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 120% at 0% 0%, #000 0%, transparent 72%);
}
/* soft arcs, slowly breathing */
.closing-panel .closing-arcs {
  width: 900px; height: 900px;
  left: -420px; bottom: -560px;
  z-index: -1;
  stroke: rgba(255, 255, 255, 0.16);
  animation: closing-breathe 12s ease-in-out infinite alternate;
}
@keyframes closing-breathe { from { transform: scale(0.96); } to { transform: scale(1.05); } }

.closing-copy .label { font-weight: 700; color: #8fe6ff; }
.closing-copy .label::before { height: 3px; width: 22px; background: #8fe6ff; }
.closing-copy .h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.closing-em {
  background: linear-gradient(100deg, #8fe6ff 0%, #5fd0f4 60%, #6fe0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.closing-copy .lead { margin-top: 16px; max-width: 460px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
.closing-points { display: grid; justify-items: start; gap: 10px; margin-top: 24px; }
.closing-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  transition: background-color 0.25s var(--ease), transform 0.3s var(--ease-out);
}
.closing-points li:hover { background: rgba(255, 255, 255, 0.18); transform: translateX(3px); }
.closing-points .tick {
  display: grid; place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  color: #0a7a93;
}
.closing-points .tick .i { width: 13px; height: 13px; stroke-width: 2.75; }

/* the form card on the panel */
.closing-panel .form-card {
  box-shadow: 0 2px 6px rgba(4, 30, 55, 0.1), 0 30px 60px -28px rgba(2, 24, 45, 0.6);
}
.closing-panel .form-card-head { margin-bottom: 12px; }
.closing-panel .form-card-title { font-size: clamp(1.3rem, 1.7vw, 1.55rem); }

/* wide form card: two columns, so the form is much shorter */
@container card (min-width: 560px) {
  .partner-form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px 14px; }
  .partner-form .input, .partner-form .phone-field input { font-size: 14.5px; }
  .partner-form > .type-group,
  .partner-form > .picker,
  .partner-form > [data-field="consent"],
  .partner-form > .form-alert,
  .partner-form > .form-actions { grid-column: 1 / -1; }
  .partner-form > .field-row { display: contents; }
}
/* medium-wide cards: the name and city fields take a full row so nothing is clipped */
@container card (min-width: 560px) and (max-width: 599px) {
  .partner-form > [data-field="name"],
  .partner-form > [data-field="location"] { grid-column: 1 / -1; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(48px, 5.4vw, 76px);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(25, 179, 230, 0.2), transparent 70%),
    radial-gradient(40% 55% at 0% 100%, rgba(25, 179, 230, 0.1), transparent 70%),
    linear-gradient(160deg, #071c31 0%, #0a2f4b 55%, #0a4563 100%);
}
/* glowing top edge */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #19b3e6 30%, #6fe0f2 55%, #19b3e6 80%, transparent 100%);
  opacity: 0.9;
}
/* fine isometric lines, top-left */
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 0% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 0% 0%, #000 0%, transparent 70%);
}
.footer-arcs {
  position: absolute;
  z-index: -1;
  right: -360px; bottom: -520px;
  width: 920px; height: 920px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
  pointer-events: none;
  animation: closing-breathe 14s ease-in-out infinite alternate;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 52px);
  padding-bottom: clamp(36px, 4vw, 52px);
}

/* brand */
.footer-logo { display: inline-block; }
.footer-logo img { height: 56px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 330px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  height: 44px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(100deg, #12a8dc 0%, #0b93bd 55%, #0e8a96 100%);
  box-shadow: 0 12px 24px -12px rgba(25, 179, 230, 0.75);
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.footer-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(25, 179, 230, 0.9); }
.footer-cta .i { width: 17px; height: 17px; stroke-width: 2.2; transition: transform 0.3s var(--ease-out); }
.footer-cta:hover .i { transform: translateX(3px); }

/* link columns */
.footer-col h4 {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fe6ff;
}
.footer-col ul { display: grid; gap: 4px; margin-top: 14px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease), transform 0.3s var(--ease-out);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.fl-ic {
  display: grid; place-items: center;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #8fe6ff;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.fl-ic .i { width: 16px; height: 16px; stroke-width: 1.8; }
/* text-only links line up with the icon links beside them */
.footer-col a:not(:has(.fl-ic)) { position: relative; padding-left: 14px; }
.footer-col a:not(:has(.fl-ic))::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #19b3e6; opacity: 0.6; transition: opacity 0.2s var(--ease), transform 0.3s var(--ease-out); }
.footer-col a:not(:has(.fl-ic)):hover::before { opacity: 1; transform: scale(1.4); }
.footer-col a:hover .fl-ic { background: #19b3e6; color: #fff; box-shadow: none; }
.footer-col a:focus-visible, .footer-cta:focus-visible, .footer-top-btn:focus-visible, .footer-logo:focus-visible { outline: 2px solid #8fe6ff; outline-offset: 3px; }

/* bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s var(--ease);
}
.ft-ic {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: background 0.25s var(--ease), transform 0.3s var(--ease-out);
}
.ft-ic .i { width: 17px; height: 17px; stroke-width: 2.2; }
.footer-top-btn:hover { color: #fff; }
.footer-top-btn:hover .ft-ic { background: #19b3e6; transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
/* Elements glide in as they enter the screen. Variants: data-reveal (rise), "zoom" (rise + scale), "left" / "right" (slide).
   --d staggers siblings. Once an element has appeared, JS removes the attribute so hover effects work normally. */
.js [data-reveal] {
  --rx: 0px;
  --ry: 28px;
  --rs: 1;
  opacity: 0;
  transform: translate3d(var(--rx), var(--ry), 0) scale(var(--rs));
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.js [data-reveal="zoom"] { --ry: 24px; --rs: 0.965; }
.js [data-reveal="left"] { --rx: -44px; --ry: 0px; }
.js [data-reveal="right"] { --rx: 44px; --ry: 0px; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { --rx: 0px; --ry: 24px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; }
  .hero-stat { padding-inline: 14px; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-list { gap: 22px; }
}

@media (max-width: 960px) {
  .nav-list { display: none; }
  .menu-btn { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid > .form-card { max-width: 640px; width: 100%; margin-inline: auto; }
  .hero-copy { padding-bottom: 0; text-align: left; }
  .hero-illustration {
    position: relative;
    left: auto;
    width: calc(100% + var(--gutter) * 2);
    margin: 8px calc(var(--gutter) * -1) -8px;
  }
  .hero-arcs--right { display: none; }

  .why-top { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .why-top .h2 { max-width: none; }
  .why-text { padding-left: 0; border-left: 0; }
  .who-grid { gap: 12px; }
  .who-card { padding: 20px 16px; }
  .who-kicker { padding: 4px 8px; font-size: 9.5px; letter-spacing: 0.03em; white-space: nowrap; }
  .who-card .btn { font-size: 14px; padding: 0 12px; }
  .who-list li, .who-fit { font-size: 14.5px; }
  .who-head .h2 { max-width: none; }
  .who-art { height: 112px; }
  .pillar .icon-tile { width: 54px; height: 54px; border-radius: 16px; }
  .pillar .icon-tile .i { width: 27px; height: 27px; }
  .pillar .h3 { font-size: 1.1875rem; }
  .pillar p { font-size: 15px; }
  .pillar { min-height: 272px; }
  .pillar-art { height: 112px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(2)::after { display: none; }

  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-aside { position: static; }
  .faq-art { display: none; }

  .closing-panel { grid-template-columns: 1fr; gap: 22px; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-card { padding: 20px; }
  .who-kicker { padding: 5px 11px; font-size: 11.5px; letter-spacing: 0.07em; white-space: normal; }
  .who-card .btn { font-size: 16px; padding: 0 22px; }
  .who-list li, .who-fit { font-size: 15.5px; }
}

@media (max-width: 700px) {
  .hero-illustration { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .input, .picker-trigger, .phone-field input, .picker-search input { font-size: 16px; }
  .partner-form .input::placeholder, .phone-field input::placeholder { font-size: 14px; }
  .brand img { height: 42px; }

  /* ---- Phone hero ---- */
  .hero { padding-top: calc(var(--header-h) + 6px); padding-bottom: 28px; }
  .hero-grid { gap: 20px; }

  /* Eyebrow: two lines, both flush left */
  .eyebrow { display: grid; gap: 4px; font-size: 14.5px; }
  .eyebrow-main { gap: 0; font-size: 14.5px; letter-spacing: 0.005em; }
  .eyebrow-main::before { display: none; }
  .eyebrow-sub { flex-basis: auto; padding: 0; gap: 0; font-size: 14.5px; }
  .eyebrow-sub::before { display: none; }

  /* Headline scales with the real text width, so its lines fill the column
     ("Join the network / building the future / of construction.") */
  .hero-title {
    margin-top: 14px;
    font-size: clamp(1.9rem, calc((100vw - 2 * var(--gutter)) * 0.127), 3rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: wrap;
  }
  /* Tagline: one sentence per line */
  .hero-tagline {
    margin-top: 16px;
    font-size: clamp(1.25rem, calc((100vw - 2 * var(--gutter)) * 0.072), 1.75rem);
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-wrap: wrap;
  }
  .hero-tagline .tl { display: block; }
  .hero-lead { max-width: none; margin-top: 10px; font-size: 17px; line-height: 1.5; text-wrap: pretty; }

  /* Stats: equal tiles in a 2×2 grid, everything aligned */
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
    justify-content: stretch;
  }
  .hero-stats .hero-stat,
  .hero-stats .hero-stat:nth-child(n) {
    grid-template-columns: 22px 1fr;
    align-items: center;
    column-gap: 9px;
    row-gap: 1px;
    padding: 7px 11px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.14), 0 6px 14px -10px rgba(10, 72, 96, 0.25);
  }
  .hero-stat .i { grid-row: span 2; width: 22px; height: 22px; stroke-width: 1.6; }
  .hero-stat .stat-num { font-size: 1.1875rem; line-height: 1.15; }
  .hero-stat .stat-label { grid-column: 2; margin-top: 0; font-size: 12px; line-height: 1.25; white-space: normal; color: var(--muted); }
  .header-cta { height: 40px; padding: 0 16px; font-size: 13.5px; }
  .header-cta .i { display: none; }


  /* ---- Phone form: tighter rhythm, same fields ---- */
  .form-card { padding: 18px 16px 16px; border-radius: 20px; }
  .form-card-head { margin-bottom: 12px; }
  .form-card-title { font-size: 1.3rem; }
  .form-card-sub { margin-top: 3px; font-size: 14px; line-height: 1.4; }
  .partner-form { gap: 10px; }
  .field { gap: 5px; }
  .field-label { font-size: 13.5px; }
  .type-group legend { margin-bottom: 5px; }
  .input, .picker-trigger, .phone-field { height: 42px; }
  .consent-text { font-size: 13px; line-height: 1.4; }
  .consent { gap: 10px; }
  .btn-submit { height: 48px; font-size: 1.0625rem; }
  .form-actions { gap: 8px; }
  .form-note { font-size: 12px; }

  /* ---- Phone: Who section, compact ---- */
  .who { padding-block: 40px 44px; }
  .who-head { margin-bottom: 22px; }
  .who-head .h2 { margin-top: 12px; font-size: 1.9rem; max-width: none; }
  .who-intro { margin-top: 12px; font-size: 16px; }
  .who-grid { gap: 12px; }
  .who-card { padding: 20px 20px 22px; border-radius: 20px; }
  .who-kicker { margin-top: 14px; }
  .who-title { font-size: 1.3125rem; }
  .who-list { margin-bottom: 18px; }
  .who-art { height: 88px; }
  .who-art--mesh { height: 96px; }

  /* ---- Phone: Why section, compact ---- */
  .why { padding-block: 40px 44px; }
  .why-top { gap: 14px; margin-bottom: 22px; }
  .why-top .h2 { margin-top: 12px; font-size: 1.9rem; }
  .why-text { gap: 10px; }
  .why-text p { font-size: 15.5px; line-height: 1.55; }
  .why-text p:first-child { font-size: 16px; line-height: 1.5; }
  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { min-height: 0; padding: 18px 20px 46px; border-radius: 20px; }
  .pillar .icon-tile { width: 48px; height: 48px; border-radius: 14px; }
  .pillar .icon-tile .i { width: 24px; height: 24px; }
  .pillar .h3 { margin-top: 12px; font-size: 1.25rem; }
  .pillar p { margin-top: 4px; max-width: none; font-size: 15px; line-height: 1.5; }
  .pillar-art { height: 68px; }
  .pillar-art--mesh { height: 78px; }
  .benefits { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; gap: 12px; }
  .spec { padding-block: 40px 44px; }
  .spec-head { margin-bottom: 22px; }
  .spec-head .h2 { margin-top: 12px; font-size: 1.9rem; }
  .spec-intro { margin-top: 12px; font-size: 16px; }
  .spec-card { padding: 20px 18px 18px; border-radius: 20px; }
  .spec-cta { padding: 22px 20px 20px; border-radius: 20px; }

  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding: 0 0 36px; }
  .step .h3 { margin-top: 10px; }
  .step p { grid-column: 2; }
  .step .step-num { grid-row: span 2; }
  .step:not(:last-child)::after,
  .step:nth-child(2)::after {
    display: block;
    top: 56px; bottom: 8px; left: 24px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, var(--line-2), rgba(0, 0, 0, 0.04));
  }

  .faq-q { font-size: 15.5px; padding: 14px 14px; gap: 12px; }
  .faq-q-icon { width: 38px; height: 38px; border-radius: 10px; }
  .faq-q-icon .i { width: 18px; height: 18px; }
  .faq-a p { padding: 0 16px 16px 64px; font-size: 14.5px; }
  .faq-contact { width: 100%; }

  .closing-section { padding-block: 24px 28px; }
  .closing-panel { border-radius: var(--r-lg); padding: 20px 12px 12px; gap: 16px; }
  .closing-copy { padding: 0 6px; }
  .closing-copy .label { font-size: 11.5px; }
  .closing-copy .h2 { margin-top: 10px; font-size: 1.65rem; line-height: 1.1; }
  .closing-copy .lead { margin-top: 10px; font-size: 14.5px; line-height: 1.5; }
  /* benefits become a light checklist instead of three tall pills */
  .closing-points { margin-top: 12px; gap: 6px; }
  .closing-points li { gap: 9px; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; font-size: 14px; }
  .closing-points li:hover { background: none; transform: none; }
  .closing-points .tick { width: 20px; height: 20px; }
  .closing-points .tick .i { width: 11px; height: 11px; }
  .closing-panel .form-card { padding: 16px 14px 14px; }
  .closing-panel .form-card-head { margin-bottom: 8px; }
  .closing-panel .form-card-sub { margin-top: 2px; font-size: 13px; }
  .closing-panel .form-card-title { font-size: 1.2rem; }
  .closing-panel .partner-form { gap: 8px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .site-footer { padding-top: 40px; }
  .footer-logo img { height: 50px; }
  .footer-brand p { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 18px 22px; }
}

/* small phones: roomy rows for the longer links, short columns side by side */
@media (max-width: 480px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > .footer-brand { order: 0; }
  .footer-top > .footer-col:nth-child(2) { order: 1; }   /* Explore */
  .footer-top > .footer-col:nth-child(4) { order: 2; }   /* Follow  */
  .footer-top > .footer-col:nth-child(3) { order: 3; grid-column: 1 / -1; }   /* Contact */
  .footer-top > .footer-col:nth-child(5) { order: 4; grid-column: 1 / -1; }   /* Legal   */
  .footer-col a { overflow-wrap: anywhere; min-height: 44px; }
  .footer-col ul { gap: 0; }
  .footer-cta { width: 100%; justify-content: center; }
  .footer-bottom { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .footer-top-btn { width: 100%; justify-content: space-between; padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .strip-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .strip-list[aria-hidden="true"] { display: none; }
  .strip-list { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-inline: var(--gutter); }
  .strip { -webkit-mask-image: none; mask-image: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-bp path { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 1; animation: none !important; }
  .js .hero-bp .bp-crane-jib { animation: none !important; }
  .js .faq-bubbles { opacity: 1; transform: none; }
  .faq-bubbles .fb-bub--front,
  .faq-bubbles .fb-bub--back,
  .faq-bubbles .fb-floor,
  .faq-bubbles .fb-dot { animation: none !important; }
}

/* ---------- Specialisations: 3D coverflow carousel (phones) ---------- */
.spec-dots { display: none; }
@media (max-width: 700px) {
  .spec { overflow: hidden; }
  .spec-grid {
    --cw: min(72vw, 320px);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 28px calc(50vw - var(--cw) / 2) 34px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    perspective: 1000px;
    perspective-origin: 50% 40%;
    scrollbar-width: none;
    outline: none;
  }
  .spec-grid::-webkit-scrollbar { display: none; }
  .js .spec-grid > .spec-card,
  .js .spec-grid > .spec-card:hover {
    flex: 0 0 var(--cw);
    width: var(--cw);
    scroll-snap-align: center;
    transform: translate3d(calc(var(--tx, 0) * 1px), 0, calc(var(--tz, 0) * 1px)) rotateY(calc(var(--ry, 0) * 1deg)) scale(var(--sc, 1));
    opacity: var(--op, 1);
    transition: box-shadow 0.4s var(--ease);
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform-origin: 50% 50%;
  }
  .spec-grid > .spec-card { padding: 22px 20px 16px; }
  .spec-grid > .spec-card:not(.is-center) { box-shadow: inset 0 0 0 1px #dbe6ed; }
  .spec-grid > .spec-card.is-center {
    box-shadow: inset 0 0 0 1px rgba(11, 147, 189, 0.35), 0 2px 4px rgba(10, 72, 96, 0.05), 0 30px 46px -24px rgba(8, 110, 150, 0.5);
  }
  .spec-grid > .spec-card .spec-chip { padding-block: 7px; font-size: 15px; }
  .spec-grid > .spec-card .h3 { min-height: 0; }

  .spec-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 4px 0 20px;
  }

  /* the CTA card, now below the carousel: compact and static */
  .spec-dots + .spec-cta {
    min-height: 0;
    padding: 20px 20px 20px;
    border-radius: 20px;
    gap: 0;
  }
  .spec-dots + .spec-cta .h3 { font-size: 1.25rem; }
  .spec-dots + .spec-cta p { max-width: none; margin-top: 6px; font-size: 15px; }
  .spec-dots + .spec-cta .spec-cta-btn { margin-top: 16px; height: 44px; padding: 0 18px; font-size: 15px; }
  .spec-dots + .spec-cta:hover { transform: none; }
  .spec-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border-radius: 999px;
    background: #c9d8e1;
    transition: width 0.35s var(--ease-out), background-color 0.3s var(--ease);
  }
  .spec-dots button.is-on { width: 26px; background: linear-gradient(90deg, #19b3e6, #0b93bd); }
  /* a larger tap area without a larger dot */
  .spec-dots button { position: relative; }
  .spec-dots button::after { content: ""; position: absolute; inset: -14px -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .spec-grid { scroll-behavior: auto; }
}

/* the form sits on a white card even inside the dark closing panel: keep its text dark */
.form-card { color: var(--ink); }
.form-card input, .form-card select, .form-card textarea, .form-card button.input { color: var(--ink); -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
.form-card input::placeholder { -webkit-text-fill-color: var(--placeholder); }
.form-card input:-webkit-autofill { -webkit-text-fill-color: var(--ink); transition: background-color 9999s; }

/* ---------- Specialisations: a true dropdown that floats over the form (the form never changes size) ---------- */
.field[data-field="specialisations"] { position: relative; z-index: 6; }
.picker-panel {
  position: absolute; z-index: 40;
  left: 0; right: 0; top: calc(46px + 8px);
  transform-origin: top center;
  box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.18), 0 4px 10px rgba(10, 72, 96, 0.06), 0 30px 60px -18px rgba(10, 72, 96, 0.45);
}
.picker.is-up .picker-panel { top: auto; bottom: calc(100% - 46px + 8px); transform-origin: bottom center; }
.picker-list { max-height: min(300px, 42vh); }
/* selected items live inside the trigger, on one line */
.chips { display: flex; margin-top: 10px; }
.chips:empty { display: none; }
.picker-panel:not([hidden]) ~ .x { display: none; }
.picker-value { flex: 1; min-width: 0; }
.picker-value:not(.is-placeholder) { color: var(--ink); font-weight: 500; }
/* no numbers: the rows themselves show what is ticked */
.pg-meta { display: none; }
.picker-status { font-size: 13px; }
.picker-status.is-full { color: var(--accent); font-weight: 600; }
@media (max-width: 480px) {
  .picker-trigger { font-size: 15px; }
  .picker-list { max-height: min(280px, 38vh); }
}

/* ---------- Specialisations dropdown: refined look ---------- */
.picker-panel {
  border-radius: 16px;
  padding: 6px 0 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(10, 72, 96, 0.1), 0 10px 20px -8px rgba(10, 72, 96, 0.18), 0 32px 64px -20px rgba(10, 72, 96, 0.4);
}
.picker-search { padding: 6px 10px 8px; border-bottom: 0; }
.picker-search input { height: 40px; border-radius: 12px; background: #f1f6f9; font-size: 14.5px; }
.picker-list { max-height: 232px; padding: 0 6px 6px; scrollbar-width: thin; scrollbar-color: #c5d3dc transparent; }
.picker-list::-webkit-scrollbar { width: 8px; }
.picker-list::-webkit-scrollbar-thumb { border: 2px solid #fff; background: #c5d3dc; }
.picker-group { margin-bottom: 2px; }
/* group titles: quiet small labels, not banners */
.picker-group-title {
  padding: 10px 10px 6px;
  gap: 8px;
  background: #fff;
  box-shadow: none;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-strong);
}
.picker-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(10, 148, 198, 0.25), transparent); order: 3; }
.pg-name { flex: none; }
.pg-icon { width: 20px; height: 20px; padding: 3.5px; border-radius: 6px; background: #e8f5fa; box-shadow: none; }
/* options */
.picker-opt { margin: 1px 0; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; gap: 11px; }
.picker-opt:hover { background: #f2f8fb; }
.picker-opt:has(input:checked) { background: #e6f4f9; color: var(--ink); font-weight: 600; }
.picker-box { width: 19px; height: 19px; border-radius: 6px; }
.picker-opt input:checked + .picker-box { background: var(--grad); }
.picker-opt > span:last-child { flex: 1; min-width: 0; }
/* footer */
.picker-foot { gap: 10px; padding: 9px 10px 9px 16px; background: #fff; border-top: 1px solid #e6eef3; }
.picker-status { flex: 1; font-size: 12.5px; color: var(--muted); }
.picker-clear { background: none; border: 0; padding: 6px 4px; font: 600 13px var(--font); color: var(--muted); cursor: pointer; transition: color 0.2s var(--ease); }
.picker-clear:hover { color: #d6453d; }
.picker-clear[hidden] { display: none; }
.picker-done { height: 34px; padding: 0 18px; font-size: 14px; }

/* ---------- Specialisation groups: banner titles that open and close ---------- */
.picker-list { padding: 0 0 6px; }
.picker-group { margin: 0; }
.picker-group-title {
  padding: 10px 14px;
  gap: 10px;
  background: linear-gradient(90deg, #e6f3f9 0%, #eff8fb 100%);
  box-shadow: inset 0 1px 0 rgba(14, 138, 150, 0.1), inset 0 -1px 0 rgba(14, 138, 150, 0.14);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s var(--ease);
}
.picker-group-title::after { content: none; }
.picker-group-title:hover { background: linear-gradient(90deg, #dceef6 0%, #e6f3f9 100%); }
.picker-group-title:focus-visible { outline: 2px solid var(--accent-mid); outline-offset: -2px; }
.pg-name { flex: 1; }
.pg-icon { width: 24px; height: 24px; padding: 4.5px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.2); }
.pg-chev { flex: none; width: 17px; height: 17px; color: var(--accent); transition: transform 0.3s var(--ease-out); }
.picker-group:not(.is-collapsed) .pg-chev { transform: rotate(180deg); }
.picker-group.has-selection .pg-name::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--accent-mid); vertical-align: middle; }
.picker-group > .picker-opt:first-of-type { margin-top: 6px; }
.picker-group:not(.is-collapsed) { padding-bottom: 4px; }
.picker-group.is-collapsed .picker-opt { display: none; }
.picker-list.is-searching .picker-group.is-collapsed .picker-opt:not([hidden]) { display: flex; }
.picker-list.is-searching .pg-chev { transform: rotate(180deg); }
.picker-opt { margin: 1px 6px; }

/* lighter group banners */
.picker-group-title {
  background: linear-gradient(90deg, #f4fafc 0%, #f9fcfd 100%);
  box-shadow: inset 0 -1px 0 rgba(14, 138, 150, 0.09);
}
.picker-group-title:hover { background: linear-gradient(90deg, #eaf5f9 0%, #f3f9fb 100%); }
.pg-icon { box-shadow: inset 0 0 0 1px rgba(14, 138, 150, 0.14); }

/* selected specialisations: tidy chips under the field */
.chips { gap: 8px; }
.chip {
  max-width: 100%;
  padding: 6px 6px 6px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #cfe3ec, 0 4px 10px -8px rgba(10, 72, 96, 0.4);
}
.chip::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--grad); }
.chip button { color: var(--muted); }
.chip button:hover { background: #e8f1f6; color: #d6453d; }
.picker-value:not(.is-placeholder) { color: var(--accent); font-weight: 600; }
.chips { gap: 6px; margin-top: 8px; }
.chip { padding: 4px 4px 4px 10px; font-size: 12.5px; }
.chip::before { display: none; }
.chip button { width: 20px; height: 20px; }

/* group banners: a touch more blue than the pale version */
.picker-group-title {
  background: linear-gradient(90deg, #ebf6fa 0%, #f3f9fc 100%);
  box-shadow: inset 0 -1px 0 rgba(14, 138, 150, 0.12);
}
.picker-group-title:hover { background: linear-gradient(90deg, #e1f1f7 0%, #ecf6fa 100%); }

/* Tick badge on every type card, top-right: hollow when not chosen, filled when chosen */
.type-radio {
  top: 9px; right: 9px;
  width: 20px; height: 20px;
  opacity: 1;
  transform: none;
  background-color: #fff;
  background-size: 11px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c3d0d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1.5px #d3dee6;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.35s var(--ease-out);
}
.type-opt:hover .type-radio { box-shadow: inset 0 0 0 1.5px var(--accent-mid); }
.type-opt input:checked + .type-card .type-radio {
  background-color: var(--accent-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  box-shadow: 0 3px 8px -2px rgba(14, 138, 150, 0.55);
  transform: scale(1.05);
}
@container card (max-width: 440px) {
  .type-radio { top: -6px; right: -5px; width: 19px; height: 19px; background-size: 10px; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(10, 72, 96, 0.2); }
  .type-opt input:checked + .type-card .type-radio { box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(10, 72, 96, 0.3); }
}

/* not chosen: an empty ring only (no tick); the tick appears when chosen */
.type-opt input:not(:checked) + .type-card .type-radio { background-image: none; box-shadow: inset 0 0 0 1.75px #cbd8e0; }
.type-opt:hover input:not(:checked) + .type-card .type-radio { box-shadow: inset 0 0 0 1.75px var(--accent-mid); }

/* Who it's for: the icon lights up when its card is hovered (same as the Why cards) */
.who-card .icon-tile { transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.35s var(--ease-out), box-shadow 0.3s var(--ease); }
.who-card:hover .icon-tile, .who-card:focus-within .icon-tile {
  color: #fff;
  background: linear-gradient(150deg, #19b3e6 0%, #0b93bd 100%);
  box-shadow: 0 10px 20px -10px rgba(11, 147, 189, 0.7);
  transform: translateY(-2px);
}

/* ---------- Register pop-up ---------- */
html.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(70% 70% at 50% 0%, rgba(14, 80, 110, 0.55), rgba(5, 24, 42, 0.72));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative;
  width: min(580px, 100%);
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 40px 90px -24px rgba(3, 20, 36, 0.7);
  opacity: 0; transform: translateY(18px) scale(0.975);
  transition: opacity 0.28s var(--ease), transform 0.4s var(--ease-out);
}
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-dialog:focus { outline: none; }
.modal-close {
  position: absolute; z-index: 5; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #f1f6f9; color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.3s var(--ease-out);
}
.modal-close .i { width: 18px; height: 18px; stroke-width: 2.2; }
.modal-close:hover { background: var(--cyan-btn); color: #fff; transform: rotate(90deg); }
.modal-close:focus-visible { outline: 2px solid #0994c6; outline-offset: 2px; }
/* the form card sits flat inside the pop-up */
.form-card--modal { box-shadow: none; border: 0; border-radius: 0; background: transparent; max-width: none; margin: 0; }
.form-card--modal .form-card-head { padding-right: 44px; }
.form-card--modal.is-success { border-radius: 26px; }
@media (max-width: 600px) {
  .modal { padding: 0; place-items: end center; }
  .modal-dialog { width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 24px 24px 0 0; transform: translateY(40px); }
  .modal-close { top: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop, .modal-dialog { transition: none; }
}

/* ---------- Footer: editorial layout (dashed grid lines, quiet labels, giant wordmark) ---------- */
.site-footer {
  background:
    radial-gradient(60% 40% at 85% 0%, rgba(25, 179, 230, 0.28), transparent 70%),
    linear-gradient(180deg, #0f4a73 0%, #0a3355 28%, #072440 58%, #041526 100%);
  padding-top: clamp(56px, 6vw, 84px);
}
.footer-top { gap: 0; padding-bottom: 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.footer-brand { padding: 0 clamp(20px, 3vw, 44px) clamp(36px, 4vw, 56px) 0; }
.footer-col { padding: 0 clamp(18px, 2.4vw, 36px) clamp(36px, 4vw, 56px); border-left: 1px dashed rgba(255, 255, 255, 0.16); }
.footer-col h4 { font-size: 11px; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.55); }
.footer-col ul { gap: 2px; margin-top: 18px; }
.footer-col a { min-height: 34px; font-size: 16.5px; font-weight: 500; color: #fff; gap: 10px; padding: 3px 0; }
.footer-col a:hover { color: #7fdcf6; transform: translateX(3px); }
/* plain icons instead of tiles */
.fl-ic { width: 18px; height: 18px; border-radius: 0; background: none !important; box-shadow: none !important; color: rgba(255, 255, 255, 0.6) !important; }
.fl-ic .i { width: 17px; height: 17px; }
.footer-col a:hover .fl-ic { color: #7fdcf6 !important; background: none !important; box-shadow: none !important; }
.footer-col a:not(:has(.fl-ic)) { padding-left: 0; }
.footer-col a:not(:has(.fl-ic))::before { display: none; }
.footer-brand p { color: rgba(255, 255, 255, 0.72); }
.footer-bottom { border-top: 0; padding-block: 20px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.footer-top-btn { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 960px) {
  .footer-col { border-left: 0; padding: 0 0 28px; }
  .footer-brand { padding-right: 0; }
  .footer-top { border-bottom-style: dashed; }
}
.footer-top { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); }
.footer-col { padding-left: clamp(16px, 2vw, 30px); padding-right: 12px; }
.footer-col a { font-size: 15.5px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .footer-col { padding-left: 0; padding-right: 0; } }

/* ---------- Footer wordmark: letters rise through a floor line, soft reflection, glint on hover ---------- */
.footer-mark { margin-top: clamp(6px, 1.4vw, 20px); }
.fw { font-family: var(--display); font-weight: 700; font-size: clamp(84px, 21vw, 300px); line-height: 1; letter-spacing: -0.04em; user-select: none; -webkit-user-select: none; }
.fw-row { height: 0.87em; white-space: nowrap; clip-path: inset(-70% -6% 0 -6%); }       /* clipped at the baseline = the floor */
.fw-l { display: inline-block; will-change: transform; }
.fw-g {
  display: inline-block;
  transform-origin: 50% 100%;
  /* --h (0..1) is set per letter by JS while the cursor is near: it slides the colour from soft white to cyan and green */
  --h: 0;
  /* a gentle tint: soft white towards pale ice-blue, one even colour per letter */
  color: color-mix(in srgb, #e9eef3 calc((1 - var(--h)) * 100%), #a9e2f5);
  -webkit-text-fill-color: currentColor;
  will-change: transform;
  cursor: default;
}
.fw-mg { display: inline-block; transform-origin: 50% 0; will-change: transform; }
.fw-floor { height: 1px; background: rgba(255, 255, 255, 0.16); }
.fw-refl { height: 0.42em; overflow: hidden; opacity: 0.13; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
.fw-refl-row { white-space: nowrap; transform: scaleY(-1); margin-top: -0.14em; filter: blur(1px); }
.fw-m { display: inline-block; color: #fff; }
/* entrance: armed by JS shortly before the footer arrives; letters then rise one after another */
.fw.is-armed .fw-l, .fw.is-armed .fw-m { transform: translateY(110%); }
/* each letter and its reflection use the same timing, so the shadow appears together with the letter */
.fw.is-armed.is-in .fw-l, .fw.is-armed.is-in .fw-m { transform: none; animation: fw-rise 1.05s both; animation-delay: calc(0.02s + var(--i) * 0.065s); }
/* rise through the floor, overshoot a little, settle with a small bounce */
@keyframes fw-rise {
  0%   { transform: translateY(110%); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  62%  { transform: translateY(-3%);  animation-timing-function: cubic-bezier(0.4, 0, 0.4, 1); }
  82%  { transform: translateY(1%);   animation-timing-function: cubic-bezier(0.4, 0, 0.4, 1); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fw.is-armed .fw-l, .fw.is-armed .fw-m { transform: none; }
}
@media (max-width: 700px) { .fw { font-size: clamp(72px, 27vw, 200px); } }

/* ---------- Footer on phones: shorter, with the same line pattern as desktop ---------- */
@media (max-width: 700px) {
  .site-footer { padding-top: 26px; }
  .footer-logo img { height: 44px; }
  .footer-brand { padding-bottom: 16px; }
  .footer-brand p { margin-top: 10px; font-size: 14px; line-height: 1.5; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .footer-col { padding: 0 0 14px; }
  .footer-col ul { margin-top: 8px; }
  .footer-col a { min-height: 36px; font-size: 15px; padding: 1px 0; }
  /* Explore on the left; Follow and Legal stacked on the right; Contact underneath */
  .footer-top > .footer-brand { grid-column: 1 / -1; order: 0; }
  .footer-top > .footer-col:nth-child(2) { order: 1; grid-column: 1; grid-row: 2 / span 2; }   /* Explore */
  .footer-top > .footer-col:nth-child(4) { order: 2; grid-column: 2; grid-row: 2; }            /* Follow  */
  .footer-top > .footer-col:nth-child(5) { order: 3; grid-column: 2; grid-row: 3; }            /* Legal   */
  .footer-top > .footer-col:nth-child(3) { order: 4; grid-column: 1 / -1; grid-row: 4; }       /* Contact */
  .footer-bottom { padding-block: 12px 14px; gap: 8px; }
  .footer-top-btn { width: auto; }
  .footer-mark { margin-top: 0; }
  /* the pattern: isometric lines across the top, rings in the corner */
  .site-footer::after {
    -webkit-mask-image: radial-gradient(ellipse 130% 55% at 50% 0%, #000 0%, transparent 80%);
    mask-image: radial-gradient(ellipse 130% 55% at 50% 0%, #000 0%, transparent 80%);
  }
  .footer-arcs { right: -250px; bottom: -270px; width: 620px; height: 620px; stroke: rgba(111, 214, 242, 0.26); }
}

/* hover colour = the logo's own colours, running cyan to green across the word (like the logo mark) */
.fw-g { color: color-mix(in srgb, #e9eef3 calc((1 - var(--h)) * 100%), var(--c, #00AEEF)); }
.fw-l:nth-child(1) .fw-g { --c: #A3E4FA; }
.fw-l:nth-child(2) .fw-g { --c: #9DE7F6; }
.fw-l:nth-child(3) .fw-g { --c: #98E9EE; }
.fw-l:nth-child(4) .fw-g { --c: #9EEBDF; }
.fw-l:nth-child(5) .fw-g { --c: #AAEDCE; }
.fw-l:nth-child(6) .fw-g { --c: #B7EFBC; }

/* ---------- Footer: the same fine isometric lattice as the top-left corner, continued across the link area ---------- */
.footer-top { position: relative; isolation: isolate; }
.footer-top::before {
  content: "";
  position: absolute; z-index: -1;
  inset: -20px -40px 0 -40px;
  background-image:
    repeating-linear-gradient(30deg, rgba(10, 165, 216, 0.1) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(-30deg, rgba(10, 165, 216, 0.1) 0 1px, transparent 1px 32px);
  -webkit-mask-image: radial-gradient(ellipse 75% 95% at 100% 100%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 95% at 100% 100%, #000 0%, transparent 72%);
  pointer-events: none;
}

/* a little less space above the footer content */
.site-footer { padding-top: clamp(36px, 4vw, 56px); }
@media (max-width: 700px) { .site-footer { padding-top: 22px; } }

/* Specialisations: the choices live inside the field (one line), so the form keeps its size */
.chips { display: none !important; }
.picker-value { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; }
.picker-value.is-placeholder { display: block; overflow: hidden; text-overflow: ellipsis; }
.pv-pill {
  flex: 0 1 auto; min-width: 0; max-width: 100%;
  padding: 4px 10px; border-radius: 999px;
  background: #e8f5fa; color: var(--accent-strong, #0a6a78);
  font-size: 12.5px; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pv-pill[hidden] { display: none; }
.pv-more {
  flex: none; padding: 4px 9px; border-radius: 999px;
  background: var(--accent-mid, #0e8a96); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 1.3;
}

/* Selected specialisations: a row at the top of the dropdown (only when something is chosen). The form itself never changes size. */
.picker-panel .chips:not(:empty) {
  display: flex !important; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 10px 12px 8px;
  background: #f4fafc; border-bottom: 1px solid #e3eef3;
}
.picker-panel .chip { background: #fff; box-shadow: inset 0 0 0 1px #cfe3ec; }
.picker-panel:has(.chips:not(:empty)) .picker-list { max-height: 184px; }
/* the field itself: whole pills only (never cut), the rest as +N */
.pv-pill { flex: none; max-width: none; }
.pv-pill:first-child { flex: 0 1 auto; max-width: calc(100% - 4px); }

/* a little taller list in the specialisations dropdown */
.picker-list { max-height: 252px; }
.picker-panel:has(.chips:not(:empty)) .picker-list { max-height: 226px; }

/* Legal column removed: three link columns */
.footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .footer-top > .footer-col:nth-child(2) { grid-column: 1; grid-row: 2; }                  /* Explore */
  .footer-top > .footer-col:nth-child(4) { grid-column: 2; grid-row: 2; }                  /* Follow  */
  .footer-top > .footer-col:nth-child(3) { grid-column: 1 / -1; grid-row: 3; }             /* Contact */
}

/* ---------- Thank-you state: a hero banner, then the details ---------- */
.success-lead { margin-top: 12px; max-width: 400px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); animation: rise 0.6s 0.5s var(--ease-out) both; }
.form-success .success-hero h3 { text-wrap: balance; }

/* in the pop-up: stacked like a hero section, with the details card overlapping the banner */
.form-card--modal .form-success { flex-direction: column; }
.form-card--modal .success-hero { flex: 0 0 auto; padding: 50px 36px 84px; }
.form-card--modal .success-hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -30%;
  width: 120%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent 70%);
}
.form-card--modal .success-mark { width: 88px; height: 88px; margin-bottom: 20px; }
.form-card--modal .success-mark .i { width: 40px; height: 40px; }
.form-card--modal .success-kicker { font-size: 12px; margin-bottom: 8px; }
.form-card--modal .form-success h3 { font-size: clamp(1.9rem, 5.4vw, 2.5rem); line-height: 1.08; }
.form-card--modal .success-lead { font-size: 16px; max-width: 430px; margin-top: 14px; }
.form-card--modal .success-body { align-items: stretch; justify-content: flex-start; padding: 0 clamp(18px, 5vw, 36px) 28px; }
.form-card--modal .success-recap { max-width: none; margin-top: -44px; position: relative; z-index: 2; padding: 14px 16px; box-shadow: inset 0 0 0 1px #d9e6ee, 0 22px 40px -22px rgba(10, 72, 96, 0.5); }
.form-card--modal .success-next { margin-top: 24px; text-align: center; }
.form-card--modal .success-steps { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; text-align: center; }
.form-card--modal .success-steps::before { left: 17%; right: 17%; top: 13px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, #19b3e6, #229D69); }
.form-card--modal .success-steps li { flex-direction: column; align-items: center; gap: 8px; }
.form-card--modal .st-t { justify-items: center; font-size: 12.5px; }
.form-card--modal .st-t strong { font-size: 14px; }
.form-card--modal .success-back { align-self: center; margin-top: 22px; height: 44px; padding: 0 24px; }
@media (max-width: 480px) {
  .form-card--modal .success-hero { padding: 38px 20px 76px; }
  .form-card--modal .success-steps { gap: 4px; }
  .form-card--modal .st-t { font-size: 11.5px; }
  .form-card--modal .st-t strong { font-size: 13px; }
}
.form-card--modal .success-body { overflow: visible; }
