/* ---- 00-tokens-base.css ---- */
/* =========================================================================
   Viva Technologies, Autodesk Revit & BIM Course landing page
   00. Design tokens, reset, typography, shared components
   Palette is the one in the brief (#2563EB primary, #0F766E teal, #D97706 architectural orange on white and
   light greys); derived shades exist only so that small text and essential graphics reach WCAG AA contrast.
   ========================================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Indian rupee sign only (1 KB), so prices render in the same face as the rest of the text */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-rupee.woff2") format("woff2");
  unicode-range: U+20B9;
}

:root {
  /* surfaces */
  --paper: #ffffff;
  --mist: #f8fafc;
  --fog: #f1f5f9;
  --line: #e2e8f0;
  --line-2: #cbd5e1; /* decorative dividers only */
  --field-line: #738298; /* form-control borders: 3.9:1 on white, 3.6:1 on --fog */
  --grid: rgba(37, 99, 235, 0.07); /* blueprint grid lines */
  /* text */
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #5b6b82; /* 4.9:1 on the lightest section background */
  /* brand: architectural blue */
  --brand: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  /* secondary: teal (MEP) */
  --teal: #0f766e; /* 5.5:1 on white: safe for text */
  --teal-700: #115e59;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  /* architectural orange (structure and highlights): used sparingly */
  --amber: #d97706; /* 3.2:1 on white: graphics and large text only */
  --amber-ink: #b45309; /* 5.0:1 on white: text */
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --ok: #16a34a;
  --ok-ink: #15803d;
  --ok-50: #f0fdf4;
  --danger: #b91c1c;
  --danger-50: #fef2f2;
  --spark: #7c8ca3;

  /* shape and depth: tight radii and hairlines, closer to a drawing sheet than to a card UI */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 14px;
  --r-xl: 18px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-2: 0 18px 36px -26px rgba(15, 23, 42, 0.3), 0 1px 2px rgba(15, 23, 42, 0.06);

  /* type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* layout */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1200px;
  --nav-h: 68px;
  --sec-y: clamp(64px, 8vw, 112px);
}
@media (min-width: 1600px) {
  :root {
    --container: 1320px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
/* Smooth scrolling is switched on by script once the page has loaded (html.is-ready), so opening the
   page on a #link jumps straight to its target instead of animating down the whole page. */
@media (prefers-reduced-motion: no-preference) {
  html.is-ready {
    scroll-behavior: smooth;
  }
}
/* Safety net: when the visitor asks for reduced motion, nothing on the page moves, fades or slides. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.375rem, 1.3rem + 4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(1.8125rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.9375rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--brand-700);
  text-underline-offset: 3px;
}
/* a phone number should never break across two lines */
a[href^="tel:"] {
  white-space: nowrap;
}
ul,
ol {
  margin: 0;
}
img,
svg {
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection {
  background: var(--brand-100);
}

/* author display rules (flex, grid) would otherwise defeat the hidden attribute */
[hidden] {
  display: none !important;
}

/* inline Lucide icons (sprite symbols) */
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---- sections ---- */
.sec {
  padding-block: var(--sec-y);
}
.sec--plain {
  background: var(--paper);
}
.sec--soft {
  background: var(--mist);
}
.sec--tint {
  background: var(--fog);
}
/* faint blueprint grid behind a section: two sets of hairlines, no gradient colour */
.sec--grid {
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.sec-head {
  max-width: 48rem;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.sec-head h2 {
  margin-bottom: 16px;
}
.sec-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: flex-end;
  justify-content: space-between;
}
.sec-head--split > div:first-child {
  max-width: 48rem;
}
.lede {
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}

/* ---- shared small components ---- */
.chip-ic {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-m);
  background: var(--brand-50);
  color: var(--brand);
  font-size: 1.375rem;
}
.chip-ic--teal {
  background: var(--teal-50);
  color: var(--teal);
}
.chip-ic--amber {
  background: var(--amber-50);
  color: var(--amber-ink);
}
.chip-ic--ok {
  background: #dcfce7;
  color: var(--ok-ink);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--fog);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.tag--soft,
.tag--demo {
  background: #fff;
  border: 1px solid var(--line-2);
}
.tag--entry {
  background: var(--ok-50);
  color: var(--ok-ink);
}
.tag--blue {
  background: var(--brand-50);
  color: var(--brand-800);
}
.tag--teal {
  background: var(--teal-50);
  color: var(--teal-700);
}
.tag--amber {
  background: var(--amber-50);
  color: #92400e; /* 7.6:1 on --amber-50 */
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-800);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
}
.chips--soft .chip {
  background: var(--fog);
  color: var(--ink-2);
}
.chips--teal .chip {
  background: var(--teal-50);
  color: var(--teal-700);
}
.chips--amber .chip {
  background: var(--amber-50);
  color: #92400e;
}
.note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid var(--brand-100);
  border-radius: var(--r-m);
  background: var(--brand-50);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.note .ic {
  margin-top: 0.1em;
  color: var(--brand);
}
.note--plain {
  margin: 32px 0 0;
  background: #fff;
  border-color: var(--line);
}
.note--amber {
  border-color: #fde7b0;
  background: var(--amber-50);
}
.note--amber .ic {
  color: var(--amber-ink);
}
.note--teal {
  border-color: #b8ece5;
  background: var(--teal-50);
}
.note--teal .ic {
  color: var(--teal);
}
.note p {
  margin: 0;
}
.note strong {
  color: var(--ink);
}
.ticks {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding-left: 22px;
}
/* a small square node: the "dimension point" motif used across the page */
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--brand);
  background: #fff;
}
.ticks--sm {
  gap: 6px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.no-js [data-show-when="syllabusConfirmed"] {
  display: none;
}
/* instructions and buttons that only make sense when the page's script is running */
.no-js .js-only {
  display: none !important;
}

/* eyebrow label above each section heading, with a dimension-line glyph */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 34px;
  height: 9px;
  background: linear-gradient(var(--brand), var(--brand)) 0 50% / 100% 1.5px no-repeat, linear-gradient(var(--brand), var(--brand)) 0 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--brand), var(--brand)) 100% 0 / 1.5px 100% no-repeat;
}
.mono {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* a course fact the institute has not confirmed yet: readable, not styled as an error */
.is-pending {
  font-weight: 700;
  color: var(--ink);
}
.chip--demo,
.chip--quiet {
  background: #fff;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 0.75rem;
  white-space: nowrap;
}
.chip--quiet {
  background: var(--fog);
  border-color: transparent;
}

/* ---- 10-nav-buttons.css ---- */
/* =========================================================================
   10. Buttons and navigation
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  /* a solid base colour underneath the gradient, so the hover colour fades between two blues instead of
     fading in from transparent (which briefly showed white text on a pale button) */
  background-color: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.35);
}
.btn--primary:hover {
  background-color: var(--brand-700);
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.55);
}
.btn--secondary {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand-700);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--fog);
}
.btn--wa {
  background: var(--ok-ink);
  color: #fff;
}
.btn--wa:hover {
  background: #166534;
  box-shadow: 0 8px 20px -8px rgba(21, 128, 61, 0.6);
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
}
.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.75;
  cursor: progress;
}
.btn .ic {
  font-size: 1.125rem;
}

