:root {
  --blue: #0b5ee8;
  --blue-2: #1667ee;
  --navy: #071a3d;
  --muted: #3c4b68;
  --pale: #eef5ff;
  --white: #ffffff;
  --line: rgba(12, 49, 100, .12);
  --shadow: 0 14px 34px rgba(27, 61, 110, .10);
  --radius: 18px;
  --gutter: clamp(28px, 4vw, 82px);
  --content-max: 1540px;
  --frame-max: 1760px;
  --hero-stage-max: var(--frame-max);
  --header-offset: 114px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}
body {
  margin: 0;
  color: var(--navy);
  background: #f8fbff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  min-height: 114px;
  background: rgba(219, 231, 248, .88);
  border-bottom: 1px solid rgba(12, 49, 100, .10);
  box-shadow: 0 6px 22px rgba(27, 61, 110, .08);
  backdrop-filter: blur(16px) saturate(1.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.06);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}
.site-header.home-view {
  background: rgba(149, 186, 238, .24);
  border-bottom-color: rgba(255,255,255,.42);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  width: min(calc(100% - (var(--gutter) * 1.1)), var(--hero-stage-max));
  min-height: 114px;
  margin: 0 auto;
  padding-inline: clamp(44px, 4vw, 84px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto minmax(360px, 1fr);
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  width: fit-content;
}
.brand-mark { width: 122px; height: 76px; object-fit: cover; object-position: left center; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: clamp(22px, 1.7vw, 35px); letter-spacing: .01em; }
.brand-copy > span { margin-top: 4px; color: var(--blue); font-weight: 800; font-size: clamp(14px, 1.15vw, 22px); letter-spacing: .08em; }
.brand-copy small { margin-top: 7px; font-size: 15px; letter-spacing: .03em; color: #17243e; }
.site-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 68px); white-space: nowrap; }
.nav-link { position: relative; text-decoration: none; font-weight: 800; font-size: 16px; padding: 45px 0 26px; text-shadow: 0 1px 2px rgba(255,255,255,.95); }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 21px; height: 2px; background: rgba(11,94,232,.72); transform: scaleX(1); transform-origin: center; transition: .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-link.active { color: var(--blue); }
.nav-link.active::after, .nav-link:hover::after { height: 3px; background: var(--blue); }
.header-cta { justify-self: end; min-width: 147px; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); }

main { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0 25px;
  font-weight: 800;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .back-to-top:focus-visible, .chat-rail:focus-visible, .chat-close:focus-visible, .chat-voice:focus-visible, .chat-body button:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(11,94,232,.26); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: white; box-shadow: 0 8px 20px rgba(11,94,232,.17); }
