/* Cocoon Creations — brand layer over Crafto. Loaded after every Crafto stylesheet.
   Values come from the design system (see CLAUDE.md "Branding"). Four colours only. */

:root {
    /* Brand colours */
    --brand-dark-blue: #353d45;
    --brand-light-blue: #a3d7f3;
    --brand-white: #ffffff;
    --brand-black: #23272a;

    /* Semantic tokens (light theme) */
    --surface: var(--brand-white);
    --surface-contrast: var(--brand-dark-blue);
    --surface-accent: var(--brand-light-blue);
    --ink: var(--brand-dark-blue);
    --ink-muted: #353d45b3;
    --ink-accent: var(--brand-dark-blue);
    --ink-on-contrast: var(--brand-white);
    --ink-on-accent: var(--brand-dark-blue);
    --ink-on-deep: var(--brand-white);
    --border: #353d4542;
    --border-strong: var(--brand-dark-blue);
    --focus: var(--brand-dark-blue);

    /* Type: system fonts only (no Nexa, no web fonts) */
    --font-display: "SF Compact Display", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-text: "SF Compact Display", "SF Compact", "SF Pro Display", -apple-system, "Helvetica Neue", Arial, sans-serif;

    /* Spacing and radius (proposed in the design system) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 48px;
    --space-7: 64px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-pill: 999px;
    --shadow-card: 0 6px 18px #23272a1f;

    /* Crafto variables remapped to the brand. --base-color is used for text on white,
       so it is dark blue; light blue is applied explicitly on dark grounds. */
    --primary-font: var(--font-text);
    --alt-font: var(--font-display);
    --base-color: var(--brand-dark-blue);
    --dark-gray: var(--brand-dark-blue);
    --black: var(--brand-black);
    --medium-gray: #72777d;          /* dark blue at 70% on white, 4.6:1 */
    --very-light-gray: var(--brand-white);
    --extra-medium-gray: #353d4542;
    --aluminium-gray: #c4c5c6;       /* white at 75% on brand black */
}

/* Dark theme: used inside .theme-dark sections (hero, footer, dark bands). */
.theme-dark {
    --surface: var(--brand-dark-blue);
    --surface-contrast: var(--brand-white);
    --ink: var(--brand-white);
    --ink-muted: #ffffffb3;
    --ink-accent: var(--brand-light-blue);
    --ink-on-contrast: var(--brand-dark-blue);
    --border: #ffffff42;
    --border-strong: var(--brand-light-blue);
    --focus: var(--brand-light-blue);
    background-color: var(--surface);
    color: var(--ink);
}
.theme-dark.theme-deep { --surface: var(--brand-black); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--ink); }

body {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background-color: var(--brand-white);
}

/* Focus ring: 2px outside the control */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

/* Type styles */
h1, h2, h3, h4, .ultra-headline, .primary-headline, .secondary-headline {
    font-family: var(--font-display);
    color: var(--ink);
    text-transform: uppercase;
}
.ultra-headline { font-size: 72px; line-height: 0.95; font-weight: 800; letter-spacing: -0.01em; }
.primary-headline { font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: 0; }
.secondary-headline { font-size: 28px; line-height: 1.2; font-weight: 400; letter-spacing: 0; }
.paragraph { font-size: 16px; line-height: 1.5; font-weight: 400; }
.label { font-family: var(--font-text); font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.text-accent { color: var(--ink-accent); }
@media (max-width: 767px) {
    .ultra-headline { font-size: 44px; }
    .primary-headline { font-size: 30px; }
    .secondary-headline { font-size: 22px; }
}

/* Section spacing */
.cc-band { padding: var(--space-7) 0; }
@media (max-width: 767px) { .cc-band { padding: var(--space-5) 0; } }

/* SectionTitle: short rule at the margin, then the title */
.cc-section { display: flex; align-items: center; gap: var(--space-4); margin: 0 0 var(--space-4); }
.cc-section-rule { flex: 0 0 auto; width: 48px; height: 6px; background: var(--ink); }
.cc-section-title { margin: 0; }

/* Card */
.cc-card { background: var(--brand-white); color: var(--brand-dark-blue); padding: var(--space-4); box-shadow: var(--shadow-card); border: 1px solid #353d4542; border-radius: var(--radius-md); height: 100%; }
.cc-card h3 { color: var(--brand-dark-blue); font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: 0; margin: 0 0 var(--space-2); }
.cc-card h3 a { color: inherit; }
.cc-card p:last-child { margin-bottom: 0; }
.cc-card a.cc-card-link { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; }

/* Logo tiles: always white so third-party logos read as designed */
/* Six tiles in a row from 1200px wide (the six partners), fewer as the screen narrows */
.cc-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: var(--space-3); }
.cc-logo-tile { background: var(--brand-white); display: flex; align-items: center; justify-content: center; min-height: 128px; padding: var(--space-4) var(--space-3); box-shadow: var(--shadow-card); border-radius: var(--radius-md); }
.cc-logo-tile img { max-width: 100%; height: auto; }
/* Logos cropped to their mark and sized to one visible area (core/templatetags/logos.py; 2026-10-30) */
/* (the size is in the width and height attributes; on narrow tiles it shrinks, keeping its shape) */
.cc-logo-tile .cc-logo-img { display: block; max-width: 100%; height: auto; }
@media (max-width: 575px) { .cc-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cc-logo-tile { min-height: 104px; } }

/* Testimonials (demo-corporate testimonials-style-06, simplified) on a dark-blue band (light blue until 2026-10-29,
   when the homepage grounds were made to alternate): one centred
   quote at a time, the client's icon as a small avatar by the name, arrows at the sides (below on small
   screens) */
.cc-testimonials { padding: var(--space-6) 0; background: var(--brand-dark-blue); color: var(--brand-white); }
.cc-testimonials .primary-headline { color: var(--brand-white); }
.cc-testimonials-slider { position: relative; }
/* Slides take the height of the longest quote (no jump below when changing), each centred in it;
   the fill hides the slide underneath during the fade */
.cc-testimonials .swiper-slide { display: flex; align-items: center; height: auto; background: var(--brand-dark-blue); }
.cc-testimonials .swiper-slide > .row { flex: 1 1 auto; }
.cc-testimonial { margin: 0; }
.cc-testimonial-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.cc-testimonial-project { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--brand-light-blue); }
.cc-testimonial-mark { display: block; height: 36px; font-family: Georgia, serif; font-size: 80px; line-height: 1; color: var(--brand-light-blue); }
.cc-testimonial-quote { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--brand-white); }
.cc-testimonial-by { display: inline-flex; align-items: center; gap: var(--space-3); text-align: left; }
.cc-testimonial-avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 22%; background: var(--brand-white); box-shadow: 0 4px 12px #23272a29; }
.cc-testimonial-name { display: block; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-white); }
.cc-testimonial-client { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; color: #ffffffcc; }
.cc-testimonial-client a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cc-testimonials .cc-arrow { border-color: #ffffff80; color: var(--brand-white); background: var(--brand-dark-blue); }
.cc-testimonials .cc-arrow:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-testimonials-nav { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-5); }
@media (min-width: 992px) {
    .cc-testimonials-slider { padding: 0 72px; }
    .cc-testimonials-nav { position: absolute; inset: 50% 0 auto; justify-content: space-between; margin: 0; transform: translateY(-50%); pointer-events: none; }
    .cc-testimonials-nav .cc-arrow { pointer-events: auto; }
}
@media (max-width: 767px) { .cc-testimonial-quote { font-size: 17px; } .cc-testimonial-mark { font-size: 64px; height: 28px; } }

/* Clients strip: logo tiles scrolling in a loop. Each track ends with the same gap it has between
   tiles, so moving one track's width left lines the copy up exactly. */
.cc-clients-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.cc-clients-head .cc-section { margin: 0; }
.cc-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cc-marquee-track { display: flex; flex: 0 0 auto; gap: var(--space-3); margin: 0; padding: var(--space-2) var(--space-3) var(--space-4) 0; list-style: none; animation: cc-marquee var(--cc-marquee-duration, 80s) linear infinite; }
.cc-marquee-track .cc-logo-tile { flex: 0 0 auto; width: 236px; }
.cc-marquee:hover .cc-marquee-track, .cc-marquee:focus-within .cc-marquee-track, .cc-marquee.is-paused .cc-marquee-track { animation-play-state: paused; }
@keyframes cc-marquee { to { transform: translateX(-100%); } }
@media (max-width: 575px) { .cc-marquee-track .cc-logo-tile { width: 176px; } }
@media (prefers-reduced-motion: reduce) {
    .cc-marquee { flex-wrap: wrap; justify-content: center; max-width: 1220px; margin: 0 auto; -webkit-mask-image: none; mask-image: none; }
    .cc-marquee-track { flex-wrap: wrap; justify-content: center; padding: 0 var(--space-3); animation: none; }
    .cc-marquee-track[aria-hidden="true"], .cc-marquee-pause { display: none; }
}

/* Proof numbers */

/* Buttons. Primary = surface-contrast; secondary = light-blue fill; ghost = outline */
.cc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-4); border: 2px solid transparent; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; text-transform: none; cursor: pointer; transition: transform .1s ease; }
.cc-btn:active { transform: translateY(1px); }
.cc-btn-primary { background: var(--surface-contrast); color: var(--ink-on-contrast); border-color: var(--surface-contrast); }
.cc-btn-primary:hover { background: var(--brand-black); border-color: var(--brand-black); color: var(--brand-white); }
.theme-dark .cc-btn-primary:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-btn-secondary { background: var(--surface-accent); color: var(--ink-on-accent); border-color: var(--surface-accent); }
.cc-btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }

/* Hero: dark-blue ground with ring arcs; optional image carousel; animated wave (demo-it-business) */
.cc-hero { position: relative; overflow: hidden; padding: 0; background-color: var(--surface); }
.cc-hero-slide, .cc-hero:not(.cc-hero-has-media) { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(640px, 100svh, 960px); padding: 180px 0 200px; }
.cc-hero-swiper { height: 100%; }
.cc-hero-swiper .swiper-slide { height: auto; background-color: var(--surface); }
.cc-hero-media { position: absolute; inset: 0; }
.cc-hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.cc-hero-swiper .swiper-slide-active .cc-hero-img, .cc-hero-swiper:not(.swiper-initialized) .cc-hero-img { transform: scale(1); }
/* Dark blue at 75% keeps white text at 5:1 or more on any photo */
.cc-hero-shade { position: absolute; inset: 0; background: #353d4566; } /* light: dark blue 40% */
.cc-hero-shade-strong { background: #353d45bf; } /* dark blue 75% */
.cc-hero-ring { position: absolute; border-radius: 50%; border: 48px solid var(--brand-black); pointer-events: none; animation: cc-ring-drift 14s ease-in-out infinite; }
.cc-hero-ring-bl { width: 460px; height: 460px; bottom: -220px; left: -180px; }
@keyframes cc-ring-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-18px, 14px); } }
.cc-hero-content { position: relative; z-index: 1; }
.cc-hero .ultra-headline { margin-bottom: 0; }
.cc-hero-sub { font-size: 20px; line-height: 1.4; max-width: 40em; margin: var(--space-4) 0 var(--space-5); color: var(--ink); }
.cc-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 110px; color: var(--brand-white); pointer-events: none; }
.cc-hero-wave svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.cc-hero-controls { position: absolute; left: 0; right: 0; bottom: 120px; z-index: 4; display: flex; align-items: center; gap: var(--space-3); }
.cc-hero-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent; color: var(--ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.cc-hero-arrow:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-hero-pause { margin-left: var(--space-2); }
/* A slide reached by keyboard shows its text: the entrance animation (data-anime) only runs when the slide comes in
   on its own (accessibility audit 2026-10-30) */
.cc-hero-slide:focus-within .cc-hero-content [data-anime], .cc-hero-slide:focus-within .cc-hero-content [data-anime] > * { opacity: 1 !important; transform: none !important; }
/* The page dots can be reached by keyboard: a focus ring around the dot */
.cc-hero-pagination .swiper-pagination-bullet:focus-visible { outline: none; }
.cc-hero-pagination .swiper-pagination-bullet:focus-visible::before { outline: 2px solid var(--focus); outline-offset: 3px; }
.cc-hero-pagination { display: flex; align-items: center; gap: 0; width: auto !important; }
/* Each dot is a 24×24 target (WCAG 2.5.8, accessibility audit 2026-10-30); the visible 10px dot is drawn inside */
.cc-hero-pagination .swiper-pagination-bullet { position: relative; width: 24px; height: 24px; margin: 0 !important; background: none; border: 0; border-radius: 0; opacity: 1; transition: width .3s ease; }
.cc-hero-pagination .swiper-pagination-bullet::before { content: ""; position: absolute; inset: 7px; border: 2px solid var(--brand-white); border-radius: var(--radius-pill); transition: background-color .3s ease, border-color .3s ease; }
.cc-hero-pagination .swiper-pagination-bullet-active { width: 46px; }
.cc-hero-pagination .swiper-pagination-bullet-active::before { border-color: var(--brand-light-blue); background: var(--brand-light-blue); }
/* Light slides (light-blue or white brand backgrounds): light-theme tokens, dark-blue text.
   The highlight is dark blue too: light blue is never text on a light ground. */
.cc-hero-slide-light {
    --ink: var(--brand-dark-blue);
    --ink-muted: #353d45b3;
    --ink-accent: var(--brand-dark-blue);
    --surface-contrast: var(--brand-dark-blue);
    --ink-on-contrast: var(--brand-white);
    --border: #353d4542;
    --border-strong: var(--brand-dark-blue);
    --focus: var(--brand-dark-blue);
}
.cc-hero-slide-light .cc-hero-ring { display: none; }
/* Light backgrounds keep their drawing on the right: crop from the left on wide screens so it
   stays whole (narrower screens keep the centred crop, where the drawing would sit behind the text) */
@media (min-width: 1200px) { .cc-hero-slide-light .cc-hero-img { object-position: right center; } }
.theme-dark .cc-hero-slide-light .cc-btn-primary:hover { background: var(--brand-black); border-color: var(--brand-black); color: var(--brand-white); }
.cc-hero-on-light .cc-hero-arrow { color: var(--brand-dark-blue); border-color: #353d4542; }
.cc-hero-on-light .cc-hero-arrow:hover { background: var(--brand-dark-blue); border-color: var(--brand-dark-blue); color: var(--brand-white); }
.cc-hero-on-light .cc-hero-pagination .swiper-pagination-bullet::before { border-color: var(--brand-dark-blue); }
.cc-hero-on-light .cc-hero-pagination .swiper-pagination-bullet-active::before { border-color: var(--brand-dark-blue); background: var(--brand-dark-blue); }
.cc-hero-arrow:focus-visible { outline-color: var(--focus); }
/* Header over a light slide (desktop; the mobile header is already light) */
@media (min-width: 992px) {
    header.cc-header-on-light:not(.sticky) .navbar-brand .default-logo { visibility: hidden; opacity: 0; width: 0; }
    header.cc-header-on-light:not(.sticky) .navbar-brand .alt-logo { visibility: visible; opacity: 1; width: auto; }
    header.cc-header-on-light:not(.sticky) .navbar-nav .nav-link,
    header.cc-header-on-light:not(.sticky) .navbar-nav .cc-dropdown-toggle,
    header.cc-header-on-light:not(.sticky) .cc-utility a:not(.cc-portal-btn) { color: var(--brand-dark-blue); }
    header.cc-header-on-light:not(.sticky) .navbar-nav .nav-item.active > .nav-link { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 6px; }
    header.cc-header-on-light:not(.sticky) .left-nav .navbar-nav:before { background-color: var(--brand-dark-blue); }
}
@media (max-width: 767px) {
    .cc-hero-slide, .cc-hero:not(.cc-hero-has-media) { min-height: 0; padding: 140px 0 150px; }
    .cc-hero-ring { display: none; }
    .cc-hero-wave { height: 56px; }
    .cc-hero-controls { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-hero-ring { animation: none; }
    .cc-hero-img { transition: none; transform: none; }
}

/* Services (Crafto element-services-box, services-box-style-08): centred pill and heading with a
   drawn light-blue underline, tall light-blue cards with a soft white circle and a round arrow */
.cc-pill { display: inline-block; padding: 2px var(--space-3); margin-bottom: var(--space-4); border-radius: var(--radius-pill); background: var(--brand-dark-blue); color: var(--brand-white); font-size: 12px; line-height: 2; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.cc-services-title { margin-bottom: var(--space-3); }
.cc-underline.highlight-separator { z-index: 1; padding-bottom: 12px; }
.cc-underline > span { z-index: -1; }
.cc-underline svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 14px; overflow: visible; }
.cc-underline path { fill: none; stroke: var(--brand-light-blue); stroke-width: 8; stroke-linecap: round; }
.cc-service-box { position: relative; overflow: hidden; display: flex; height: 100%; min-height: 320px; padding: 40px var(--space-5); background: var(--brand-light-blue); color: var(--brand-dark-blue); border-radius: var(--radius-md); }
.cc-service-box:hover { box-shadow: 0 20px 40px #23272a29; }
.cc-service-circle { position: absolute; left: -90px; top: -110px; width: 300px; height: 330px; border-radius: 50%; background: var(--brand-white); opacity: .4; pointer-events: none; }
.cc-service-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.cc-service-body h3 { color: var(--brand-dark-blue); font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: 0; margin: 0 0 var(--space-2); }
.cc-service-body h3 a { color: inherit; }
.cc-service-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cc-service-body p { color: var(--brand-dark-blue); margin: 0 0 var(--space-4); }
.cc-service-go { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--brand-dark-blue); color: var(--brand-white); font-size: 20px; box-shadow: var(--shadow-card); transition: background-color .2s ease, transform .2s ease; }
.cc-service-box:hover .cc-service-go { background: var(--brand-black); color: var(--brand-white); transform: rotate(45deg); }
/* Illustration bleeds off the bottom-right corner, under the text and arrow (.cc-service-body is z-index 1) */
.cc-service-illustration { position: absolute; right: -14px; bottom: -14px; width: 66%; max-width: 230px; height: auto; pointer-events: none; }
@media (max-width: 575px) { .cc-service-box { min-height: 280px; padding: var(--space-5) var(--space-4); } .cc-service-illustration { width: 140px; } }
.cc-services-footer { margin: var(--space-6) 0 0; text-align: center; font-size: 20px; line-height: 1.4; }
.cc-services-footer a { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (prefers-reduced-motion: reduce) {
    .highlight-separator[data-shadow-animation] span { clip-path: none; transition: none; }
    .cc-service-go { transition: none; }
}

/* Products strip: Crafto interactive banners (interactive-banner-style-06, "Architecture services")
   in a slider that runs past the right edge. The text panel is a flat brand-black shade (no
   gradients); the one-liner opens on hover or focus. Photos stay square-cornered. */
.cc-products-head { margin-bottom: var(--space-6); }
.cc-products-label { display: block; margin-bottom: var(--space-2); color: var(--ink-muted); }
.cc-products-title { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; }
.cc-products-head p { margin: 0 0 var(--space-3); }
.cc-products-nav { display: flex; gap: var(--space-2); }
.cc-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-pill); background: transparent; color: var(--ink); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.cc-arrow:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-products-swiper .swiper-slide { height: auto; }
.cc-banner { height: 100%; background: var(--brand-black); }
.cc-banner .interactive-banners-image img { display: block; aspect-ratio: 410 / 505; object-fit: cover; }
.cc-banner-blank { display: flex; align-items: center; justify-content: center; aspect-ratio: 410 / 505; }
/* Product logo: an app-icon tile over the picture. Logos are square app icons (white or their own
   colour) and fill the tile; white behind any transparency, as LogoTile */
.cc-banner { position: relative; }
.cc-banner:has(.cc-banner-content a) { cursor: pointer; } /* the whole box is clickable (static/js/banner-links.js) */
.cc-banner-logo { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 3; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); pointer-events: none; }
.cc-banner-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-banner-soon { background: transparent; border: 2px dashed var(--brand-light-blue); }
/* Crafto slides the panel by a fixed amount; a grid row that opens fits any name length */
.interactive-banner-style-06 .cc-banner-content { transform: none; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: #23272af2; color: var(--brand-white); }
.cc-banner-content .label { color: var(--brand-light-blue); }
.cc-banner-content h3, .cc-banner-content .cc-banner-title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--brand-white); }
.cc-banner-content h3 a, .cc-banner-content .cc-banner-title a { color: inherit; text-decoration: none; }
.cc-banner-content h3 a::after, .cc-banner-content .cc-banner-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole banner is the link */
.cc-banner:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-banner-content h3 a:focus-visible, .cc-banner-content .cc-banner-title a:focus-visible { outline: none; }
.cc-banner-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.12,0,.1,0); }
.cc-banner-more > div { overflow: hidden; }
.cc-banner-more p { margin: var(--space-1) 0 var(--space-3); color: var(--brand-white); }
.cc-banner-more .cc-service-go { width: 44px; height: 44px; font-size: 18px; background: var(--brand-light-blue); color: var(--brand-dark-blue); margin-bottom: 2px; }
.cc-banner:hover .cc-banner-more, .cc-banner:focus-within .cc-banner-more { grid-template-rows: 1fr; }
.cc-banner:focus-within .interactive-banners-content-text { opacity: 1; visibility: visible; }
.cc-banner:hover .cc-service-go, .cc-banner:focus-within .cc-service-go { transform: rotate(45deg); }
.cc-banner:focus-within img { transform: scale(1.3); transition: transform 3s cubic-bezier(.12,0,.39,0); }
.cc-chip { display: inline-block; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--brand-light-blue); color: var(--brand-dark-blue); font-size: 13px; line-height: 1.3; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 575px) { .cc-products-prev, .cc-products-next { display: none; } } /* swipe instead; pause stays */
/* Touch screens can't hover: the panel stays closed, at the height of its label and name
   (2026-11-24; opening it there left a tall empty box, as Crafto keeps the one-liner hidden) */