/* ---- navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.nav.is-scrolled {
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.4);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand__logo {
  height: 40px;
  width: auto;
  min-width: 40px;
  max-width: 140px;
  object-fit: contain;
}
.brand__logo.is-missing {
  display: none;
}
.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav__links ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-s);
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.nav__link:hover {
  background: var(--fog);
  color: var(--ink);
}
.nav__link[aria-current="true"] {
  color: var(--brand-700);
}
.nav__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.nav__toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
.nav__toggle .nav__ic-close,
.nav__toggle[aria-expanded="true"] .nav__ic-open {
  display: none;
}
.nav__toggle[aria-expanded="true"] .nav__ic-close {
  display: block;
}
.nav__panel {
  display: none;
}

@media (max-width: 1099px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
  }
  .nav__links,
  .nav__actions {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .nav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 32px -24px rgba(15, 23, 42, 0.35);
    transition: opacity 0.2s, transform 0.2s, visibility 0s 0.2s;
  }
  .nav__panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav__plist {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 12px 0 8px;
    list-style: none;
  }
  .nav__plist .nav__link {
    padding: 14px 12px;
    font-size: 1.0625rem;
  }
  .nav__plist .nav__link[aria-current="true"]::after {
    left: 12px;
    right: auto;
    width: 24px;
  }
  .nav__pactions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px 0 20px;
  }
}
/* without JavaScript the menu cannot open, so show its links as a plain list */
@media (max-width: 1099px) {
  .no-js .nav {
    position: static;
  }
  .no-js .nav__toggle {
    display: none;
  }
  .no-js .nav__panel {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
}
@media (max-width: 380px) {
  .brand__name {
    font-size: 1rem;
  }
}

/* ---- 20-hero.css ---- */
/* =========================================================================
   20. Hero: headline, benefits, call to action and the interactive "one building, three views" window
   ========================================================================= */

.hero {
  position: relative;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow-x: clip;
}
/* blueprint grid that fades out towards the copy: two sets of hairlines, no colour wash */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 95% at 88% 38%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 95% at 88% 38%, #000 0%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 5.7fr) minmax(0, 6.3fr);
    gap: clamp(36px, 4vw, 64px);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brand-700);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
}
.hero__eyebrow::before {
  content: "";
  flex: none;
  width: 34px;
  height: 9px;
  background: linear-gradient(var(--brand), var(--brand)) 0 50% / 100% 1.5px no-repeat, linear-gradient(var(--brand), var(--brand)) 0 0 / 1.5px 100% no-repeat,
    linear-gradient(var(--brand), var(--brand)) 100% 0 / 1.5px 100% no-repeat;
}
.hero h1 {
  font-size: clamp(2rem, 1.1rem + 2.4vw, 2.875rem);
  line-height: 1.07;
  letter-spacing: -0.035em;
}
.hero h1 .hl {
  display: block;
  margin-top: 0.14em;
  color: var(--brand);
}
.hero__sub {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.hero__lede {
  max-width: 54ch;
  margin: 0 0 24px;
  font-size: 1.0625rem;
}
.benefits {
  display: grid;
  gap: 12px 24px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
@media (min-width: 520px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.benefits li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}
.benefits .ic {
  margin-top: 0.05em;
  color: var(--brand);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.strip {
  display: grid;
  gap: 10px 20px;
  margin: 32px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-2);
  list-style: none;
  font-size: 0.875rem;
}
@media (min-width: 480px) {
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.strip li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink-2);
  font-weight: 600;
  line-height: 1.4;
}
.strip .ic {
  margin-top: 0.05em;
  color: var(--teal);
}
@media (max-width: 479px) {
  .hero__cta .btn {
    width: 100%;
  }
}

/* ---- the window ---- */
.hero__visual {
  min-width: 0;
}
.studio {
  display: grid;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.studio__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--fog);
}
.studio__dots {
  display: flex;
  gap: 6px;
}
.studio__dots i {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
}
.studio__title {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.3;
}
.studio__title span {
  color: var(--ink-3);
  font-weight: 600;
}
@media (max-width: 479px) {
  .studio__title span {
    display: none;
  }
}

/* the three steps are arrows of one process: plan, then model, then drawings */
.studio__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 8px 14px;
  border: 0;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}
.step:hover {
  color: var(--ink);
  background: var(--mist);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-top: 1px solid var(--line-2);
  border-right: 1px solid var(--line-2);
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
}
.step:focus-visible {
  z-index: 3;
  outline-offset: -3px;
}
.step__n {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.6875rem;
  line-height: 1;
}
.step[aria-selected="true"] {
  background: var(--brand-50);
  color: var(--brand-800);
}
.step[aria-selected="true"] .step__n {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
@media (max-width: 559px) {
  .step {
    flex-direction: column;
    gap: 5px;
    padding: 9px 6px;
    font-size: 0.75rem;
    text-align: center;
  }
}

.studio__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 560px) {
  .studio__panel {
    grid-template-columns: minmax(0, 1fr) 176px;
  }
}
.studio__view {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(260px, 62vw, 400px);
  padding: 10px;
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
@media (min-width: 560px) {
  .studio__view {
    min-height: 372px;
  }
}
.studio__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 392px;
  margin: auto 0;
}
/* layers fade in when switched on, but not on first load (the class is added by the script) */
.studio.is-live .studio__svg [data-u]:not([hidden]) {
  animation: lyr-in 0.35s ease backwards;
}
.studio__svg [data-u="shell"] {
  transition: opacity 0.3s ease;
}
.studio__svg [data-u="shell"].is-ghost {
  opacity: 0.26;
  animation: none;
}
@keyframes lyr-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio.is-live .studio__svg [data-u]:not([hidden]) {
    animation: none;
  }
  .studio__svg [data-u="shell"] {
    transition: none;
  }
}

