/* Mako Professionals site styles

   Design plan (Mako Professionals Design System 2)
   Surfaces  Light pages: white, with navy-50 for quiet bands and the hero gradient. Navy panels
             carry the 3D work: the hero program panel, the scroll story, the practice model
             panels, the hiring call and the footer.
   Color     Navy-700 is every heading and the primary action. Cyan means filled, covered or
             done on the models, and marks the call to action on navy.
   Type      Montserrat. 800 for display and section heads, 700 for card titles, 400 body at
             1.65. Eyebrows are 12px uppercase with wide tracking, in cyan-700.
   Shape     10px controls, 16px cards, 24px panels, pill badges and tabs, navy-tinted shadows.
   Motion    One build per model, once per visit and within budget (1.5 s board, 1.2 s models),
             and one slow scroll-scrubbed camera for the story. Every page is complete without
             JavaScript or with reduced motion.
   Calls     Every section ends with a way to call or book.
*/

@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/montserrat-400.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/montserrat-500.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/montserrat-600.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/montserrat-700.woff2) format("woff2"); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/montserrat-800.woff2) format("woff2"); }

:root {
  color-scheme: light;
  /* Mako Professionals Design System 2: brand scales */
  --navy-50: #eef0f9; --navy-100: #d9dcef; --navy-200: #b7bde2; --navy-300: #9aa1d2; --navy-400: #6b75b8; --navy-500: #4a559f;
  --navy-600: #3a4690; --navy-700: #2e3984; --navy-800: #252d6a; --navy-900: #1b2150; --navy-950: #121636;
  --cyan-50: #e6f8fb; --cyan-100: #c2eef3; --cyan-200: #95e2ec; --cyan-300: #5fd3e1; --cyan-400: #2cc3d6;
  --cyan-500: #02b6cc; --cyan-600: #02a0b4; --cyan-700: #03808f; --cyan-800: #07636e; --cyan-900: #0a4f58;
  --gray-50: #f7f8fb; --gray-100: #f1f3f7; --gray-200: #e3e6ee; --gray-300: #ccd1de; --gray-400: #9ba1b3;
  --gray-500: #6c7286; --gray-600: #4f5466; --gray-700: #3a3f4f; --gray-800: #262a37; --gray-900: #181b25;

  /* Site roles mapped onto the system */
  --navy: var(--navy-700);       /* headings, primary action, the material of every 3D model */
  --night: var(--navy-800);
  --ink: var(--navy-900);        /* inverse-deep: the 3D stage and dark bands */
  --cyan: var(--cyan-500);       /* secondary action, filled state */
  --cyan-ink: var(--cyan-700);   /* links and eyebrows on light */
  --cyan-soft: var(--cyan-300);  /* cyan text on navy */
  --text: var(--gray-800);       /* body copy */
  --slate: var(--gray-500);      /* muted copy */
  --frost: var(--navy-50);       /* muted surface */
  --rule: var(--gray-200);       /* subtle border */
  --white: #fefefe;
  --on-navy: var(--navy-200);    /* muted text on navy */
  --line-navy: rgba(254, 254, 254, .18);
  --dash-navy: rgba(254, 254, 254, .42);

  --fs-xs: 13px;
  --fs-s: 15px;
  --fs-b: 16px;
  --fs-l: 22px;
  --fs-2xl: clamp(30px, 3.2vw, 40px);
  --fs-3xl: clamp(34px, 4vw, 52px);
  --fs-display: clamp(40px, 4.6vw, 60px);
  --fs-d2: clamp(32px, 3.6vw, 44px);
  --fs-ch: clamp(32px, 3.6vw, 52px);

  /* Radii and navy-tinted shadows */
  --r-ctl: 10px;
  --r-card: 16px;
  --r-panel: 24px;
  --shadow-xs: 0 1px 2px rgba(27, 33, 80, .06);
  --shadow-sm: 0 1px 3px rgba(27, 33, 80, .08), 0 1px 2px rgba(27, 33, 80, .06);
  --shadow-md: 0 4px 12px rgba(27, 33, 80, .10), 0 2px 4px rgba(27, 33, 80, .06);
  --shadow-lg: 0 12px 28px rgba(27, 33, 80, .14), 0 4px 8px rgba(27, 33, 80, .06);
  --shadow-xl: 0 24px 56px rgba(27, 33, 80, .18);
  --shadow-focus: 0 0 0 3px rgba(2, 182, 204, .35);
  --shadow-card: 0 1px 2px rgba(18, 22, 54, .2), 0 14px 32px rgba(18, 22, 54, .3), 0 40px 80px rgba(18, 22, 54, .32);

  --max: 1240px;
  --hh: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-b);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-ink); text-decoration-color: rgba(3, 128, 143, .4); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cyan-800); text-decoration-color: currentColor; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; color: var(--navy); }
p { text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

::selection { background: var(--cyan-200); color: var(--navy-900); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
.section { padding-block: 120px; }
.section-tight { padding-block: 64px; }
/* On the navy-50 surface, muted text and links step one shade darker to keep AA contrast */
.bg-mist { background: var(--frost); --slate: var(--gray-600); --cyan-ink: var(--cyan-800); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-deep { background: var(--night); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }

/* Type */
.h1 { font-size: var(--fs-3xl); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.h2 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -.02em; }
.h3 { font-size: var(--fs-l); font-weight: 700; letter-spacing: -.01em; }
.display-2 { font-size: var(--fs-d2); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 60ch; }
.bg-navy .lead, .bg-deep .lead, .bg-ink .lead { color: var(--on-navy); }
.muted { color: var(--slate); }
.eyebrow { margin-bottom: 14px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-ink); }
.bg-navy .eyebrow, .bg-deep .eyebrow, .bg-ink .eyebrow, .show .eyebrow { color: var(--cyan-soft); }
/* Headings on navy surfaces */
:is(.bg-navy, .bg-deep, .bg-ink, .show, .call, .mega-cta, .hero-panel) :is(h1, h2, h3, .h1, .h2, .h3, .display, .display-2, .chapter-title) { color: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 20px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head > p { color: var(--slate); max-width: 58ch; }
.bg-navy .section-head > p, .bg-deep .section-head > p, .bg-ink .section-head > p { color: var(--on-navy); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--r-ctl);
  font: 600 16px/1.2 Montserrat, system-ui, sans-serif; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1), border-color .2s ease, color .2s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 14px 24px; font-size: 18px; }
.btn .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.btn-cyan { background: var(--cyan-500); color: var(--navy-900); }
.btn-cyan:hover { background: var(--cyan-400); color: var(--navy-900); }
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-ghost { border-color: rgba(254, 254, 254, .4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(254, 254, 254, .06); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--navy-50); color: var(--navy); }
.btn-outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-50); color: var(--navy-700); }
.btn:disabled { opacity: .5; cursor: wait; }
.text-link { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(46, 57, 132, .35); }
.text-link:hover { color: var(--navy-800); text-decoration-color: currentColor; }
.bg-navy .text-link, .bg-deep .text-link, .bg-ink .text-link, .show .text-link, .call .text-link { color: var(--white); text-decoration-color: rgba(254, 254, 254, .45); }
.bg-navy .text-link:hover, .bg-ink .text-link:hover, .show .text-link:hover, .call .text-link:hover { color: var(--cyan-soft); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.actions.center { justify-content: center; }

/* Header: translucent white, fixed over every page */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
  color: var(--navy);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 18px; height: var(--hh); }