.btn-primary:hover { background: #0752cc; box-shadow: 0 11px 26px rgba(11,94,232,.22); }
.btn:disabled { cursor: default; transform: none; box-shadow: none; opacity: .48; filter: blur(.35px) saturate(.72); }
.btn-primary:disabled { background: #7f96b7; color: rgba(255,255,255,.92); }
.btn-secondary { color: var(--blue); background: rgba(255,255,255,.76); border-color: var(--blue); }

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(180deg, #c1d4f5 0%, #ceddf6 22%, #d5e0f7 45%, #d3dff6 72%, #d4e0f6 100%);
  padding-top: 114px;
}
.hero::before {
  display: none;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: min(calc(100% - (var(--gutter) * 1.1)), var(--hero-stage-max));
  margin: 0 auto;
  background-image: url('../assets/hero/melbourne-hero-01-v3214.jpg');
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: right top;
  z-index: 0;
}
html.hero-image-2 .hero-photo {
  background-image: url('../assets/hero/melbourne-hero-02-v3214.jpg');
  background-position: right top;
}
html.hero-image-3 .hero-photo {
  background-image: url('../assets/hero/melbourne-hero-03-v3216.jpg');
  background-position: right top;
}
html.hero-image-4 .hero-photo {
  background-image: url('../assets/hero/melbourne-hero-04-v3216.jpg');
  background-position: right top;
}
html.hero-image-5 .hero-photo {
  background-image: url('../assets/hero/melbourne-hero-05-v3216.jpg');
  background-position: right top;
}
.hero-wash {
  display: none;
}
.hero-dots {
  display: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(590px, calc(100% - (var(--gutter) * 2)));
  padding: 58px 0 46px;
  margin-left: max(calc((100vw - min(calc(100% - (var(--gutter) * 1.1)), var(--hero-stage-max))) / 2 + clamp(44px, 4vw, 84px)), clamp(24px, 3vw, 48px));
}
.eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 850; letter-spacing: .025em; font-size: 15px; }
.hero h1 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(56px, 4.35vw, 76px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 800;
  color: #071938;
}
.hero h1 span { color: var(--blue); }
.hero-copy { max-width: 530px; margin: 22px 0 0; font-size: 16px; line-height: 1.55; color: #233655; }
.hero-proof { margin: 20px 0 0; font-size: 16px; line-height: 1.4; }
.hero-actions { display: flex; gap: 18px; margin-top: 26px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 28px; padding: 0; margin: 26px 0 0; list-style: none; font-size: 14px; color: #283a56; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.check { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: 11px; font-weight: 900; }

.services-wrap {
  position: relative;
  z-index: 8;
  width: min(calc(100% - (var(--gutter) * 1.1)), var(--frame-max));
  margin: -18px auto 0;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 28px 20px 26px; }
.service-card { min-width: 0; padding: 0 30px 7px; display: flex; flex-direction: column; position: relative; }
.service-card-anchor { position: absolute; inset: 0; z-index: 5; border-radius: inherit; cursor: pointer; }
.service-card-anchor:focus-visible { outline: 3px solid rgba(11,94,232,.6); outline-offset: 3px; }
.service-card + .service-card { border-left: 1px solid var(--line); }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; background: #eaf2ff; color: var(--blue); font-weight: 800; font-size: 24px; line-height: 1; }
.service-card h3 { margin: 20px 0 10px; font-size: 17px; line-height: 1.25; }
.service-card p { margin: 0; min-height: 62px; font-size: 14px; line-height: 1.55; color: #33445f; }
.accent-line { display: block; width: 38px; height: 2px; margin-top: 24px; background: var(--blue); }

.content-section { padding: 100px var(--gutter); background: white; }
.services-detail-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 88px;
  background:
    radial-gradient(circle at 84% 14%, rgba(11,94,232,.075), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}
.services-detail-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 48px;
  right: max(28px, 4vw);
  width: min(440px, 34vw);
  height: 300px;
  background-image: radial-gradient(circle, rgba(11,94,232,.16) 1.25px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.75) 38%, transparent 82%);
  mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.75) 38%, transparent 82%);
  opacity: .48;
  pointer-events: none;
}
.services-detail-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -36px;
  bottom: 0;
  width: min(820px, 58vw);
  height: 190px;
  background: linear-gradient(180deg, rgba(11,94,232,.055), rgba(11,94,232,.022));
  clip-path: polygon(
    0 100%, 0 78%, 5% 78%, 5% 62%, 9% 62%, 9% 82%,
    14% 82%, 14% 54%, 19% 54%, 19% 72%, 23% 72%, 23% 42%,
    28% 42%, 28% 76%, 33% 76%, 33% 58%, 37% 58%, 37% 26%,
    40% 26%, 40% 68%, 45% 68%, 45% 48%, 50% 48%, 50% 73%,
    55% 73%, 55% 38%, 60% 38%, 60% 66%, 64% 66%, 64% 51%,
    69% 51%, 69% 79%, 74% 79%, 74% 45%, 79% 45%, 79% 69%,
    84% 69%, 84% 33%, 88% 33%, 88% 64%, 93% 64%, 93% 49%,
    97% 49%, 97% 74%, 100% 74%, 100% 100%
  );
  pointer-events: none;
}
.section-tint { background: #f0f6ff; }
.section-inner { position: relative; z-index: 1; width: min(100%, 1320px); margin: 0 auto; }
.section-inner h2 { margin: 0; max-width: 880px; font-size: clamp(34px, 3vw, 54px); line-height: 1.04; letter-spacing: -.035em; }
.section-lead { max-width: 920px; margin: 24px 0 0; color: #3d4d67; font-size: 17px; line-height: 1.7; }
.service-detail-list { display: grid; gap: 34px; margin-top: 54px; }
.service-detail {
  --service-detail-padding: clamp(30px, 3.2vw, 48px);
  scroll-margin-top: 34px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe6f6;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(27,61,110,.055);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.service-detail:target {
  border-color: rgba(11,94,232,.55);
  background: #fbfdff;
  box-shadow: 0 0 0 4px rgba(11,94,232,.08), 0 20px 46px rgba(10,55,125,.10);
}
.service-detail-hero {
  position: relative;
  min-height: clamp(500px, 42vw, 610px);
  display: flex;
  align-items: center;
  padding: var(--service-detail-padding);
  overflow: hidden;
  isolation: isolate;
  background: #071a3d;
}
.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(4,18,45,.97) 0%,
    rgba(4,18,45,.91) 26%,
    rgba(4,18,45,.74) 43%,
    rgba(4,18,45,.34) 62%,
    rgba(4,18,45,.10) 82%,
    rgba(4,18,45,.04) 100%);
  pointer-events: none;
}
.service-detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(4,18,45,.20));
  pointer-events: none;
}
.service-detail-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.service-detail-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 650px);
  min-width: 0;
  color: white;
  text-shadow: 0 1px 12px rgba(0,0,0,.20);
}
.service-detail-number {
  margin: 0 0 14px;
  color: #79b9ff;
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: .08em;
}
.service-detail-copy h3 {
  margin: 0;
  max-width: 650px;
  color: white;
  font-size: clamp(30px, 2.3vw, 40px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.service-detail-copy > p:not(.service-detail-number) {
  margin: 18px 0 0;
  max-width: 620px;
  color: rgba(255,255,255,.90);
  font-size: 16px;
  line-height: 1.7;
}
.service-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 34px var(--service-detail-padding) 0;
  border-top: 0;
}
.service-detail-block,
.service-use-case { padding: 24px 26px; border-radius: 15px; background: #f7faff; }
.service-detail-block h4,
.service-use-case h4,
.service-agent-path h4 { margin: 0 0 12px; font-size: 17px; }
.service-detail-block ul { margin: 0; padding-left: 20px; color: #3d4d67; }
.service-detail-block li { margin: 8px 0 0; padding-left: 3px; line-height: 1.55; }
.service-detail-block li:first-child { margin-top: 0; }
.service-detail-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(12,49,100,.10); color: #2c405f; font-size: 14px; line-height: 1.6; }
.service-use-case { grid-column: 1 / -1; background: #eef5ff; }
.service-use-case p { margin: 0; color: #3d4d67; line-height: 1.65; }
.service-agent-path {
  margin: 20px var(--service-detail-padding) var(--service-detail-padding);
  padding: 20px 24px;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: #f7faff;
}
.service-agent-path h4 { color: #163c78; }
.service-agent-path p { margin: 8px 0 0; color: #526179; font-size: 14px; line-height: 1.6; }
.service-agent-path p:first-of-type { margin-top: 0; }
.service-detail-cta {
  margin-top: 38px;
  padding: clamp(28px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  border: 1px solid rgba(11,94,232,.14);
  border-radius: 20px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
}
.service-detail-cta > div { max-width: 850px; }
.service-detail-cta .eyebrow { margin-bottom: 10px; font-size: 12.5px; }
.service-detail-cta h3 { margin: 0; font-size: clamp(24px, 2vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.service-detail-cta p:not(.eyebrow) { margin: 14px 0 0; color: #3d4d67; line-height: 1.65; }
.service-detail-cta .btn { flex: 0 0 auto; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.process-step-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 325 / 469;
  border: 1px solid #dbe6f6;
  border-radius: 16px;
  overflow: hidden;
  background: #0b5ee8;
  box-shadow: 0 16px 34px rgba(12,49,100,.08);
}
.step-visual,
.step-overlay {
  height: 100%;
}
.step-visual {
  padding: 0;
  background-color: #0b5ee8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.process-step-card:nth-child(1) .step-visual { background-image: url("../assets/how-we-work-01-understand.webp"); }
.process-step-card:nth-child(2) .step-visual { background-image: url("../assets/how-we-work-02-scope.webp"); }
.process-step-card:nth-child(3) .step-visual { background-image: url("../assets/how-we-work-03-build.webp"); }
.process-step-card:nth-child(4) .step-visual { background-image: url("../assets/how-we-work-04-validate.webp"); }
.process-step-card:nth-child(5) .step-visual { background-image: url("../assets/how-we-work-05-support.webp"); }
.step-title,
.step-overlay h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: white;
  font-weight: 850;
  position: relative;
  z-index: 1;
}
.step-overlay {
  position: absolute;
  padding: 24px;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  background: rgba(7,26,61,.92);
  color: white;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}
.process-step-card:hover .step-overlay,
.process-step-card:focus-within .step-overlay {
  opacity: 1;
  transform: translateY(0);
}
.steps-grid .step-overlay p {
  margin: 0;
  color: #fff;
  line-height: 1.75;
}
.steps-grid .step-overlay h3 { color: #fff; }
.steps-grid p, .why-list p, .contact-panel p { color: #3d4d67; line-height: 1.65; }
.process-summary { margin: 32px 0 0; max-width: 920px; color: #263a58; font-size: 17px; line-height: 1.65; }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.why-intro > p:last-child { margin: 24px 0 0; max-width: 520px; color: #3d4d67; line-height: 1.7; }
.why-list { display: grid; gap: 0; }
.why-list article { padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(12,49,100,.11); }
.why-list article:last-child { margin-bottom: 0; }
.why-list h3 { margin: 0 0 8px; font-size: 19px; }
.why-list p { margin: 0; }
.section-principle { margin: 38px 0 0; padding-top: 26px; border-top: 1px solid rgba(12,49,100,.11); color: #263a58; font-size: 20px; line-height: 1.5; }
.contact-section { padding: 84px var(--gutter); background: white; }
.contact-panel { padding: 48px; border-radius: 20px; background: linear-gradient(135deg, #071a3d, #0b5ee8); color: white; display: grid; gap: 40px; overflow: hidden; }
.contact-panel .eyebrow { color: #b9d3ff; }
.contact-panel h2 { max-width: 760px; }
.contact-panel p { color: rgba(255,255,255,.86); }
.contact-header { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: start; gap: 42px; }
.contact-copy { max-width: 820px; }
.contact-header p { margin: 18px 0 0; }
.contact-panel .btn-primary { background: white; color: var(--blue); flex: 0 0 auto; }
.contact-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 26px; min-width: 0; }
.contact-team { display: flex; align-items: flex-end; justify-content: flex-end; width: 100%; padding-right: 4px; }
.contact-person { position: relative; min-width: 176px; text-align: center; }
.contact-avatar-shell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 196px; height: 196px; border-radius: 50%; }
.contact-avatar-shell::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(255,255,255,.18), rgba(255,255,255,.04) 58%, rgba(255,255,255,0) 76%); filter: blur(2px); }
.contact-avatar-shell::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.10); background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.09), rgba(255,255,255,0) 68%); box-shadow: 0 18px 36px rgba(2, 12, 34, .24); }
.contact-person img { position: relative; z-index: 1; display: block; width: 184px; height: auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.24)); }
.contact-person h4 { margin: 8px 0 2px; color: white; font-size: 17px; line-height: 1.15; }
.contact-person p { margin: 0; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.35; }
.contact-person-nate { z-index: 2; transform: translateY(-10px); }
.contact-person-nate .contact-avatar-shell { width: 210px; height: 210px; }
.contact-person-nate img { width: 194px; transform: rotate(-4deg); }
.contact-person-ben { z-index: 1; margin-left: -16px; transform: translateY(10px); }
.contact-person-ben .contact-avatar-shell { width: 202px; height: 202px; }
.contact-person-ben img { width: 188px; transform: rotate(4deg); }
.contact-next { padding-top: 32px; border-top: 1px solid rgba(255,255,255,.22); }
.contact-next h3 { margin: 0 0 22px; font-size: 24px; }
.contact-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-steps article { padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.08); }
.contact-steps h4 { margin: 0 0 10px; font-size: 17px; display: flex; align-items: center; gap: 12px; }
.contact-steps h4 span { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: white; color: var(--blue); font-weight: 850; }
.contact-steps p { margin: 0; }
.contact-note { margin: 24px 0 0; }
.contact-principle { margin: 12px 0 0; font-size: 18px; }

.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  color: white;
}
.footer-inner {
  width: min(calc(100% - (var(--gutter) * 1.1)), var(--frame-max));
  margin: auto;
  padding: 24px 0 18px;
  font-size: 14px;
}
.footer-contact {
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}
.footer-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, auto);
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.94);
  text-decoration: none;
  line-height: 1.45;
}
.footer-item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.footer-icon {
  width: 24px;
  display: inline-grid;
  place-items: center;
  color: #83b8ff;
  font-size: 16px;
  line-height: 1;
}
.footer-item:is(a):hover,
.footer-item:is(a):focus-visible { color: white; }
.footer-item:is(a):focus-visible { outline: 2px solid #83b8ff; outline-offset: 5px; border-radius: 4px; }
.footer-divider {
  width: min(100%, 1120px);
  height: 1px;
  margin: 20px auto 14px;
  background: rgba(255,255,255,.14);
}
.footer-copy {
  margin: 0;
  text-align: center;
  color: rgba(219,231,249,.72);
  font-size: 12.5px;
  line-height: 1.5;
}
.footer-copy span + span::before { content: " "; }

.back-to-top {
  position: fixed;
  z-index: 31;
  right: 22px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: rgba(11,94,232,.88);
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(11,94,232,.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover,
.back-to-top:focus-visible { background: #0752cc; }
.back-to-top:active { background: #0647b2; }


.chat-rail {
  position: fixed;
  z-index: 30;
  top: 49%;
  right: 0;
  transform: translateY(-50%);
  width: 55px;
  min-height: 236px;
  border: 0;
  border-radius: 18px 0 0 18px;
  background: var(--blue);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 15px 8px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11,94,232,.24);
}
.chat-rail > span:nth-child(2) { writing-mode: vertical-rl; text-orientation: mixed; font-weight: 750; }
.chat-rail[hidden] { display: none; }
.chat-bubble { font-size: 18px; }
.chat-panel {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100dvh;
  background: white;
  box-shadow: -20px 0 50px rgba(4,28,66,.22);
  transform: translateX(105%);
  transition: transform .28s cubic-bezier(.2,.75,.2,1);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.chat-panel.open { transform: translateX(0); }
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 16px 18px 16px 20px;
  background: linear-gradient(135deg, #084fbf, var(--blue));
  color: white;
}
.chat-active-agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
.chat-header-avatar-wrap { position: relative; flex: 0 0 46px; width: 46px; height: 46px; }
.chat-header-avatar {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 6px 16px rgba(4,28,66,.2);
}
.chat-agent-indicator {
  position: absolute;
  right: -1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid #0b5ee8;
  border-radius: 50%;
}
.chat-agent-indicator.nate { background: #26d57a; }
.chat-agent-indicator.ben { background: #26d57a; }
.chat-agent-indicator.closed { background: #d92d20 !important; }
.chat-agent-copy { display: grid; gap: 3px; min-width: 0; }
.chat-agent-name { font-size: 16px; line-height: 1.1; }
.chat-agent-status { font-size: 12.5px; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}
.chat-close:hover, .chat-close:focus-visible { background: rgba(255,255,255,.12); }
.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  scroll-behavior: smooth;
}
.chat-demo-intro {
  align-self: center;
  max-width: 320px;
  margin: 2px 0 8px;
  padding: 9px 12px;
  border: 1px solid #dce8f8;
  border-radius: 999px;
  background: rgba(238,245,255,.8);
  color: #5a6b84;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}
.chat-message-row {
  width: fit-content;
  max-width: 92%;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  animation: chatMessageIn .2s ease both;
}
.chat-message-row.agent { align-self: flex-start; }
.chat-message-row.customer {
  align-self: stretch;
  width: calc(100% - 45px);
  max-width: none;
  margin-left: 45px;
  flex-direction: row-reverse;
}
.chat-message-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: #edf5ff;
  border: 1px solid #d7e6fa;
}
.chat-customer-dot {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-bottom: 3px;
  border-radius: 50%;
  background: #758daf;
  box-shadow: inset 0 0 0 1px rgba(7,26,61,.08);
}
.chat-message-stack { min-width: 0; display: grid; gap: 4px; }
.chat-message-row.customer .chat-message-stack { flex: 1 1 auto; }
.chat-message-label {
  padding-inline: 3px;
  color: #71819a;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.2;
}
.chat-message-row.customer .chat-message-label { text-align: right; }
.chat-message-bubble {
  padding: 11px 13px;
  border-radius: 15px;
  font-size: 13.5px;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.chat-message-row.agent .chat-message-bubble {
  border: 1px solid #dbe8f9;
  border-bottom-left-radius: 5px;
  background: white;
  color: #172d4d;
  box-shadow: 0 7px 18px rgba(18,58,110,.07);
}
.chat-message-row.customer .chat-message-bubble {
  border-bottom-right-radius: 5px;
  background: var(--blue);
  color: white;
  box-shadow: 0 7px 18px rgba(11,94,232,.17);
}
.chat-thinking-bubble {
  min-width: 58px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-thinking-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7d91ad;
  animation: chatThinkingPulse 1s ease-in-out infinite;
}
.chat-thinking-bubble span:nth-child(2) { animation-delay: .14s; }
.chat-thinking-bubble span:nth-child(3) { animation-delay: .28s; }
.chat-handoff {
  align-self: center;
  width: min(100%, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 2px 0;
  padding: 8px 12px;
  border: 1px solid #f0d5d0;
  border-radius: 999px;
  background: #fff8f6;
  color: #80504a;
  font-size: 11.5px;
  font-weight: 750;
  animation: chatMessageIn .24s ease both;
}
.chat-handoff img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; }
.chat-lead-status {
  align-self: center;
  width: min(100%, 330px);
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 13px;
  border-radius: 13px;
  font-size: 12px;
  line-height: 1.4;
  animation: chatMessageIn .24s ease both;
}
.chat-lead-status.saved {
  border: 1px solid #bfe8d1;
  background: #f2fbf6;
  color: #234f37;
}
.chat-lead-status.failed {
  border: 1px solid #f0d0cb;
  background: #fff7f5;
  color: #74443d;
}
.chat-lead-status-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 850;
}
.chat-lead-status.saved .chat-lead-status-icon { background: #dff5e8; color: #1f7a49; }
.chat-lead-status.failed .chat-lead-status-icon { background: #fde6e2; color: #a23b2f; }
.chat-lead-status > div { min-width: 0; display: grid; gap: 2px; }
.chat-lead-status strong { font-size: 12.5px; }
.chat-lead-status span { overflow-wrap: anywhere; }
.chat-lead-status small { color: inherit; opacity: .82; font-size: 11px; }

.chat-entry-gate {
  align-self: center;
  width: min(100%, 330px);
  display: grid;
  gap: 12px;
  padding: 15px;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  background: #f8fbff;
  color: #1e3a61;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 7px 18px rgba(18,58,110,.05);
  animation: chatMessageIn .2s ease both;
}
.chat-entry-gate strong { font-size: 13.5px; }
.chat-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.chat-gate-action {
  min-height: 36px;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.chat-gate-action.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}
.chat-gate-action.secondary {
  border: 1px solid #bfd1e8;
  background: #fff;
  color: #345273;
}
.chat-gate-action.danger {
  border: 1px solid #df8278;
  background: #fff;
  color: #9a3028;
}
.chat-gate-action:hover, .chat-gate-action:focus-visible { transform: translateY(-1px); }
.chat-entry-closed .chat-gate-action { justify-self: center; margin-top: 5px; }
.chat-scope-closed {
  align-self: stretch;
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid #e27a70;
  border-radius: 12px;
  background: #fff1f0;
  color: #8d2c23;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}
.chat-scope-closed strong { font-size: 12.5px; }
.chat-demo-complete {
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #687b96;
  font-size: 11.5px;
  text-align: center;
}
.chat-reset {
  border: 1px solid #b7cff7;
  border-radius: 999px;
  padding: 8px 13px;
  background: #f8fbff;
  color: var(--blue);
  font-weight: 750;
  cursor: pointer;
}
.chat-reset:hover, .chat-reset:focus-visible { background: #edf5ff; }
.chat-compose {
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr) 44px;
  gap: 8px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #e6edf8;
  background: white;
}
.chat-upload-alert {
  align-self: center;
  max-width: 330px;
  padding: 8px 10px;
  border: 1px solid #d7e4f3;
  border-radius: 10px;
  background: #f8fbff;
  color: #566e8d;
  font-size: 10.5px;
  line-height: 1.4;
  text-align: center;
}
.chat-upload-alert.error { border-color: #efc0bb; background: #fff5f4; color: #8d2c23; }
.chat-attachments {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-attachment {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #d4e1f1;
  border-radius: 9px;
  background: #f8fbff;
  color: #3d5675;
  font-size: 10.5px;
}
.chat-attachment.error { border-color: #efc0bb; background: #fff5f4; color: #9a3028; }
.chat-attachment-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.chat-attachment-status { color: #71819a; white-space: nowrap; }
.chat-attachment button {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e9eff7;
  color: #687b96;
  cursor: pointer;
  font-weight: 850;
}
.chat-attachment button:hover { background: #fde8e6; color: #a23b2f; }
.chat-compose input {
  min-width: 0;
  border: 1px solid #d7e2f2;
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--navy);
  outline: none;
}
.chat-compose input:focus { border-color: #8eb6ef; box-shadow: 0 0 0 3px rgba(11,94,232,.09); }
.chat-compose input:disabled { background: #f2f5f9; color: #7d8ba0; }
.chat-attach {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #cdddf2;
  border-radius: 50%;
  background: #f7fbff;
  color: var(--blue);
  cursor: pointer;
  font-size: 19px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, opacity .15s ease;
}
.chat-attach:hover:not(:disabled) { background: #edf5ff; border-color: #9fc0ee; transform: translateY(-1px); }
.chat-attach:disabled { cursor: default; opacity: .38; }
.chat-voice {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #cdddf2;
  border-radius: 50%;
  background: #f7fbff;
  color: var(--blue);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, opacity .15s ease;
}
.chat-voice svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chat-voice:hover:not(:disabled) { background: #edf5ff; border-color: #9fc0ee; transform: translateY(-1px); }
.chat-voice.listening { background: #fff2f0; border-color: #ffb4aa; color: #c4372a; }
.chat-voice:disabled { cursor: default; opacity: .38; }
.chat-upload-note {
  grid-column: 1 / -1;
  color: #8090a6;
  font-size: 9.5px;
  line-height: 1.3;
  text-align: center;
}
.chat-drop-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 24px;
  border: 3px dashed #4e9fea;
  background: rgba(239, 247, 255, .96);
  color: #0b4f99;
  text-align: center;
  pointer-events: none;
}
.chat-drop-overlay strong { font-size: 18px; }
.chat-drop-overlay span { color: #587594; font-size: 11px; }
.chat-drop-overlay[hidden] { display: none; }
.chat-send {
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.chat-send:hover:not(:disabled) { background: #0752cc; transform: translateY(-1px); }
.chat-send:disabled { cursor: default; opacity: .38; }
@keyframes chatMessageIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes chatThinkingPulse {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (min-width: 1600px) {
  .hero-content {
    width: min(610px, calc(100% - (var(--gutter) * 2)));
  }
}

@media (min-width: 1800px) {
  .hero { min-height: 640px; padding-top: 114px; }
  .hero-content {
    width: 610px;
  }
}

@media (max-width: 1280px) {
  .header-inner { grid-template-columns: minmax(320px, 1fr) auto auto; }
  .site-nav { gap: 28px; }
  .brand-mark { width: 102px; height: 66px; }
  .brand-copy strong { font-size: 26px; }
  .brand-copy > span { font-size: 16px; }
  .brand-copy small { font-size: 13px; }
  .service-card { padding-inline: 20px; }
}

@media (max-width: 1080px) {
  :root { --header-offset: 92px; }
  .site-header, .header-inner { min-height: 92px; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .site-nav {
    position: absolute;
    top: 92px;
    left: var(--gutter);
    right: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(246,250,255,.98);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 14px 4px; }
  .nav-link::after { display: none; }
  .menu-toggle { display: block; }
  .brand-copy small { display: none; }
  .hero { min-height: 640px; padding-top: 92px; }
  .hero::before { display: none; }
  .hero-photo { width: calc(100% - (var(--gutter) * 1.1)); background-size: auto 100%; background-position: right top; }
  .hero-content { width: min(540px, calc(100% - (var(--gutter) * 2))); margin-left: clamp(28px, 3.5vw, 52px); padding-top: 56px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 30px; }
  .service-card { border-left: 0 !important; }
  .service-card:nth-child(2), .service-card:nth-child(3), .service-card:nth-child(5) { border-left: 1px solid var(--line) !important; }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 26px; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .contact-header { grid-template-columns: 1fr; }
  .contact-side { align-items: stretch; }
  .contact-team { justify-content: center; padding-right: 0; }
  .contact-steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .footer-contact {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    gap: 4px;
  }
  .footer-item { justify-content: start; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-offset: 82px; }
  .site-header, .header-inner { min-height: 82px; }
  .header-inner { width: calc(100% - 28px); padding-inline: 0; grid-template-columns: 1fr auto; gap: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 74px; height: 50px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy > span { font-size: 11px; letter-spacing: .07em; }
  .header-cta { display: none; }
  .site-nav { top: 82px; left: 14px; right: 14px; }

  /* v2.3.1 mobile hero: intentional vertical composition, not a stacked desktop hero. */
  .hero {
    min-height: 0;
    padding: 82px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .hero::before, .hero-wash, .hero-dots { display: none; }
  .hero-content {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 34px var(--gutter) 26px;
  }
  /* The desktop hero photo stays untouched; mobile inserts the Melbourne band
     between the CTAs and trust indicators so the image remains part of the hero. */
  .hero-photo { display: none; }
  .hero-actions::after {
    content: "";
    display: block;
    align-self: center;
    width: calc(100% + (var(--gutter) * 2));
    height: clamp(170px, 43vw, 205px);
    margin: 6px calc(var(--gutter) * -1) 0;
    background-image:
      linear-gradient(180deg, rgba(211,223,246,.26) 0%, transparent 25%),
      url('../assets/hero/melbourne-hero-01-v3214.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top, 58% center;
  }
  html.hero-image-2 .hero-actions::after {
    background-image:
      linear-gradient(180deg, rgba(211,223,246,.26) 0%, transparent 25%),
      url('../assets/hero/melbourne-hero-02-v3214.jpg');
    background-position: center top, 50% center;
  }
  html.hero-image-3 .hero-actions::after {
    background-image:
      linear-gradient(180deg, rgba(211,223,246,.26) 0%, transparent 25%),
      url('../assets/hero/melbourne-hero-03-v3216.jpg');
    background-position: center top, 68% center;
  }
  html.hero-image-4 .hero-actions::after {
    background-image:
      linear-gradient(180deg, rgba(211,223,246,.26) 0%, transparent 25%),
      url('../assets/hero/melbourne-hero-04-v3216.jpg');
    background-position: center top, 68% center;
  }
  html.hero-image-5 .hero-actions::after {
    background-image:
      linear-gradient(180deg, rgba(211,223,246,.26) 0%, transparent 25%),
      url('../assets/hero/melbourne-hero-05-v3216.jpg');
    background-position: center top, 72% center;
  }
  .eyebrow { margin-bottom: 12px; font-size: 12.5px; }
  .hero h1 {
    max-width: none;
    font-size: clamp(40px, 11vw, 48px);
    line-height: .98;
    letter-spacing: -.045em;
  }
  .hero-copy { margin-top: 18px; font-size: 15px; line-height: 1.55; }
  .hero-proof { margin-top: 16px; font-size: 15px; line-height: 1.45; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
  .hero-actions .btn { width: 100%; min-height: 50px; }
  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 16px;
    font-size: 13.5px;
  }
  .trust-row li { min-width: 0; }
  .trust-row li:last-child { grid-column: 1 / -1; }

  /* Mobile Services: preserve the approved desktop blue-glass identity in a
     two-column tile layout. All five cards have the same footprint; card five
     is centred on the final row rather than stretched. */
  .services-wrap {
    width: calc(100% - 28px);
    margin-top: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 0;
  }
  .service-card,
  .service-card + .service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-rows: auto 1fr auto;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
    height: 138px;
    padding: 13px 11px;
    border: 1px solid rgba(194, 224, 255, .72) !important;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(209, 231, 255, .60), rgba(171, 211, 255, .46));
    box-shadow: 0 16px 34px rgba(7, 38, 84, .18);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    overflow: hidden;
  }
  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc((100% - 12px) / 2);
    justify-self: center;
  }
  .service-icon {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 100%;
    max-width: 52px;
    aspect-ratio: 1;
    height: auto;
    justify-self: center;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 12px;
    background: rgba(225, 240, 255, .70);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
    font-size: clamp(16px, 4.5vw, 20px);
  }
  .service-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 5px;
    font-size: clamp(12.5px, 3.35vw, 14px);
    line-height: 1.18;
    color: #071c3d;
  }
  .service-card p {
    grid-column: 2;
    grid-row: 2;
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: clamp(10.5px, 2.7vw, 11.5px);
    line-height: 1.32;
    color: #17365f;
  }
  .service-card .accent-line {
    grid-column: 2;
    grid-row: 3;
    width: 28px;
    margin-top: 8px;
  }
  .service-detail-list { gap: 22px; margin-top: 38px; }
  .service-detail { --service-detail-padding: 20px; padding: 0; border-radius: 18px; }
  .service-detail-hero {
    min-height: 0;
    display: block;
    padding: 0;
    overflow: visible;
    background: white;
  }
  .service-detail-hero::before,
  .service-detail-hero::after { display: none; }
  .service-detail-hero-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
  }
  .service-detail-copy {
    width: auto;
    padding: 24px var(--service-detail-padding) 4px;
    color: var(--navy);
    text-shadow: none;
  }
  .service-detail-number { color: var(--blue); }
  .service-detail-copy h3 { color: var(--navy); }
  .service-detail-copy > p:not(.service-detail-number) { color: #3d4d67; }
  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 26px var(--service-detail-padding) 0;
  }
  .service-use-case { grid-column: auto; }
  .service-detail-block, .service-use-case { padding: 20px; }
  .service-agent-path { margin: 16px var(--service-detail-padding) var(--service-detail-padding); padding: 18px 20px; }
  .service-detail-cta { align-items: stretch; flex-direction: column; gap: 22px; }
  .service-detail-cta .btn { width: 100%; }
  .steps-grid { grid-template-columns: 1fr; }
  .two-column { grid-template-columns: 1fr; gap: 34px; }
  .content-section, .contact-section { padding: 74px var(--gutter); }
  .contact-panel { padding: 34px 26px; }
  .contact-header .btn { width: 100%; }
  .contact-side .btn { max-width: 320px; align-self: flex-start; }
  .footer-inner { width: calc(100% - 40px); padding: 24px 0 20px; }
  .footer-contact { grid-template-columns: 1fr; gap: 0; }
  .footer-item {
    width: 100%;
    min-height: 48px;
    grid-template-columns: 28px minmax(0, 1fr);
    justify-content: stretch;
    gap: 12px;
    padding: 7px 0;
    font-size: 14px;
  }
  .footer-icon { width: 28px; justify-self: start; }
  .footer-divider { margin: 14px 0 13px; }
  .footer-copy { text-align: left; font-size: 12px; }
  .footer-copy span { display: block; }
  .footer-copy span + span::before { content: none; }

  /* Mobile floating controls: Chat stays lowest; Go Up sits safely above it. */
  .chat-rail {
    top: auto;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 56px;
    min-height: 56px;
    height: 56px;
    border-radius: 50%;
    transform: none;
    padding: 0;
  }
  .chat-rail > span:not(.chat-bubble) { display: none; }
  .back-to-top {
    right: 20px;
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 760px) {
  .chat-panel { width: 100vw; }
  .chat-body { padding: 18px 15px; }
  .chat-message-row { max-width: 94%; }
  .chat-header { min-height: 76px; padding: 13px 14px 13px 16px; }
  .chat-header-avatar-wrap, .chat-header-avatar { width: 42px; height: 42px; }
  .chat-header-avatar-wrap { flex-basis: 42px; }
}

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

/* ============================================================
   FLOATING SERVICES — LOCKED v2.2.2
   Large-desktop blue-glass service cards with hover/focus behaviour
   and links to the detailed service anchors below.
   ============================================================ */
@media (min-width: 1600px) {
  .services-wrap {
    /* Preserve a small visual gap below the fixed header when #services is targeted. */
    scroll-margin-top: 20px;
    width: min(50vw, 980px);
    margin-top: -170px;
    margin-right: max(
      calc((100vw - min(calc(100% - (var(--gutter) * 1.1)), var(--hero-stage-max))) / 2 + clamp(44px, 4vw, 84px)),
      clamp(24px, 3vw, 48px)
    );
    margin-bottom: 34px;
    margin-left: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .services-grid {
    gap: 14px;
    padding: 0;
  }

  .service-card,
  .service-card + .service-card {
    min-height: 142px;
    padding: 16px 15px 14px;
    border: 1px solid rgba(194, 224, 255, .72);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(209, 231, 255, .60), rgba(171, 211, 255, .46));
    box-shadow: 0 16px 34px rgba(7, 38, 84, .18);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
    cursor: pointer;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.56);
    border-radius: 12px;
    background: rgba(225, 240, 255, .70);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
    font-size: 19px;
  }

  .service-card h3 {
    margin: 13px 0 7px;
    font-size: 15px;
    line-height: 1.2;
    color: #071c3d;
  }

  .service-card p {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12.5px;
    line-height: 1.38;
    color: #17365f;
  }

  .accent-line {
    width: 30px;
    margin-top: 12px;
    transition: width .22s ease;
  }

  .service-card:focus-within {
    border-color: rgba(11,94,232,.78);
    box-shadow: 0 0 0 4px rgba(11,94,232,.12), 0 20px 42px rgba(7,38,84,.22);
  }

  .services-detail-section {
    padding-top: 82px;
  }
}

@media (min-width: 1600px) and (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(146, 199, 255, .92);
    background: linear-gradient(145deg, rgba(191, 224, 255, .72), rgba(137, 193, 255, .58));
    box-shadow: 0 22px 44px rgba(7, 38, 84, .26);
  }

  .service-card:hover .accent-line {
    width: 46px;
  }
}

@media (max-width: 760px) {
  .services-detail-section::before { width: 240px; height: 190px; right: -35px; opacity: .30; }
  .services-detail-section::after { width: 430px; height: 110px; right: -120px; opacity: .72; }
}


@media (hover: none), (max-width: 900px) {
  .process-step-card {
    min-height: auto;
    background: white;
  }
  .step-visual {
    min-height: 170px;
  }
  .step-overlay {
    position: static;
    opacity: 1;
    transform: none;
    background: white;
    color: #163c78;
    border-top: 1px solid #dbe6f6;
  }
  .step-overlay .step-number {
    background: #eef5ff;
    color: var(--blue);
  }
  .steps-grid .step-overlay p {
    color: #3d4d67;
  }
  .steps-grid .step-overlay h3 {
    color: #163c78;
  }
}


/* ============================================================
   WHY MDS CAROUSEL — v3.2.17 DRAFT TEST
   Scoped to #why-mds. No autoplay; user-controlled only.
   ============================================================ */
#why-mds .why-layout {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 5vw, 84px);
}

#why-mds .why-intro {
  position: sticky;
  top: 148px;
}

#why-mds .why-principle {
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(12,49,100,.13);
  color: #263a58;
  font-size: 18px;
  line-height: 1.55;
}

#why-mds .why-carousel {
  min-width: 0;
}

#why-mds .why-carousel-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  outline: none;
}

#why-mds .why-carousel-viewport::-webkit-scrollbar { display: none; }
#why-mds .why-carousel-viewport:focus-visible {
  outline: 3px solid rgba(11,94,232,.28);
  outline-offset: 6px;
  border-radius: 18px;
}

#why-mds .why-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  padding: 4px 2px 12px;
}

#why-mds .why-card {
  min-height: 285px;
  padding: 28px 26px 26px;
  border: 1px solid rgba(94,136,198,.18);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255,255,255,.90), rgba(230,239,252,.78));
  box-shadow: 0 14px 34px rgba(7,38,84,.09);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#why-mds .why-card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: #e8f1ff;
  color: var(--blue);
  font-weight: 850;
  font-size: 13px;
  letter-spacing: .04em;
}

#why-mds .why-card h3 {
  margin: 0 0 13px;
  color: #071938;
  font-size: 19px;
  line-height: 1.25;
}

#why-mds .why-card p {
  margin: 0;
  color: #3d4d67;
  font-size: 14px;
  line-height: 1.7;
}

#why-mds .why-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}

#why-mds .why-carousel-buttons {
  display: flex;
  gap: 10px;
}

#why-mds .why-carousel-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,94,232,.32);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
  color: var(--blue);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

#why-mds .why-carousel-button:hover:not(:disabled) {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(11,94,232,.62);
}

#why-mds .why-carousel-button:focus-visible {
  outline: 3px solid rgba(11,94,232,.24);
  outline-offset: 3px;
}

#why-mds .why-carousel-button:disabled {
  opacity: .36;
  cursor: default;
}

#why-mds .why-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

#why-mds .why-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11,94,232,.24);
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}

#why-mds .why-carousel-dot.active {
  width: 28px;
  background: var(--blue);
}

#why-mds .why-carousel-dot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  #why-mds .why-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  #why-mds .why-intro { position: static; }
  #why-mds .why-carousel-track { grid-auto-columns: calc((100% - 18px) / 2); }
  #why-mds .why-card { min-height: 250px; }
}

@media (max-width: 760px) {
  #why-mds .why-carousel-track { grid-auto-columns: 92%; gap: 14px; }
  #why-mds .why-card { min-height: 0; padding: 24px 22px; }
  #why-mds .why-carousel-controls { align-items: flex-start; }
  #why-mds .why-carousel-dots { max-width: 128px; }
  #why-mds .why-principle { margin-top: 26px; padding-top: 20px; font-size: 17px; }
}


@media (max-width: 760px) {
  .contact-panel { gap: 32px; }
  .contact-team { gap: 8px; }
  .contact-person { min-width: 0; flex: 1 1 0; }
  .contact-person-nate,
  .contact-person-ben { margin-left: 0; transform: none; }
  .contact-avatar-shell,
  .contact-person-nate .contact-avatar-shell,
  .contact-person-ben .contact-avatar-shell { width: min(40vw, 172px); height: min(40vw, 172px); }
  .contact-person img,
  .contact-person-nate img,
  .contact-person-ben img { width: min(37vw, 156px); transform: none; }
  .contact-person h4 { margin-top: 10px; font-size: 15px; }
  .contact-person p { font-size: 12px; }
}