@media (hover: none) {
    .cc-banner-content:has(.cc-banner-more) { gap: 0; }
    .cc-banner-content .label { margin-bottom: var(--space-2); }
}
@media (prefers-reduced-motion: reduce) {
    .cc-banner-more, .cc-banner img, .cc-banner .interactive-banners-content-text, .cc-banner .cc-service-go { transition: none; }
    .cc-banner:hover img, .cc-banner:focus-within img { transform: none; }
}

/* Page title band for plain pages: dark ground, clears the transparent header */
.cc-page-title { position: relative; overflow: hidden; padding: 200px 0 var(--space-7); }
@media (max-width: 767px) { .cc-page-title { padding-top: 140px; } }

/* Buttons: the arrow nudges forward on hover */
.cc-btn i { transition: transform .2s ease; }
.cc-btn:hover i { transform: translateX(4px); }

/* Header on the dark hero */
header .navbar .navbar-nav .nav-link { font-family: var(--font-text); font-weight: 500; }
header .navbar-brand img { max-height: 40px; }
/* Dropdown toggle is a real button (Crafto uses an icon) so it works from the keyboard */
/* At least 24×24px to tap or click (WCAG 2.5.8, accessibility audit 2026-10-30) */
.cc-dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; background: none; border: 0; padding: 0 0 0 var(--space-1); line-height: 1; }
.cc-dropdown-toggle::after { display: none; }
/* Desktop: white text over the dark hero, dark blue once the header turns light */
@media (min-width: 992px) {
    header .navbar-nav .cc-dropdown-toggle { color: var(--brand-white); }
    header.sticky .navbar-nav .cc-dropdown-toggle { color: var(--brand-dark-blue); }
    /* (Crafto dims it to 60%: 3.6:1 on dark blue; at full strength light blue is 7.1:1) */
    header .navbar .navbar-nav .nav-item.active > .nav-link { color: var(--brand-light-blue); opacity: 1; }
    header.sticky .navbar-nav .nav-item.active > .nav-link { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 6px; }
    /* Dropdown: a white panel with dark-blue text, so it stands apart from every ground under it
       (dark-blue title bands, photos, light pages); the it-business default was dark blue */
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu { border-radius: var(--radius-md); background-color: var(--brand-white); box-shadow: 0 10px 30px #23272a40; }
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a { color: var(--brand-dark-blue); border-bottom-color: #353d4524; }
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:last-child a { border-bottom: 0; }
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover, header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:focus-visible { color: var(--brand-dark-blue); background-color: var(--brand-light-blue); }
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active > a { font-weight: 700; }
    /* An item with an icon (a product logo): the logo as a small rounded app-icon tile before the title */
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a.cc-menu-with-icon { display: flex; align-items: center; gap: var(--space-3); }
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-menu-icon { flex: none; width: 32px; height: 32px; border-radius: 22%; box-shadow: 0 0 0 1px #353d4524; object-fit: cover; }
    /* A Crafto line icon instead of a logo (Partner solutions): dark blue on a white tile */
    /* (same box as the logos, which Crafto's dropdown image rule makes 35px wide with a 15px gap) */
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-menu-line-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; margin-right: 15px; background: var(--brand-white); color: var(--brand-dark-blue); font-size: 24px; }
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-menu-line-icon i { margin: 0; color: inherit; font-size: inherit; line-height: 1; }
}
.cc-utility { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; }
.cc-utility a { color: var(--brand-white); }
header.sticky .cc-utility a { color: var(--brand-dark-blue); }
/* Scrolled a little but not yet sticky: a glass background in the colour the header's text needs
   (white text on dark grounds → dark blue; dark text on light grounds → white), so nothing shows
   through it. Sticky takes over after a header height of scrolling. */
header.cc-scrolled:not(.sticky) nav.glass-effect { background-color: #353d45d9 !important; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); transition: background-color .2s ease; }
header.cc-scrolled.cc-header-on-light:not(.sticky) nav.glass-effect { background-color: #ffffffd9 !important; }
/* Portal button: Crafto's "Start a project" shape, filled brand black in both header states;
   light-blue fill with dark-blue text on hover */
/* .header-button in the selectors outranks it-business.css ".sticky .header-transparent .header-button .btn",
   which would turn the text dark blue on the black fill once the header is sticky */
header .header-button .btn.btn-transparent-white-light.cc-portal-btn { background-color: var(--brand-black); border-color: #ffffff4d; color: var(--brand-white); }
header .header-button .btn.btn-transparent-white-light.cc-portal-btn:hover { background-color: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
header.sticky .header-button .btn.btn-transparent-white-light.cc-portal-btn { border-color: var(--brand-black); }
header.sticky .header-button .btn.btn-transparent-white-light.cc-portal-btn:not(:hover) { color: var(--brand-white); }
.cc-portal-btn i { transition: transform .2s ease; }
.cc-portal-btn:hover i { transform: translateX(4px); }

/* Footer: deep ground, signature line */
/* Footer (Crafto demo-branding-agency): headline with phone and email, menu, social links, logo
   right; small print and signature below a rule */
.cc-footer { padding: var(--space-7) 0 var(--space-5); }
.cc-footer a, .cc-footer p, .cc-footer address { color: var(--ink-muted); }
.cc-footer a:hover { color: var(--brand-light-blue); }
.cc-footer-heading { margin: 0 0 var(--space-6); font-family: var(--font-display); font-size: 34px; line-height: 1.15; font-weight: 700; text-transform: uppercase; color: var(--brand-white) !important; }
.cc-footer-title + a { display: block; width: fit-content; }
.cc-footer-title { display: block; margin-bottom: var(--space-1); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.8; text-transform: uppercase; color: var(--brand-white); }
.cc-footer ul { list-style: none; padding: 0; margin: 0; }
.cc-footer li { line-height: 1.9; }
.cc-footer address { font-style: normal; }
.cc-footer-logo img { width: 160px; height: auto; }
.cc-footer-bottom { padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: 13px; line-height: 1.7; }
.cc-signature { display: inline-flex; align-items: center; gap: var(--space-1); font-family: var(--font-display); font-weight: 300; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.cc-signature img { height: 18px; width: auto; }
@media (max-width: 767px) { .cc-footer-heading { font-size: 26px; margin-bottom: var(--space-4); } }

/* Screen-reader only */
.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

/* Pills on dark grounds: light blue with dark-blue text (dark blue would vanish) */
.theme-dark .cc-pill { background: var(--brand-light-blue); color: var(--brand-dark-blue); }

/* ===== Services landing (Crafto demo-marketing-strategy-services) ===== */
/* 1. Title: dark band clearing the transparent header; black panel + picture */
.cc-svc-title { padding: 140px 0 var(--space-6); }
.cc-svc-title-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: var(--space-6); height: 100%; min-height: 360px; padding: var(--space-6) var(--space-5); background: var(--brand-black); border-radius: var(--radius-lg); }
.cc-svc-title-panel .cc-pill { margin: 0; }
.cc-svc-title-img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.cc-svc-title-img-brand { object-position: center; border-radius: var(--radius-lg); }
@media (max-width: 767px) { .cc-svc-title { padding-top: 110px; } .cc-svc-title-panel { min-height: 0; } .cc-svc-title-img { min-height: 220px; } }

/* 2. Statement */
.cc-svc-statement-label { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); font-size: 20px; }
.cc-svc-statement-text { margin: 0; font-family: var(--font-display); font-size: 34px; line-height: 1.3; font-weight: 400; color: var(--brand-dark-blue); }
@media (max-width: 767px) { .cc-svc-statement-text { font-size: 24px; } }

/* 3. Service cards: white panels stacking as you scroll (Crafto .stack-card). Column padding is
   scoped under .cc-svc-card to outrank Bootstrap's .row.g-0 > * reset. */
.cc-svc-card-gap { margin-top: var(--space-6); }
.stack-card .cc-svc-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid #353d4524; background: var(--brand-white); }
.cc-svc-card .cc-svc-card-text { padding: var(--space-6) var(--space-6) var(--space-5); }
.cc-svc-card-name { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.cc-svc-card-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-light-blue); color: var(--brand-dark-blue); font-size: 22px; }
.cc-svc-card-name h2 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: 0.02em; }
.cc-svc-card-name h2 a { color: inherit; }
.cc-svc-card-name h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cc-svc-card-heading { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 40px; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: var(--brand-dark-blue); }
.cc-svc-card-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); }
.cc-svc-card-summary p { margin: 0; max-width: 46ch; }
.cc-svc-card-go { flex: 0 0 auto; display: inline-flex; padding: var(--space-2); color: var(--brand-dark-blue); transition: transform .2s ease; }
.cc-svc-card-go:hover { transform: translate(2px, 2px); }
.cc-svc-card-caps { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.cc-svc-card-caps ul { margin: 0; padding: 0; }
.cc-svc-card-caps li { margin-bottom: var(--space-1); }
.cc-svc-card-caps a { color: var(--brand-dark-blue); }
.cc-svc-card-caps a span { margin-right: var(--space-2); }
.cc-svc-card-caps a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-svc-card .cc-svc-card-media { padding: var(--space-5); border-left: 1px solid var(--border); }
.cc-svc-card-figure { position: relative; margin: 0; height: 100%; }
.cc-svc-card-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-svc-card-illustration { display: flex; align-items: flex-end; justify-content: flex-end; height: 100%; min-height: 320px; padding: var(--space-5); background: var(--brand-light-blue); border-radius: var(--radius-md); overflow: hidden; }
.cc-svc-card-illustration img { width: 62%; max-width: 300px; height: auto; }
.cc-svc-card-number { position: absolute; top: var(--space-4); right: var(--space-4); display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: var(--radius-md); background: var(--brand-dark-blue); color: var(--brand-light-blue); font-family: var(--font-display); font-size: 40px; font-weight: 800; box-shadow: var(--shadow-card); }
@media (max-width: 991px) {
    .cc-svc-card .cc-svc-card-text { padding: var(--space-5) var(--space-4); }
    .cc-svc-card .cc-svc-card-media { padding: var(--space-4) var(--space-4) 0; border-left: 0; }
    .cc-svc-card-illustration { min-height: 220px; justify-content: flex-start; } /* clear of the number badge */
    .cc-svc-card-number { top: var(--space-3); right: var(--space-3); width: 72px; height: 72px; font-size: 30px; }
    .cc-svc-card-heading { font-size: 30px; }
}

/* Homepage guide: the same stack cards, made compact for short text routes beside a picture
   (or a plain light-blue panel) with the numbered badge */
.cc-svc-card .cc-guide-card-text { display: flex; flex-direction: column; justify-content: center; padding: var(--space-5); }
.cc-guide-card-text .cc-svc-card-heading { margin-bottom: var(--space-3); font-size: 28px; }
.cc-guide-card-text .cc-svc-card-heading a { color: inherit; }
.cc-guide-card-text .cc-svc-card-heading a:hover { text-decoration: underline; text-underline-offset: 6px; }
.cc-svc-card .cc-guide-card-text + .cc-svc-card-media { padding: var(--space-3); }
.cc-guide-card-panel { min-height: 0; height: 220px; }
.cc-guide-card-img { height: 220px; border-radius: var(--radius-md); }
.cc-guide-card-text ~ .cc-svc-card-media .cc-svc-card-number { top: var(--space-3); right: var(--space-3); width: 64px; height: 64px; font-size: 26px; }
@media (max-width: 991px) {
    .cc-svc-card .cc-guide-card-text { padding: var(--space-4); }
    .cc-svc-card .cc-guide-card-text + .cc-svc-card-media { padding: var(--space-3) var(--space-3) 0; }
    .cc-guide-card-panel, .cc-guide-card-img { height: 160px; }
    .cc-guide-card-text .cc-svc-card-heading { font-size: 22px; }
}

/* Homepage selected work (demo-it-business "Recent case studies"): a grid of portrait
   pictures (square-cornered: brand photo rule), a white bar rising on hover or focus; always shown
   on touch screens. The title link covers the whole card. */
.cc-work-head { margin-bottom: var(--space-2); }
.cc-work-intro { margin: 0; max-width: 60ch; }
.cc-work-card { position: relative; overflow: hidden; }
.cc-work-card .portfolio-image { aspect-ratio: 700 / 820; overflow: hidden; background: var(--brand-light-blue); }
.cc-work-card .portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-work-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--brand-dark-blue); font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; text-align: center; text-transform: uppercase; }
.cc-work-bar { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3) var(--space-4); background: var(--brand-white); border-radius: var(--radius-sm); }
.cc-work-bar .cc-work-title { margin: 0; font-size: 18px; line-height: 1.2; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--brand-dark-blue); }
.cc-work-title a { color: inherit; }
.cc-work-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cc-work-cover { position: absolute; inset: 0; z-index: 1; }
.cc-work-client { margin-top: 2px; font-size: 14px; color: var(--brand-dark-blue); }
.cc-work-bar .icon-feather-plus { font-size: 26px; color: var(--brand-dark-blue); }
.cc-work-card:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-work-card .cc-work-title a:focus-visible { outline: none; }
/* Motion: our own easing instead of Crafto's (linear zoom, a bar that unfolds by squashing, text that
   pops in). The bar rises and fades in, its lines follow in a short stagger, the picture zooms gently.
   Hover and keyboard focus behave the same. */