.logo { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-menu > li:not(.mobile-cta) > a, .nav-menu .sub-toggle {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: 8px; background: none;
  font: 600 15px/1.4 Montserrat, system-ui, sans-serif; color: var(--gray-600); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.nav-menu > li:not(.mobile-cta) > a:hover, .nav-menu .sub-toggle:hover, .has-mega.open .sub-toggle { background: var(--gray-100); color: var(--navy); }
.nav-menu > li > a[aria-current="page"] { color: var(--navy); }
.sub-toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .2s ease;
}
.has-mega.open .sub-toggle::after { transform: rotate(225deg); margin-top: 3px; }
.nav-phone { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.nav-phone:hover { color: var(--cyan-ink); }
.nav-cta { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--gray-300); border-radius: var(--r-ctl); background: #fff; color: var(--navy); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Practices mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .92fr); gap: 8px 48px;
  padding: 28px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 32px;
  background: #fff; color: var(--navy);
  border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-h { margin: 0 0 8px; padding-left: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-ink); }
.mega-group + .mega-group { margin-top: 0; }
.mega ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-ctl); color: var(--navy); text-decoration: none; transition: background-color .2s ease; }
.mega ul a:hover { background: var(--frost); color: var(--navy); }
.mega ul a[aria-current="page"] b { color: var(--cyan-ink); }
.mega ul b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.mega ul span { font-size: 13px; line-height: 1.45; color: var(--slate); }
.mega-cta { position: relative; isolation: isolate; overflow: hidden; align-self: start; padding: 24px; border-radius: var(--r-card); background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); color: var(--on-navy); font-size: 14px; line-height: 1.55; box-shadow: var(--shadow-md); }
.mega-cta::before { content: ""; position: absolute; z-index: -1; right: -36px; top: -36px; width: 150px; height: 150px; background: url(/assets/img/mako-mark.png) center / contain no-repeat; opacity: .12; pointer-events: none; }
.mega-cta-t { margin-bottom: 8px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--white); }
.mega-cta .btn { margin-top: 18px; width: 100%; }
.mega-cta .mega-phone { display: block; margin-top: 14px; text-align: center; font-weight: 700; color: var(--white); text-decoration: none; }
.mega-cta .mega-phone:hover { color: var(--cyan-soft); }

@media (max-width: 1100px) {
  .nav-phone { display: none; }
}
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--hh);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px));
    background: #fff; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--hh)); overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li:not(.mobile-cta) > a, .nav-menu .sub-toggle { width: 100%; justify-content: space-between; padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--navy); text-align: left; }
  .nav-menu > li:not(.mobile-cta) > a:hover, .nav-menu .sub-toggle:hover, .has-mega.open .sub-toggle { background: none; color: var(--cyan-ink); }
  .mega {
    position: static; display: none; padding: 8px 0 12px; box-shadow: none; border: 0; background: transparent; color: var(--navy);
    opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr;
  }
  .has-mega:hover .mega { display: none; }
  .has-mega.open .mega, .has-mega.open:hover .mega { display: grid; }
  .mega::before { display: none; }
  .mega-h { padding-left: 4px; margin-top: 8px; }
  .mega ul { margin-bottom: 6px; }
  .mega ul a { padding: 10px 4px; }
  .mega-cta { display: none; }
  .nav-menu .mobile-cta { margin-top: 20px; display: grid; gap: 10px; }
}
@media (min-width: 1041px) { .mobile-cta { display: none; } }

/* ---------------------------------------------------------------
   3D system
   scene (perspective) > rig > [cam > turn] > world
   A .cube is a block: .t is its top face (content), .f .l .r are the
   front, left and right faces. --h is the block height.
   --------------------------------------------------------------- */
.scene { position: relative; perspective: 1700px; perspective-origin: 50% 30%; }
.rig, .cam, .turn { position: absolute; inset: 0; transform-style: preserve-3d; }
.world { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.p3, .cube, .seat, .lift, .drop, .slab > .t, .ph-cols, .ph, .kcol, .keys, .cascade, .stn, .sign-at, .stack3, .lyr, .pipe, .stage, .bench > .t, .bench-row { transform-style: preserve-3d; }

.cube { position: relative; --h: 16px; --top: var(--white); --front: #D2D7EC; --left: #E4E7F5; --right: #B5BCDA; }
.cube > .t { position: relative; height: 100%; background: var(--top); transform: translateZ(var(--h)); }
.cube > i { position: absolute; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.cube > .f { left: 0; right: 0; bottom: 0; height: var(--h); background: var(--front); transform-origin: 50% 100%; transform: rotateX(-90deg); }
.cube > .l { left: 0; top: 0; bottom: 0; width: var(--h); background: var(--left); transform-origin: 0 50%; transform: rotateY(-90deg); }
.cube > .r { right: 0; top: 0; bottom: 0; width: var(--h); background: var(--right); transform-origin: 100% 50%; transform: rotateY(90deg); }
.cube.cy { --top: var(--cyan); --front: #0399AB; --left: #03A9BD; --right: #027D8C; }
.cube.nv { --top: var(--navy); --front: #212A67; --left: #29327A; --right: #1A2157; }

.floor {
  position: absolute; left: -8%; right: -8%; top: 4%; bottom: -16%;
  background: radial-gradient(closest-side, rgba(3, 5, 24, .78), rgba(3, 5, 24, 0));
  transform: translate3d(3%, 6%, -70px);
}
.ground {
  position: absolute; left: -140%; right: -140%; top: -160%; bottom: -160%;
  background-image: linear-gradient(rgba(254, 254, 254, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 254, 254, .055) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center;
  -webkit-mask-image: radial-gradient(closest-side, #000 22%, transparent 100%); mask-image: radial-gradient(closest-side, #000 22%, transparent 100%);
  transform: translateZ(-70px);
}
.sh {
  position: absolute; inset: 10px 8px 4px; border-radius: 10px;
  background: rgba(4, 6, 28, .5); box-shadow: 0 0 16px 8px rgba(4, 6, 28, .38);
  transform: translate3d(5px, 4px, .5px);
}
.slot { position: absolute; inset: 0; border: 1.5px dashed var(--dash-navy); border-radius: 6px; transform: translateZ(.6px); }

/* Role chips and people chips */
.role {
  display: inline-block; padding: 6px 10px; border-radius: 6px;
  background: var(--white); border: 1.5px solid var(--white);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; color: var(--navy); white-space: nowrap;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease;
}

/* ---------------------------------------------------------------
   Home: hero with the program panel
   --------------------------------------------------------------- */
.home-hero { background: linear-gradient(180deg, #fff 0%, #fff 42%, var(--navy-50) 100%); }
.home-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px 56px; align-items: center; padding-block: calc(var(--hh) + 60px) 80px; }
/* The H1 keeps the search keywords, set small; the stakes line is the headline people read */
.hero-kicker { max-width: 44ch; margin-bottom: 18px; font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: var(--cyan-ink); text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; color: var(--navy); }
.home-hero .display { max-width: 15ch; font-size: clamp(40px, 4.2vw, 60px); text-wrap: balance; }
.display .accent { color: var(--cyan-600); }
.home-hero .lead { margin-top: 22px; max-width: 34em; font-size: 19px; }
.home-hero .actions { margin-top: 32px; }

/* The program panel: the 3D board on navy, with the platform picker */
.hero-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-panel); background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-800) 50%, var(--navy-900) 100%); color: var(--white); box-shadow: var(--shadow-xl); }
.hero-panel::before { content: ""; position: absolute; z-index: -1; right: -72px; top: -72px; width: 300px; height: 300px; background: url(/assets/img/mako-mark.png) center / contain no-repeat; opacity: .14; pointer-events: none; }
.panel-head { position: relative; z-index: 2; padding: 28px 30px 0; pointer-events: none; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; }
.badge-accent { background: var(--cyan-500); color: var(--navy-900); }
.panel-title { margin-top: 12px; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--white); }
.panel-meta { margin-top: 4px; font-size: 14px; color: var(--on-navy); }
.panel-meta b { font-weight: 700; color: var(--cyan-soft); font-variant-numeric: tabular-nums; }
.panel-scene { --k: 1; position: relative; z-index: 1; aspect-ratio: 566 / 330; margin-top: -4px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 84%, transparent 100%); }
.panel-scene .scene { position: absolute; inset: 0; perspective: 1300px; perspective-origin: 50% 18%; }
.panel-scene .cam { transform: translate(calc(var(--k) * -30px), calc(var(--k) * 18px)) rotateX(52deg) scale(calc(var(--k) * .7)); }
.panel-scene .turn { transform: rotate(-20deg); }
.panel-scene .slab > .f > * { visibility: hidden; }
html:not(.js) .panel-scene { margin-bottom: 20px; }
.programs { position: relative; z-index: 2; padding: 0 24px 24px; }
.programs-label { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--on-navy); }
.programs-set { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 22px; background: rgba(254, 254, 254, .08); border: 1px solid rgba(254, 254, 254, .12); }
.programs-set button {
  min-height: 36px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 14px/1.2 Montserrat, system-ui, sans-serif; color: var(--on-navy);
  transition: background-color .2s cubic-bezier(.4, 0, .2, 1), color .2s ease;
}
.programs-set button:hover { background: rgba(254, 254, 254, .08); color: var(--white); }
.programs-set button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.programs-set button:focus-visible { box-shadow: 0 0 0 3px rgba(95, 211, 225, .7); border-radius: 999px; }
html:not(.js) .programs { display: none; }

/* Client names under the hero: the proof enterprise buyers look for first */
.placed { background: #fff; border-block: 1px solid var(--rule); }
.placed .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 44px; padding-block: 26px; }
.placed p { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); }
.placed ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 0; padding: 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--gray-600); }