/* layer switches */
.layers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}
.lyr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 4px 12px 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.lyr:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
/* a filled square means "shown", a hollow one "hidden", so the state never depends on colour alone */
.lyr__sw {
  width: 11px;
  height: 11px;
  border: 2px solid var(--sw);
  border-radius: 2px;
  background: transparent;
}
.lyr__sw--arch {
  --sw: var(--brand);
}
.lyr__sw--struct {
  --sw: var(--amber);
}
.lyr__sw--mep {
  --sw: var(--teal);
}
.lyr[aria-pressed="true"] {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.lyr[aria-pressed="true"] .lyr__sw {
  background: var(--sw);
}
.lyr[aria-disabled="true"] {
  cursor: default;
}

/* properties palette */
.props {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 0.8125rem;
}
@media (min-width: 560px) {
  .props {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}
.props__h {
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.props__type {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 7px 9px;
  border-radius: var(--r-s);
  background: var(--fog);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}
.props__type .ic {
  color: var(--brand);
}
.props__list {
  display: grid;
  margin: 0;
}
.props__list > div {
  display: grid;
  gap: 1px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.props__list dt {
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.props__list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 559px) {
  .props__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}

/* three small views that open in the main window */
.insets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: #fff;
  list-style: none;
}
.inset {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.inset:hover {
  border-color: var(--brand);
}
.inset[aria-current="true"] {
  border-color: var(--brand);
  background: var(--brand-50);
}
.inset__art {
  display: grid;
  flex: none;
  place-items: center;
  width: 54px;
  height: 42px;
  border-radius: 4px;
  background: var(--mist);
  overflow: hidden;
}
.inset__art .art {
  width: 100%;
  height: 100%;
}
.inset__txt {
  display: grid;
  min-width: 0;
  gap: 1px;
  line-height: 1.2;
}
.inset__txt strong {
  color: var(--ink);
  font-size: 0.75rem;
}
.inset__txt span {
  color: var(--ink-3);
  font-size: 0.6875rem;
}
@media (max-width: 559px) {
  .inset {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .inset__art {
    width: 100%;
    height: 46px;
  }
}
.studio__cap {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-3);
  font-size: 0.75rem;
  line-height: 1.45;
}

/* Without JavaScript the three views, the layer switches and the small views cannot work: the 3D view
   of the architecture stays as a still picture. */
.no-js .studio__steps,
.no-js .layers,
.no-js .insets {
  display: none;
}

/* ---- 25-art.css ---- */
/* =========================================================================
   25. Architectural illustrations (isometric model, plans, sheets)
   All illustrations are inline SVG generated at build time. Faces are classed by material (m) and side
   (t top, l left, r right); the library <svg class="iso art-defs"> holds the shared geometry that scenes <use>.
   ========================================================================= */

.art-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* NOTE: selectors here never use an ancestor (".iso .x"): elements inside a <use> clone cannot see the
   ancestors of the <use> element, so such rules would silently not apply to the shared layers. */
path.t,
path.l,
path.r {
  stroke: var(--s, #a3b1c6);
  stroke-width: 0.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
path.t {
  fill: var(--ft);
}
path.l {
  fill: var(--fl);
}
path.r {
  fill: var(--fr);
}
/* materials */
path.w {
  --ft: #fff;
  --fl: #f6f8fc;
  --fr: #dde5ef;
  --s: #a9b6c9;
}
path.c {
  --ft: #eef2f7;
  --fl: #dde5ef;
  --fr: #c6d1df;
  --s: #94a3b8;
}
path.g {
  --ft: #dbe8fb;
  --fl: #e4eefc;
  --fr: #c3d6f3;
  --s: #8fb0e3;
}
path.gd {
  --ft: #bcd3f5;
  --fl: #cfe0f8;
  --fr: #a9c4ee;
  --s: #6f94d3;
}
path.rg {
  --ft: rgba(147, 197, 253, 0.55);
  --fl: rgba(191, 219, 254, 0.6);
  --fr: rgba(147, 197, 253, 0.6);
  --s: #60a5fa;
}
path.gr {
  --ft: #d3eadb;
  --fl: #b9d9c4;
  --fr: #a3c8b1;
  --s: #74ad8d;
}
path.st {
  --ft: #fbe7c1;
  --fl: #f4cb86;
  --fr: #e3a74f;
  --s: #b4731a;
}
path.sl {
  --ft: rgba(255, 249, 235, 0.55);
  --fl: rgba(246, 226, 184, 0.7);
  --fr: rgba(234, 205, 150, 0.7);
  --s: #d9b062;
}
path.sg {
  --ft: rgba(255, 255, 255, 0.28);
  --fl: rgba(226, 232, 240, 0.4);
  --fr: rgba(203, 213, 225, 0.4);
  --s: #b9c6d8;
}
path.ms {
  --ft: rgba(219, 234, 254, 0.85);
  --fl: rgba(191, 219, 254, 0.8);
  --fr: rgba(147, 197, 253, 0.75);
  --s: #2563eb;
}
path.cr {
  --ft: #fde68a;
  --fl: #fbbf24;
  --fr: #d97706;
  --s: #a8660a;
}
path.wt {
  --ft: #bfe3f1;
  --fl: #a5d4e8;
  --fr: #8cc2db;
  --s: #5fa3c0;
}
path.ft {
  --ft: #eadfc9;
  --fl: #d9c8a8;
  --fr: #c5b088;
  --s: #a58b5c;
}
path.dt {
  --ft: #a6e3d9;
  --fl: #4fbcae;
  --fr: #11907f;
  --s: #0b625b;
}
path.ct {
  --ft: #fdd990;
  --fl: #f5b552;
  --fr: #dc8d14;
  --s: #a8660a;
}
path.cj,
path.ch {
  fill: none;
  stroke: #d97706;
  stroke-linecap: round;
}
path.cjh,
path.chh {
  fill: none;
  stroke: #fde68a;
  stroke-linecap: round;
}
path.ch {
  stroke: #64748b;
}
path.pp,
path.pph,
path.cd,
path.cdh {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
path.pp {
  stroke: #0e7490;
}
path.pph {
  stroke: #a5f3fc;
}
path.cd {
  stroke: #d97706;
}
path.cdh {
  stroke: #fcd34d;
}
/* decals */
path.gl {
  stroke: none;
}
path.gl.l {
  fill: #a6c4f1;
  fill: url(#gw-l);
}
path.gl.r {
  fill: #86a9e3;
  fill: url(#gw-r);
}
path.lv {
  stroke: #94a3b8;
  stroke-width: 0.45;
  fill: none;
}
/* site */
path.gp {
  fill: #f5f8fc;
  stroke: #e2e8f0;
}
path.sh {
  fill: rgba(15, 23, 42, 0.06);
  stroke: none;
}
path.pv {
  fill: #e7edf5;
  stroke: none;
}
path.gline {
  fill: none;
  stroke: #8fb0ea;
  stroke-width: 0.6;
  stroke-dasharray: 5 3 1 3;
}
circle.gb {
  fill: #fff;
  stroke: #5b8def;
  stroke-width: 0.7;
}
text.gt {
  fill: #1d4ed8;
  stroke: none;
  font: 700 6.6px var(--font);
}
path.tk {
  stroke: #8a9a8f;
  stroke-width: 1.2;
}
ellipse.tc {
  fill: #cfe6d7;
  stroke: #7fb595;
  stroke-width: 0.6;
}
ellipse.tc2 {
  fill: #e4f2e9;
  stroke: none;
}
/* clash marker */
.clash circle {
  fill: rgba(217, 119, 6, 0.14);
  stroke: #d97706;
  stroke-width: 1.4;
}
.clash .clash__dot {
  fill: #d97706;
  stroke: none;
}

/* ---- 2D drawings: plan, elevation, documentation sheet (units: metres, except the sheet which is in px) ---- */
rect.pbg {
  fill: none;
}
rect.pw,
rect.pcol {
  fill: #0f172a;
}
rect.pp2 {
  fill: #475569;
}
rect.pg {
  fill: #fff;
  stroke: #0f172a;
  stroke-width: 0.03;
}
path.pgl {
  fill: none;
  stroke: #2563eb;
  stroke-width: 0.05;
}
path.pdl {
  fill: none;
  stroke: #0f172a;
  stroke-width: 0.05;
  stroke-linecap: round;
}
path.pda {
  fill: none;
  stroke: #64748b;
  stroke-width: 0.025;
}
rect.rf-bed {
  fill: #eaf2ff;
}
rect.rf-bath {
  fill: #e3f5f2;
}
rect.rf-kit {
  fill: #fff2d6;
}
rect.rf-liv {
  fill: #f6f8fc;
}
rect.rf-core {
  fill: #e9edf4;
}
rect.rf-bal {
  fill: #f1f5fa;
}
rect.pbal {
  fill: none;
  stroke: #475569;
  stroke-width: 0.06;
}
rect.pf {
  fill: #fff;
  stroke: #64748b;
  stroke-width: 0.03;
}
ellipse.pf {
  fill: #fff;
  stroke: #64748b;
  stroke-width: 0.03;
}
rect.pf2,
path.pf2 {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 0.025;
}
path.parr {
  fill: none;
  stroke: #0f172a;
  stroke-width: 0.045;
  stroke-linecap: round;
  stroke-linejoin: round;
}
text.pt {
  display: var(--pt-d, inline);
  fill: #475569;
  font: 700 0.3px var(--font);
  letter-spacing: 0.02px;
}
text.pt--sm {
  font-size: 0.24px;
}
path.pdim {
  fill: none;
  stroke: #2563eb;
  stroke-width: 0.03;
}
text.pdt {
  display: var(--pt-d, inline);
  fill: #1d4ed8;
  font: 700 0.27px var(--font);
}
circle.pbub {
  fill: #fff;
  stroke: #2563eb;
  stroke-width: 0.04;
}
text.pbt {
  fill: #1d4ed8;
  font: 800 0.4px var(--font);
}
path.pgrid {
  fill: none;
  stroke: #93b4f0;
  stroke-width: 0.02;
  stroke-dasharray: 0.5 0.12 0.06 0.12;
}
path.psec {
  fill: none;
  stroke: #d97706;
  stroke-width: 0.07;
}
/* front elevation */
path.pground {
  fill: none;
  stroke: #0f172a;
  stroke-width: 0.07;
}
rect.pw0 {
  fill: #e2e8f0;
  stroke: #64748b;
  stroke-width: 0.04;
}
rect.pw1 {
  fill: #f8fafc;
  stroke: #64748b;
  stroke-width: 0.04;
}
path.pwin {
  fill: #dbeafe;
  stroke: #3b82f6;
  stroke-width: 0.035;
}
rect.pslab {
  fill: #fff;
  stroke: #0f172a;
  stroke-width: 0.04;
}
rect.pguard {
  fill: rgba(147, 197, 253, 0.3);
  stroke: #3b82f6;
  stroke-width: 0.03;
}
path.plv {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 0.03;
}
path.pdatum {
  fill: none;
  stroke: #2563eb;
  stroke-width: 0.04;
  stroke-dasharray: 0.4 0.2;
}
path.pdtri {
  fill: #2563eb;
  stroke: none;
}
text.pdt2 {
  display: var(--pt-d, inline);
  fill: #1d4ed8;
  font: 700 0.62px var(--font);
}
/* sheet */
rect.shbg {
  fill: #fff;
}
rect.shfr {
  fill: none;
  stroke: #0f172a;
  stroke-width: 1.4;
}
rect.shtb {
  fill: #f8fafc;
  stroke: #0f172a;
  stroke-width: 1;
}
path.shln {
  fill: none;
  stroke: #cbd5e1;
  stroke-width: 0.8;
}
rect.shth {
  fill: #eef2f7;
}
text.shk {
  fill: #475569;
  font: 600 6.6px var(--mono);
  letter-spacing: 0.06em;
}
text.shv {
  fill: #0f172a;
  font: 700 8.6px var(--font);
  letter-spacing: 0.02em;
}
text.shs {
  fill: #334155;
  font: 500 8px var(--font);
}
circle.shk0 {
  fill: none;
  stroke: #0f172a;
  stroke-width: 1;
}
path.shn {
  fill: #0f172a;
}

/* ---- diagrams: CAD vs BIM, element callouts, selected element, door decal ---- */
path.sel {
  --ft: rgba(37, 99, 235, 0.1);
  --fl: rgba(37, 99, 235, 0.14);
  --fr: rgba(37, 99, 235, 0.2);
  --s: #2563eb;
}
path.sel.t,
path.sel.l,
path.sel.r {
  stroke-width: 1.4;
}
path.dr {
  stroke: #94a3b8;
  stroke-width: 0.5;
}
path.dr.l {
  fill: #d3dbe7;
}
path.dr.r {
  fill: #bfc9d8;
}
.art {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}
rect.dg-sheet {
  fill: #fff;
  stroke: #94a3b8;
  stroke-width: 1;
}
text.dg-k {
  fill: #475569;
  font: 700 8.5px var(--mono);
  letter-spacing: 0.1em;
}
text.dg-t {
  fill: #0f172a;
  font: 800 12px var(--font);
}
rect.dg-edit {
  fill: #fef3c7;
  stroke: #d97706;
  stroke-width: 1;
}
text.dg-edit-t {
  fill: #92400e;
  font: 800 8px var(--mono);
  letter-spacing: 0.1em;
}
path.dg-conn {
  fill: none;
  stroke-linecap: round;
}
path.dg-conn--cad {
  stroke: #d97706;
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}
path.dg-conn--bim {
  stroke: #2563eb;
  stroke-width: 1.6;
}
circle.dg-q {
  fill: #fff;
  stroke: #d97706;
  stroke-width: 1.4;
}
text.dg-q-t {
  fill: #92400e;
  font: 800 11px var(--font);
}
circle.dg-dot {
  fill: #2563eb;
}
path.dg-brk {
  fill: none;
  stroke: #d97706;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
text.dg-cap {
  fill: #92400e;
  font: 800 13px var(--font);
}
text.dg-cap-s {
  fill: #475569;
  font: 600 11px var(--font);
}
path.dg-cell {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 2;
  stroke-linecap: round;
}
path.cl-line {
  fill: none;
  stroke: #2563eb;
  stroke-width: 1;
}
circle.cl-dot {
  fill: #2563eb;
}
text.cl-txt {
  fill: #1d4ed8;
  font: 800 10.5px var(--font);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}
circle.at {
  fill: #f0fdfa;
  stroke: #0f766e;
  stroke-width: 1.4;
}
circle.at2 {
  fill: #0f766e;
}
text.dg-op {
  fill: #64748b;
  font: 600 24px var(--font);
}

/* ---- 30-overview-bim.css ---- */
/* =========================================================================
   30. What is Revit, Understanding BIM (ten ideas, lifecycle, dimensions)
   ========================================================================= */

/* numbered index list shared by the overview topics and the ten BIM ideas */
.idx {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.idx li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
}
.idx li:last-child {
  border-bottom: 1px solid var(--line-2);
}
.idx__n {
  padding-top: 0.2em;
  color: var(--brand-700);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.idx h3 {
  margin: 0 0 4px;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.idx p {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.55;
}

/* ---- what is Revit ---- */
.ovw {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 960px) {
  .ovw {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .ovw__fig {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
.ovw__fig {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.ovw__fig figcaption,
.elem figcaption,
.flow__cap {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* ---- CAD workflow versus BIM workflow ---- */
.vs {
  margin-top: clamp(48px, 6vw, 88px);
}
.vs__title {
  margin-bottom: 20px;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
}
.vs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 840px) {
  .vs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.vs__col {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: var(--r-l);
  background: #fff;
}
.vs__col--bim {
  border-top-color: var(--brand);
}
.vs__col h4 {
  margin: 0;
}
.vs__col .art {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--mist);
}
.vs__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.vs__list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
}
.vs__list .ic {
  margin-top: 0.1em;
}
.vs__list--cad .ic {
  color: var(--amber-ink);
}
.vs__list--bim .ic {
  color: var(--brand);
}
.vs__list strong {
  color: var(--ink);
}
.vs__note {
  margin: 24px 0 0;
}

/* ---- understanding BIM ---- */
.bimtop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
}
@media (min-width: 960px) {
  .bimtop {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .elem {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
.elem {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.elem .art {
  margin-bottom: 12px;
  border-radius: var(--r-m);
  background: var(--mist);
}
.params {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
}
.params + figcaption {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.params > div {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.params dt {
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.params dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.sub-head {
  max-width: 46rem;
  margin-bottom: 24px;
}
.sub-head h3 {
  margin-bottom: 8px;
  font-size: clamp(1.3125rem, 1.1rem + 0.9vw, 1.75rem);
  line-height: 1.2;
}
.sub-head p {
  margin: 0;
}

/* lifecycle: eight stages along one line */
.stg__tabs {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(104px, 1fr);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
@media (min-width: 900px) {
  .stg__tabs {
    grid-auto-flow: row;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}
.stg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 12px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
}
.stg::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--line-2);
}
.stg:last-child::before {
  display: none;
}
.stg__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.875rem;
  font-weight: 800;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.stg:hover .stg__n {
  border-color: var(--brand);
  color: var(--brand-700);
}
.stg[aria-selected="true"] {
  color: var(--ink);
}
.stg[aria-selected="true"] .stg__n {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 4px var(--brand-100);
}
.stg__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
@media (min-width: 760px) {
  .stg__panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.stg__art {
  display: grid;
  align-content: center;
  margin: 0;
  padding: 16px;
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.stg__art .art {
  width: 100%;
  height: auto;
  max-height: 300px;
}
.stg__art figcaption {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.75rem;
  text-align: center;
}
.stg__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
}
.stg__k,
.dim__k {
  margin: 0 0 8px;
  color: var(--brand-700);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stg__body h4,
.dim__panel h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 1.375rem;
  line-height: 1.2;
}
.stg__body h4 .ic,
.dim__panel h4 .ic {
  color: var(--brand);
}
.stg__o,
.dim__h,
.role__h,
.dc__f {
  margin: 18px 0 8px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* BIM dimensions */
.dims {
  margin-top: clamp(56px, 7vw, 96px);
}
.dims__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 900px) {
  .dims__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
    gap: 20px;
  }
}
.dim__tabs {
  display: grid;
  gap: 8px;
}
.dim {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.dim:hover {
  border-color: var(--brand);
}
.dim__l {
  min-width: 2.2ch;
  color: var(--brand-700);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dim__n {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}
.dim[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand-50);
  box-shadow: inset 4px 0 0 var(--brand);
}
.dim__panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.dim__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 28px;
}
@media (min-width: 720px) {
  .dim__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.dim__cols p {
  margin: 0 0 8px;
  font-size: 0.9688rem;
}
.dim__cols .dim__h {
  margin-bottom: 8px;
}
.dim__cols p.dim__h + p + .dim__h {
  margin-top: 16px;
}
.dim__cols .ticks {
  margin-bottom: 6px;
}
@media (max-width: 719px) {
  .dim__cols > div + div {
    margin-top: 6px;
  }
}
/* tab lists that scroll sideways on small screens carry a one-line hint */
.swipe {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.swipe::after {
  content: "\2192";
  font-size: 1rem;
  line-height: 1;
}
@media (min-width: 900px) {
  .swipe {
    display: none;
  }
}
.dims__note {
  margin: 20px 0 0;
}

/* Without JavaScript the stage and dimension buttons cannot switch panels, so every panel is shown in turn */
.no-js .stg__tabs,
.no-js .dim__tabs,
.no-js .swipe {
  display: none;
}
.no-js .stg__panel[hidden] {
  display: grid !important;
}
.no-js .dim__panel[hidden] {
  display: block !important;
}
.no-js .dims__grid {
  grid-template-columns: minmax(0, 1fr);
}
.no-js .dim__panels {
  display: grid;
  gap: 16px;
}

/* ---- 35-why-disciplines.css ---- */
/* =========================================================================
   35. Why learn Revit and BIM (bento tiles) and the three disciplines
   ========================================================================= */

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bt--6 {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }
  .bt--1 {
    grid-column: span 7;
  }
  .bt--2 {
    grid-column: span 5;
  }
  .bt--3,
  .bt--4,
  .bt--5 {
    grid-column: span 4;
  }
  .bt--6 {
    grid-column: span 12;
  }
}
.bt {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bt:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}
.bt__art {
  display: grid;
  place-items: center;
  height: clamp(150px, 17vw, 210px);
  padding: 10px;
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--line);
}
.bt__art .art {
  width: 100%;
  height: 100%;
}
@media (min-width: 960px) {
  .bt--1 .bt__art,
  .bt--2 .bt__art {
    height: clamp(190px, 19vw, 250px);
  }
}
.bt__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  padding: 22px;
}
.bt__body .chip-ic {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}
.bt__body h3 {
  font-size: 1.1875rem;
}
.bt__body p {
  margin: 0;
  font-size: 0.9688rem;
}
.bt__body .bt__fine {
  color: var(--ink-3);
  font-size: 0.8125rem;
}
/* the sixth tile is wide: text on the left, the coordination diagram on the right */
@media (min-width: 960px) {
  .bt--6 {
    flex-direction: row;
    align-items: stretch;
  }
  .bt--6 .bt__body {
    flex: 5;
    align-content: center;
    padding: 28px 32px;
  }
  .bt--6 .bt__art {
    flex: 7;
    order: 2;
    height: auto;
    min-height: 200px;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
}

/* ---- the three disciplines ---- */
.disc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 960px) {
  .disc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.dc {
  --dc: var(--brand);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 3px solid var(--dc);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
.dc--amber {
  --dc: var(--amber);
}
.dc--teal {
  --dc: var(--teal);
}
.dc__art {
  display: grid;
  place-items: center;
  height: clamp(200px, 24vw, 270px);
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.dc__art .art {
  width: 100%;
  height: 100%;
}
.dc__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.dc__k {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dc__k .chip-ic {
  width: 38px;
  height: 38px;
  font-size: 1.1875rem;
}
.dc h3 {
  margin-bottom: 6px;
  font-size: 1.375rem;
}
.dc__tag {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 700;
}
.dc .dc__f {
  margin-top: 12px;
}
.dc__list {
  margin-bottom: 14px;
}
.dc .ticks li::before {
  border-color: var(--dc);
}
.dc__note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--dc);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--mist);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.5;
}
.dc__m {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 700;
}
.dc__m .ic {
  color: var(--dc);
}

/* ---- 40-curriculum.css ---- */
/* =========================================================================
   40. Curriculum: thirteen expandable modules with a course map
   ========================================================================= */

/* colour of each module family: blue architecture, amber structure, teal MEP, slate coordination, ink capstone */
[data-tone="arch"] {
  --tone: var(--brand);
  --tone-bg: var(--brand-50);
  --tone-ink: var(--brand-800);
  --tone-line: var(--brand-100);
}
[data-tone="struct"] {
  --tone: var(--amber);
  --tone-bg: var(--amber-50);
  --tone-ink: #92400e;
  --tone-line: #fde7b0;
}
[data-tone="mep"] {
  --tone: var(--teal);
  --tone-bg: var(--teal-50);
  --tone-ink: var(--teal-700);
  --tone-line: #b8ece5;
}
[data-tone="coord"] {
  --tone: #475569;
  --tone-bg: var(--fog);
  --tone-ink: #334155;
  --tone-line: var(--line-2);
}
[data-tone="cap"] {
  --tone: var(--ink);
  --tone-bg: #e2e8f0;
  --tone-ink: var(--ink);
  --tone-line: #94a3b8;
}

/* curriculum at a glance */
.cstats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 32px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-m);
  background: #fff;
  list-style: none;
  overflow: hidden;
}
@media (min-width: 720px) {
  .cstats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.cstats li {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cstats li:nth-child(-n + 2) {
  border-top: 0;
}
.cstats li:nth-child(odd) {
  border-left: 0;
}
@media (min-width: 720px) {
  .cstats li {
    border-top: 0;
  }
  .cstats li:nth-child(odd) {
    border-left: 1px solid var(--line);
  }
  .cstats li:first-child {
    border-left: 0;
  }
}
.cstats strong {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.cstats span {
  font-size: 0.875rem;
  line-height: 1.4;
}

/* course map: thirteen numbered squares coloured by module family */
.cmapwrap {
  margin: 0 0 28px;
}
.cmap__k {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}
.cmap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.cmap__n {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--tone-line);
  border-radius: var(--r-s);
  background: var(--tone-bg);
  color: var(--tone-ink);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cmap__n:hover {
  border-color: var(--tone);
  box-shadow: 0 6px 14px -8px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}
.cmap__n[data-tone="cap"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
@media (max-width: 559px) {
  .cmap {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .cmap__n {
    width: auto;
    height: auto;
    aspect-ratio: 1;
  }
}
.cmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.cmap__legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cmap__legend li::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--tone);
  border-radius: 3px;
  background: var(--tone-bg);
}
.cmap__legend li[data-tone="cap"]::before {
  background: var(--ink);
}

.cur-note {
  margin: 0 0 20px;
}
.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

/* accordion */
.acc {
  display: grid;
  gap: 10px;
}
.mod {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mod::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--tone);
}
.mod.is-open {
  border-color: var(--line-2);
  box-shadow: var(--shadow-2);
}
.mod__h {
  margin: 0;
  font-size: inherit;
  letter-spacing: 0;
}
.mod__btn {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px 14px 24px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.mod__btn:focus-visible {
  outline-offset: -3px;
}
.mod__n {
  color: var(--tone-ink);
  font-family: var(--mono);
  font-size: 0.9375rem;
  font-weight: 800;
}
.mod__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-m);
  background: var(--tone-bg);
  color: var(--tone-ink);
  font-size: 1.25rem;
}
.mod__t {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.mod__title {
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.mod__btn:hover .mod__title {
  color: var(--brand-700);
}
.mod__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--ink-2);
  font-size: 0.8125rem;
}
.tag--tone {
  background: var(--tone-bg);
  color: var(--tone-ink);
}
.mod__chev {
  color: var(--ink-3);
  font-size: 1.25rem;
  transition: transform 0.25s;
}
.mod.is-open .mod__chev {
  transform: rotate(180deg);
}
@media (max-width: 599px) {
  .mod__btn {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 14px 14px 20px;
  }
  .mod__ic {
    display: none;
  }
}

.mod__panel {
  display: grid;
  grid-template-rows: 1fr;
}
.mod__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
/* with JavaScript every module collapses until opened; without it all thirteen stay readable */
.js .mod__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.32s ease, visibility 0s 0.32s;
}
.js .mod.is-open .mod__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.32s ease;
}
.js .mod:not(.is-open) .mod__inner {
  border-top-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .js .mod__panel,
  .js .mod.is-open .mod__panel {
    transition: none;
  }
}
@media (min-width: 960px) {
  .mod__inner {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
}
.mod__main {
  min-width: 0;
  padding: 20px 22px 24px 24px;
  counter-reset: topic;
}
.mod__side {
  min-width: 0;
  padding: 0 22px 24px 24px;
  font-size: 0.9375rem;
}
@media (min-width: 960px) {
  .mod__side {
    padding: 20px 24px 24px;
    border-left: 1px solid var(--line);
    background: var(--mist);
  }
}
@media (max-width: 959px) {
  .mod__side {
    border-top: 1px dashed var(--line-2);
    padding-top: 18px;
    margin: 0 22px 0 24px;
    padding-inline: 0;
  }
}
.mod__desc {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.0313rem;
  font-weight: 600;
  line-height: 1.55;
}
.mod__intro {
  margin: 0 0 6px;
  font-size: 0.9688rem;
}

/* topic list: numbered continuously through the module, in two columns on wide screens */
.tg {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) {
  .tg {
    column-count: 2;
    column-gap: 36px;
  }
}
.tg li {
  position: relative;
  padding: 8px 0 8px 40px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
  break-inside: avoid;
  counter-increment: topic;
}
.tg li::before {
  content: counter(topic, decimal-leading-zero);
  position: absolute;
  top: 9px;
  left: 0;
  color: var(--tone-ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.7;
}
.tg:not(.tg--aux) li:last-child {
  border-bottom: 1px solid var(--line);
}
/* proposed capstones and tool lists are not numbered topics: they use the square-node bullet */
.tg--aux li {
  padding-left: 22px;
  border-top: 0;
  counter-increment: none;
}
.tg--aux li::before {
  content: "";
  top: 0.8em;
  left: 2px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--tone);
  background: #fff;
}
@media (min-width: 640px) {
  .tg--aux {
    column-count: 2;
  }
}
.grp {
  margin-top: 18px;
}
.grp .tg {
  margin-top: 6px;
}
.grp__h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--tone-ink);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.grp__h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tone-line);
}
.prac {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-m);
  background: var(--mist);
}
.prac > .ic {
  margin-top: 0.1em;
  color: var(--tone-ink);
}
.prac__k {
  margin: 0 0 2px;
  color: var(--ink);
  font-weight: 800;
}
.prac p {
  margin: 0;
  font-size: 0.9375rem;
}
.mod__side h4 {
  margin: 0 0 10px;
  color: var(--ink-3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mod__side h4:not(:first-child) {
  margin-top: 22px;
}
.rel {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--brand-100);
  border-radius: var(--r-s);
  background: var(--brand-50);
  color: var(--brand-800);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
.rel .ic {
  margin-top: 0.1em;
}
.rel:hover {
  border-color: var(--brand);
  text-decoration: underline;
}
.mod__note {
  margin: 20px 0 0;
  font-size: 0.875rem;
}

/* ---- 45-compare-workflow.css ---- */
/* =========================================================================
   45. Revit versus AutoCAD (comparison table) and the ten-stage BIM project workflow
   ========================================================================= */

.cmp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 1040px) {
  .cmp {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 32px;
  }
  .cmp__aside {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
.cmp__tablewrap {
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
.cmp__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.cmp__table th,
.cmp__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.cmp__table tbody tr:last-child th,
.cmp__table tbody tr:last-child td {
  border-bottom: 0;
}
.cmp__table thead th {
  border-bottom: 1px solid var(--line-2);
  background: var(--fog);
  color: var(--ink);
  font-weight: 800;
}
.cmp__h {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cmp__h--cad .ic {
  color: var(--amber-ink);
}
.cmp__h--bim .ic {
  color: var(--brand);
}
.cmp__table tbody th {
  width: 22%;
  background: var(--mist);
  color: var(--ink);
  font-weight: 800;
}
.cmp__table td:last-child {
  background: rgba(37, 99, 235, 0.035);
  color: var(--ink);
}
.cmp__table thead th:last-child {
  background: var(--brand-50);
}

/* narrow screens: each row becomes a small card, the column name is printed in front of each value */
@media (max-width: 719px) {
  .cmp__table,
  .cmp__table tbody,
  .cmp__table tr,
  .cmp__table th,
  .cmp__table td {
    display: block;
  }
  .cmp__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .cmp__table tbody tr {
    border-bottom: 1px solid var(--line-2);
  }
  .cmp__table tbody tr:last-child {
    border-bottom: 0;
  }
  .cmp__table tbody th {
    width: auto;
    border-bottom: 1px solid var(--line);
  }
  .cmp__table td {
    display: grid;
    gap: 2px;
    padding: 10px 18px;
  }
  .cmp__table tbody tr:last-child td:last-child {
    border-bottom: 0;
  }
  .cmp__table td::before {
    content: attr(data-label);
    color: var(--ink-3);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .cmp__table td:last-child::before {
    color: var(--brand-800);
  }
}
.cmp__aside {
  padding: 22px;
  border: 1px solid #b8ece5;
  border-radius: var(--r-l);
  background: var(--teal-50);
}
.cmp__aside h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1.1875rem;
}
.cmp__aside h3 .ic {
  color: var(--teal);
}
.cmp__aside > p {
  margin: 0 0 14px;
  font-size: 0.9688rem;
}
.cmp__dl {
  display: grid;
  gap: 12px;
  margin: 0;
}
.cmp__dl > div {
  padding-top: 10px;
  border-top: 1px solid rgba(15, 118, 110, 0.22);
}
.cmp__dl dt {
  color: var(--ink);
  font-weight: 800;
}
.cmp__dl dd {
  margin: 2px 0 0;
  font-size: 0.9375rem;
}

/* ---- project workflow: ten connected stages on one rail ---- */
.flow {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* the rail: grey always, filled with blue once the list has scrolled into view */
.flow::before,
.flow::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 21px;
  width: 2px;
  background: var(--line-2);
}
.flow::after {
  background: var(--brand);
  transform-origin: top;
}
.js .flow::after {
  transform: scaleY(0);
  transition: transform 1.8s ease-out;
}
.js .flow.is-in::after {
  transform: scaleY(1);
}
.fl {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px 18px;
  align-items: start;
  padding: 16px 0;
}
.fl__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--line-2);
  border-radius: var(--r-m);
  background: #fff;
  color: var(--brand);
  font-size: 1.25rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.fl__node em {
  position: absolute;
  top: -8px;
  right: -9px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.js .flow.is-in .fl__node {
  border-color: var(--brand);
  transition-delay: calc(var(--i) * 0.17s);
}
.fl__body h3 {
  margin: 4px 0 6px;
  font-size: 1.1875rem;
}
.fl__body p {
  margin: 0;
  font-size: 0.9688rem;
}
.fl__art {
  grid-column: 2;
  width: min(100%, 340px);
  height: 150px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background-color: #fff;
  overflow: hidden;
}
.fl__art .art {
  width: 100%;
  height: 100%;
}
@media (min-width: 900px) {
  .flow::before,
  .flow::after {
    left: 25px;
  }
  .fl {
    grid-template-columns: 52px minmax(0, 5fr) minmax(0, 4fr);
    gap: 12px 28px;
    align-items: center;
    padding: 18px 0;
  }
  .fl__node {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
  }
  .fl__art {
    grid-column: auto;
    height: 160px;
  }
}
/* wide screens: the rail runs down the middle and the steps alternate left and right */
@media (min-width: 1100px) {
  .flow::before,
  .flow::after {
    left: calc(50% - 1px);
  }
  .fl {
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
    gap: 0 32px;
    padding: 12px 0;
  }
  .fl__node {
    grid-column: 2;
    grid-row: 1;
  }
  .fl__body {
    max-width: 44ch;
  }
  .fl__art {
    width: min(100%, 400px);
    height: 150px;
  }
  .fl:nth-child(odd) .fl__body {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }
  .fl:nth-child(odd) .fl__art {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
  }
  .fl:nth-child(even) .fl__body {
    grid-column: 3;
    grid-row: 1;
  }
  .fl:nth-child(even) .fl__art {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .flow::after,
  .js .flow.is-in::after {
    transition: none;
  }
  .js .flow.is-in .fl__node {
    transition: none;
  }
}
.flow__cap {
  margin: 12px 0 0 62px;
}
@media (min-width: 1100px) {
  .flow__cap {
    margin: 16px 0 0;
    text-align: center;
  }
}

/* ---- 50-projects-software.css ---- */
/* =========================================================================
   50. Project showcase (six illustrative project themes) and the software ecosystem
   ========================================================================= */

.prj__note {
  margin: 0 0 28px;
}
.prj {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 700px) {
  .prj {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .prj {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .pj--1,
  .pj--4,
  .pj--5 {
    grid-column: span 7;
  }
  .pj--2,
  .pj--3,
  .pj--6 {
    grid-column: span 5;
  }
}
.pj {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.pj__art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(220px, 26vw, 300px);
  margin: 0;
  padding: 14px 14px 40px;
  border-bottom: 1px solid var(--line);
  background-color: var(--mist);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.pj__art .art {
  width: 100%;
  height: 100%;
}
.pj__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.3;
}
.pj__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.pj__k {
  margin: 0 0 6px;
  color: var(--brand-700);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pj h3 {
  margin-bottom: 8px;
  font-size: 1.375rem;
}
.pj__d {
  margin: 0 0 16px;
  font-size: 0.9688rem;
}
.pj__dl {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}
.pj__dl dt {
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pj__dl dd {
  margin: 0;
}
.pj__out {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--teal-50);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.pj__out strong {
  display: block;
  margin-bottom: 2px;
  color: var(--teal-700);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pj__m {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 6px;
  font-size: 0.875rem;
}
.pj__m .ic {
  margin-top: 0.15em;
  color: var(--brand);
}

/* ---- software and technologies ---- */
.tech {
  display: grid;
  gap: 20px;
}
.tc {
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
@media (min-width: 960px) {
  .tc {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}
.tc__head {
  padding: 22px;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) {
  .tc__head {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}
.tc__head h3 {
  margin-bottom: 8px;
  font-size: 1.1875rem;
}
.tc__head p {
  margin: 0;
  font-size: 0.9375rem;
}
.tc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tool {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: start;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.tool:first-child {
  border-top: 0;
}
.tool__mono {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-m);
  background: var(--fog);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 800;
}
.tool--core {
  background: var(--brand-50);
  box-shadow: inset 4px 0 0 var(--brand);
}
.tool--core .tool__mono {
  background: var(--brand);
  color: #fff;
}
.tool--related .tool__mono {
  background: var(--teal-50);
  color: var(--teal-700);
}
.tool__main h4 {
  margin: 2px 0 2px;
  font-size: 1.0625rem;
}
.tool__main p {
  margin: 0 0 6px;
  font-size: 0.9375rem;
}
.tool__main .tool__p {
  color: var(--ink);
  font-weight: 700;
}
.tool__note {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: var(--r-s);
  background: var(--fog);
  font-size: 0.875rem;
  line-height: 1.5;
}
.tool--core .tool__note {
  background: #fff;
}
.tool__note .ic {
  margin-top: 0.1em;
  color: var(--brand);
}
@media (max-width: 599px) {
  .tool {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }
  .tool > .tag {
    grid-column: 2;
    justify-self: start;
    grid-row: 1;
    margin-bottom: 2px;
  }
  .tool__main {
    grid-column: 2;
    grid-row: 2;
  }
  .tool__mono {
    grid-row: 1 / span 2;
  }
}
.tech__note {
  margin-top: 24px;
}

/* ---- 55-outcomes-audience-careers.css ---- */
/* =========================================================================
   55. Learning outcomes (stair-step tiers), who should join, career paths, BIM versus CAD career
   ========================================================================= */

/* ---- learning outcomes: three tiers, each marked with a small stair that has one more step filled ---- */
.tiers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
@media (min-width: 1000px) {
  .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tier {
  --tc: #93c5fd;
  border: 1px solid var(--line);
  border-top: 4px solid var(--tc);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
.tier--2 {
  --tc: #3b82f6;
}
.tier--3 {
  --tc: #1d4ed8;
}
.tier__head {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}
.tier__lv {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier__no {
  --b1: var(--ink);
  --b2: var(--line-2);
  --b3: var(--line-2);
  display: block;
  flex: none;
  width: 30px;
  height: 22px;
  background: linear-gradient(var(--b1), var(--b1)) 0 100% / 8px 7px no-repeat, linear-gradient(var(--b2), var(--b2)) 11px 100% / 8px 14px no-repeat,
    linear-gradient(var(--b3), var(--b3)) 22px 100% / 8px 22px no-repeat;
  font-size: 0;
}
.tier--2 .tier__no {
  --b2: var(--ink);
}
.tier--3 .tier__no {
  --b2: var(--ink);
  --b3: var(--ink);
}
.tier__head h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}
.tier__head p:last-child {
  margin: 0;
  font-size: 0.9375rem;
}
.skl {
  margin: 0;
  padding: 0;
  list-style: none;
}
.skl li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
}
.skl li:first-child {
  border-top: 0;
}
.skl .ic {
  grid-row: span 2;
  margin-top: 0.15em;
  color: var(--brand);
}
.skl__t {
  color: var(--ink);
  font-size: 0.9688rem;
  font-weight: 600;
  line-height: 1.45;
}
.skl__m {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.tiers__note {
  margin-top: 28px;
}

/* ---- who should join ---- */
.aud {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .aud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .aud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.au {
  --ac: var(--brand);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--ac);
  border-radius: var(--r-l);
  background: #fff;
}
.au--amber {
  --ac: var(--amber);
}
.au--teal {
  --ac: var(--teal);
}
.au h3 {
  font-size: 1.125rem;
}
.au p {
  margin: 0;
  font-size: 0.9375rem;
}
.au .au__b {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}
.aud__note {
  margin-top: 24px;
}

/* ---- career paths ---- */
.bands {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
@media (min-width: 720px) {
  .bands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
.band {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-m);
  background: #fff;
}
.band--advanced {
  border-left-color: var(--amber);
}
.band__n {
  margin: 0 0 4px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.band h3 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}
.band p:last-child {
  margin: 0;
  font-size: 0.9375rem;
}
.roles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (min-width: 900px) {
  .roles {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 24px;
  }
}
.role__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
/* Without JavaScript the role list cannot switch panels, so all ten are shown one under the other */
.no-js .role__tabs {
  display: none;
}
.no-js .roles {
  grid-template-columns: minmax(0, 1fr);
}
.no-js .role__panels {
  display: grid;
  gap: 16px;
}
.no-js .role__panel[hidden] {
  display: block !important;
}
@media (min-width: 900px) {
  .role__tabs {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding: 0;
  }
}
.role {
  position: relative;
  display: grid;
  flex: none;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
@media (min-width: 900px) {
  .role {
    min-width: 0;
  }
}
.role:hover {
  border-color: var(--brand);
}
.role__ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-s);
  background: var(--fog);
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.role__t {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.25;
}
.role__b {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}
.role__b--entry {
  background: var(--teal-50);
  color: var(--teal-700);
}
.role__b--advanced {
  background: var(--amber-50);
  color: #92400e;
}
.role[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand-50);
  box-shadow: inset 4px 0 0 var(--brand);
}
.role[aria-selected="true"] .role__ic {
  background: #fff;
  color: var(--brand);
}
/* a thin divider separates the entry-level roles from the advanced ones */
.role--break {
  margin-left: 14px;
}
.role--break::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -13px;
  width: 1px;
  background: var(--line-2);
}
@media (min-width: 900px) {
  .role--break {
    margin: 14px 0 0;
  }
  .role--break::before {
    top: -8px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }
}
.role__panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
}
.role__k {
  margin: 0 0 12px;
}
.role__panel h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}
.role__d {
  margin: 0;
  color: var(--ink);
  font-size: 1.0313rem;
}
.role__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 28px;
}
@media (min-width: 680px) {
  .role__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.role__note {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid #fde7b0;
  border-radius: var(--r-m);
  background: var(--amber-50);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.role__note .ic {
  margin-top: 0.1em;
  color: var(--amber-ink);
}
.careers__note {
  margin-top: 28px;
}

/* ---- BIM career versus traditional CAD career ---- */
.ccgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .ccgrid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
  }
  .cc__intro {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
/* two layers: a BIM skillset standing on a CAD foundation */
.stack {
  display: grid;
  margin: 0 0 24px;
}
.stack strong {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
}
.stack span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.45;
}
.stack__top {
  margin: 0 18px;
  padding: 16px 18px;
  border: 1.5px solid var(--brand);
  border-bottom: 0;
  border-radius: var(--r-m) var(--r-m) 0 0;
  background: var(--brand-50);
}
.stack__base {
  padding: 16px 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 0 0 var(--r-m) var(--r-m);
  background: var(--fog);
}
.cc__t {
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.cc__intro > p {
  margin: 0;
  font-size: 0.9688rem;
}
.ledger {
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  background: #fff;
  overflow: hidden;
}
.ledger__head {
  display: none;
}
@media (min-width: 720px) {
  .ledger__head {
    display: grid;
    grid-template-columns: minmax(150px, 22%) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 12px 20px;
    background: var(--fog);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 800;
  }
  .ledger__head span:last-child {
    color: var(--brand-800);
  }
}
.lg {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
}
.ledger__head + .lg {
  border-top: 0;
}
@media (min-width: 720px) {
  .lg {
    grid-template-columns: minmax(150px, 22%) minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    border-top: 1px solid var(--line);
  }
}
.lg__k {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}
.lg__k .ic {
  margin-top: 0.05em;
  color: var(--brand);
}
.lg__c p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.lg__c .lg__lab {
  margin: 0 0 2px;
  color: var(--ink-3);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lg__c--bim {
  color: var(--ink);
}
@media (max-width: 719px) {
  .lg__c--bim {
    padding-left: 12px;
    border-left: 3px solid var(--brand);
  }
  .lg__c--bim .lg__lab {
    color: var(--brand-800);
  }
}
/* from 720px up the column heads above the rows carry the labels, so these stay for screen readers only */
@media (min-width: 720px) {
  .lg__c .lg__lab {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* ---- 58-whyviva-details.css ---- */
/* =========================================================================
   58. Why Viva Technologies and the course information sheet
   ========================================================================= */

.wvgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .wvgrid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
  }
  .wvgrid .sec-head {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
.wvgrid .sec-head {
  max-width: none;
  margin-bottom: 0;
}
.wv__fine {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.wvlist {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wv {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line-2);
}
.wv:last-child {
  border-bottom: 1px solid var(--line-2);
}
.wv__n {
  display: none;
}
@media (min-width: 640px) {
  .wv {
    grid-template-columns: 34px 44px minmax(0, 1fr);
  }
  .wv__n {
    display: block;
    padding-top: 0.75em;
    color: var(--ink-3);
    font-family: var(--mono);
    font-size: 0.8125rem;
    font-weight: 700;
  }
}
.wv h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
}
.wv p {
  margin: 0;
  font-size: 0.9688rem;
}

/* ---- course information, laid out like the title block of a drawing sheet ---- */
.tb {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--ink);
  background: #fff;
}
@media (min-width: 960px) {
  .tb {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }
}
.tb__grid {
  margin: 0;
}
.tb__c {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px 20px;
  padding: 14px 20px;
  border-top: 1px solid var(--line-2);
}
.tb__c:first-child {
  border-top: 0;
}
@media (min-width: 560px) {
  .tb__c {
    grid-template-columns: minmax(120px, 28%) minmax(0, 1fr);
    gap: 16px 24px;
    align-items: baseline;
  }
}
.tb__c dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tb__c dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}
.tb__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid var(--ink);
  background: var(--fog);
}
@media (min-width: 960px) {
  .tb__cta {
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
}
.tb__cta .btn {
  width: 100%;
}
.tb__ask {
  margin: 0 0 4px;
  color: var(--ink-2);
  font-size: 0.9688rem;
  line-height: 1.5;
}
.tb__ask strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.35;
}

/* ---- 60-form-contact-faq-footer.css ---- */
/* =========================================================================
   60. Enquiry form, contact, FAQ, final call to action and footer
   ========================================================================= */

/* ---- enquiry ---- */
.sec--enq {
  border-block: 1px solid var(--brand-100);
  background-color: var(--brand-50);
  background-image: linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.enq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 900px) {
  .enq {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}
.enq__copy h2 {
  margin-bottom: 18px;
}
.enq__sum {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.enq__sum li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}
.enq__sum .ic {
  margin-top: 0.15em;
  color: var(--brand);
}
.enq__sum a {
  font-weight: 700;
}
.enq__card {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-2);
}

/* what to expect: three numbered steps on one line */
.enq__next {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(37, 99, 235, 0.22);
}
.enq__next h3 {
  margin-bottom: 14px;
  font-size: 1.0625rem;
}
.enq__next ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.enq__next li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 18px;
}
.enq__next li:last-child {
  padding-bottom: 0;
}
.enq__next li::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 2px;
  left: 16px;
  width: 2px;
  background: var(--brand-100);
}
.enq__next li:last-child::before {
  display: none;
}
.enq__next li > span {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: #fff;
  color: var(--brand-800);
  font-size: 0.875rem;
  font-weight: 800;
}
.enq__next strong {
  display: block;
  color: var(--ink);
  font-size: 0.9688rem;
}
.enq__next p {
  margin: 2px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* form */
.form {
  display: grid;
  gap: 18px;
}
.form__title {
  font-size: 1.375rem;
}
.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
}
.req {
  color: var(--danger);
}
.opt {
  color: var(--ink-3);
  font-weight: 500;
}
.field input:not([type="radio"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-m);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
  opacity: 1;
}
.field input:not([type="radio"]):hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink-3);
}
.field input:not([type="radio"]):focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}
.field--pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 14px;
}
@media (min-width: 560px) {
  .field--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field__group {
  display: flex;
}
.field__pre {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid var(--field-line);
  border-right: 0;
  border-radius: var(--r-m) 0 0 var(--r-m);
  background: var(--fog);
  color: var(--ink-2);
  font-weight: 700;
}
.field__group input {
  border-radius: 0 var(--r-m) var(--r-m) 0;
}
.field__hint {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.field__hint--end {
  text-align: right;
}
.field__err {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}
.field__err[hidden] {
  display: none;
}
.field[hidden] {
  display: none;
}
/* spam trap: kept "rendered" but moved off-screen, because many bots skip fields that are display:none */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* area of interest: four radio cards */
.field--choices {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.choices {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
@media (min-width: 520px) {
  .choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field .choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--field-line);
  border-radius: var(--r-m);
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.field .choice:hover {
  border-color: var(--ink-3);
}
.field .choice input {
  display: grid;
  flex: none;
  place-content: center;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 2px solid var(--field-line);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.field .choice input::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.12s;
}
.field .choice input:checked {
  border-color: var(--brand);
}
.field .choice input:checked::before {
  transform: scale(1);
}
.field .choice input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
.field .choice:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-50);
  box-shadow: 0 0 0 1px var(--brand);
}
.field--choices[aria-invalid="true"] .choice {
  border-color: var(--danger);
}

.form__support {
  margin: 2px 0 -4px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.form__privacy {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.form__privacy .ic {
  margin-top: 0.1em;
  color: var(--ok-ink);
}
.btn__spin {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn__spin[hidden] {
  display: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn__spin {
    animation-duration: 2s;
  }
}
.form__status:empty {
  display: none;
}
.status {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: var(--r-m);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.status .ic {
  margin-top: 0.1em;
}
.status--err {
  border-color: #fecaca;
  background: var(--danger-50);
  color: #7f1d1d;
}
.status p {
  margin: 0 0 8px;
}
.status p:last-child {
  margin-bottom: 0;
}
.status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.form__done {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 24px 8px;
  text-align: center;
}
.form__done[hidden] {
  display: none;
}
.form__done:focus {
  outline: none;
}
.form__done-ic {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--ok-ink);
  font-size: 2rem;
}
.form__done p {
  max-width: 40ch;
  margin: 0 0 8px;
}
.form__done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Without JavaScript the form cannot send anything, so it is replaced by the direct routes. */
.form__nojs {
  display: none;
}
.no-js .form__nojs {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 4px;
  text-align: center;
}
.no-js .form__nojs p {
  max-width: 42ch;
  margin: 0 0 6px;
}
.no-js #enquiry-form {
  display: none;
}

/* ---- contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  }
}
.cc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cc:hover {
  box-shadow: 0 18px 32px -24px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}
.cc--wa {
  border-color: #bbf7d0;
  background: var(--ok-50);
}
.cc .chip-ic {
  margin-bottom: 6px;
}
.cc p {
  margin: 0 0 8px;
  font-size: 0.9688rem;
}
.cc .btn {
  margin-top: auto;
}
@media (prefers-reduced-motion: reduce) {
  .cc:hover {
    transform: none;
  }
}
@media (max-width: 959px) {
  .cc {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: start;
  }
  .cc .chip-ic {
    grid-row: span 3;
    margin: 0;
  }
  .cc .btn {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }
}
@media (max-width: 639px) {
  .cc {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
  .cc .chip-ic {
    grid-row: auto;
  }
  .cc .btn {
    grid-column: 1;
    width: 100%;
  }
}

/* ---- FAQ ---- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
@media (min-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
  .faq__intro {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
  }
}
.faq__intro h2 {
  margin-bottom: 16px;
}
.faq__help {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: #fff;
  font-size: 0.9688rem;
}
.faq__help p {
  margin: 0 0 4px;
}
.faq__help p:last-child {
  margin: 0;
}
.faq__list {
  border-top: 1px solid var(--line-2);
}
.qa {
  border-bottom: 1px solid var(--line-2);
}
.qa__h {
  margin: 0;
  font-size: inherit;
  letter-spacing: 0;
}
.qa__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.qa__btn:hover {
  color: var(--brand-700);
}
.qa__ic {
  color: var(--brand);
  font-size: 1.25rem;
  transition: transform 0.25s;
}
.qa.is-open .qa__ic {
  transform: rotate(45deg);
}
.qa__panel {
  display: grid;
  grid-template-rows: 1fr;
}
.qa__inner {
  min-height: 0;
  overflow: hidden;
}
.qa__inner > * {
  max-width: 64ch;
  margin: 0 4px 14px;
}
.qa__inner > :last-child {
  margin-bottom: 22px;
}
.qa__inner ul,
.qa__inner ol {
  padding-left: 1.25em;
}
/* with JavaScript the answers collapse; without it every answer stays readable */
.js .qa__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0s 0.3s;
}
.js .qa.is-open .qa__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js .qa__panel,
  .js .qa.is-open .qa__panel,
  .qa__ic {
    transition: none;
  }
}

/* ---- final call to action: a quiet drawing sheet with a building on it ---- */
.cta-final {
  position: relative;
  padding: var(--sec-y) 0;
  border-top: 1px solid var(--line);
  background-color: #fff;
  background-image: radial-gradient(640px 340px at 100% 0%, rgba(37, 99, 235, 0.08), transparent 70%),
    radial-gradient(560px 320px at 0% 100%, rgba(15, 118, 110, 0.08), transparent 70%), linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  background-position: 0 0, 0 0, -1px -1px, -1px -1px;
  overflow-x: clip;
}
.cta-final__art {
  display: none;
}
@media (min-width: 900px) {
  .cta-final__art {
    position: absolute;
    top: 50%;
    right: max(var(--gutter), calc((100vw - var(--container)) / 2));
    display: block;
    width: min(46vw, 560px);
    transform: translateY(-50%);
    pointer-events: none;
  }
  .cta-final__art .art {
    width: 100%;
    height: auto;
  }
}
.cta-final__inner {
  position: relative;
}
.cta-final h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
}
.cta-final .lede {
  max-width: 46ch;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 639px) {
  .cta-final__actions .btn,
  .form__done-actions .btn {
    width: 100%;
  }
}

/* ---- footer ---- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}
@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  }
}
.footer__name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
}
.footer__name .brand__logo {
  height: 36px;
}
.footer__brand p {
  max-width: 38ch;
}
.footer__place {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}
.footer .footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer__h {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.9375rem;
  letter-spacing: 0;
}
.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.footer a:hover {
  color: var(--brand-700);
  text-decoration: underline;
}
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer__contact .ic {
  margin-top: 0.2em;
  color: var(--brand);
}
.footer__legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 40px;
  padding-top: 20px;
  color: var(--ink-3);
  font-size: 0.8125rem;
}
.footer__legal::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: var(--line);
}
.footer__legal p {
  max-width: 64ch;
  margin: 0;
}