.portfolio-modern .cc-work-card .portfolio-image img { transform: scale(1); transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.portfolio-modern .cc-work-card:hover .portfolio-image img, .portfolio-modern .cc-work-card:focus-within .portfolio-image img { transform: scale(1.05); }
.portfolio-modern .cc-work-card .portfolio-hover { opacity: 0; transform: translateY(16px); box-shadow: none; transition: opacity .3s ease, transform .55s cubic-bezier(.22, 1, .36, 1), box-shadow .55s ease; }
.portfolio-modern .cc-work-card:hover .portfolio-hover, .portfolio-modern .cc-work-card:focus-within .portfolio-hover { opacity: 1; transform: translateY(0); box-shadow: 0 10px 30px #23272a33; }
.portfolio-modern .cc-work-card .cc-work-bar .me-auto > *, .portfolio-modern .cc-work-card .cc-work-bar > .ms-auto { opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1); transition-delay: 0s; }
.portfolio-modern .cc-work-card:hover .cc-work-bar .me-auto > *, .portfolio-modern .cc-work-card:focus-within .cc-work-bar .me-auto > *,
.portfolio-modern .cc-work-card:hover .cc-work-bar > .ms-auto, .portfolio-modern .cc-work-card:focus-within .cc-work-bar > .ms-auto { opacity: 1; transform: translateY(0); }
.portfolio-modern .cc-work-card:hover .cc-work-bar .me-auto > :nth-child(1), .portfolio-modern .cc-work-card:focus-within .cc-work-bar .me-auto > :nth-child(1) { transition-delay: .08s; }
.portfolio-modern .cc-work-card:hover .cc-work-bar .me-auto > :nth-child(2), .portfolio-modern .cc-work-card:focus-within .cc-work-bar .me-auto > :nth-child(2) { transition-delay: .14s; }
.portfolio-modern .cc-work-card:hover .cc-work-bar .me-auto > :nth-child(3), .portfolio-modern .cc-work-card:focus-within .cc-work-bar .me-auto > :nth-child(3) { transition-delay: .2s; }
.portfolio-modern .cc-work-card:hover .cc-work-bar > .ms-auto, .portfolio-modern .cc-work-card:focus-within .cc-work-bar > .ms-auto { transition-delay: .2s; }
@media (hover: none) {
    .portfolio-modern .cc-work-card .portfolio-hover, .portfolio-modern .cc-work-card .cc-work-bar .me-auto > *, .portfolio-modern .cc-work-card .cc-work-bar > .ms-auto { opacity: 1; transform: none; }
}
.cc-work-all { margin: var(--space-5) 0 0; text-align: center; }
.cc-work-all a { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    .cc-work-card .portfolio-image img, .cc-work-card .portfolio-hover, .cc-work-card .portfolio-hover * { transition: none !important; }
    .portfolio-modern .cc-work-card:hover .portfolio-image img, .portfolio-modern .cc-work-card:focus-within .portfolio-image img { transform: none; }
}

/* 4. Partner tiles (Crafto clients-style-07), always white; hover or focus shows the line */
/* (#partner-products, linked from the homepage guide: clear the sticky header when jumped to) */
#partner-products { scroll-margin-top: 110px; }
.cc-svc-partners-intro { position: sticky; top: 110px; }
.cc-svc-partner { position: relative; display: flex; align-items: center; justify-content: center; min-height: 220px; overflow: hidden; background: var(--brand-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); border: 1px solid #353d4524; opacity: 1; }
.clients-style-07 .cc-svc-partner:hover { opacity: 1; transform: none; }
/* The logo files carry a lot of empty space around the mark: show them large */
.cc-svc-partner-logo { width: 78%; max-width: 300px; height: auto; }
.cc-svc-partner .client-content { width: 56px; height: 56px; margin: var(--space-3); border-radius: var(--radius-md); background: var(--brand-light-blue); display: flex; align-items: center; justify-content: center; }
.cc-svc-partner .client-icon { font-size: 28px; line-height: 1; color: var(--brand-dark-blue); }
.cc-svc-partner .client-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); padding: var(--space-5); text-align: center; color: var(--brand-dark-blue); }
.cc-svc-partner .client-link p { margin: 0; }
.cc-svc-partner-logo-small { width: 55%; max-width: 200px; height: auto; }
.cc-svc-partner .box-overlay { position: absolute; inset: 0; background: var(--brand-white); opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.clients-style-07 .cc-svc-partner .client-info:focus-visible .client-content { margin: 0; width: 100% !important; height: 100% !important; border-radius: 0; }
.clients-style-07 .cc-svc-partner .client-info:focus-visible .client-icon { opacity: 0; visibility: hidden; }
.clients-style-07 .cc-svc-partner .client-info:focus-visible .client-link { opacity: 1; }
.clients-style-07 .cc-svc-partner .client-info:focus-visible .box-overlay { opacity: 1; visibility: visible; }
.cc-svc-partner a.client-info:focus-visible { outline-offset: -4px; }
@media (hover: none) {
    .clients-style-07 .cc-svc-partner .client-content { margin: 0; width: 100% !important; height: 100% !important; border-radius: 0; background: transparent; }
    .clients-style-07 .cc-svc-partner .client-icon, .cc-svc-partner-logo { display: none; }
    .clients-style-07 .cc-svc-partner .client-link { opacity: 1; }
}
@media (max-width: 991px) { .cc-svc-partners-intro { position: static; } }

/* 5. Process: picture panel + numbered steps on dark blue */
.cc-svc-process-panel { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; height: 100%; min-height: 420px; padding: var(--space-6) var(--space-5); overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-black); }
.cc-svc-process-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-svc-process-panel > :not(img, .cc-hero-shade) { position: relative; }
.cc-svc-process-panel .cc-pill { margin: 0; }
.cc-svc-steps { position: relative; height: 100%; padding: var(--space-7) var(--space-6); overflow: hidden; border-radius: var(--radius-lg); }
.cc-svc-steps-word::before { content: attr(data-word); }
.cc-svc-steps-word { position: absolute; top: var(--space-5); left: 0; width: 100%; text-align: center; white-space: nowrap; font-family: var(--font-display); font-size: 170px; line-height: 1; font-weight: 800; text-transform: uppercase; color: #ffffff12; pointer-events: none; }
.cc-svc-steps-list { position: relative; }
.process-step-style-02 .cc-svc-step-number { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; margin: 0 auto var(--space-4); border-radius: 50%; background: var(--brand-white); color: var(--brand-dark-blue); font-family: var(--font-display); font-size: 22px; font-weight: 700; box-shadow: var(--shadow-card); }
.cc-svc-steps .progress-step-separator { width: 55%; height: 1px; background: #ffffff42; }
.cc-svc-step-title { margin: 0 0 var(--space-2); font-size: 18px; line-height: 1.25; font-weight: 700; letter-spacing: 0.02em; }
.cc-svc-step-text { margin: 0; color: var(--ink-muted); }
@media (max-width: 991px) { .cc-svc-steps .progress-step-separator { display: none; } .cc-svc-steps { padding: var(--space-6) var(--space-4); } .cc-svc-steps-word { font-size: 110px; } .cc-svc-process-panel { min-height: 300px; } }

/* ===== Service detail (Crafto demo-marketing-services-details) ===== */
.cc-svc-detail-title { position: relative; overflow: hidden; padding: 200px 0 var(--space-7); }
.cc-svc-detail-bg { position: absolute; inset: 0; }
.cc-svc-detail-bg img { width: 100%; height: 100%; object-fit: cover; }
.cc-svc-detail-label { margin: 0 0 var(--space-3); font-size: 20px; color: var(--brand-light-blue); }
/* The drawn service bands are dark already and keep their drawing on the right: no shade on wider screens */
.cc-svc-detail-bg-brand img { object-position: right center; }
.cc-svc-detail-bg-brand .cc-hero-shade { background: transparent; }
@media (max-width: 767px) { .cc-svc-detail-title { padding: 140px 0 var(--space-5); } .cc-svc-detail-bg .cc-hero-shade { background: #353d45bf; } } /* phones: the title runs over the rings */

.cc-svc-aside-inner { position: sticky; top: 110px; }
.cc-svc-nav, .cc-svc-nav ul { margin: 0; padding: 0; list-style: none; }
.cc-svc-nav > li { border-bottom: 1px solid var(--border); }
.cc-svc-nav a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) 0; font-size: 18px; font-weight: 500; color: var(--brand-dark-blue); }
.cc-svc-nav a i { font-size: 20px; }
.cc-svc-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cc-svc-nav a[aria-current="page"] { font-weight: 800; }
.cc-svc-nav a { position: relative; }
.cc-svc-nav a[aria-current="page"]::before { content: ""; position: absolute; left: calc(-1 * var(--space-3)); top: var(--space-3); bottom: var(--space-3); width: 4px; background: var(--brand-dark-blue); border-radius: 2px; }
.cc-svc-nav ul a[aria-current="page"]::before { top: 0; }
.cc-svc-nav ul a { padding: 0 0 var(--space-3) var(--space-4); font-size: 16px; }
.cc-svc-contact { margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius-md); }
.cc-svc-contact-title { margin: 0 0 var(--space-2); font-size: 22px; line-height: 1.2; font-weight: 700; }
.cc-svc-contact p { color: var(--ink-muted); }
.cc-svc-contact .cc-btn { width: 100%; }
.cc-svc-contact-list { margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.cc-svc-contact-list li { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.cc-svc-contact-list a { color: var(--brand-white); }
.cc-svc-contact-list a:hover { text-decoration: underline; }
@media (max-width: 991px) { .cc-svc-aside { margin-top: var(--space-6); } .cc-svc-aside-inner { position: static; } }

.cc-svc-body > * + * { margin-top: var(--space-6); }
.cc-svc-section { scroll-margin-top: 110px; }
.cc-svc-h { margin: 0 0 var(--space-3); font-size: 26px; line-height: 1.2; font-weight: 700; }
.cc-svc-section p:last-child { margin-bottom: 0; }
.cc-svc-checklist { padding: var(--space-5); background: var(--brand-light-blue); border-radius: var(--radius-md); color: var(--brand-dark-blue); }
.cc-svc-checklist-title { margin: 0 0 var(--space-3); font-size: 20px; line-height: 1.25; font-weight: 700; }
.cc-svc-checks { margin: 0; padding: 0; list-style: none; }
.cc-svc-checks li { display: flex; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid #353d4533; }
.cc-svc-checks li:last-child { border-bottom: 0; }
.cc-svc-checks i { margin-top: 5px; }
.cc-svc-points p { margin: 0; padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.cc-svc-points p:last-child { border-bottom: 0; }
.cc-svc-point-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cc-svc-quote { margin: 0; padding: var(--space-5); border-left: 6px solid var(--brand-dark-blue); }
.cc-svc-quote blockquote { margin: 0; font-size: 20px; line-height: 1.4; }
.cc-svc-quote figcaption { margin-top: var(--space-3); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .stack-card .stack-card-item { transform: none !important; }
    .cc-svc-card-go { transition: none; }
}

/* Page title: a compact dark band clearing the transparent header (inner pages) */
.cc-page-title { padding: 140px 0 var(--space-6); background: var(--brand-dark-blue); }
.cc-page-title h1 { color: var(--brand-white); }
.cc-page-title-intro { margin: var(--space-3) 0 0; max-width: 60ch; font-size: 18px; color: var(--brand-white); opacity: .85; }
@media (max-width: 767px) { .cc-page-title { padding: 110px 0 var(--space-5); } }

/* ===== Insights (Crafto blog-modern listing, demo-blogger-blog-single-classic article) ===== */
/* Cards (Crafto blog-masonry): author on top, the picture at its own shape (no cropping; square-
   cornered) with the category chip on it, then title, excerpt and date. Crafto's Isotope lays them out. */
.cc-insights-grid { margin: 0 -15px; padding: 0; list-style: none; }
.cc-insight-card { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--brand-white); box-shadow: var(--shadow-card); transition: box-shadow .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
.cc-insight-card:hover, .cc-insight-card:focus-within { box-shadow: 0 14px 32px #23272a2e; transform: translateY(-4px); }
.cc-insight-card-top { position: relative; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3); font-size: 15px; color: var(--ink-muted); }
.cc-insight-card-top strong { color: var(--brand-dark-blue); font-weight: 600; }
.cc-insight-card-top::after { content: ""; position: absolute; left: 24px; top: 100%; z-index: 1; border: 8px solid transparent; border-top-color: var(--brand-white); border-bottom: 0; }
.cc-insights-grid .cc-insight-card-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; } /* beats Crafto's full-width grid images */
.cc-insights-grid .cc-insight-card-avatar-mark { padding: 4px; background: var(--brand-light-blue); object-fit: contain; }
.cc-insight-card-image { position: relative; overflow: hidden; background: var(--brand-light-blue); }
.cc-insight-card-image img { display: block; width: 100%; height: auto; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.cc-insight-card:hover .cc-insight-card-image img, .cc-insight-card:focus-within .cc-insight-card-image img { transform: scale(1.05); }
.cc-insight-card-category { position: absolute; left: var(--space-3); bottom: var(--space-3); z-index: 3; padding: 4px var(--space-2); border-radius: var(--radius-pill); background: var(--brand-white); box-shadow: 0 0 25px #23272a66; color: var(--brand-dark-blue); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cc-insight-card-category:hover { background: var(--brand-dark-blue); color: var(--brand-white); }
.cc-insight-card-body { padding: var(--space-4); }
.cc-insight-card h2 { margin: 0 0 var(--space-2); font-size: 18px; line-height: 1.4; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--brand-dark-blue); }
.cc-insight-card h2 a { color: inherit; }
.cc-insight-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* the whole card is the link */
.cc-insight-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cc-insight-card:focus-within { outline: 2px solid var(--focus); outline-offset: 3px; }
.cc-insight-card h2 a:focus-visible { outline: none; }
.cc-insight-card-body p { margin: 0 0 var(--space-3); font-size: 15px; line-height: 1.5; }
.cc-insight-card-date { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--ink-muted); }
.cc-insight-card-date i { color: var(--brand-dark-blue); }
/* Pagination: two-digit numbers, the current one filled */
.cc-pagination ul { display: flex; justify-content: center; gap: var(--space-1); margin: var(--space-6) 0 0; padding: 0; }
.cc-pagination a, .cc-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 var(--space-2); border-radius: var(--radius-pill); color: var(--brand-dark-blue); font-weight: 600; font-size: 14px; }
.cc-pagination a:hover { background: var(--brand-light-blue); }
.cc-pagination [aria-current="page"] { background: var(--brand-dark-blue); color: var(--brand-white); }
@media (prefers-reduced-motion: reduce) { .cc-insight-card, .cc-insight-card-image img { transition: none; } .cc-insight-card:hover, .cc-insight-card:hover .cc-insight-card-image img { transform: none; } }

/* Article: the title on the narrow light-blue brand band (drawing kept whole on the right, the
   header dark over it; the band grows with long titles), the author photo overlapping its lower
   edge on the left with the byline beside it; the article's own picture opens the content */
.cc-insight-top { position: relative; display: flex; align-items: center; min-height: clamp(260px, 21.875vw, 420px); padding: 120px 0 104px; overflow: hidden; /* bottom: room for the avatar */ background: var(--brand-light-blue); }
.cc-insight-hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cc-insight-top .container { position: relative; }
.cc-insight-title { margin: 0; font-family: var(--font-display); font-size: 44px; line-height: 1.1; font-weight: 700; text-transform: uppercase; color: var(--brand-dark-blue); }
.cc-insight-meta { display: flex; align-items: flex-end; gap: var(--space-4); }
.cc-insight-avatar { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; margin-top: -65px; overflow: hidden; border: 6px solid var(--brand-white); border-radius: 50%; background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-insight-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-insight-avatar img[src$=".svg"] { width: 64px; height: 64px; object-fit: contain; }
.cc-insight-byline { margin: 0 0 var(--space-1); font-size: 17px; color: var(--brand-dark-blue); }
.cc-insight-byline a { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cc-insight-date { display: block; margin-top: var(--space-1); font-size: 14px; color: var(--ink-muted); }
@media (max-width: 767px) { .cc-insight-top { padding: 100px 0 80px; } .cc-insight-title { font-size: 28px; } .cc-insight-avatar { width: 96px; height: 96px; margin-top: -48px; } .cc-insight-meta { gap: var(--space-3); } }
.cc-insight-lead { margin: var(--space-5) 0 0; }
.cc-insight-lead img { display: block; width: 100%; height: auto; }
.cc-insight-lead + * { margin-top: var(--space-6); }
@media (max-width: 767px) { .cc-insight-lead { margin-top: var(--space-4); } }
/* Body: readable column; the first letter as a large dark-blue drop cap */
.cc-insight-body { padding-top: var(--space-6); font-size: 18px; line-height: 1.7; color: var(--brand-dark-blue); }
.cc-insight-text h2 { margin: var(--space-6) 0 var(--space-3); font-size: 28px; line-height: 1.2; font-weight: 700; text-transform: none; letter-spacing: 0; }
.cc-insight-text h3 { margin: var(--space-5) 0 var(--space-2); font-size: 22px; line-height: 1.3; font-weight: 700; text-transform: none; letter-spacing: 0; }
.cc-insight-text h4 { margin: var(--space-4) 0 var(--space-2); font-size: 18px; line-height: 1.4; font-weight: 700; text-transform: none; letter-spacing: 0; }
.cc-insight-text p, .cc-insight-text ul, .cc-insight-text ol { margin: 0 0 var(--space-4); }
/* Lists in editors' rich text keep their bullets and numbers: Crafto's style.css removes them from every list
   (ul li { list-style: none }); articles, standard and legal pages, About, jobs, services, projects, products */
:is(.cc-insight-text, .cc-about-text, .cc-story-section, .cc-svc-section, .cc-accordion-text) :is(ul, ol) { padding-left: 1.5em; }
:is(.cc-insight-text, .cc-about-text, .cc-story-section, .cc-svc-section, .cc-accordion-text) ul > li { list-style: disc; }
:is(.cc-insight-text, .cc-about-text, .cc-story-section, .cc-svc-section, .cc-accordion-text) ul ul > li { list-style: circle; }
:is(.cc-insight-text, .cc-about-text, .cc-story-section, .cc-svc-section, .cc-accordion-text) ol > li { list-style: decimal; }
:is(.cc-insight-text, .cc-about-text, .cc-story-section, .cc-svc-section, .cc-accordion-text) li { margin-bottom: var(--space-1); }
.cc-insight-text a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-insight-text hr { margin: var(--space-6) 0; border: 0; border-top: 3px solid var(--brand-dark-blue); opacity: 1; }
.cc-insight-body > .cc-insight-text:first-child > p:first-child::first-letter { float: left; margin: 6px var(--space-2) 0 0; font-family: var(--font-display); font-size: 72px; line-height: .8; font-weight: 800; color: var(--brand-dark-blue); }
.cc-insight-figure, .cc-video { margin: var(--space-6) 0; }
.cc-insight-figure img { display: block; width: 100%; height: auto; }
.cc-insight-figure figcaption, .cc-video figcaption { margin-top: var(--space-2); font-size: 14px; color: var(--ink-muted); text-align: center; }
/* Tables in articles (wagtail.contrib.table_block): plain rows on white, ink rules, header row in bold over a
   dark-blue rule; wide tables scroll inside their box, not the page */
.cc-table { margin: var(--space-6) 0; overflow-x: auto; }
.cc-table:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; color: var(--brand-dark-blue); }
.cc-table caption { caption-side: bottom; padding-top: var(--space-2); font-size: 14px; color: var(--ink-muted); text-align: center; }
.cc-table th, .cc-table td { padding: 12px var(--space-3); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cc-table thead th { border-bottom: 2px solid var(--brand-dark-blue); font-weight: 700; white-space: nowrap; }
.cc-table tbody th { font-weight: 700; }
.cc-table .htLeft { text-align: left; } .cc-table .htCenter { text-align: center; } .cc-table .htRight { text-align: right; }
/* YouTube videos (core/blocks/video.html), in articles, projects and products */
.cc-video-frame { aspect-ratio: 16 / 9; background: var(--brand-light-blue); }
.cc-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Footer: category, sharing, author box */
/* (top and bottom only: the element is also the .container, whose side padding the row needs) */
.cc-insight-footer { padding-top: var(--space-5); padding-bottom: var(--space-7); }
.cc-insight-tags { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-4); border-top: 3px solid var(--brand-dark-blue); }
.cc-insight-tags > a { padding: var(--space-1) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--brand-dark-blue); font-size: 14px; font-weight: 600; }
.cc-insight-tags > a:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); }
.cc-insight-share { display: flex; gap: var(--space-1); margin: 0; padding: 0; }
.cc-insight-share a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--brand-dark-blue); font-size: 17px; }
.cc-insight-share a:hover { background: var(--brand-dark-blue); color: var(--brand-white); }
.cc-insight-author { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-insight-author-who { flex: 0 0 140px; text-align: center; }
.cc-insight-author-who img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.cc-insight-author-mark { display: inline-flex; align-items: center; justify-content: center; width: 120px; height: 120px; border-radius: 50%; background: var(--brand-light-blue); }
.cc-insight-author-mark img { width: 56px; height: 56px; border-radius: 0; }
.cc-insight-author-name { display: block; margin-top: var(--space-2); font-weight: 700; color: var(--brand-dark-blue); }
.cc-insight-author-role { display: block; font-size: 14px; color: var(--ink-muted); }
.cc-insight-author p { margin: 0 0 var(--space-2); }
.cc-insight-all-only { margin: var(--space-6) 0 0; }
.cc-insight-all { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .cc-insight-author { flex-direction: column; text-align: center; } .cc-insight-author-who { flex-basis: auto; } }
.cc-insight-related { background: var(--brand-light-blue); }

/* ===== About (Crafto demo-digital-agency-about), Careers and jobs ===== */
.cc-about-title { padding-bottom: var(--space-7); }
/* Story: the portrait picture (square-cornered) with the years badge in its lower-left corner */
.cc-about-figure { position: relative; margin: 0; overflow: hidden; background: var(--brand-light-blue); }
.cc-about-figure img { display: block; width: 100%; height: auto; }
.cc-about-badge { position: absolute; left: 0; bottom: 0; padding: var(--space-5) var(--space-4); background: var(--brand-white); text-align: center; }
.cc-about-badge-number { display: block; font-family: var(--font-display); font-size: 88px; line-height: .9; font-weight: 800; color: var(--brand-dark-blue); }
.cc-about-badge-number sup { top: -1.2em; font-size: 40%; }
.cc-about-badge-label { display: block; max-width: 11em; margin: var(--space-2) auto 0; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.4; text-transform: uppercase; color: var(--brand-dark-blue); }
.cc-about-text p { margin: 0 0 var(--space-3); }
.cc-about-text h3 { margin: var(--space-5) 0 var(--space-2); font-size: 22px; text-transform: none; letter-spacing: 0; }
.cc-about-text a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-about-counts { display: flex; flex-wrap: wrap; gap: var(--space-5); margin: var(--space-4) 0; padding: var(--space-4) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cc-about-counts li { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.cc-about-counts span { display: block; font-family: var(--font-display); font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: 0; color: var(--brand-dark-blue); }
.cc-about-talk { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); }
.cc-about-phone { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--brand-dark-blue); font-size: 18px; font-weight: 600; }
.cc-about-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Awards & certifications strip (Logo snippets: Award, Certification), each linking to its source */
.cc-about-awards { padding-top: var(--space-5); border-top: 1px solid var(--border); }
.cc-about-awards-title { margin: 0 0 var(--space-4); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--ink-muted); }
.cc-about-awards ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); align-items: center; margin: 0; padding: 0; }
.cc-about-awards img { display: block; max-width: 100%; max-height: 80px; width: auto; height: auto; margin: 0 auto; transition: transform .3s ease; }
.cc-about-awards a:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .cc-about-awards img { transition: none; } .cc-about-awards a:hover img { transform: none; } }
@media (max-width: 767px) { .cc-about-awards ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cc-about-badge-number { font-size: 64px; } }
/* Leadership: portraits (square-cornered) with the name and role on a dark strip */
.cc-team-card { position: relative; margin: 0; overflow: hidden; background: var(--brand-light-blue); }
.cc-team-card img { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.cc-team-card:hover img { transform: scale(1.04); }
.cc-team-card-blank { aspect-ratio: 600 / 740; }
.cc-team-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: #353d45e6; color: var(--brand-white); }
.cc-team-name { display: block; font-size: 19px; font-weight: 700; }
.cc-team-role { display: block; font-size: 15px; opacity: .85; }
.cc-team-card figcaption a { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-white); color: var(--brand-dark-blue); }
.cc-team-card figcaption a:hover { background: var(--brand-light-blue); }
@media (prefers-reduced-motion: reduce) { .cc-team-card img { transition: none; } .cc-team-card:hover img { transform: none; } }
/* Other roles of each leader, below the portrait */
.cc-team-roles { margin: var(--space-3) 0 0; padding: 0; }
.cc-team-roles li { position: relative; padding: var(--space-2) 0 var(--space-2) 26px; border-bottom: 1px solid var(--border); font-size: 15px; line-height: 1.4; color: var(--brand-dark-blue); }
.cc-team-roles li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: url("../brand/icons/cocoon-icon-colour.1ad8e187ae0b.svg") center / contain no-repeat; } /* IconBullets: the butterfly marker */
/* Beyond the office: community cards on the dark band, logos in their own colours */
.cc-community-card { position: relative; display: flex; align-items: flex-start; gap: var(--space-4); height: 100%; padding: var(--space-4); border-radius: var(--radius-md); background: #ffffff0f; border: 1px solid #ffffff26; transition: background-color .3s ease; }
.cc-community-card:hover, .cc-community-card:focus-within { background: #ffffff1f; }
.cc-community-logo { flex: none; width: 120px; height: 120px; border-radius: var(--radius-md); object-fit: cover; }
.cc-community-card h3 { margin: 0 0 var(--space-1); font-size: 22px; letter-spacing: 0; text-transform: none; color: var(--brand-white); }
.cc-community-card h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--brand-light-blue); text-underline-offset: 4px; }
.cc-community-card h3 a::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */
.cc-community-card:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-community-card h3 a:focus-visible { outline: none; }
.cc-community-people { margin: 0 0 var(--space-2); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-light-blue); }
@media (max-width: 575px) { .cc-community-card { flex-direction: column; } .cc-community-logo { width: 96px; height: 96px; } }
@media (prefers-reduced-motion: reduce) { .cc-community-card { transition: none; } }
/* Careers block on About, the Careers page and job pages */
.cc-about-careers { background: var(--brand-light-blue); }
.cc-about-careers-img, .cc-careers-img { display: block; width: 100%; height: auto; }
.cc-job-list { margin: var(--space-4) 0; padding: 0; }
.cc-job-list a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid #353d4542; color: var(--brand-dark-blue); }
.cc-job-list li:first-child a { border-top: 1px solid #353d4542; }
.cc-job-title { font-weight: 700; }
.cc-job-list .cc-job-meta { margin-left: auto; font-size: 14px; }
.cc-job-list a:hover .cc-job-title { text-decoration: underline; text-underline-offset: 3px; }
.cc-job-cards { display: grid; gap: var(--space-3); margin: 0; padding: 0; }
.cc-job-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); transition: transform .3s ease; }
.cc-job-card:hover { transform: translateY(-2px); }
.cc-job-card h3 { margin: var(--space-1) 0; font-size: 22px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.cc-job-card h3 a { color: var(--brand-dark-blue); }
.cc-job-card h3 a::after { content: ""; position: absolute; inset: 0; }
.cc-job-card:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-job-card h3 a:focus-visible { outline: none; }
.cc-job-meta { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-dark-blue); }
.cc-job-go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--brand-dark-blue); color: var(--brand-white); font-size: 20px; }
.cc-no-jobs a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-back-link { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); color: var(--brand-light-blue); font-weight: 600; }
.cc-back-link:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--brand-light-blue); }
.cc-job-apply { position: sticky; top: 110px; padding: var(--space-5); border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-job-apply h2 { margin: 0 0 var(--space-2); font-size: 24px; }
.cc-job-equal { margin: var(--space-4) 0 var(--space-2); font-size: 14px; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .cc-job-card { transition: none; } .cc-job-card:hover { transform: none; } }

/* ===== Contact page (Crafto demo-corporate-contact) ===== */
/* 1. Title: a compact dark band clearing the transparent header */
.cc-contact-title { padding: 140px 0 var(--space-6); background: var(--brand-dark-blue); }
.cc-contact-title h1 { color: var(--brand-white); }
@media (max-width: 767px) { .cc-contact-title { padding: 110px 0 var(--space-5); } }

/* 2. The ways to reach us */
.cc-contact-way { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); padding-bottom: var(--space-3); border-bottom: 2px solid var(--brand-dark-blue); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--brand-dark-blue); }
.cc-contact-way i { font-size: 18px; }
.cc-contact-ways address { font-style: normal; }
.cc-contact-ways a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-contact-ways li { line-height: 1.8; }