/* ---------------------------------------------------------------
   Home: the story (one sticky 3D stage on navy)
   --------------------------------------------------------------- */
.show { position: relative; display: grid; background: var(--ink); color: var(--white); }
.show > .show-flow, .show > .show-stage { grid-area: 1 / 1; }
.show-stage { position: sticky; top: 0; z-index: 0; align-self: start; height: 100vh; height: 100svh; overflow: hidden; }
.show-stage .scene { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 36%; }
.show-flow { position: relative; z-index: 1; }
.show-stage .cam { transform: translateY(30vh) rotateX(58deg) scale(.86); }
html:not(.js) .show-stage, .show.is-static .show-stage { position: relative; }
html:not(.js) .scrim-top, .show.is-static .scrim-top { opacity: .7; }
html:not(.js) .chapter, .show.is-static .chapter { min-height: 0; padding-block: 72px; }
/* Without motion the board is a still picture under the section intro: the intro grows to make room for it */
html:not(.js) .story-intro, .show.is-static .story-intro { min-height: 720px; }
html:not(.js) .show-stage, .show.is-static .show-stage { height: 720px; }
html:not(.js) .show-stage .cam, .show.is-static .show-stage .cam { transform: translateY(120px) rotateX(58deg) scale(.86); }
.scrim {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(27, 33, 80, .97) 0%, rgba(27, 33, 80, .94) 40%, rgba(27, 33, 80, .62) 50%, rgba(27, 33, 80, 0) 63%);
}
.scrim-top { position: absolute; left: 0; right: 0; top: 0; height: 46%; pointer-events: none; background: linear-gradient(rgba(27, 33, 80, .92) 0%, rgba(27, 33, 80, .6) 55%, rgba(27, 33, 80, 0)); }

.story-intro { min-height: 100vh; min-height: 100svh; padding-top: clamp(72px, 13vh, 132px); text-align: center; }
.story-intro .eyebrow { margin-bottom: 16px; }
.story-sub { max-width: 52ch; margin: 18px auto 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--on-navy); text-wrap: balance; }

.chapter { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: 10vh; }
.chapter > .wrap { width: 100%; }
.chapter-copy { max-width: clamp(340px, 42vw, 450px); }
.chapter-title { font-size: var(--fs-ch); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; }
.chapter-copy > p { margin-top: 20px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--on-navy); }
.chapter-copy .actions { margin-top: 28px; }
.chapter-copy .text-link { font-size: 16px; }

/* The program board */
.board3 { width: 1120px; margin-left: -560px; margin-top: -160px; }
.board3 .slab { --h: 30px; }
.board3 .slab > .t { padding: 22px 26px 40px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .09); }
.board3 .slab > .f { display: flex; align-items: center; justify-content: space-between; padding: 0 26px; font-size: 12px; font-weight: 700; line-height: 1; color: var(--on-navy); white-space: nowrap; }
.board3 .slab > .f b { color: var(--cyan-soft); font-weight: 800; font-variant-numeric: tabular-nums; }
.ph-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.ph { display: grid; grid-template-rows: auto auto auto; gap: 12px; }
/* The phase labels are printed on the slab. The seats stand up toward the camera, so the labels keep a
   clear band above the first row: at the steepest tilt (58deg) a 16px seat covers about 26px of slab behind it. */
