/* Explicit logo geometry avoids flex shrinking against intrinsic SVG dimensions. */
.site-layout .site-nav { visibility: visible !important; opacity: 1 !important; }
.site-layout .site-nav .div-block-386,
.site-layout .site-nav .brand-link { flex: 0 0 auto; }
.site-layout .site-nav .brand-wordmark {
 display: block; width: 160px; height: auto; aspect-ratio: 1420 / 330;
 transform: none; flex: none; overflow: visible;
}
.site-layout .site-nav .brand-wordmark img {
 width: 100%; height: auto; max-width: none; max-height: none;
 opacity: 1; visibility: visible; object-fit: contain;
}
.site-layout .site-nav .brand-logo-light { display: block; }
.site-layout .site-nav .brand-logo-dark { display: none; }
html[data-theme="dark"] .site-layout .site-nav .brand-logo-light { display: none; }
html[data-theme="dark"] .site-layout .site-nav .brand-logo-dark { display: block; }
.site-layout .site-footer {
 background: #000 !important; color: #f8f8fa !important;
 --component-accent: #fdee36;
}
.site-layout .site-footer .footer-grid {
 max-width: 1920px; padding: 80px clamp(24px, 4.8vw, 92px) 72px;
 grid-template-columns: minmax(0, 1fr) auto; gap: 64px;
}
.site-layout .site-footer .footer-brand { max-width: 552px; }
.site-layout .site-footer .brand-wordmark { display: block; width: 308px; max-width: 100%; }
.site-layout .site-footer .brand-wordmark img { width: 100%; height: auto; max-height: none; }
.site-layout .site-footer .brand-wordmark .brand-logo-light { display: none !important; }
.site-layout .site-footer .brand-wordmark .brand-logo-dark { display: block !important; }
.site-layout .site-footer .footer-brand > .spacer._1rem { height: 28px; }
.site-layout .site-footer .footer-brand > .spacer._2rem { height: 48px; }
.site-layout .site-footer .divider_line { width: 100%; height: 1px; background: #24242a; }
.site-layout .site-footer .p2 { font-size: clamp(16px, 1.2vw, 22px); line-height: 1.65; }
.site-layout .site-footer .footer-brand > p { color: #d0cdd7 !important; }
.site-layout .site-footer .footer-brand ._70 { color: #92909b; opacity: 1; }
.site-layout .site-footer .footer-links { gap: 70px; }
.site-layout .site-footer .footer-links .div-block-190 { gap: 0; }
.site-layout .site-footer .footer-links a,
.site-layout .site-footer .footer-legal a { color: #92909b !important; opacity: 1; text-decoration: none; }
.site-layout .site-footer .footer-links strong { color: #d0cdd7; }
.site-layout .site-footer .footer-links a { min-height: 48px; }
.site-layout .site-footer a:hover { color: #fdee36 !important; }
.site-layout .site-footer .footer-contact { display: inline-block; margin-top: 12px; color: #c7c3ce; }
.site-layout .site-footer .footer-socials { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.site-layout .site-footer .footer-social-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 7px; background: #16171f; color: #bbb7c5; }
.site-layout .site-footer .footer-social-icon svg { width: 32px; height: 32px; }
.site-layout .site-footer .footer-legal {
 background: #16171f !important; border: 0 !important;
 padding: 12px clamp(24px, 4.8vw, 92px);
}
.site-layout .site-footer .footer-legal .container_main { max-width: 1736px; width: 100%; }
.site-layout .site-footer .footer-legal .div-block-364 { gap: 24px; }
.site-layout .back-to-top { width: 64px; height: 64px; right: 32px; bottom: 32px; background: #fdee36; color: #15161c; border: 0; }
/* Footer contrast: the light-theme link rule must not dim the email or social icons on the black footer. */
html .site-layout .site-footer a.footer-contact { color: #fdee36 !important; opacity: 1; }
html .site-layout .site-footer a.footer-social-icon { color: #e4e1ea !important; background: #1d1e27 !important; opacity: 1; }
html .site-layout .site-footer a.footer-social-icon:hover { color: #15161c !important; background: #fdee36 !important; }
/* Tighter vertical rhythm: CTA to footer, and logo block to bottom bar. */
.site-layout .section_main.footer_wrap { padding-bottom: 40px; }
.site-layout .site-footer .footer-grid { padding-top: 56px; padding-bottom: 40px; }
.site-layout .site-footer .footer-socials { margin-top: 20px; }
.site-layout .site-footer .footer-contact { margin-top: 12px; font-size: 16px; line-height: 24px; }
/* Light theme footer: same layout and spacing as the dark one, in ivory/charcoal. */
html[data-theme="light"] .site-layout .site-footer { background: #f8f7f2 !important; color: #24251f !important; --component-accent: #806000; }
html[data-theme="light"] .site-layout .site-footer .brand-wordmark .brand-logo-light { display: block !important; }
html[data-theme="light"] .site-layout .site-footer .brand-wordmark .brand-logo-dark { display: none !important; }
html[data-theme="light"] .site-layout .site-footer .divider_line { background: #deded0; }
html[data-theme="light"] .site-layout .site-footer .footer-brand > p { color: #3f4036 !important; }
html[data-theme="light"] .site-layout .site-footer .footer-brand ._70 { color: #5d5d52; }
html[data-theme="light"] .site-layout .site-footer .footer-links strong { color: #24251f; }
html[data-theme="light"] .site-layout .site-footer .footer-links a,
html[data-theme="light"] .site-layout .site-footer .footer-legal a { color: #5d5d52 !important; }
html[data-theme="light"] .site-layout .site-footer a:hover { color: #806000 !important; }
html[data-theme="light"] .site-layout .site-footer a.footer-contact { color: #806000 !important; }
html[data-theme="light"] .site-layout .site-footer a.footer-social-icon { color: #3f4036 !important; background: #e9e7db !important; }
html[data-theme="light"] .site-layout .site-footer a.footer-social-icon:hover { color: #24251f !important; background: #f9df35 !important; }
html[data-theme="light"] .site-layout .site-footer .footer-legal { background: #e9e7db !important; border-top: 1px solid #deded0 !important; color: #24251f; }
html[data-theme="light"] .site-layout .site-footer .footer-legal * { color: #24251f; }
html[data-theme="light"] .site-layout .site-footer .footer-legal a { color: #5d5d52 !important; }
/* Space between the privacy note and the first form field. */
.site-layout .form-privacy { margin-bottom: 1.25rem; }
@media (max-width: 991px) {
 .site-layout .site-footer .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 40px; }
 .site-layout .site-footer .footer-links { width: min(100%, 552px); gap: 32px; }
}
@media (max-width: 767px) {
 .site-layout .section_main .container_main .cta_wrap,
 .site-layout .section_main.hero .cta_wrap { padding-inline: 16px; }
 .site-layout .site-nav .brand-wordmark { width: 140px; }
 .site-layout .site-footer .brand-wordmark { width: 250px; }
 .site-layout .site-footer .footer-brand > .spacer._2rem { height: 28px; }
 .site-layout .site-footer .footer-socials { gap: 16px; margin-top: 32px; }
 .site-layout .site-footer .footer-social-icon { width: 44px; height: 44px; }
 .site-layout .site-footer .footer-links.div-block-191 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
 .site-layout .site-footer .footer-legal .div-block-364 { gap: 12px; }
 .site-layout .back-to-top { width: 48px; height: 48px; right: 16px; bottom: 20px; }
}
@media (max-width: 374px) {
 .site-layout .site-nav .brand-wordmark { width: 112px; }
}
/* Reference footer proportions: 308px wordmark, 22px copy, 54px icons.
   Keep the existing light/dark palette; align geometry with the supplied image. */
.site-layout .site-footer { font-family: 'DM Sans', sans-serif; }
.site-layout .site-footer .footer-grid {
 max-width: 1920px; padding: 89px clamp(24px, 4.86vw, 92px) 72px;
 grid-template-columns: minmax(0, 1fr) 414px; gap: 64px;
}
.site-layout .site-footer .footer-brand { width: 552px; max-width: 100%; }
.site-layout .site-footer .footer-brand > .spacer { display: none; }
.site-layout .site-footer .footer-brand .brand-wordmark {
 width: 308px; height: auto; aspect-ratio: 1420 / 330; margin: 0 0 30px;
}
.site-layout .site-footer .p2 { font-size: 22px; line-height: 36px; font-weight: 400; letter-spacing: -.35px; }
.site-layout .site-footer .footer-brand > p.opacity { margin: 0 0 49px; white-space: nowrap; }
.site-layout .site-footer .footer-brand .divider_line { margin: 0 0 24px; height: 1px; min-height: 1px; }
.site-layout .site-footer .footer-brand > p:not(.opacity) { margin: 0 0 48px; }
.site-layout .site-footer .footer-brand .text-span-3 { display: block; }
.site-layout .site-footer .footer-socials { margin: 0; gap: 24px; }
.site-layout .site-footer .footer-social-icon { width: 54px; height: 54px; flex: 0 0 54px; }
.site-layout .site-footer .footer-social-icon svg { width: 32px; height: 32px; }
.site-layout .site-footer .footer-contact { display: none; }
.site-layout .site-footer .footer-links.div-block-191 {
 width: 414px; grid-template-columns: 176px 190px; gap: 70px;
}
.site-layout .site-footer .footer-links strong { font-weight: 600; }
.site-layout .site-footer .footer-links .div-block-190 { display: flex; flex-direction: column; gap: 0; }
.site-layout .site-footer .footer-links a { height: 48px; min-height: 48px; white-space: nowrap; }
.site-layout .site-footer .footer-legal { padding-block: 11px; }
.site-layout .site-footer .footer-legal .p2 { line-height: 36px; }
.site-layout .site-footer .footer-legal .container_main.hero-pricing { padding: 0; }
@media (max-width: 1199px) {
 .site-layout .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; }
 .site-layout .site-footer .p2 { font-size: 18px; line-height: 30px; }
 .site-layout .site-footer .footer-links.div-block-191 { width: 350px; grid-template-columns: 140px 178px; gap: 32px; }
 .site-layout .site-footer .footer-brand > p.opacity { white-space: normal; }
}
@media (max-width: 991px) {
 .site-layout .site-footer .footer-grid { grid-template-columns: 1fr; padding-block: 48px; gap: 48px; }
 .site-layout .site-footer .footer-brand > p.opacity { margin-bottom: 32px; }
 .site-layout .site-footer .footer-brand > p:not(.opacity) { margin-bottom: 32px; }
}
@media (max-width: 767px) {
 .site-layout .site-footer .p2 { font-size: 16px; line-height: 27px; letter-spacing: 0; }
 .site-layout .site-footer .footer-brand .brand-wordmark { width: 250px; margin-bottom: 24px; }
 .site-layout .site-footer .footer-links.div-block-191 { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
 .site-layout .site-footer .footer-links a { white-space: normal; height: auto; }
 .site-layout .site-footer .footer-socials { gap: 16px; }
 .site-layout .site-footer .footer-social-icon { width: 44px; height: 44px; flex-basis: 44px; }
 .site-layout .site-footer .footer-social-icon svg { width: 28px; height: 28px; }
 .site-layout .site-footer .footer-legal .p2 { line-height: 27px; }
}
/* Mobile/tablet footer must never exceed the viewport (1fr columns and nowrap text were overflowing). */
/* The reference is 1893px of page content. Viewport-relative geometry keeps
   the same visual proportions when desktop display/browser scaling is 150%.
   Fixed pixel values previously rendered as a 462px logo and 81px icons. */
@media (min-width: 992px) {
 .site-layout .site-footer { --footer-unit: calc(100vw / 1893); }
 .site-layout .site-footer .footer-grid {
  max-width: none;
  padding: calc(var(--footer-unit) * 89) calc(var(--footer-unit) * 92) calc(var(--footer-unit) * 72);
  grid-template-columns: minmax(0, 1fr) calc(var(--footer-unit) * 414);
  gap: calc(var(--footer-unit) * 64);
 }
 .site-layout .site-footer .footer-brand { width: calc(var(--footer-unit) * 552); max-width: 100%; }
 .site-layout .site-footer .footer-brand .brand-wordmark {
  width: calc(var(--footer-unit) * 308); margin-bottom: calc(var(--footer-unit) * 30);
 }
 .site-layout .site-footer .p2 {
  font-size: calc(var(--footer-unit) * 22); line-height: calc(var(--footer-unit) * 36);
  letter-spacing: calc(var(--footer-unit) * -.35);
 }
 .site-layout .site-footer .footer-brand > p.opacity { white-space: nowrap; margin-bottom: calc(var(--footer-unit) * 49); }
 .site-layout .site-footer .footer-brand .divider_line { margin-bottom: calc(var(--footer-unit) * 24); }
 .site-layout .site-footer .footer-brand > p:not(.opacity) { margin-bottom: calc(var(--footer-unit) * 48); }
 .site-layout .site-footer .footer-socials { gap: calc(var(--footer-unit) * 24); }
 .site-layout .site-footer .footer-social-icon {
  width: calc(var(--footer-unit) * 54); height: calc(var(--footer-unit) * 54);
  flex-basis: calc(var(--footer-unit) * 54); border-radius: calc(var(--footer-unit) * 7);
 }
 .site-layout .site-footer .footer-social-icon svg { width: calc(var(--footer-unit) * 32); height: calc(var(--footer-unit) * 32); }
 .site-layout .site-footer .footer-links.div-block-191 {
  width: calc(var(--footer-unit) * 414);
  grid-template-columns: calc(var(--footer-unit) * 176) calc(var(--footer-unit) * 190);
  gap: calc(var(--footer-unit) * 70);
 }
 .site-layout .site-footer .footer-links .spacer { height: calc(var(--footer-unit) * 8); padding: 0; }
 .site-layout .site-footer .footer-links a { height: calc(var(--footer-unit) * 48); min-height: calc(var(--footer-unit) * 48); }
 .site-layout .site-footer .footer-legal {
  padding: calc(var(--footer-unit) * 11) calc(var(--footer-unit) * 92);
 }
 .site-layout .site-footer .footer-legal .container_main { max-width: none; }
 .site-layout .site-footer .footer-legal .p2 { line-height: calc(var(--footer-unit) * 36); }
 .site-layout .site-footer .footer-legal .div-block-364 { gap: calc(var(--footer-unit) * 24); }
 .site-layout .back-to-top {
  width: 3.4865vw; height: 3.4865vw; right: 1.7433vw; bottom: 1.6904vw;
  font-size: 2.113vw;
 }
}
html[data-theme="dark"] .site-layout .site-footer a.footer-social-icon { color: #bbb7c5 !important; background: #16171f !important; }
html[data-theme="dark"] .site-layout .site-footer a.footer-social-icon:hover { color: #15161c !important; background: #fdee36 !important; }
@media (max-width: 991px) {
 .site-layout .site-footer .footer-grid { grid-template-columns: minmax(0, 1fr); }
 .site-layout .site-footer .footer-brand { width: 100%; min-width: 0; }
 .site-layout .site-footer .footer-brand > p.opacity { white-space: normal; }
 .site-layout .site-footer .footer-links.div-block-191 { width: 100%; max-width: 100%; }
}
@media (max-width: 767px) {
 .site-layout .site-footer .footer-links.div-block-191 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
 .site-layout .site-footer .footer-links a { overflow-wrap: anywhere; }
}
/* ---- Light theme polish ---- */
/* Slightly stronger body copy everywhere (still clearly lighter than headings). */
html[data-theme="light"] { --light-copy: #4a4b41; --component-copy: #4a4b41; }
/* Navigation: inactive links were dimmed to 70% and failed contrast. */
html[data-theme="light"] .site-layout .navbar_nav-menu-2 a.link:not(.cta_main) { color: #34352c; opacity: 1; }
html[data-theme="light"] .site-layout .navbar_nav-menu-2 a.link:not(.cta_main):hover { color: #000; }
/* Headlines that wrap a highlighted phrase lost the spaces between its words in flex headings. */
.site-layout .fx-split .text-span-3 { display: inline; }
/* Decorative hero canvas must sit behind the text, not over it. */
.site-layout .section_main.hero { isolation: isolate; }
.site-layout .fx-hero-canvas { z-index: -1; }
/* Article headings that contain <strong> were being tinted as body copy. */
html[data-theme="light"] .rte h1 strong, html[data-theme="light"] .rte h2 strong,
html[data-theme="light"] .rte h3 strong, html[data-theme="light"] .rte h4 strong { color: inherit; }
/* Inactive service tabs get a visible edge so they read as buttons. */
html[data-theme="light"] .tile.light_yellow.small.w-tab-link:not(.w--current) { border: 1px solid #ddd2a0; }
/* Resource cards: remove the stray indent on the date and make the excerpt readable. */
.site-layout .tile-bottom_cont .div-block-391 { padding: 0; margin: 0; }
.site-layout .tile-copy .p2-copy { font-size: 1rem; line-height: 1.6; }
/* The wireframe shapes sit behind the headline; soften them in light mode so text stays crisp. */
html[data-theme="light"] .fx-hero-canvas.is-ready { opacity: .6; }
/* Technology ribbon: the scrolling rows must keep their full width, otherwise the cloned row overlaps the first on narrow screens. */
.site-layout .technology-strip .section_main.loop > .div-block-192 { flex: 0 0 auto; }
/* About hero: reserve the artwork's height so the headline does not jump when the image wall is inserted (CLS). */
@media (min-width: 992px) {
 .site-layout.layout-about .hero.about_hero .grid.is-hero { min-height: calc(min(850px, 100svh) - 52px); }
}
/* Heading levels: these were <h4> placed directly under an <h2>. They are now <h3>, styled exactly like the old <h4>. */
.site-layout h3.sub-h4 { line-height: 1.3; margin: 5px 0 10px; }
.site-layout h3.sub-h4-row { font-size: 27.2px; font-weight: 500; line-height: 1.3; margin: 5px 0 10px; }
@media (max-width: 991px) { .site-layout h3.sub-h4-row { font-size: 20px; } }
/* ---- Content tables (service pages): same look in light and dark ---- */
.site-layout .rte table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .95rem; line-height: 1.5; }
.site-layout .rte table thead, .site-layout .rte table tbody, .site-layout .rte table tr { display: table; width: 100%; table-layout: fixed; }
.site-layout .rte th, .site-layout .rte td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.site-layout .rte thead th { font-weight: 600; border-bottom: 2px solid #fdee36; }
html[data-theme="light"] .site-layout .rte thead th { border-bottom-color: #806000; }
.site-layout .rte tbody th { font-weight: 600; }
@media (max-width: 767px) { .site-layout .rte table { font-size: .875rem; } .site-layout .rte table thead, .site-layout .rte table tbody, .site-layout .rte table tr { min-width: 34rem; } }
/* Ordered lists in articles match the bullet lists. */
.site-layout .rte ol { padding-left: 1.4rem; }
.site-layout .rte ol li { margin-bottom: .6rem; padding-left: .25rem; }
/* Resources introduction line */
.site-layout .resources-intro { max-width: 44rem; margin: 1.25rem auto 0; text-align: center; }
/* "Learn more" links on the Services page look like the ones on the home page. */
.site-layout .solutions .service-detail-link {
 display: inline-flex; align-items: center; gap: .5rem; padding: .25rem 0; color: var(--color--accent); font-size: 1rem; font-weight: 500;
 text-decoration: underline; text-underline-offset: .25em;
}
html[data-theme="light"] .site-layout .solutions .service-detail-link { color: var(--light-gold); }
.site-layout .solutions .service-detail-link:hover { text-decoration-thickness: 2px; }
/* FAQ questions inside articles and service pages: a clear step below the section heading. */
.site-layout .rte h3.faq-q { font-size: 1.35rem; line-height: 1.35; font-weight: 600; margin: 1.75rem 0 .35rem; }

/* Stat numbers were <h2> elements; they are figures, not headings. Same look, correct semantics. */
.stat-number { margin: 0; font-family: "Cabinetgrotesk Variable", sans-serif; font-size: 3.44em; font-weight: 600; line-height: 1.2; }
@media (max-width: 991px) { .stat-number { font-size: 2.55em; } }
/* Visible keyword line above the main heading: tells people and search engines what the company does. */
.hero-eyebrow { margin: 0 0 1.25rem; color: #fdee36; font-size: .95em; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
@media (max-width: 767px) { .hero-eyebrow { font-size: .85em; letter-spacing: .1em; text-align: center; } }
/* Comfortable tap targets for the small footer and contact links on touch screens. */
@media (pointer: coarse) { .site-footer a, .footer_section a { display: inline-block; padding-block: 7px; } }

/* Case study figures */
.w-richtext figure.cs-figure, .planning-content .cs-figure { margin: 2rem 0; max-width: 100%; width: 100%; }
.planning-content .cs-figure img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.planning-content .cs-figure figcaption { margin-top: .6rem; font-size: .85em; opacity: .7; }
.planning-content code { padding: .1em .4em; border-radius: .3em; background: rgba(255,255,255,.08); }

/* Service accordion cards: one size, one alignment, whether the title wraps or not. */
.site-layout .client_logo_cont._3x { align-items: stretch; }
.site-layout .tile.logo.roles {
  box-sizing: border-box; min-height: 8.5rem; height: auto;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
  text-align: left; align-self: stretch;
}
.site-layout .tile.logo.roles .div-block-344 {
  width: 100%; min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
}
.site-layout .tile.logo.roles h3.sub-h4-row { margin: 0; text-align: left; }
.site-layout .tile.logo.roles .html-embed-31 { flex-shrink: 0; }
@media (max-width: 991px) { .site-layout .tile.logo.roles { min-height: 7rem; } .site-layout .tile.logo.roles .div-block-344 { min-height: 3.5rem; } }

/* About page: a single CEO card, centred under the heading. */
.site-layout .container_main.team.team-solo { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.site-layout .team-solo > .tile-copy.light.team { width: min(100%, 22rem); }
.site-layout .team-solo > .tile-copy.light.team .image-9 { width: 100%; height: auto !important; aspect-ratio: 4 / 5 !important; object-fit: cover; object-position: 50% 15%; }

/* "How We Work" step cards: same height whatever the text length. */
.site-layout .container_main.grid._4_column { align-items: stretch; }
.site-layout .container_main.grid._4_column > .tile { align-self: stretch; height: auto; justify-content: flex-start; }

/* Open service cards share one fixed size, so every card looks the same whatever its text length. */
.site-layout .tile.logo.roles.is-expanded { min-height: 23rem; }
@media (max-width: 991px) { .site-layout .tile.logo.roles.is-expanded { min-height: 20rem; } }
.site-layout .tile.logo.roles.is-expanded { justify-content: flex-start !important; min-height: 21rem; }
.site-layout .tile.logo.roles.is-expanded .roles_content { margin-top: 0; }
.site-layout .tile.logo.roles .div-block-344 { flex: 0 0 auto; align-self: stretch; height: auto; }
.site-layout .tile.logo.roles.is-expanded { min-height: 16.5rem; }
@media (max-width: 991px) { .site-layout .tile.logo.roles.is-expanded { min-height: 16.5rem; } }

/* CEO card with a short speech on its right. */
.site-layout .container_main.team.team-solo { flex-direction: row; justify-content: center; align-items: center; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; }
.site-layout .ceo-speech { flex: 1 1 18rem; max-width: 30rem; margin: 0; padding: 0 0 0 1.75rem; border-left: 3px solid #fdee36; text-align: left; }
.site-layout .ceo-speech p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.55; font-weight: 400; }
.site-layout .ceo-speech p::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .8; color: #fdee36; margin-bottom: .5rem; }
.site-layout .ceo-speech footer { margin-top: 1.25rem; font-weight: 600; }
.site-layout .ceo-speech footer span { display: block; margin-top: .2rem; font-weight: 400; font-size: .9rem; opacity: .7; }
@media (max-width: 767px) { .site-layout .ceo-speech { flex-basis: 100%; padding-left: 1.25rem; } }

/* LinkedIn button on the CEO card (yellow rounded square, like the reference). */
.site-layout .team-solo > .tile-copy.light.team .flex-block { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
.site-layout .team-linkedin { flex: 0 0 auto; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem; background: #fdee36; color: #171b22; transition: transform .2s, box-shadow .2s; }
.site-layout .team-linkedin svg { width: 1.2rem; height: 1.2rem; }
.site-layout .team-linkedin:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(253, 238, 54, .3); }
.site-layout .team-linkedin:focus-visible { outline: 2px solid #fdee36; outline-offset: 3px; }

/* About "Design. Build. Maintain." panel: the image is the whole card, no second box behind it. */
.site-layout .div-block-203:has(> .lumaaro-services-image) { background: none !important; border: 0 !important; padding: 0 !important; height: auto !important; min-height: 0 !important; align-self: center; box-shadow: none; }
.site-layout .div-block-203 > .lumaaro-services-image { display: block; width: 100%; height: auto; }

/* Services page: pictures slide in sideways, so keep the brief off-screen position from creating a horizontal scrollbar. */
.site-layout main { overflow-x: clip; }

/* Header: once the page is scrolled a little, the logo shrinks and the bar slims down in ONE smooth eased transition
   (and grows back the same way at the top). header.js only toggles .is-compact. The logo is scaled (GPU, no reflow). */
.site-layout .navbar-2.site-nav .brand-wordmark { transform-origin: left center; scale: 1; transition: scale .75s cubic-bezier(.22, 1, .36, 1) .12s; will-change: scale; }
.site-layout .navbar-2.site-nav.is-compact .brand-wordmark { scale: .76; }
.site-layout .navbar-2.site-nav .brand-link:hover .brand-wordmark { scale: 1.04; }
.site-layout .navbar-2.site-nav.is-compact .brand-link:hover .brand-wordmark { scale: .8; }
.site-layout .navbar-2.site-nav .main-section.cc-navbar { transition: min-height .75s cubic-bezier(.22, 1, .36, 1) .12s, box-shadow .75s ease .12s; }
.site-layout .navbar-2.site-nav.is-compact .main-section.cc-navbar { min-height: 60px; box-shadow: 0 4px 18px #0001; }
@media (max-width: 767px) { .site-layout .navbar-2.site-nav.is-compact .main-section.cc-navbar { min-height: 56px; } }
@media (prefers-reduced-motion: reduce) { .site-layout .navbar-2.site-nav .brand-wordmark, .site-layout .navbar-2.site-nav .main-section.cc-navbar { transition: none; } }

/* Keep intrinsic logo geometry in both states: only its wrapper animates.
   This overrides the older compact rule that jumped from auto to a fixed height. */
.site-layout .navbar-2.site-nav .brand-wordmark img,
.site-layout .navbar-2.site-nav.is-compact .brand-wordmark img {
 width: 100%; height: auto; max-width: none; max-height: none;
}
.site-layout .navbar-2.site-nav .cta_main.mini {
 transition: padding .75s cubic-bezier(.22, 1, .36, 1) .12s, box-shadow .3s ease, background-color .3s ease;
}
@media (prefers-reduced-motion: reduce) {
 .site-layout .navbar-2.site-nav .cta_main.mini { transition: none; }
}

/* ===== Responsive audit fixes ===== */
/* Phones/tablets: the "tab" copy is the one shown; the desktop-copy button outside it must not float on its own. */
@media (max-width: 991px) {
 .site-layout.layout-solutions section.solutions > ._80 > .cta_wrap { display: none; }
 .site-layout.layout-solutions section.solutions .show.tab .cta_wrap { margin-top: 1rem; }
 /* Contact: the desktop "Prefer to speak directly" block is shown on phones, so hide the duplicate below the form. */
 .site-layout.layout-contact .show.tab { display: none !important; }
}
/* About hero picture strip: on phones fill the width with bigger cards instead of shrinking the whole strip. */
@media (max-width: 767px) {
 .site-layout.layout-about .grid.is-hero > img { width: 100%; height: 15rem; max-height: none; object-fit: cover; object-position: 38% 100%; }
}
/* Service cards (accordion): compact on phones, title centred vertically. */
@media (max-width: 767px) {
 .site-layout .tile.logo.roles { min-height: 4.25rem; justify-content: center; }
 .site-layout .tile.logo.roles .div-block-344 { min-height: 2.5rem; }
 .site-layout .tile.logo.roles.is-expanded { min-height: 0; justify-content: flex-start; }
}
/* Touch targets: at least 44px tall for footer and legal links on phones/tablets. */
@media (max-width: 991px) {
 .site-layout .site-footer a, .site-layout .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
 .site-layout .site-nav .brand-link a { display: inline-flex; align-items: center; min-height: 44px; }
 .site-layout .footer-social-icon { min-width: 44px; min-height: 44px; }
}

/* About hero: the picture strip stays inside the same content width as the header (max 1280px, centred). */
.site-layout.layout-about .grid.is-hero > img { width: 100%; max-width: 1280px; margin-inline: auto; }
@media (min-width: 768px) {
 .site-layout.layout-about .grid.is-hero > img { height: auto; max-height: none; aspect-ratio: 2000 / 676; object-fit: cover; object-position: 50% 100%; }
}
/* About hero: heading + button block use the same content width as the header and the strip, so long titles wrap inside it. */
.site-layout.layout-about .grid.is-hero > .div-block-370 { width: 100%; max-width: 1280px; margin-inline: auto; box-sizing: border-box; }
.site-layout.layout-about .grid.is-hero > .div-block-370 h1 { max-width: 100%; text-wrap: balance; }

/* Headings: short words are glued to the next word (see fx.js) so lines break between phrases, not inside them. */
.site-layout .fx-split .fx-nb { white-space: nowrap; }
.site-layout .fx-split { text-wrap: balance; }   /* no lonely last word on its own line */

/* Marquee rows and ticker: ONE fixed gap between pills at every screen size. The tracks used to stretch with
   justify-content: space-around, so the gap grew and shrank with the viewport. Now the gap is fixed and the row is centred. */
.site-layout { --pill-gap: 32px; }
.site-layout .section_main.loop.solutions { gap: 0; justify-content: center; }
.site-layout .section_main.loop.solutions .div-block-192 { justify-content: flex-start; min-width: 0; flex: 0 0 auto; column-gap: 0; }
.site-layout .section_main.loop.solutions .div-block-192 > .tile.loop { margin: 0 var(--pill-gap) 0 0; }
.site-layout .technology-strip .div-block-192 { justify-content: flex-start; justify-content: safe center; column-gap: 0; }
.site-layout .technology-strip .tech-pill { padding-inline: 1.5rem; margin: 0; }

/* Marquee belt (built by motion.js): one long row sliding at a constant speed. */
.site-layout .section_main.loop.solutions,
.site-layout .technology-strip .section_main.loop { justify-content: flex-start; }
.site-layout .marquee-belt { display: flex; align-items: center; flex: 0 0 auto; width: max-content; min-width: 0; will-change: transform; animation: marquee-slide var(--marq-dur, 60s) linear infinite; }
.site-layout .marquee-belt[data-dir="right"] { animation-direction: reverse; }
.site-layout .marquee-belt > * { flex: none; }
@keyframes marquee-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(var(--marq-dist, -50%), 0, 0); } }
@media (prefers-reduced-motion: reduce) { .site-layout .marquee-belt { animation: none; } }
.site-layout .section_main.loop.solutions .marquee-belt > .tile.loop { margin: 0 var(--pill-gap) 0 0; }