/* 3. Form and map side by side; the map column stays in view while the form scrolls */
.cc-contact-form-band { border-top: 1px solid var(--border); }
@media (min-width: 992px) { .cc-contact-map-wrap { position: sticky; top: 110px; } }
.cc-contact-map { height: 420px; overflow: hidden; border-radius: var(--radius-md); background: var(--brand-light-blue); box-shadow: var(--shadow-card); }
.cc-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* External content waiting for consent (static/js/consent.js): a note and an "Allow" button */
.cc-embed-note { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-3); height: 100%; min-height: 220px; padding: var(--space-5); color: var(--brand-dark-blue); }
.cc-embed-note p { margin: 0; max-width: 46ch; }
.cc-embed-note a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }

/* HubSpot form (rendered into the page): brand fields and button */
.cc-hubspot-form { padding: var(--space-5); border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-hubspot-form .hs-form fieldset { max-width: none !important; }
.cc-hubspot-form .hs-form-field { margin-bottom: var(--space-3); }
.cc-hubspot-form label { display: block; margin-bottom: var(--space-1); font-size: 14px; font-weight: 600; color: var(--brand-dark-blue); }
.cc-hubspot-form .hs-input:not([type="checkbox"]):not([type="radio"]) { width: 100% !important; min-height: 48px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--brand-white); color: var(--brand-dark-blue); font: inherit; }
.cc-hubspot-form textarea.hs-input { min-height: 120px; }
.cc-hubspot-form .hs-input:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--brand-dark-blue); }
.cc-hubspot-form .hs-error-msgs { margin: var(--space-1) 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--brand-dark-blue); font-weight: 600; }
.cc-hubspot-form .hs-richtext, .cc-hubspot-form .legal-consent-container { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.cc-hubspot-form .hs-button { min-height: 48px; padding: 0 var(--space-5); border: 0; border-radius: var(--radius-pill); background: var(--brand-dark-blue); color: var(--brand-white); font-family: var(--font-display); font-size: 16px; font-weight: 800; cursor: pointer; }
.cc-hubspot-form .hs-button:hover { background: var(--brand-black); }
.cc-hubspot-form .hs-button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-hubspot-form iframe { width: 100% !important; }

/* Cookie consent (vanilla-cookieconsent): brand colours, pill buttons, system fonts */
#cc-main {
    --cc-font-family: var(--font-text);
    --cc-bg: var(--brand-white);
    --cc-primary-color: var(--brand-dark-blue);
    --cc-secondary-color: #353d45cc;
    --cc-btn-primary-bg: var(--brand-dark-blue);
    --cc-btn-primary-color: var(--brand-white);
    --cc-btn-primary-border-color: var(--brand-dark-blue);
    --cc-btn-primary-hover-bg: var(--brand-black);
    --cc-btn-primary-hover-color: var(--brand-white);
    --cc-btn-primary-hover-border-color: var(--brand-black);
    --cc-btn-secondary-bg: var(--brand-dark-blue);
    --cc-btn-secondary-color: var(--brand-white);
    --cc-btn-secondary-border-color: var(--brand-dark-blue);
    --cc-btn-secondary-hover-bg: var(--brand-black);
    --cc-btn-secondary-hover-color: var(--brand-white);
    --cc-btn-secondary-hover-border-color: var(--brand-black);
    --cc-btn-border-radius: 999px;
    --cc-modal-border-radius: 16px;
    --cc-separator-border-color: #353d4542;
    --cc-toggle-on-bg: var(--brand-dark-blue);
    --cc-toggle-off-bg: #353d4599;
    --cc-toggle-readonly-bg: #353d4542;
    --cc-cookie-category-block-bg: #a3d7f333;
    --cc-cookie-category-block-border: #a3d7f3;
    --cc-cookie-category-block-hover-bg: #a3d7f355;
    --cc-cookie-category-block-hover-border: #a3d7f3;
    --cc-overlay-bg: #23272acc;
    --cc-link-color: var(--brand-dark-blue);
}
#cc-main .cm__btn, #cc-main .pm__btn { font-weight: 700; }
/* The library reuses the button radius for the category boxes; at 999px their round ends cut off the text */
#cc-main .pm__section, #cc-main .pm__section--toggle, #cc-main .pm__section-title { border-radius: var(--radius-md); }
#cc-main .pm__section--toggle .pm__section-desc-wrapper { border-radius: 0 0 var(--radius-md) var(--radius-md); }
#cc-main button:focus-visible { outline: 2px solid var(--brand-dark-blue); outline-offset: 2px; }
.cc-footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.cc-footer-legal a { text-decoration: underline; text-underline-offset: 3px; }
.cc-standard-body { font-size: 17px; line-height: 1.65; }
.cc-footer-link { padding: 0; border: 0; background: none; color: var(--ink-muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc-footer-link:hover { color: var(--brand-light-blue); }

/* Custom cursor (Crafto body.custom-cursor, as demo-scattered-portfolio): Crafto colours it with
   --base-color; ours is light blue over dark grounds and dark blue over light ones (base.html). */
.cursor-page-inner { --base-color: var(--brand-light-blue); }
.cursor-page-inner.cc-cursor-on-light { --base-color: var(--brand-dark-blue); }

/* ===== Error pages: 404 "still in its cocoon" (templates/404.html; 500.html is standalone) ===== */
.cc-error { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(640px, 100svh, 960px); padding: 160px 0 120px; background: var(--brand-dark-blue); text-align: center; }
.cc-error::before { content: ""; position: absolute; left: -220px; bottom: -260px; width: 560px; height: 560px; border: 64px solid var(--brand-black); border-radius: 50%; pointer-events: none; }
.cc-error .container { position: relative; }
.cc-error-code { display: flex; align-items: center; justify-content: center; gap: .06em; font-family: var(--font-display); font-weight: 800; font-size: clamp(120px, 22vw, 240px); line-height: 1; color: var(--brand-white); }
.cc-error-ring { position: relative; display: inline-block; width: .74em; height: .74em; border: .11em solid var(--brand-light-blue); border-radius: 50%; }
/* The cocoon (the pod under the "n" of the white and light-blue logo) hangs from the top of the ring on a
   white thread, as from the "n", and sways */
.cc-error-cocoon { position: absolute; top: 0; left: 50%; width: .2em; margin-left: -.1em; padding-top: .06em; transform-origin: 50% 0; animation: cc-error-sway 4s ease-in-out infinite alternate; }
.cc-error-cocoon::before { content: ""; position: absolute; top: 0; left: 50%; width: .012em; height: .075em; margin-left: -.006em; background: var(--brand-white); }
.cc-error-cocoon img { display: block; width: 100%; height: auto; }
@keyframes cc-error-sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .cc-error-cocoon { animation: none; } }
.cc-error-title { margin: var(--space-6) 0 var(--space-3); color: var(--brand-white); text-transform: uppercase; }
.cc-error-title span { position: relative; z-index: 0; color: var(--brand-light-blue); }
/* The butterfly flies away from behind the word "cocoon": it grows behind the letters, rises above them,
   flutters, then flies up and away and fades, and the cycle starts again */
.cc-error-title span::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 1.3em; height: 1.3em; background: url("../brand/icons/cocoon-icon-lightblue.28b4e0d3bc13.svg") center / contain no-repeat; opacity: 0; transform-origin: 50% 80%; animation: cc-error-flight 9s ease-in-out infinite; pointer-events: none; }
@keyframes cc-error-flight {
    0%, 12% { transform: translate(-50%, -40%) scale(.4); opacity: 0; }
    24% { transform: translate(-50%, -50%) scale(.9); opacity: 1; }
    34% { transform: translate(-50%, -125%) scale(1); }
    39% { transform: translate(-50%, -125%) scaleX(.55); }
    44% { transform: translate(-50%, -125%) scaleX(1); }
    49% { transform: translate(-50%, -125%) scaleX(.55); }
    54% { transform: translate(-50%, -125%) scaleX(1); opacity: 1; }
    76% { transform: translate(120%, -280%) rotate(14deg); opacity: 1; }
    90%, 100% { transform: translate(230%, -400%) rotate(22deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .cc-error-title span::before { display: none; } }
.cc-error-text { max-width: 520px; margin: 0 auto; font-size: 18px; color: #ffffffcc; }
.cc-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-5); }
.cc-error-nav { margin-top: var(--space-6); }
.cc-error-nav .label { margin-bottom: var(--space-2); color: #ffffffb3; }
.cc-error-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; }
.cc-error-nav a { color: var(--brand-white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand-light-blue); text-underline-offset: 6px; }
.cc-error-nav a:hover { color: var(--brand-light-blue); }
@media (max-width: 767px) { .cc-error { padding: 130px 0 96px; } .cc-error::before { width: 360px; height: 360px; border-width: 44px; left: -180px; bottom: -200px; } }

/* ===== Work: listing (Crafto portfolio-transform-four-column) and projects (single-project-gallery) ===== */
/* Filters: two centred rows of text tabs, as Crafto's .portfolio-filter (static/js/work-filter.js) */
.cc-work-filters { margin-bottom: var(--space-6); text-align: center; }
.cc-work-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; }
.cc-work-tabs + .cc-work-tabs { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); display: flex; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
.cc-work-tabs button { padding: 4px 0; border: 0; border-bottom: 2px solid transparent; background: none; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink-muted); cursor: pointer; }
.cc-work-tabs button:hover, .cc-work-tabs button[aria-pressed="true"] { color: var(--brand-dark-blue); border-color: var(--brand-dark-blue); }
.cc-work-tabs button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* The same tabs as links (the Insights categories: a filtered list is its own page) */
.cc-work-tabs a { display: inline-block; padding: 4px 0; border-bottom: 2px solid transparent; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink-muted); }
.cc-work-tabs a:hover, .cc-work-tabs a[aria-current="page"] { color: var(--brand-dark-blue); border-color: var(--brand-dark-blue); }
.cc-work-empty { margin: var(--space-4) 0 0; color: var(--ink-muted); }
.cc-work-grid-wrap { padding: 0 var(--space-6); }
@media (max-width: 991px) { .cc-work-grid-wrap { padding: 0 var(--space-3); } .cc-work-tabs { gap: var(--space-2) var(--space-4); } }