.ph-head { display: flex; align-items: center; gap: 10px; height: 30px; margin-bottom: 22px; font-size: 18px; font-weight: 700; line-height: 1; color: var(--white); }
.ph-n {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.js .board3:not(.is-done) .ph:not(.is-reached) .ph-n, .ph.is-stalled .ph-n { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--dash-navy); }
.seat { position: relative; height: 92px; }
.seat > .cube, .seat > .lift, .seat .lift > .cube { position: absolute; inset: 0; }
.seat .cube { --h: 16px; }
.seat .t { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 10px 28px 10px 13px; border-radius: 4px; }
.seat .t b { font-size: 14.5px; font-weight: 700; line-height: 1.22; color: var(--navy); }
.seat .t span { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--slate); }
.seat .t::after { content: ""; position: absolute; top: 12px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.seat .cube.cy .t b { color: var(--ink); }
.seat .cube.cy .t span { color: #0D4B57; }
.seat .cube.cy .t::after { background: var(--white); }
.js .board3:not(.is-done) .seat > .cube > *, .js .board3:not(.is-done) .seat .lift > .cube > * { opacity: 0; }
.js .board3:not(.is-done) .seat > .sh { opacity: 0; }
.seat .drop > .cube > * { opacity: 0; }
.seat .drop { position: absolute; inset: 0; }
.seat.is-open .slot { border-color: var(--cyan); animation: slotPulse 1.6s ease-in-out infinite; }
@keyframes slotPulse { 50% { border-color: rgba(2, 182, 204, .35); } }
.rail { position: absolute; left: 26px; right: 26px; bottom: 16px; height: 4px; border-radius: 4px; background: rgba(254, 254, 254, .14); transform: translateZ(.6px); overflow: hidden; }
.rail-fill { position: absolute; inset: 0; background: var(--cyan); transform-origin: left center; transform: scaleX(1); }
.js .board3:not(.is-done) .rail-fill { transform: scaleX(0); }

/* The bench: specialists already in the pipeline */
.bench { position: absolute; left: 640px; top: 400px; width: 470px; transform: translate3d(1400px, 0, 0); }
.bench.cube { --h: 22px; }
.bench > .t { padding: 18px 20px 20px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .09); }
.bench-head { margin-bottom: 22px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--on-navy); }
.bench-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chip3 { height: 50px; --h: 12px; transform: translateZ(var(--lz, 0px)) scaleZ(var(--sz, 1)); }
.chip3 .t { display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 4px; font-size: 13px; font-weight: 800; color: var(--navy); }
.chip3 .t::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #9AA3CC 0 26%, transparent 27%), radial-gradient(circle at 50% 100%, #9AA3CC 0 42%, transparent 43%), #E1E5F3; }
.chip3.cy .t { color: var(--ink); }
.chip3.cy .t::before { background: radial-gradient(circle at 50% 38%, #0D4B57 0 26%, transparent 27%), radial-gradient(circle at 50% 100%, #0D4B57 0 42%, transparent 43%), #7FE3EE; }

/* Story cards (screen-space, facing the viewer). They sit in their own layer above the scrim, so the scrim never dims them. */
.card-layer { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 36%; pointer-events: none; }
.card3 {
  position: absolute; left: 50%; top: 50%; width: 320px; margin: -70px 0 0 -160px;
  padding: 18px 20px; border-radius: var(--r-card); background: var(--white); color: var(--navy);
  box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; text-align: left;
}
.card3 p { margin: 0; }
.c-k { font-size: 12px; font-weight: 700; color: var(--cyan-ink); }
.c-t { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.c-s { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--slate); }
.c-brief { width: 330px; margin-left: -165px; margin-top: -110px; }
.c-brief .c-s { margin-bottom: 14px; }
.req { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--rule); padding-top: 14px; }
.req li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.req .tk { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.c-ring { width: 248px; height: 248px; margin: -124px 0 0 -124px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.c-ring svg { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #E3E7F4; stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--cyan); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.ring-n { position: relative; text-align: center; line-height: 1; }
.ring-n b { display: block; font-size: 72px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-n span { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--slate); }

/* ---------------------------------------------------------------
   Practice models (shared by practice heroes and the homepage lineup)
   --------------------------------------------------------------- */
.model { margin: 0; }
.model .scene { height: var(--sh, 470px); perspective: 1500px; perspective-origin: 50% 24%; }
.model .world { transform: translate(-50%, -50%) translateY(var(--oy, 0px)) scale(var(--k, 1)) rotateX(var(--rx, 52deg)) rotateZ(var(--rz, -24deg)); }
.model-cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--on-navy); text-align: center; }
.model-cap b { color: var(--white); font-weight: 700; }
.key-u { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--cyan); vertical-align: baseline; }

/* SAP: module landscape */
.m-sap { --rx: 50deg; --rz: -22deg; }
.m-sap .slab { width: 580px; --h: 24px; }
.m-sap .slab > .t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; padding: 18px 20px 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .09); }
.kcol { display: grid; gap: 8px; align-content: start; }
.kh { height: 32px; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--on-navy); }
.key { height: 44px; --h: 13px; transform: scaleZ(var(--sz, 1)); }
.key .t { display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 4px; }
.key .t b { flex: 0 0 auto; min-width: 2.7em; font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.key .t span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--slate); }
.key.cy .t b, .key.cy .t span { color: var(--ink); }
.js .m-sap:not(.is-done) .key { --sz: .02; }
.js .m-sap:not(.is-done) .key:not(.is-up) > .t { background: rgba(254, 254, 254, .14); }
.js .m-sap:not(.is-done) .key:not(.is-up) > .t b, .js .m-sap:not(.is-done) .key:not(.is-up) > .t span { color: rgba(254, 254, 254, .55); }

/* Oracle Utilities: meter-to-cash cascade */
.m-oracle { --rx: 54deg; --rz: -24deg; }
.cascade { position: relative; width: 440px; height: 420px; list-style: none; margin: 0; padding: 0; }
.stn { position: absolute; left: 0; right: 0; height: 70px; top: calc(var(--i) * 86px); transform: translateZ(calc((4 - var(--i)) * 30px)); }
.stn > .cube { position: absolute; inset: 0; --h: 18px; }
.stn .t { display: flex; align-items: center; gap: 13px; padding: 0 16px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .1); }
.node { flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(2, 182, 204, .22); transition: background-color .3s ease, box-shadow .3s ease; }
.stn-step { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--white); }
.stn-sys { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--on-navy); }
.sign-at { position: absolute; right: 14px; top: 6px; transform: translateZ(18px); }
.sign { display: block; transform-origin: 50% 100%; transform: rotateX(-90deg); }
.reading { position: absolute; left: 13px; top: 23px; width: 24px; height: 24px; --h: 24px; transform: translate3d(0, 344px, 18px); }
.reading > .t { border-radius: 2px; }
.js .m-oracle:not(.is-done) .stn:not(.is-lit) .node { background: transparent; box-shadow: inset 0 0 0 2px var(--dash-navy); }
.js .m-oracle:not(.is-done) .stn:not(.is-lit) .sign { opacity: 0; }
.js .m-oracle:not(.is-done) .reading > * { opacity: 0; }

/* Microsoft: exploded stack */
.m-ms { --rx: 54deg; --rz: -28deg; }
.m-ms { --oy: 150px; }
.hero-art .m-ms .scene { height: 540px; }
.stack3 { position: relative; width: 450px; height: 140px; list-style: none; margin: 0; padding: 0; }
.lyr { position: absolute; inset: 0; transform: translateZ(calc(var(--i) * 124px)); }
.lyr > .cube { position: absolute; inset: 0; --h: 16px; }
.lyr .t { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .1); }
.lyr:nth-child(1) .cube { --top: #4351B3; --front: #333F92; --left: #3B48A4; --right: #29337C; }
.lyr:nth-child(2) .cube { --top: #3A47A3; --front: #2C3787; --left: #343F97; --right: #232C70; }
.lyr:nth-child(3) .cube { --top: #333F94; --front: #262F78; --left: #2D3787; --right: #1E2663; }
.lyr-name { font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--white); }
.lyr-what { margin-top: 2px; font-size: 11.5px; font-weight: 600; line-height: 1.35; color: var(--on-navy); }
.lyr .roles { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lyr .role { font-size: 11.5px; padding: 5px 9px; }
.js .m-ms:not(.is-done) .lyr:not(.is-in) .cube > * { opacity: 0; }

/* Cloud, DevOps and SRE: release pipeline */
.m-cloud { --rx: 48deg; --rz: -20deg; }
.m-cloud .slab { width: 560px; --h: 22px; }
.m-cloud .slab > .t { padding: 18px 20px 20px 54px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .09); }
.run-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 34px; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.run-status { padding: 4px 10px; border-radius: var(--r-ctl); background: var(--cyan); color: var(--ink); font-size: 12px; font-weight: 800; }
.run-status.is-running { background: transparent; color: var(--cyan-soft); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.pipe { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stage { position: relative; height: 54px; }
.stage > .cube { position: absolute; inset: 0; --h: 10px; }
.stage .t { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 12px; border-radius: 4px; }
.stage-name { font-size: 14px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.stage-tool { font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--slate); }
.stage .role { background: var(--frost); border-color: var(--frost); font-size: 11.5px; padding: 5px 9px; }
.st { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); }
.st svg { width: 13px; height: 13px; stroke: var(--ink); transition: opacity .2s ease; }
.rail-v { position: absolute; left: 25px; top: 89px; height: 256px; width: 4px; border-radius: 4px; background: rgba(254, 254, 254, .14); transform: translateZ(.6px); }
.packet { position: absolute; left: 17px; top: 79px; width: 20px; height: 20px; --h: 20px; transform: translate3d(0, 256px, 0); }
.packet > .t { border-radius: 2px; }
.js .m-cloud:not(.is-done) .stage:not(.is-ok) .st { background: transparent; box-shadow: inset 0 0 0 2px #C3C9E3; }
.js .m-cloud:not(.is-done) .stage:not(.is-ok) .st svg { opacity: 0; }
.js .m-cloud:not(.is-done) .stage.is-running .st { box-shadow: none; border: 2px solid #DDE1F0; border-top-color: var(--cyan); animation: spin .7s linear infinite; }
.js .m-cloud:not(.is-done) .packet > * { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Full-time hiring: three engagement seats */
.m-ft { --rx: 52deg; --rz: -24deg; }
.m-ft .slab { width: 430px; --h: 22px; }
.m-ft .slab > .t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(254, 254, 254, .09); }
.m-ft .seat { height: 104px; }
.m-ft .seat .t { padding: 12px; }
.m-ft .seat .t b { font-size: 14px; }
.js .m-ft:not(.is-done) .seat > .cube > *, .js .m-ft:not(.is-done) .seat > .sh { opacity: 0; }

/* ---------------------------------------------------------------
   Practice and inner page heroes: light, with the model on a navy panel
   --------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--navy-50) 100%); color: var(--text); overflow: hidden; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding-block: calc(var(--hh) + 60px) 88px; }
.hero-copy { flex: 1 1 500px; min-width: 0; }
.hero-art { position: relative; isolation: isolate; flex: 1 1 520px; min-width: 0; overflow: hidden; padding: 4px 0 24px; border-radius: var(--r-panel); background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-800) 50%, var(--navy-900) 100%); color: var(--white); box-shadow: var(--shadow-xl); }
.hero-art::before { content: ""; position: absolute; z-index: -1; right: -64px; top: -64px; width: 260px; height: 260px; background: url(/assets/img/mako-mark.png) center / contain no-repeat; opacity: .12; pointer-events: none; }
.hero .lead { margin-top: 22px; }
.hero-art .model { --k: .86; }
.crumbs { margin-bottom: 18px; font-size: var(--fs-xs); font-weight: 600; color: var(--slate); }
.crumbs a { color: var(--navy); }
.call-line { margin-top: 26px; font-size: 14px; line-height: 1.5; color: var(--slate); }
.call-line a { color: var(--navy); font-weight: 700; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: var(--fs-s); font-weight: 600; color: var(--navy); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { flex: 0 0 18px; stroke: var(--cyan-600); }
.hero-art.photo3 { padding: 0; overflow: visible; background: none; box-shadow: none; }
.hero-art.photo3::before { content: none; }
.photo3 .rig { position: relative; inset: auto; max-width: 440px; margin-inline: auto; }
.photo3 img { width: 100%; border-radius: var(--r-panel); box-shadow: var(--shadow-xl); }

/* Product code list (on dark) */
.defs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); column-gap: 32px; border-top: 1px solid var(--line-navy); }
.defs li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-navy); }
.defs b { flex: 0 0 3.4em; font-size: 17px; font-weight: 800; color: var(--cyan-soft); }
.defs span { font-size: var(--fs-s); color: var(--on-navy); }

/* ---------------------------------------------------------------
   Home: record, testimonial, practices
   --------------------------------------------------------------- */
.record-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 64px; align-items: center; }
.record-grid .lead { margin-top: 18px; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.client-grid li { display: flex; align-items: center; min-height: 80px; padding: 16px 20px; border-radius: var(--r-card); border: 1px solid var(--rule); background: #fff; box-shadow: var(--shadow-xs); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }

.quote-band { padding-block: 104px; text-align: center; }
.quote-band figure { max-width: 860px; margin: 0 auto; }
.q-mark { display: block; width: 44px; height: 44px; margin: 0 auto 22px; color: var(--cyan-500); }
.quote-band blockquote { margin: 0; font-size: clamp(21px, 2.1vw, 26px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; color: var(--navy-800); }
.quote-band figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; font-size: var(--fs-s); color: var(--slate); }
.quote-band figcaption strong { font-weight: 700; color: var(--navy); }

.lineup-head { max-width: 880px; margin: 0 auto 48px; text-align: center; }
.lineup-head .lead { margin: 18px auto 0; }
.lineup-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.pt { position: relative; grid-column: span 3; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); border: 1px solid var(--rule); background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); transition: box-shadow .2s cubic-bezier(.4, 0, .2, 1), transform .2s cubic-bezier(.4, 0, .2, 1); }
.pt:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pt .floor { background: radial-gradient(closest-side, rgba(27, 33, 80, .28), rgba(27, 33, 80, 0)); }
.pt .ground { background-image: linear-gradient(rgba(46, 57, 132, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 57, 132, .08) 1px, transparent 1px); }
.pt:nth-child(n+3) { grid-column: span 2; }
.pt-model { --sh: 340px; overflow: hidden; background: linear-gradient(180deg, var(--navy-50) 0%, #fff 100%); border-bottom: 1px solid var(--rule); }
.pt-model .model { --k: .72; }
.pt-model .m-oracle { --k: .68; --oy: 6px; }
.pt-model .m-ms { --k: .58; --oy: 88px; }
.pt-model .model .scene { height: var(--sh); }
.pt-model .model-cap { display: none; }
.pt:nth-child(n+3) .pt-model { --sh: 280px; }
.pt:nth-child(n+3) .pt-model .model { --k: .48; }
.pt:nth-child(n+3) .pt-model .m-ms { --k: .42; --oy: 62px; }
.pt:nth-child(n+3) .pt-model .m-ft { --k: .6; }
.pt-copy { padding: 24px 28px 28px; }
.pt h3 { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.pt h3 a { color: inherit; text-decoration: none; }
.pt h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-card); }
.pt h3 a:focus-visible { outline: none; box-shadow: none; }
.pt h3 a:focus-visible::after { box-shadow: var(--shadow-focus); }
.pt p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.pt-go { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--cyan-ink); text-decoration: underline; text-decoration-color: rgba(3, 128, 143, .4); text-underline-offset: 4px; }
.industries { max-width: 76ch; margin: 44px auto 0; text-align: center; color: var(--slate); }
.industries a { font-weight: 600; }