/* Listing tile: only the picture; the Crafto caption (title, industry) follows the mouse on hover */
.cc-work-tile .caption { display: block; text-align: left; }
/* The logo, in a white tile in the picture's top-right corner (it stays put while the picture zooms) */
.cc-work-tile { position: relative; }
.cc-work-tile-logo { position: absolute; top: 14px; right: 14px; z-index: 2; display: block; width: 56px; height: 56px; padding: 4px; border-radius: 14px; background: var(--brand-white); box-shadow: 0 4px 14px #23272a33; }
.cc-work-tile .cc-work-tile-logo img { display: block; width: 100%; max-width: 100%; height: 100%; border-radius: 10px; object-fit: cover; transform: none; }
.cc-work-tile-title { display: block; font-size: 16px; line-height: 1.2; font-weight: 700; color: var(--brand-dark-blue); }
.cc-work-tile-meta { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.cc-work-tile a:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.cc-work-tile a:focus-visible .caption { opacity: 1; visibility: visible; }
/* No hover on touch screens: the caption sits on the picture, bottom left (Crafto hides it below 992px
   with !important, hence the stronger selector) */
@media (hover: none) {
    .cc-work-tile.mousetip-wrapper .caption { display: block !important; }
    .portfolio-transform .cc-work-tile .caption { top: auto; bottom: 12px; left: 12px; max-width: calc(100% - 24px); padding: 10px 14px; white-space: normal; opacity: 1; visibility: visible; }
}

/* Project card: the picture zooms on hover (Crafto .portfolio-transform); the caption always shows */
.cc-project-card { position: relative; }
.cc-project-card-link { display: block; color: inherit; text-decoration: none; }
.cc-project-card .portfolio-image img { width: 100%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.cc-project-card:hover .portfolio-image img, .cc-project-card-link:focus-visible .portfolio-image img { transform: scale(1.06); }
.cc-project-card-blank { aspect-ratio: 800 / 635; background: var(--brand-light-blue); }
.cc-project-card-caption { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0 var(--space-2); }
/* (Crafto stretches every picture in a .portfolio-box to full width: not the logo) */
.cc-project-card .cc-project-card-caption .cc-project-card-logo { flex: 0 0 auto; width: 48px; max-width: 48px; height: 48px; border-radius: 22%; background: var(--brand-white); box-shadow: 0 4px 12px #23272a29; }
.cc-project-card-text { min-width: 0; }
.cc-project-card-title { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--brand-dark-blue); text-transform: none; }
.cc-project-card-link:hover .cc-project-card-title { text-decoration: underline; text-underline-offset: 4px; }
.cc-project-card-industry { display: block; font-size: 14px; color: var(--ink-muted); }
.cc-project-card-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }


/* Project banner: the picture under a strong shade, the logo in a white tile, the title */
.cc-project-hero { position: relative; overflow: hidden; padding: 180px 0 var(--space-7); background: var(--brand-dark-blue); }
.cc-project-hero-bg { position: absolute; inset: 0; }
.cc-project-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.cc-project-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--space-5); color: var(--brand-white); font-weight: 500; }
.cc-project-back:hover { color: var(--brand-light-blue); }
.cc-project-hero-row { display: flex; align-items: center; gap: var(--space-5); }
.cc-project-logo { flex: 0 0 auto; display: block; width: 128px; height: 128px; padding: 8px; border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-project-logo img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.cc-project-hero .cc-pill { margin-bottom: var(--space-3); }
.cc-project-summary { max-width: 640px; margin: var(--space-3) 0 0; font-size: 18px; color: #ffffffd9; }
@media (max-width: 767px) { .cc-project-hero { padding-top: 130px; } .cc-project-hero-row { flex-direction: column; align-items: flex-start; gap: var(--space-4); } .cc-project-logo { width: 88px; height: 88px; } }

/* Facts, description and links */
.cc-project-info-title { margin-bottom: var(--space-4); font-size: 24px; text-transform: none; }
.cc-project-facts li { display: flex; gap: var(--space-3); padding: 14px 0; border-bottom: 1px solid var(--border); }
.cc-project-facts li > span:first-child { flex: 0 0 35%; font-weight: 700; color: var(--brand-dark-blue); }
.cc-project-facts-services a { display: block; }
.cc-project-body { font-size: 17px; }
.cc-project-body h2, .cc-project-body h3 { margin-top: var(--space-5); text-transform: none; }
.cc-project-links { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 0; padding: 0; list-style: none; }

/* Services delivered: a light-blue card per pillar that applies, in pillar order */
.cc-delivered-title { margin-bottom: var(--space-5); }
.cc-delivered-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
@media (max-width: 991px) { .cc-delivered-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cc-delivered-list { grid-template-columns: 1fr; } }
.cc-delivered-item { position: relative; display: flex; flex-direction: column; padding: var(--space-4); border-radius: var(--radius-md); background: var(--brand-light-blue); box-shadow: var(--shadow-card); }
.cc-delivered-art { width: 96px; height: auto; margin-bottom: var(--space-3); }
.cc-delivered-name { margin: 0 0 var(--space-3); font-size: 20px; line-height: 1.2; text-transform: none; }
.cc-delivered-name a { color: var(--brand-dark-blue); }
.cc-delivered-caps { margin: 0; padding: 0; list-style: none; }
.cc-delivered-caps li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.cc-delivered-caps li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-dark-blue); box-shadow: inset 0 0 0 3px var(--brand-light-blue); }
.cc-delivered-caps a { color: var(--brand-dark-blue); font-weight: 500; text-decoration: underline; text-decoration-color: #353d4566; text-underline-offset: 3px; }

/* The devices picture and the tagline */
.cc-project-showcase { text-align: center; }
.cc-project-mockup { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.cc-project-tagline { max-width: 820px; margin: var(--space-6) auto 0; font-family: var(--font-display); font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--brand-dark-blue); text-transform: uppercase; }
@media (max-width: 767px) { .cc-project-tagline { font-size: 24px; } }

/* What the client said */
.cc-project-quote { background: var(--brand-dark-blue); }
.cc-project-quote-inner { max-width: 860px; margin: 0 auto; }
.cc-project-quote blockquote { margin: var(--space-3) 0 var(--space-4); font-size: 22px; line-height: 1.45; color: var(--brand-white); }
.cc-project-quote figcaption { display: flex; align-items: center; gap: var(--space-3); color: var(--brand-white); font-weight: 700; }
.cc-project-quote .cc-testimonial-client { font-weight: 400; color: var(--brand-light-blue); }

/* Previous / next, more work, call to action */
.cc-project-pager { display: flex; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-5); margin-bottom: var(--space-6); border-bottom: 1px solid var(--border); }
.cc-project-pager a { display: inline-flex; align-items: center; gap: var(--space-3); font-weight: 700; color: var(--brand-dark-blue); }
.cc-project-pager small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.cc-project-more-title { margin-bottom: var(--space-4); }
.cc-project-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
@media (max-width: 991px) { .cc-project-more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cc-project-more-grid { grid-template-columns: 1fr; } }
.cc-project-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin: 0; }