/* Tiles (about) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); color: var(--navy); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--navy); }
.tile.feature { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.tile.feature:hover { color: var(--white); }
.tile .num { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-ink); }
.tile.feature .num { color: var(--cyan-soft); }
.tile .title { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.tile .desc { color: var(--slate); }
.tile.feature .desc { color: var(--on-navy); }
.tile .more { margin-top: auto; font-size: var(--fs-s); font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(46, 57, 132, .35); text-underline-offset: 4px; }
.tile.feature .more { color: var(--cyan-soft); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--navy-100); background: var(--navy-50); font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .04em; color: var(--navy-700); }
.bg-mist .chips li { background: #fff; }
.bg-navy .chips li, .bg-deep .chips li, .bg-ink .chips li { background: rgba(254, 254, 254, .08); border-color: rgba(254, 254, 254, .22); color: var(--white); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.bg-mist .card { border-color: var(--rule); }
.card h3 { margin-bottom: 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.card p { font-size: 15px; line-height: 1.6; color: var(--slate); }
.card .chips { margin-top: 16px; }
.bg-mist .card .chips li { background: var(--navy-50); }
/* Even out card grids: four cards sit two by two, seven sit four and three */
.cards:has(> .card:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cards:has(> .card:nth-child(7):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.card .actions { margin-top: 18px; }
.card .role-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-s); font-weight: 600; }
.card-statement { font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--navy); }

/* Capability rows */
.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 6fr); gap: 12px 32px; align-items: baseline; padding: 32px 12px; border-bottom: 1px solid var(--rule); }
.row .n { font-size: 12px; font-weight: 600; letter-spacing: .22em; color: var(--cyan-ink); font-variant-numeric: tabular-nums; }
.row h3 { font-size: 22px; font-weight: 700; }
.row .body { display: flex; flex-direction: column; gap: 14px; }
.row .body p { color: var(--slate); }
.bg-mist .row .chips li { background: var(--white); }

/* Process (sequence) */
.process { position: relative; --p: 1; }
.process-track, .process-fill { position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--cyan-100); }
.process-fill { background: var(--cyan-500); transform-origin: left center; transform: scaleX(var(--p)); }
.js .process:not(.is-done) { --p: 0; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps .dot {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 999px; border: 5px solid var(--white); background: var(--navy-700); color: var(--white);
  font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.bg-mist .steps .dot { border-color: var(--frost); }
.steps li:last-child .dot { background: var(--cyan-500); color: var(--navy-900); }
.js .process:not(.is-done) .steps li:not(.is-on) .dot { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--rule); }
.steps h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.steps p { font-size: var(--fs-s); color: var(--slate); }

/* Quotes */
.quote-main { margin: 0; }
.quote-main blockquote { margin: 0; max-width: 30em; font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--navy-800); }
.quote-main figcaption, .quote figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 20px; font-size: var(--fs-s); color: var(--slate); }
.quote-main strong, .quote strong { font-weight: 700; color: var(--navy); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px 56px; margin-top: 56px; }
.quote { margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--gray-700); }
.bg-navy .quote, .bg-deep .quote, .bg-ink .quote { border-color: var(--line-navy); }
:is(.bg-navy, .bg-deep, .bg-ink) :is(.quote, .quote-main) blockquote { color: var(--white); }
.bg-navy figcaption, .bg-deep figcaption, .bg-ink figcaption { color: var(--on-navy); }
.bg-navy figcaption strong, .bg-deep figcaption strong, .bg-ink figcaption strong { color: var(--white); }
.quote-label { margin-bottom: 24px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-soft); }

/* Hiring call: the DS2 call-to-action panel, with the Mako mark as a quiet watermark */
.call { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 28px 56px; align-items: center; padding: 56px 48px; border-radius: var(--r-panel); background: linear-gradient(120deg, var(--navy-700), var(--navy-800)); color: var(--white); box-shadow: var(--shadow-lg); }
.call::before { content: ""; position: absolute; z-index: -1; right: 24px; top: -40px; width: 230px; height: 230px; background: url(/assets/img/mako-mark.png) center / contain no-repeat; opacity: .12; pointer-events: none; }
.call .lead { margin-top: 12px; max-width: 46ch; font-size: 17px; color: var(--on-navy); }
.call-actions { display: grid; gap: 12px; }
.call-actions .text-link { justify-self: center; margin-top: 6px; font-size: var(--fs-s); text-align: center; }
.call .text-link:focus-visible { box-shadow: 0 0 0 3px rgba(254, 254, 254, .5); }

/* Checklist */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px 32px; }
.ticks li { display: flex; gap: 12px; font-weight: 600; color: var(--navy); }
.ticks li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 999px;
  background: var(--cyan-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* FAQ */
.faq-head { margin-bottom: 40px; }
/* Wide screens: the question list sits beside its heading */
@media (min-width: 961px) {
  .wrap:has(> .faq-head) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 64px; align-items: start; }
  .wrap:has(> .faq-head) > .faq-head { position: sticky; top: calc(var(--hh) + 32px); margin-bottom: 0; }
  .wrap:has(> .faq-head) > :not(.faq-head) { grid-column: 2; }
  .wrap:has(> .faq-head) > .faq { max-width: none; }
}
.faq { max-width: 880px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 22px 48px 22px 4px; font-size: 17px; font-weight: 700; color: var(--navy); list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--cyan-600); border-bottom: 2px solid var(--cyan-600);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 4px 24px; color: var(--slate); }

/* Forms */
.form-card { padding: 32px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--gray-300); border-radius: var(--r-ctl);
  background: var(--white); color: var(--navy); font: 500 16px/1.4 Montserrat, system-ui, sans-serif;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-500); box-shadow: var(--shadow-focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--slate); }
.form-status { margin-top: 16px; font-weight: 700; }
.form-status.ok { color: #1f9d6b; }
.form-status.err { color: #d8453f; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list strong { display: block; margin-bottom: 4px; font-size: var(--fs-s); color: var(--cyan-ink); }

/* Long-form text */
.note { margin-top: 28px; max-width: 760px; color: var(--slate); }
.note a { font-weight: 600; }
.prose { max-width: 760px; }
.prose p { color: var(--slate); }
.prose p + p { margin-top: 16px; }

/* Text-only heroes, articles, comparison tables, glossary, hubs */
.hero-copy.wide { flex-basis: 820px; max-width: 900px; }
.hero .sub { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--slate); max-width: 62ch; }
.article { max-width: 760px; }
.article > * + * { margin-top: 18px; }
.article h2 { margin-top: 56px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.025em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 36px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.article p, .article li { color: var(--slate); font-size: 18px; line-height: 1.7; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: 8px; }
.article strong { color: var(--navy); }
.article a, .prose a, .cards a:not(.btn), .faq a { font-weight: 600; }
.callout { padding: 16px 20px; border-radius: var(--r-ctl); background: var(--cyan-50); border: 1px solid var(--cyan-100); }
.bg-mist .callout { background: var(--white); }
.callout p { color: var(--cyan-900); }
.table-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 18px 20px; vertical-align: top; font-size: 15px; line-height: 1.55; border-top: 1px solid var(--rule); }
.compare thead th { border-top: 0; background: var(--frost); font-size: 15px; font-weight: 700; color: var(--navy); }
.compare tbody th { width: 180px; font-weight: 700; color: var(--navy); }
.compare td { color: var(--slate); }
.glossary { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 0 48px; border-top: 1px solid var(--rule); }
.glossary div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.glossary dt { font-size: 18px; font-weight: 700; color: var(--navy); }
.glossary dd { margin: 6px 0 0; color: var(--slate); line-height: 1.6; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.link-list a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 22px; border-radius: var(--r-card); border: 1px solid var(--rule); box-shadow: var(--shadow-sm); background: var(--white); color: var(--navy); text-decoration: none; transition: border-color .2s ease; }
.link-list a:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--navy); }
.link-list b { font-size: 17px; font-weight: 700; }
.link-list span { font-size: 14px; line-height: 1.5; color: var(--slate); }
.prose + .cards, .prose + .rows, .section-head + .prose, .article + .cards, .cards + .prose { margin-top: 48px; }
.section .chips.center { justify-content: center; }
.legal p, .legal li { font-size: 16px; }

/* Analytics consent, booking dialog, form check, chat assistant (mako.js) */
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; cursor: pointer; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom .link-btn { color: var(--on-navy); font-weight: 400; }

.consent { position: fixed; left: 24px; bottom: 24px; z-index: 65; width: min(26rem, calc(100vw - 112px)); padding: 20px 22px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-xl); color: var(--ink); }
.consent h2 { font-size: 16px; font-weight: 700; color: var(--navy); }
.consent p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--slate); }
.consent a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.consent .consent-now { font-size: 13px; }
.consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.consent-actions .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

dialog.book { width: min(28rem, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r-panel); background: #fff; color: var(--text); box-shadow: var(--shadow-xl); overflow: auto; }
dialog.book::backdrop { background: rgba(18, 22, 54, .6); }
.book-form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; }
.book-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--slate); cursor: pointer; }
.book-close:hover { background: var(--frost); color: var(--navy); }
.book-logo { width: auto; height: 34px; align-self: flex-start; }
.book-form h2 { margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.book-desc { margin-top: -10px; color: var(--slate); }
.book-fail { font-weight: 600; color: #d8453f; }
.book-go { width: 100%; }
.book-alt { text-align: center; font-size: 15px; }
.book-alt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(46, 57, 132, .35); }
.field-help { font-size: 14px; color: var(--slate); }
.field-err { font-size: 13px; font-weight: 500; color: #d8453f; }
.field [aria-invalid="true"] { border-color: #d8453f; }

.captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.captcha-row span { font-weight: 700; color: var(--navy); white-space: nowrap; }
.field .captcha-row input { flex: 0 0 120px; width: 120px; }
.captcha-row .link-btn { color: var(--navy); font-size: 14px; }
.form-card.is-done > h2, .form-card.is-done > .muted { display: none; }
.form-done h2 { color: var(--navy); }
.form-done h2:focus { outline: none; }
.form-done p { margin-top: 12px; color: var(--slate); }
.form-done .actions { margin-top: 24px; }

.chat-launch { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(6, 9, 36, .35); cursor: pointer; transition: background-color .2s ease, transform .2s var(--ease); }
.chat-launch:hover { background: var(--ink); transform: translateY(-2px); }
.chat-launch .i-close, .chat-launch.is-open .i-open { display: none; }
.chat-launch.is-open .i-close { display: block; }
.chat-panel { position: fixed; right: 24px; bottom: 92px; z-index: 70; width: 380px; max-width: calc(100vw - 32px); height: min(540px, calc(100dvh - 120px)); display: none; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 30px 80px rgba(6, 9, 36, .35); color: var(--ink); }
.chat-panel.is-open { display: flex; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: var(--white); }
.chat-avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 50%; background: rgba(2, 182, 204, .18); color: var(--cyan-soft); }
.chat-head h2 { font-size: 16px; font-weight: 700; color: var(--white); }
.chat-head p { font-size: 12px; color: var(--on-navy); }
.chat-body { position: relative; display: flex; flex: 1 1 auto; min-height: 0; }
.chat-log { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; padding: 18px; background: var(--frost); }
.msg { display: flex; }
.msg-user { justify-content: flex-end; }
.msg-text { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.msg-bot .msg-text { background: var(--white); color: var(--ink); border: 1px solid var(--rule); border-top-left-radius: 6px; }
.msg-user .msg-text { background: var(--navy); color: var(--white); border-top-right-radius: 6px; white-space: pre-wrap; }
.msg-text > * + * { margin-top: 8px; }
.msg-text ul, .msg-text ol { padding-left: 1.2em; }
.msg-text li + li { margin-top: 4px; }
.msg-text a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.msg-text code { padding: 1px 5px; border-radius: 5px; background: var(--frost); font-size: .92em; }
.msg-text pre { overflow-x: auto; padding: 10px; border-radius: 8px; background: var(--frost); }
.typing { display: flex; align-items: center; gap: 5px; min-height: 40px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate); opacity: .35; animation: typing 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 50% { opacity: 1; } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-suggest button { min-height: 40px; padding: 8px 14px; border: 1px solid rgba(2, 182, 204, .55); border-radius: 999px; background: var(--white); color: var(--cyan-ink); font: 600 14px/1.3 Montserrat, system-ui, sans-serif; cursor: pointer; }
.chat-suggest button:hover { background: rgba(2, 182, 204, .1); }
.chat-latest { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); min-height: 40px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--navy); color: var(--white); font: 700 14px/1 Montserrat, system-ui, sans-serif; box-shadow: 0 8px 20px rgba(6, 9, 36, .3); cursor: pointer; }
/* The next steps stay one tap away while the visitor chats */
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 12px 0; border-top: 1px solid var(--rule); background: var(--white); }
.chat-actions .btn { flex: 1 1 auto; min-height: 40px; padding: 8px 10px; font-size: 13px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rule); background: var(--white); }
.chat-actions ~ .chat-form { border-top: 0; }
.chat-form input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1.5px solid #C9CEE4; border-radius: 12px; background: var(--white); color: var(--navy); font: 500 16px/1.4 Montserrat, system-ui, sans-serif; }
.chat-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(2, 182, 204, .22); }
.chat-send { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--cyan); color: var(--ink); cursor: pointer; }
.chat-send:disabled, .chat-form input:disabled { opacity: .55; cursor: default; }
@media (max-width: 760px) {
  .chat-launch { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  .chat-panel { left: 12px; right: 12px; width: auto; max-width: none; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); height: min(520px, calc(100dvh - 230px)); }
  .consent { left: 12px; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 92px); }
}
@media (prefers-reduced-motion: reduce) {
  .typing span { animation: none; opacity: .7; }
  .chat-launch { transition: none; }
  .chat-launch:hover { transform: none; }
}

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 72px 32px; }
.foot-brand { flex: 2 1 280px; }
.foot-brand img { height: 52px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 340px; line-height: 1.7; }
.foot-call { display: inline-flex; margin-top: 22px; }
.foot nav { flex: 1 1 180px; }
.foot h2 { margin-bottom: 16px; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-200); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: rgba(254, 254, 254, .8); text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot .btn-cyan { color: var(--navy-900); }
.foot .btn-cyan:hover { color: var(--navy-900); text-decoration: none; }
.foot-bottom { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(254, 254, 254, .12); font-size: var(--fs-xs); }
.foot-bottom a { color: var(--on-navy); }