/* ===== Products (laid out like the Work project pages; listing = the /work tiles) ===== */
.cc-project-hero-site { margin: var(--space-4) 0 0; }
/* The problem it solves (Crafto demo-accounting-services: the "In providing…" heading, then sliding boxes,
   sliding-box-style-02; main.js sets the widths and moves "active" on hover) */
.cc-problem-head { margin-bottom: var(--space-6); }
.cc-problem-title { margin: 0; }
.cc-problem-boxes { margin: 0; padding: 0; list-style: none; }
.cc-problem-boxes .sliding-box-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.cc-problem-panel { padding: var(--space-6) var(--space-5); background: var(--brand-light-blue); }
.cc-problem-blank { aspect-ratio: 600 / 636; background: var(--brand-dark-blue); }
.cc-problem-number { display: block; margin-bottom: var(--space-4); font-family: var(--font-display); font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--brand-dark-blue); }
.cc-problem-point { margin: 0 0 var(--space-2); font-size: 19px; line-height: 1.3; font-weight: 700; text-transform: none; color: var(--brand-dark-blue); }
.cc-problem-panel p { margin: 0; color: var(--brand-dark-blue); }
.cc-problem + .cc-project-info { border-top: 1px solid var(--border); }
/* Photos stay square-cornered (brand rule), unlike Crafto's 4px */
.cc-problem-boxes.sliding-box-style-02 .sliding-box-item .sliding-box-img, .cc-problem-boxes.sliding-box-style-02 .sliding-box-item .sliding-box-content { border-radius: 0; }
/* Banner buttons: Book a demo, and the own website */
.cc-project-hero-site { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cc-btn-on-dark { color: var(--brand-white); border-color: var(--brand-white); }
.cc-btn-on-dark:hover { background: var(--brand-white); color: var(--brand-dark-blue); }
/* Questions (Crafto demo-it-business-services-details, accordion-style-02 on a light panel) */
.cc-faq-panel { padding: var(--space-6); border-radius: var(--radius-lg); background: #a3d7f340; }
@media (max-width: 767px) { .cc-faq-panel { padding: var(--space-5) var(--space-4); } }
.cc-faq-title { margin-bottom: var(--space-4); }
.cc-faq-list .accordion-item { border-bottom: 1px solid var(--border); background: transparent; }
.cc-faq-list .accordion-header { margin: 0; padding: 0; font-size: inherit; line-height: 1.3; } /* Crafto pads the header too */
.cc-faq-question { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; padding: 18px 0; line-height: 1.35; border: 0; background: none; text-align: left; font-size: 17px; font-weight: 600; color: var(--brand-dark-blue); cursor: pointer; }
.cc-faq-question i { flex: 0 0 auto; font-size: 20px; }
.cc-faq-question[aria-expanded="true"] .cc-faq-open, .cc-faq-question[aria-expanded="false"] .cc-faq-close { display: none; }
.cc-faq-question:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-faq-list .cc-faq-answer { padding: 0 var(--space-6) var(--space-3) 0; }
.cc-faq-answer p:last-child { margin-bottom: 0; }
/* Book a demo */
/* Light blue (2026-10-30; it was black, like the footer after it, then dark blue): dark-blue text and button */
.cc-demo { background: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-demo h2 { color: var(--brand-dark-blue); }
.cc-demo-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); }
.cc-demo-text { max-width: 620px; margin: var(--space-3) 0 0; color: var(--brand-dark-blue); font-size: 18px; }
.cc-demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); margin: 0; }
.cc-demo-more { color: var(--brand-dark-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cc-demo-more:hover { color: var(--brand-black); text-decoration-thickness: 2px; }

/* Product facts in a row (Crafto demo-branding-agency-single-project-slider) */
.cc-product-facts { padding: var(--space-6) 0; }
.cc-product-facts-row { margin: 0; row-gap: var(--space-4); }
.cc-product-facts-row .col { border-right: 1px solid var(--border); }
.cc-product-facts-row .col:last-child { border-right: 0; }
@media (max-width: 767px) { .cc-product-facts-row .col:nth-child(2n) { border-right: 0; } }
@media (max-width: 575px) { .cc-product-facts-row .col { border-right: 0; } }
.cc-product-facts-row dt { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.cc-product-facts-row dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--brand-dark-blue); }
.cc-product-facts-row dd a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 4px; }
/* Parallax pictures: Crafto's .one-fourth-screen band; cover the frame */
.cc-parallax { background-size: cover; background-position: center; }
/* What it does (Crafto demo-accounting-services feature boxes, icon-with-text-style-07) */
.cc-features { background: #a3d7f340; }
.cc-features-title { margin-bottom: var(--space-6); }
.cc-features-list { margin: 0; padding: 0; list-style: none; row-gap: var(--space-4); }
.cc-feature-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--space-5) var(--space-5) var(--space-4); border-radius: var(--radius-md); background: var(--brand-white); transition: box-shadow .3s ease, transform .3s ease; }
.cc-feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.cc-feature-title { margin: 0 0 var(--space-2); font-size: 20px; line-height: 1.25; font-weight: 700; text-transform: none; color: var(--brand-dark-blue); }
.cc-feature-card p { margin: 0 0 var(--space-5); }
.cc-feature-icon { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-light-blue); color: var(--brand-dark-blue); font-size: 28px; }
.cc-feature-new { position: absolute; top: var(--space-3); right: var(--space-3); padding: 0 12px; border-radius: var(--radius-pill); background: var(--brand-dark-blue); color: var(--brand-white); font-size: 11px; font-weight: 700; line-height: 24px; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .cc-feature-card, .cc-feature-card:hover { transition: none; transform: none; } }
/* Who it is for (Crafto element-rotate-box, rotate-box-style-02): also turns on keyboard focus */
.cc-audiences-title { margin-bottom: var(--space-6); }
.cc-audiences-list { margin: 0; padding: 0; list-style: none; row-gap: var(--space-4); }
.cc-audience { min-height: 300px; }
.cc-audience:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.cc-audience-front { border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-audience .rotate-content-front, .cc-audience .rotate-content-back { padding: var(--space-4); }
.cc-audience-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: var(--space-3); border-radius: 50%; background: var(--brand-light-blue); color: var(--brand-dark-blue); font-size: 30px; }
.cc-audience-title { margin: 0 0 var(--space-1); font-size: 19px; line-height: 1.25; font-weight: 700; text-transform: none; color: var(--brand-dark-blue); }
.cc-audience-line { color: var(--ink-muted); }
.cc-audience-back { border-radius: var(--radius-md); background-color: var(--brand-dark-blue); }
.cc-audience-todo { position: absolute; left: 0; right: 0; bottom: var(--space-3); z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff99; }
.cc-audience-back .cc-hero-shade { border-radius: var(--radius-md); }
.cc-audience-back .rotate-content-back { position: relative; }
.cc-audience-back-title { margin-bottom: var(--space-2); font-size: 19px; font-weight: 700; color: var(--brand-white); }
.cc-audience-back p { margin: 0; color: var(--brand-white); }
.rotate-box.to-left.cc-audience:focus-within .front-side { transform: rotateY(-180deg); }
.rotate-box.to-left.cc-audience:focus-within .back-side { transform: rotateY(0); }
.rotate-box.to-left.cc-audience:focus-within .rotate-content-front { transform: translateY(-50%) translateX(-400px) scale(.88); }
.rotate-box.to-left.cc-audience:focus-within .rotate-content-back { transform: translateY(-50%) translateX(0) translateZ(0) scale(1); }
/* The story (Crafto demo-business-blog-single-modern blocks) */
.cc-story-lead { margin-bottom: var(--space-6); font-size: 19px; line-height: 1.6; color: var(--brand-dark-blue); }
.cc-story-lead::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--font-display); font-size: 64px; line-height: .8; font-weight: 800; color: var(--brand-dark-blue); }
.cc-story-boxes { row-gap: var(--space-4); margin-bottom: var(--space-6); }
.cc-story-box { height: 100%; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.cc-story-box-title { display: block; margin-bottom: var(--space-1); font-weight: 700; color: var(--brand-dark-blue); }
.cc-story-box p { margin: 0; }
.cc-story-image { margin: 0 0 var(--space-6); }
.cc-story-image img { display: block; width: 100%; height: auto; }
.cc-story-image figcaption { margin-top: var(--space-2); font-size: 14px; color: var(--ink-muted); }
.cc-story-section { margin-bottom: var(--space-5); }
.cc-story-heading { margin: 0 0 var(--space-2); font-size: 22px; line-height: 1.3; font-weight: 700; text-transform: none; color: var(--brand-dark-blue); }
.cc-story .cc-project-links { margin-top: var(--space-4); }
.cc-story-gallery { margin-bottom: var(--space-6); }
/* Gallery thumbnails all the same height: one 10:7 frame, the picture cropped to fill it (the lightbox shows it whole) */
.cc-gallery-even .gallery-image img { display: block; width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.cc-project-body .cc-story-section h2, .cc-project-body .cc-story-section h3 { text-transform: none; }
.cc-product-facts-row dd a + a { margin-left: 0; }
/* Work: the tagline beside a photo, before the case study (as on the old project pages) */
.cc-project-intro + .cc-project-body { padding-top: 0; }
.cc-project-intro-frame { overflow: hidden; }
.cc-project-intro-image { display: block; width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.cc-project-intro-frame:hover .cc-project-intro-image { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .cc-project-intro-image { transition: none; } .cc-project-intro-frame:hover .cc-project-intro-image { transform: none; } }
.cc-project-intro-quote { margin: 0; padding-left: var(--space-4); border-left: 6px solid var(--brand-light-blue); font-family: var(--font-display); font-size: 34px; line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--brand-dark-blue); }
@media (max-width: 767px) { .cc-project-intro-quote { font-size: 26px; } }

/* ===== Layout blocks shared by the service, project, product and insight bodies (core/blocks.py) ===== */
/* Each block sizes itself to its column (container queries): the narrow body of a service or an article,
   or across a project or product page. Crafto's markup and hover effects, in brand colours. */
.cc-block { container-type: inline-size; margin: var(--space-6) 0; font-size: 16px; line-height: 1.5; color: var(--brand-dark-blue); }
.cc-svc-body > .cc-block { margin-bottom: 0; }
.cc-svc-body > .cc-block:first-child { margin-top: 0; }
.cc-block p { color: inherit; }
.cc-block h2, .cc-block h3 { color: inherit; }
.cc-block-head { margin-bottom: var(--space-5); text-align: center; }
.cc-block-heading { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; }
@container (max-width: 539px) { .cc-block-heading { font-size: 24px; } }
.cc-step-title { margin: 0 0 var(--space-1); font-size: 18px; line-height: 1.3; font-weight: 700; text-transform: none; }
/* Sections that open (core/blocks/accordion.html): the product questions' panel and rows */
.cc-accordion-heading { margin-bottom: var(--space-2); }
.cc-accordion-intro { margin: 0 0 var(--space-3); }
.cc-accordion .cc-faq-list .accordion-item:last-child { border-bottom: 0; }
@container (max-width: 539px) { .cc-accordion .cc-faq-panel { padding: var(--space-4) var(--space-3); } }
/* Feature cards (core/blocks/feature_cards.html): white cards on a light-blue panel, 3/2/1 across by column width */
.cc-fcards-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); margin: 0; padding: var(--space-4); border-radius: var(--radius-lg); background: #a3d7f340; list-style: none; }
@container (min-width: 440px) { .cc-fcards-grid { grid-template-columns: repeat(2, 1fr); } }
@container (min-width: 640px) { .cc-fcards-grid { grid-template-columns: repeat(3, 1fr); } }
@container (min-width: 1000px) { .cc-fcards-grid { grid-template-columns: repeat(4, 1fr); padding: var(--space-5); } }
.cc-fcard { padding: var(--space-3); border-radius: var(--radius-md); background: var(--brand-white); }
.cc-fcard-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: var(--space-2); border-radius: 50%; background: var(--brand-light-blue); font-size: 17px; }
.cc-fcard-title { margin: 0 0 var(--space-1); font-size: 16px; line-height: 1.3; font-weight: 700; text-transform: none; letter-spacing: 0; }
.cc-fcard p { margin: 0; font-size: 14px; line-height: 1.45; }
.cc-btn-white { background: var(--brand-white); color: var(--brand-dark-blue); border-color: var(--brand-white); }
.cc-btn-white:hover { background: var(--brand-light-blue); border-color: var(--brand-light-blue); color: var(--brand-dark-blue); }
/* One, two or four steps across, by the width of the column; the joining line or arrow only between
   neighbours on the same row */