/* Phone call bar (small screens) */
.callbar { display: none; }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-art .model { --k: .8; }
  .programs { padding: 0 16px 18px; }
  .programs-label { margin-left: 8px; }
  .programs-set button { padding: 7px 10px; font-size: 13px; }
}
/* Short laptop screens: a tighter hero so the panel shows whole above the fold */
@media (max-height: 820px) and (min-width: 1024px) {
  .home-grid { padding-block: calc(var(--hh) + 36px) 56px; }
  .panel-scene { aspect-ratio: 566 / 300; }
  .panel-head { padding-top: 24px; }
}
@media (max-width: 1040px) {
  .pt, .pt:nth-child(n+3) { grid-column: span 3; }
  .pt:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); padding-block: calc(var(--hh) + 48px) 64px; }
  .home-hero .display { max-width: 16ch; }
  .hero-panel { width: 100%; max-width: 680px; }
}
@media (max-width: 960px) {
  .section-head, .record-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 40px minmax(0, 1fr); }
  .row .body { grid-column: 2; }
}
@media (max-width: 760px) {
  :root { --hh: 64px; }
  .logo img { height: 38px; }
  .section { padding-block: 80px; }
  .hero-grid { padding-block: calc(var(--hh) + 40px) 56px; gap: 28px; }
  .hero-art .model { --k: .64; --sh: 340px; }
  .call { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .card, .tile, .form-card { padding: 24px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .steps .dot { grid-row: 1 / 3; }
  .steps h3 { margin: 14px 0 4px; }
  .process-track, .process-fill { left: 27px; right: auto; top: 28px; bottom: 28px; width: 3px; height: auto; }
  .process-fill { transform-origin: center top; transform: scaleY(var(--p)); }

  .home-grid { padding-block: calc(var(--hh) + 36px) 48px; gap: 36px; }
  .hero-kicker { margin-bottom: 14px; font-size: 14px; }
  .home-hero .lead { margin-top: 18px; font-size: 17px; }
  .home-hero .actions { margin-top: 26px; }
  .home-hero .btn-lg { min-height: 52px; padding: 13px 22px; font-size: 16px; }
  .panel-head { padding: 22px 22px 0; }
  .panel-title { font-size: 19px; }
  .programs { padding: 0 14px 16px; }
  .programs-label { margin-left: 8px; }
  .programs-set button { min-height: 36px; padding: 7px 12px; font-size: 13px; }
  .placed .wrap { gap: 10px 24px; padding-block: 22px; }
  .placed ul { gap: 8px 22px; font-size: 15px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .client-grid li { min-height: 64px; padding: 12px 14px; font-size: 15px; }
  .client-grid li:last-child:nth-child(odd) { grid-column: span 2; }
  .quote-band { padding-block: 72px; }

  .story-intro { padding-top: 64px; }
  .chapter { align-items: flex-end; padding-block: 8vh 14vh; }
  .chapter-copy { max-width: none; padding: 22px 22px 24px; border-radius: var(--r-card); background: rgba(27, 33, 80, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .chapter-copy > p { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .chapter-title { font-size: 28px; }
  /* On phones the fixed call bar carries both actions, so the chapters give that room to the stage */
  .chapter-copy .actions { display: none; }
  .show-stage .cam { transform: translateY(40vh) rotateX(54deg) scale(.5); }
  html:not(.js) .story-intro, .show.is-static .story-intro { min-height: 600px; }
  html:not(.js) .show-stage, .show.is-static .show-stage { height: 600px; }
  html:not(.js) .show-stage .cam, .show.is-static .show-stage .cam { transform: translateY(110px) rotateX(54deg) scale(.42); }
  .show-stage .turn { transform: rotate(-26deg); }
  .scrim { background: linear-gradient(0deg, rgba(27, 33, 80, .9) 0%, rgba(27, 33, 80, .5) 34%, rgba(27, 33, 80, 0) 55%); }
  .card3 { transform-origin: 50% 50%; }
  .c-brief { width: 276px; margin-left: -138px; padding: 16px 18px; }
  .c-brief .c-t { font-size: 17px; }
  .c-brief .req { gap: 8px; padding-top: 12px; }
  .c-brief .req li { font-size: 13px; }
  .c-ring { width: 180px; height: 180px; margin: -90px 0 0 -90px; }
  .ring-n b { font-size: 52px; }
  .ring-n span { font-size: 13px; }

  .lineup-grid { grid-template-columns: 1fr; gap: 16px; }
  .pt, .pt:nth-child(n+3), .pt:last-child { grid-column: auto; }
  .pt-model, .pt:nth-child(n+3) .pt-model { --sh: 230px; }
  .pt-model .model, .pt:nth-child(n+3) .pt-model .model { --k: .5; }
  .pt-model .m-oracle { --k: .48; --oy: 4px; }
  .pt-model .m-ms, .pt:nth-child(n+3) .pt-model .m-ms { --k: .42; --oy: 62px; }
  .pt:nth-child(n+3) .pt-model .m-ft { --k: .6; }
  .pt-copy { padding: 20px 22px 24px; }

  .callbar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 55;
    display: flex; gap: 8px; padding: 7px; border-radius: var(--r-card);
    background: rgba(27, 33, 80, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: var(--shadow-xl);
    transform: translateY(160%); transition: transform .35s var(--ease);
  }
  .callbar.is-on { transform: none; }
  .callbar .btn { flex: 1 1 0; min-height: 46px; padding: 10px 12px; font-size: 15px; }
  .site-footer { padding-bottom: 84px; }
  .foot { gap: 32px 24px; }
  .foot nav { flex: 1 1 140px; }
}
@media (max-width: 560px) {
  .hero-art .model { --k: .56; --sh: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .callbar { transition: none; }
}