.cc-steps-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6) var(--space-4); margin: 0; padding: 0; list-style: none; }
@container (min-width: 540px) { .cc-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@container (min-width: 880px) { .cc-steps-grid { grid-template-columns: repeat(4, 1fr); } }
.cc-steps-grid .cc-step-line { display: none !important; }
@container (min-width: 540px) and (max-width: 879px) { .cc-steps-grid > li:nth-child(odd) .cc-step-line { display: inline-flex !important; } }
@container (min-width: 880px) { .cc-steps-grid .cc-step-line { display: inline-flex !important; } }

/* Quote with picture (Crafto blockquote-style-03) */
.cc-pquote-inner { display: grid; gap: var(--space-4); align-items: center; justify-items: center; }
@container (min-width: 540px) { .cc-pquote-inner { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); justify-items: start; gap: var(--space-5); } .cc-pquote-image { justify-self: center; } }
.cc-pquote-inner:not(:has(.cc-pquote-image)) { grid-template-columns: 1fr; }
.cc-pquote-image img { display: block; max-width: 100%; height: auto; }
.cc-pquote-text { margin: 0; padding-left: var(--space-5); border-left: 4px solid var(--brand-dark-blue); }
.cc-pquote-text p { margin: 0 0 var(--space-3); font-size: 22px; line-height: 1.45; font-weight: 500; }
.cc-pquote-text footer { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* Text boxes revealing on hover (Crafto fancy-text-box-style-01): a grid of ruled cells */
.cc-hboxes-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
@container (min-width: 540px) { .cc-hboxes-grid { grid-template-columns: repeat(2, 1fr); } }
@container (min-width: 880px) { .cc-hboxes-grid { grid-template-columns: repeat(var(--boxes, 4), 1fr); } }
.cc-hbox.fancy-text-box-style-01 { border: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cc-hbox .text-box-wrapper { min-height: 260px; }
.cc-hbox .text-box, .cc-hbox .text-box-hover { padding: var(--space-5) var(--space-4); }
.cc-hbox-icon { display: block; margin-bottom: var(--space-3); font-size: 40px; color: var(--brand-dark-blue); }
.cc-hbox-title { margin: 0 0 var(--space-1); font-size: 20px; line-height: 1.25; font-weight: 700; }
.cc-hbox .text-box p { color: var(--ink-muted); }
.cc-hbox .text-box-hover p { margin-bottom: var(--space-3); }
.cc-hbox-link { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: 700; color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 4px; }
/* Keyboard: focusing the link opens the box as hover does */
.cc-hbox .text-box-wrapper:focus-within .text-box { opacity: 0; visibility: hidden; transform: translateY(-100%); }
.cc-hbox .text-box-wrapper:focus-within .text-box-hover { opacity: 1; transform: translateY(-100%); }
/* Touch screens can't hover, and with reduced motion nothing slides: both parts, one under the other */
@media (hover: none), (prefers-reduced-motion: reduce) {
    .cc-hbox .text-box-wrapper .text-box, .cc-hbox .text-box-wrapper .text-box-hover,
    .cc-hbox .text-box-wrapper:hover .text-box, .cc-hbox .text-box-wrapper:hover .text-box-hover,
    .cc-hbox .text-box-wrapper:focus-within .text-box, .cc-hbox .text-box-wrapper:focus-within .text-box-hover { position: static; opacity: 1; visibility: visible; transform: none; transition: none; }
    .cc-hbox .text-box { padding-bottom: 0; }
    .cc-hbox .text-box-wrapper { min-height: 0; }
}

/* Figures or milestones (Crafto fancy-text-box-style-02): white cards that fill with dark blue on hover */
.cc-milestones-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
@container (min-width: 720px) { .cc-milestones-grid { grid-template-columns: repeat(2, 1fr); } }
.cc-milestone { position: relative; display: flex; align-items: center; min-height: 150px; padding: var(--space-5) var(--space-4); overflow: hidden; background: var(--brand-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: background-color .3s ease, color .3s ease, transform .3s ease; }
.cc-milestone-figure { flex: 0 0 auto; padding-right: var(--space-4); font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 800; }
.cc-milestone-content { padding-left: var(--space-4); border-left: 1px solid var(--border); }
.cc-milestone-title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; text-transform: none; }
.cc-milestone-content p { margin: var(--space-1) 0 0; color: var(--ink-muted); }
.cc-milestone:hover { background: var(--brand-dark-blue); color: var(--brand-white); transform: translateY(-4px); }
.cc-milestone:hover .cc-milestone-figure { color: var(--brand-light-blue); }
.cc-milestone:hover .cc-milestone-content { border-color: #ffffff42; }
.cc-milestone:hover .cc-milestone-content p { color: #ffffffb3; }
@container (max-width: 400px) { .cc-milestone { flex-direction: column; align-items: flex-start; } .cc-milestone-figure { padding: 0 0 var(--space-3); } .cc-milestone-content { padding: var(--space-3) 0 0; border-left: 0; border-top: 1px solid var(--border); } }
@media (prefers-reduced-motion: reduce) { .cc-milestone { transition: none; } .cc-milestone:hover { transform: none; } }

/* Process steps with pictures (Crafto process-step-style-03) */
.cc-pstep .process-step-icon-box { margin-bottom: var(--space-4); }
.cc-pstep-image { width: 180px; height: 180px; max-width: 100%; }
.cc-pstep-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cc-pstep .box-overlay { background: var(--brand-dark-blue); }
.cc-pstep .number { font-size: 40px; color: var(--brand-white); }
.cc-pstep .progress-step-separator { width: 20%; height: 1px; background: var(--brand-dark-blue); opacity: .3; }
.cc-pstep p { max-width: 240px; margin-inline: auto; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .cc-pstep-image img, .cc-pstep .number, .cc-pstep .box-overlay { transition: none; } .process-step-style-03.cc-pstep:hover .process-step-icon-box img { transform: none; } }

/* Numbered steps with a picture (Crafto process-step-style-05) */
.cc-nsteps-note { display: flex; justify-content: center; margin-bottom: var(--space-6); }
.cc-nsteps-note p { margin: 0; padding: var(--space-3) var(--space-5); border-radius: var(--radius-lg); background: var(--brand-dark-blue); color: var(--brand-white); font-size: 17px; text-align: center; }
.cc-nsteps-inner { display: grid; gap: var(--space-5); align-items: center; }
@container (min-width: 880px) { .cc-nsteps-with-image .cc-nsteps-inner { grid-template-columns: 5fr 7fr; gap: var(--space-6); } }
.cc-nsteps-list .cc-block-heading { margin-bottom: var(--space-5); }
.cc-nsteps-steps { margin: 0; padding: 0; list-style: none; }
.cc-nstep-number { width: 60px; height: 60px; background: var(--brand-light-blue); font-weight: 700; color: var(--brand-dark-blue); }
.cc-nsteps .box-overlay { background: var(--brand-dark-blue); }
.cc-nsteps .progress-step-separator { background: var(--brand-dark-blue); opacity: .2; }
.cc-nsteps .process-content { padding-left: var(--space-4); margin-bottom: var(--space-5); }
.cc-nsteps li:last-child .process-content { margin-bottom: 0; }
.cc-nsteps .process-content p { color: var(--ink-muted); }
.cc-nsteps-image img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .cc-nsteps .process-step-icon, .cc-nsteps .box-overlay { transition: none; } .process-step-style-05:hover .process-step-icon { transform: none; } }

/* Process steps in a row (Crafto process-step-style-09) */
.cc-rstep .process-step-icon-box { margin-bottom: var(--space-4); }
.cc-rstep-number { position: relative; width: 100px; height: 100px; background: var(--brand-light-blue); color: var(--brand-dark-blue); font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.cc-rstep .box-overlay { opacity: 1; visibility: visible; border: 2px solid var(--brand-dark-blue); background: transparent; transition: transform .3s ease; }
.cc-rstep .progress-right-icon { left: calc(100% + 12px); transform: translate(-50%, -50%); font-size: 28px; color: var(--brand-dark-blue); }
.cc-rstep p { max-width: 240px; margin-inline: auto; color: var(--ink-muted); }
.cc-rsteps-closing { margin: var(--space-6) 0 0; text-align: center; font-size: 18px; }
.cc-rsteps-tag { display: inline-block; margin-right: var(--space-2); padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--brand-white); box-shadow: var(--shadow-card); font-size: 12px; line-height: 2; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.cc-rsteps-closing a { font-weight: 700; color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .cc-rstep .box-overlay { transition: none; } .process-step-style-09.cc-rstep:hover .box-overlay { transform: none; } }

/* Call to action (Crafto element-call-to-action, "We would love to hear…") */
.cc-cta { padding: var(--space-7) var(--space-4); border-radius: var(--radius-lg); background: var(--brand-light-blue); text-align: center; }
.cc-cta-heading { max-width: 760px; margin: 0 auto var(--space-5); font-size: 34px; line-height: 1.1; font-weight: 800; }
@container (max-width: 539px) { .cc-cta { padding: var(--space-6) var(--space-3); } .cc-cta-heading { font-size: 26px; } }
.cc-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.cc-cta .cc-pill { margin-bottom: var(--space-3); }
.cc-cta-text { max-width: 60ch; margin: calc(var(--space-5) * -1 + var(--space-3)) auto var(--space-5); font-size: 18px; }
/* /products: the band linking to the partner solutions */
.cc-products-partners { padding-bottom: var(--space-7); }
.cc-products-partners .cc-block { margin-top: 0; }

/* Consultation band (Crafto element-call-to-action, "Get a consultation services."): a picture under a
   dark-blue shade (75%, so white text stays at 5:1 or more) */
.cc-consult { position: relative; overflow: hidden; padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--brand-dark-blue); color: var(--brand-white); }
.cc-consult-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-consult:has(.cc-consult-bg)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #353d45bf; }
.cc-consult-inner { position: relative; z-index: 2; display: grid; gap: var(--space-4); text-align: center; }
@container (min-width: 880px) { .cc-consult-inner { grid-template-columns: 1fr auto; align-items: center; text-align: left; } }
.cc-consult-heading { margin: 0 0 var(--space-1); font-size: 28px; line-height: 1.15; font-weight: 700; color: var(--brand-white); }
.cc-consult-text p { margin: 0; font-size: 18px; color: #ffffffcc; }
.cc-consult-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
@container (max-width: 539px) { .cc-consult { padding: var(--space-5) var(--space-3); } .cc-consult-buttons .cc-btn { width: 100%; } }

/* Tabs with pictures (Crafto tab-style-04, "Keyword research"): the names in a row, a dark-blue rule growing
   under the chosen one; the panel a picture beside the text, one under the other in narrow columns. Crafto's
   viewport rules for the tab row are replaced by these, sized to the column. */
.cc-ptabs .nav-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); width: auto; margin: 0 0 var(--space-5); padding: 0; border: 0; }
.cc-ptabs .nav-tabs .nav-item { display: block; width: auto; margin: 0; padding: 0; }
.cc-ptabs .nav-tabs .nav-item .nav-link { padding: var(--space-2) 0; font-family: var(--font-display); font-size: 19px; line-height: 1.3; font-weight: 500; color: var(--ink-muted); }
.cc-ptabs .nav-tabs .nav-item .nav-link:hover, .cc-ptabs .nav-tabs .nav-item .nav-link.active { color: var(--brand-dark-blue); }
.cc-ptabs .nav-tabs .nav-item .nav-link .tab-border { margin-top: var(--space-1); background: var(--brand-dark-blue); }
@container (max-width: 539px) { .cc-ptabs .nav-tabs { gap: var(--space-1) var(--space-4); } .cc-ptabs .nav-tabs .nav-item .nav-link { font-size: 16px; } }
.cc-ptabs-panel { display: grid; gap: var(--space-5); align-items: center; text-align: center; }
@container (min-width: 700px) { .cc-ptabs-panel { grid-template-columns: 7fr 5fr; gap: var(--space-6); text-align: left; } }
.cc-ptabs-image img { display: block; width: 100%; height: auto; }
.cc-ptabs-heading { margin: 0 0 var(--space-3); font-size: 28px; line-height: 1.15; font-weight: 700; }
.cc-ptabs-text p { margin-bottom: var(--space-4); color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .cc-ptabs .nav-tabs .nav-item .nav-link .tab-border { transition: none; } }

/* Tabs with icons (Crafto tab-style-05, "Professional and highly dedicated business services"): the tabs in a
   column beside the panel, the chosen one (and the one under the mouse) on a white shadowed card; in narrow
   columns they wrap in rows above it. The panel: picture beside the text, one under the other when narrow. */
.cc-itabs-inner { display: grid; gap: var(--space-4); align-items: center; }
@container (min-width: 880px) { .cc-itabs-inner { grid-template-columns: minmax(220px, 3fr) 9fr; gap: var(--space-5); } }
.cc-itabs .nav-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); width: auto; margin: 0; padding: 0; border: 0; }
@container (min-width: 880px) { .cc-itabs .nav-tabs { flex-direction: column; flex-wrap: nowrap; } }
.cc-itabs .nav-tabs > li.nav-item { display: block; width: auto; margin: 0; padding: 0; }
@container (min-width: 880px) { .cc-itabs .nav-tabs > li.nav-item { width: 100%; } }
.cc-itabs .nav-tabs .nav-item .nav-link { display: flex; align-items: center; gap: var(--space-3); width: 100%; margin: 0; padding: 12px 20px; border-radius: var(--radius-md); font-family: var(--font-display); font-size: 18px; line-height: 1.3; font-weight: 500; text-align: left; color: var(--brand-dark-blue); }
@container (min-width: 880px) { .cc-itabs .nav-tabs .nav-item .nav-link { padding: 20px 24px; } }
.cc-itabs .nav-tabs .nav-item .nav-link i { margin: 0; font-size: 24px; color: inherit; }
.cc-itabs .nav-tabs .nav-item .nav-link span { top: 0; color: inherit; }
.cc-itabs .nav-tabs .nav-item .nav-link:hover, .cc-itabs .nav-tabs .nav-item .nav-link.active { background: var(--brand-white); color: var(--brand-dark-blue); box-shadow: var(--shadow-card); }
.cc-itabs .nav-tabs .nav-item .nav-link.active { font-weight: 700; }
.cc-itabs-content { container-type: inline-size; }
.cc-itabs-panel { display: grid; gap: var(--space-5); align-items: center; text-align: center; }
@container (min-width: 600px) { .cc-itabs-panel { grid-template-columns: 6fr 5fr; gap: var(--space-6); text-align: left; } }
.cc-itabs-image img { display: block; width: 100%; height: auto; }
.cc-itabs-label { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin: 0 0 var(--space-4); font-size: 18px; font-weight: 500; }
@container (min-width: 600px) { .cc-itabs-label { justify-content: flex-start; } }
.cc-itabs-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-white); box-shadow: var(--shadow-card); font-size: 22px; }
.cc-itabs-heading { margin: 0 0 var(--space-3); font-size: 26px; line-height: 1.2; font-weight: 700; }
.cc-itabs-text p:not(.cc-itabs-label) { margin-bottom: var(--space-4); color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .cc-itabs .nav-tabs .nav-item .nav-link, .cc-itabs .nav-tabs .nav-item .nav-link span { transition: none; } }

/* ===== Partner solutions (Crafto demo-it-business-services) ===== */
/* Title band: dark blue (or a chosen picture under a dark-blue shade), pill and heading centred, the wave at
   its foot running into the white cards section */
.cc-partners-title { position: relative; overflow: hidden; padding: 200px 0 160px; background: var(--brand-dark-blue); }
.cc-partners-title-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-partners-title:has(.cc-partners-title-bg)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #353d45bf; }
.cc-partners-title .container { position: relative; z-index: 2; }
/* The two collaboration drawings either side of the title; only where they clear the text */
.cc-partners-art { position: absolute; z-index: 1; top: calc(50% + 10px); width: 260px; height: auto; transform: translateY(-50%); }
.cc-partners-art-left { left: max(24px, calc(50% - 680px)); transform: translateY(-50%) rotate(-3deg); }
.cc-partners-art-right { right: max(24px, calc(50% - 680px)); transform: translateY(-50%) rotate(3deg); }
@media (max-width: 1199px) { .cc-partners-art { display: none; } }
.cc-partners-title .cc-pill { margin-bottom: var(--space-3); }
.cc-partners-title h1 { margin: 0; color: var(--brand-white); }
.cc-partners-intro { max-width: 60ch; margin: var(--space-3) auto 0; font-size: 18px; color: var(--brand-white); opacity: .85; }
@media (max-width: 767px) { .cc-partners-title { padding: 140px 0 90px; } }
/* Cards (services-box-style-03): white, shadowed; the picture square-cornered, logos on white */
.cc-partners { padding-top: var(--space-5); }
.cc-partners .row { row-gap: var(--space-5); }
.cc-partner-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--brand-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease; }
.cc-partner-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px #23272a26; }
.cc-partner-card-image { position: relative; aspect-ratio: 600 / 440; overflow: hidden; }
.cc-partner-card-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-partner-card-logo { display: flex; align-items: center; justify-content: center; padding: var(--space-6); border-bottom: 1px solid var(--border); background: var(--brand-white); }
.cc-partner-card-logo > img { width: auto; height: auto; max-width: 75%; max-height: 60%; object-fit: contain; }
.cc-partner-tag { position: absolute; top: var(--space-4); right: var(--space-4); padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--brand-dark-blue); color: var(--brand-white); font-size: 12px; line-height: 2; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.cc-partner-card-body { flex: 1; padding: var(--space-5) var(--space-5) var(--space-4); text-align: center; }
.cc-partner-card-name { margin: 0 0 var(--space-2); font-size: 20px; line-height: 1.25; font-weight: 700; text-transform: none; }
.cc-partner-card-body p { margin: 0 0 var(--space-3); color: var(--ink-muted); }
.cc-partner-site { display: inline-flex; align-items: center; gap: var(--space-1); font-size: 14px; font-weight: 600; color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-partner-card-foot { border-top: 1px solid var(--border); text-align: center; }
.cc-partner-ask { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 56px; padding: var(--space-3); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-dark-blue); }
.cc-partner-ask i { transition: transform .2s ease; }
.cc-partner-ask:hover i, .cc-partner-ask:focus-visible i { transform: translateX(4px); }
.cc-partner-ask:focus-visible { outline-offset: -4px; }
.cc-partners-body { padding-bottom: var(--space-7); }
.cc-partners-body > .cc-block:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .cc-partner-card, .cc-partner-ask i { transition: none; } .cc-partner-card:hover { transform: none; } }
/* Its menu icon (a Crafto line icon) on small screens, where the logos are plain 35px pictures: the same
   size, as a white tile with the icon in dark blue (the desktop dropdown rule refines it) */
header .dropdown-menu .cc-menu-line-icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; margin-right: 15px; border-radius: 22%; background: var(--brand-white); color: var(--brand-dark-blue); font-size: 24px; vertical-align: middle; }
header .dropdown-menu .cc-menu-line-icon i { margin: 0; color: inherit; font-size: inherit; line-height: 1; }

/* Homepage: the call to action (the Call to action block's panel) */
.cc-home-cta .cc-block { margin: 0; }
/* Homepage latest insights: the listing's cards in an even row — one height, pictures cropped to one shape,
   title and excerpt kept to three lines, the date at the foot */
.cc-insights-even { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: 0; }
@media (max-width: 991px) { .cc-insights-even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cc-insights-even { grid-template-columns: minmax(0, 1fr); } }
.cc-insights-even > li { display: flex; }
.cc-insights-even .cc-insight-card { display: flex; flex-direction: column; width: 100%; }
.cc-insights-even .cc-insight-card-image { aspect-ratio: 16 / 10; }
.cc-insights-even .cc-insight-card-image img { width: 100%; height: 100%; object-fit: cover; }
.cc-insights-even .cc-insight-card-body { display: flex; flex: 1; flex-direction: column; }
.cc-insights-even .cc-insight-card h2, .cc-insights-even .cc-insight-card-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.cc-insights-even .cc-insight-card-date { margin-top: auto; }
/* Its character: rings that draw themselves in, a paper plane on a dotted path, words taking turns. Played
   once (templates/home/sections/call_to_action.html adds .is-in when the panel comes into view; .is-still
   with reduced motion: the finished state, no transitions) */
.cc-cta-lively { position: relative; overflow: hidden; isolation: isolate; padding-top: 88px; padding-bottom: 88px; }
.cc-cta-lively > .cc-cta-heading, .cc-cta-lively > .cc-cta-buttons { position: relative; z-index: 2; }
.cc-cta-rings, .cc-cta-ring-black, .cc-cta-flight { position: absolute; z-index: 1; pointer-events: none; }
.cc-cta-rings { top: 0; right: 0; width: clamp(150px, 24%, 320px); height: auto; transform-origin: 100% 0; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.cc-cta-ring-black { bottom: 0; left: 0; width: clamp(110px, 16%, 240px); height: auto; }
/* left of the heading (at most 760px wide, centred), never under it */
.cc-cta-flight { left: 2%; bottom: 10%; width: min(300px, calc((100% - 760px) / 2 - 4%)); height: auto; }
.cc-cta-lively:hover .cc-cta-rings { transform: rotate(-14deg); }
.cc-cta-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1); }
.cc-cta-draw-late { transition-delay: .35s; }
.is-in .cc-cta-draw { stroke-dashoffset: 0; }
.cc-cta-dot { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: opacity .4s ease 1.4s, transform .5s cubic-bezier(.34, 1.56, .64, 1) 1.4s; }
.cc-cta-dot-late { transition-delay: 1.7s; }
.is-in .cc-cta-dot { opacity: 1; transform: scale(1); }
.cc-cta-trail { opacity: 0; transition: opacity 2s ease .3s; }
.is-in .cc-cta-trail { opacity: .55; }
.cc-cta-plane { opacity: 0; }
.is-in .cc-cta-plane { opacity: 1; }
/* The last word of the heading: the words share one cell, one shown at a time, underlined in white; the
   script sets the cell to the width of the word showing (a longer one may move it to the next line) */
.cc-cta-words { display: inline-grid; justify-items: start; text-align: left; white-space: nowrap; transition: width .45s cubic-bezier(.22, 1, .36, 1); }
.cc-cta-words > span { position: relative; grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.cc-cta-words > span.is-active { opacity: 1; transform: none; }
.cc-cta-words > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; border-radius: 3px; background: var(--brand-white); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.22, 1, .36, 1) .15s; }
.cc-cta-words > span.is-active::after { transform: scaleX(1); }
.is-still *, .is-still *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .cc-cta-rings { transition: none; } .cc-cta-lively:hover .cc-cta-rings { transform: none; } }
/* Narrow panels: the rings smaller, the plane left out (it would cross the heading) */
@container (max-width: 1100px) { .cc-cta-flight { display: none; } }
/* Pause button for the changing words: bottom right, as the hero's */
.cc-cta-pause { position: absolute; right: var(--space-4); bottom: var(--space-4); z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #353d4559; border-radius: var(--radius-pill); background: transparent; color: var(--brand-dark-blue); font-size: 14px; transition: background-color .2s ease, color .2s ease; }
.cc-cta-pause:hover { background: var(--brand-dark-blue); color: var(--brand-white); }
@media (max-width: 991px) { .cc-cta-lively { padding-top: 72px; padding-bottom: 72px; } }

/* Homepage grounds alternate light and dark (2026-10-29): Selected work, the call to action's band, Latest
   insights and Testimonials are dark; Awards and Memberships light. What those sections need on dark: */
.cc-work.theme-dark .cc-work-all a, .cc-home-insights.theme-dark .cc-work-all a { color: var(--brand-white); }
.cc-work.theme-dark .cc-work-intro { color: var(--ink-muted); }
/* The call to action's light-blue panel keeps the light tokens on its dark band */
.theme-dark .cc-cta { --ink: var(--brand-dark-blue); --ink-muted: #353d45b3; --surface-contrast: var(--brand-dark-blue); --ink-on-contrast: var(--brand-white); --border: #353d4542; --border-strong: var(--brand-dark-blue); --focus: var(--brand-dark-blue); color: var(--brand-dark-blue); }
.theme-dark .cc-cta h2 { color: var(--brand-dark-blue); }
/* Insight cards are white wherever they sit: light tokens inside, so text on a dark band stays dark */
.theme-dark .cc-insight-card { --ink: var(--brand-dark-blue); --ink-muted: #353d45b3; --focus: var(--brand-light-blue); color: var(--brand-dark-blue); }
.theme-dark .cc-cta .cc-btn-primary:hover { background: var(--brand-black); border-color: var(--brand-black); color: var(--brand-white); }

/* Products menu: "By industry" → industries → products (2026-10-30). The rows are buttons styled like
   the menu's links; each opens a white panel to its right (static/js/submenus.js), folding out below on phones. */
.cc-submenu-toggle { display: flex; align-items: center; width: 100%; margin: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.cc-submenu-label { flex: 1 1 auto; }
.cc-submenu-arrow { margin-left: var(--space-2); font-size: 16px; line-height: 1; transition: transform .2s ease; }
.cc-submenu-panel { display: none; margin: 0; padding: 0; list-style: none; }
.cc-submenu.open > .cc-submenu-panel { display: block; }
@media (min-width: 992px) {
    .cc-submenu { position: relative; }
    /* The Products panel lets its flyouts out (Crafto clips it, and a clipped panel scrolls sideways when a
       flyout gets focus); its first and last rows take the rounded corners instead */
    header .navbar .navbar-nav .dropdown .dropdown-menu:has(> .cc-submenu) { overflow: visible; }
    header .navbar .navbar-nav .dropdown .dropdown-menu:has(> .cc-submenu) > li:first-child > :is(a, .cc-submenu-toggle) { border-radius: var(--radius-md) var(--radius-md) 0 0; }
    header .navbar .navbar-nav .dropdown .dropdown-menu:has(> .cc-submenu) > li:last-child > :is(a, .cc-submenu-toggle) { border-radius: 0 0 var(--radius-md) var(--radius-md); }
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-submenu-toggle { gap: var(--space-3); padding: 17px 20px; border-bottom: 1px solid #353d4524; color: var(--brand-dark-blue); font-size: 15px; line-height: 26px; }
    /* it-business.css fades the links in a hovered row (li:hover a); in a flyout that would fade them all */
    header .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu .cc-submenu:hover .cc-submenu-panel a { opacity: 1; }
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-submenu-toggle:hover,
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-submenu-toggle:focus-visible,
    header .navbar .navbar-nav .dropdown .dropdown-menu .cc-submenu.open > .cc-submenu-toggle { background-color: var(--brand-light-blue); }
    .cc-submenu.open > .cc-submenu-toggle .cc-submenu-arrow { transform: translateX(3px); }
    .cc-submenu-panel { position: absolute; top: 0; left: calc(100% + 6px); z-index: 2; width: 260px; border-radius: var(--radius-md); background: var(--brand-white); box-shadow: 0 10px 30px #23272a40; }
    .cc-submenu.menu-left > .cc-submenu-panel { left: auto; right: calc(100% + 6px); }
    /* An invisible bridge over the gap, so the pointer can cross to the panel */
    .cc-submenu-panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
    .cc-submenu.menu-left > .cc-submenu-panel::before { left: auto; right: -8px; }
    .cc-submenu-panel > li:first-child > a, .cc-submenu-panel > li:first-child > .cc-submenu-toggle { border-radius: var(--radius-md) var(--radius-md) 0 0; }
    .cc-submenu-panel > li:last-child > a, .cc-submenu-panel > li:last-child > .cc-submenu-toggle { border-bottom: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); }
    .cc-submenu-panel > li:only-child > a, .cc-submenu-panel > li:only-child > .cc-submenu-toggle { border-radius: var(--radius-md); }
}
/* (phones: Crafto shows a copy of the menu outside the header, so these rules don't start with header) */
@media (max-width: 991px) {
    /* the toggles as the phone menu's links: white at 60%, full when open; faint white rules between rows */
    .navbar-nav .dropdown-menu .cc-submenu-toggle { gap: 12px; padding: 15px 0; border-bottom: 1px solid #ffffff1a; color: var(--brand-white); font-size: 15px; opacity: .6; }
    .navbar-nav .dropdown-menu .cc-submenu.open > .cc-submenu-toggle, .navbar-nav .dropdown-menu .cc-submenu-toggle:hover { opacity: 1; }
    .navbar-nav .dropdown-menu .cc-submenu-panel { margin: 0; padding-left: var(--space-4); }
    /* Menu icons (product logos, line icons) as small tiles, as on desktop (they showed at 64px) */
    .navbar-nav .dropdown-menu .cc-menu-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; margin-right: 12px; border-radius: 22%; object-fit: cover; vertical-align: middle; }
    .navbar-nav .dropdown-menu .cc-submenu-toggle .cc-menu-icon { margin-right: 0; }
    .navbar-nav .dropdown-menu .cc-menu-line-icon { background: var(--brand-white); color: var(--brand-dark-blue); font-size: 20px; }
    .navbar-nav .dropdown-menu .cc-menu-line-icon i { margin: 0; color: inherit; font-size: inherit; line-height: 1; }
    .cc-submenu.open > .cc-submenu-toggle .cc-submenu-arrow { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .cc-submenu-arrow { transition: none; } }

/* ===== Forms on our own site (the readiness review request; services/forms.py) ===== */
/* Not in the design system (our own form, not HubSpot's, 2026-10-30): the HubSpot form's look, in brand tokens */
.cc-svc-request { width: 100%; margin-bottom: var(--space-4); }
.cc-review-form { scroll-margin-top: 110px; padding: var(--space-5); border-radius: var(--radius-md); background: var(--brand-white); box-shadow: var(--shadow-card); }
.cc-form-intro { margin: 0 0 var(--space-4); }
.cc-form-group { margin: 0 0 var(--space-5); padding: 0; border: 0; }
.cc-form-group > legend { margin: 0 0 var(--space-3); padding: 0; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-muted); }
.cc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-4); }
@media (max-width: 767px) { .cc-form-row { grid-template-columns: minmax(0, 1fr); } }
.cc-field { margin: 0 0 var(--space-3); padding: 0; border: 0; min-width: 0; }
.cc-field > label, .cc-choices > legend { display: block; margin: 0 0 var(--space-1); padding: 0; font-size: 14px; font-weight: 600; color: var(--brand-dark-blue); }
.cc-field-optional { font-weight: 400; color: var(--ink-muted); }
.cc-field-help { margin: 0 0 var(--space-1); font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.cc-form input:not([type="checkbox"]):not([type="radio"]), .cc-form textarea, .cc-form select { width: 100%; min-height: 48px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--brand-white); color: var(--brand-dark-blue); font: inherit; }
.cc-form textarea { min-height: 96px; }
.cc-form input:focus, .cc-form textarea:focus, .cc-form select:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--brand-dark-blue); }
.cc-choices { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.cc-choices > legend { flex: 0 0 100%; float: left; width: 100%; }
.cc-choice { display: inline-flex; align-items: flex-start; gap: var(--space-2); margin: 0; font-size: 15px; font-weight: 400; color: var(--brand-dark-blue); cursor: pointer; }
.cc-choice input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand-dark-blue); }
.cc-field > label.cc-choice, .cc-choices > label.cc-choice { display: inline-flex; margin: 0; font-size: 15px; font-weight: 400; }
.cc-choices > .cc-field-message { flex: 0 0 100%; }
.cc-choice a { color: var(--brand-dark-blue); text-decoration: underline; text-underline-offset: 3px; }
.cc-form-consent { display: grid; gap: var(--space-2); margin: 0 0 var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.cc-form-consent .cc-field { margin: 0; }
/* Errors: dark-blue text with a thick rule (the four brand colours have no red), and the summary on top */
.cc-field-error > label, .cc-field-error > legend { color: var(--brand-dark-blue); }
.cc-field-error input:not([type="checkbox"]):not([type="radio"]), .cc-field-error textarea { border: 2px solid var(--brand-dark-blue); }
.cc-field-message { margin: var(--space-1) 0 0; padding-left: var(--space-2); border-left: 4px solid var(--brand-dark-blue); font-size: 13px; font-weight: 700; color: var(--brand-dark-blue); }
.cc-form-errors { margin: 0 0 var(--space-4); padding: var(--space-3); border-radius: var(--radius-sm); background: var(--brand-light-blue); color: var(--brand-dark-blue); font-weight: 700; }
.cc-form-errors:focus { outline: 2px solid var(--focus); outline-offset: 2px; }
.cc-form-done { padding: var(--space-4); border-radius: var(--radius-sm); background: var(--brand-light-blue); color: var(--brand-dark-blue); }
.cc-form-done p:last-child { margin: 0; }
/* The spam trap: out of sight */
.cc-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* HubSpot form block (core/blocks/hubspot_form.html): the Contact form's box, with an optional heading and intro */
.cc-hubspot-heading { margin-bottom: var(--space-2); }
.cc-hubspot-intro { margin: 0 0 var(--space-4); }
