/* ==========================================================================
   Cadbricks — Homepage v2 · style.css
   Base + components. Breakpoints live in responsive.css.
   Brand values follow the cadbricks-brand skill (tokens v1.0.0).
   ========================================================================== */

/* ---- 1. Brand tokens ------------------------------------------------------ */
:root {
  --cb-color-red:      #C30401;
  --cb-color-charcoal: #3F3F3F;
  --cb-color-white:    #FFFFFF;
  --cb-color-paper:    #FAFAFA;   /* light grey at the client's request (brand Drafting Paper is #FAF7F3) */
  --cb-color-red-deep: #9C0301;
  --cb-color-red-tint: #FBE8E7;
  --cb-color-grey:     #6B6B6B;
  --cb-color-line:     #E6E6E6;   /* neutral to match the grey backgrounds */

  --cb-font-heading: "Google Sans", "DM Sans", sans-serif;
  --cb-font-body:    "DM Sans", sans-serif;

  /* h1 / h2 reduced from the brand scale at the client's request */
  --cb-h1-size:   clamp(2.25rem, 1.6rem + 2.2vw, 3.75rem);      /* 36 → 60 */
  --cb-h2-size:   clamp(1.875rem, 1.5rem + 1.3vw, 2.75rem);     /* 30 → 44 */
  /* card-level h3 sizes — increased */
  --cb-h3-card:   clamp(1.375rem, 1.23rem + .55vw, 1.75rem);    /* 22 → 28 */
  --cb-h3-sm:     clamp(1.25rem, 1.14rem + .4vw, 1.5rem);       /* 20 → 24 */
  --cb-h3-size:   clamp(1.625rem, 1.3169rem + 1.3146vw, 2.5rem);
  --cb-h4-size:   clamp(1.375rem, 1.1549rem + 0.939vw, 2rem);
  --cb-h5-size:   clamp(1.25rem, 1.162rem + 0.3756vw, 1.5rem);
  --cb-h6-size:   clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  --cb-lead-size: clamp(1.125rem, 1.081rem + 0.1878vw, 1.25rem);
  --cb-body-size: clamp(1rem, 0.956rem + 0.1878vw, 1.125rem);

  --cb-radius-sm: 8px;
  --cb-radius-md: 12px;
  --cb-radius-lg: 16px;
  --cb-radius-xl: 24px;
  --cb-radius-2xl: 32px;
  --cb-radius-pill: 999px;

  /* layout */
  --cb-container: 1600px;
  --cb-gutter: 40px;
  --cb-section-y: clamp(72px, 4rem + 4vw, 136px);
  --cb-header-h: 88px;

  --cb-ease: cubic-bezier(.2, .7, .2, 1);
  --cb-shadow-sm: 0 2px 8px rgba(63, 63, 63, .06);
  --cb-shadow-md: 0 18px 40px -12px rgba(63, 63, 63, .22);
  --cb-shadow-lg: 0 30px 60px -20px rgba(63, 63, 63, .35);
}

/* ---- 2. Reset & base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cb-font-body);
  font-size: var(--cb-body-size);
  line-height: 1.7;
  color: var(--cb-color-charcoal);
  background: var(--cb-color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--cb-font-heading);
  color: var(--cb-color-charcoal);
  text-wrap: balance;
}
h1 em, h2 em { font-style: normal; color: var(--cb-color-red); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cb-color-red); outline-offset: 3px; }
::selection { background: var(--cb-color-red); color: #fff; }

.cb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cb-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--cb-color-charcoal); color: #fff; padding: 12px 18px; border-radius: var(--cb-radius-sm); text-decoration: none; }
.cb-skip:focus { top: 16px; }

.cb-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cb-ico--sm { width: 16px; height: 16px; }

.cb-container { width: 100%; max-width: calc(var(--cb-container) + var(--cb-gutter) * 2); margin: 0 auto; padding: 0 var(--cb-gutter); }

/* ---- 3. Buttons, links, labels ------------------------------------------- */
.cb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border: 1.5px solid transparent; border-radius: var(--cb-radius-pill);
  font-family: var(--cb-font-heading); font-weight: 500; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--cb-ease), color .3s var(--cb-ease), border-color .3s var(--cb-ease), transform .3s var(--cb-ease), box-shadow .3s var(--cb-ease);
}
.cb-btn .cb-ico { transition: transform .3s var(--cb-ease); }
.cb-btn:hover .cb-ico { transform: translateX(4px); }
.cb-btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.cb-btn--block { width: 100%; }
.cb-btn--red { background: var(--cb-color-red); color: #fff; }
.cb-btn--red:hover { background: var(--cb-color-red-deep); box-shadow: 0 12px 24px -10px rgba(195, 4, 1, .6); }
.cb-btn--outline { border-color: var(--cb-color-charcoal); color: var(--cb-color-charcoal); background: transparent; }
.cb-btn--outline:hover { background: var(--cb-color-charcoal); color: #fff; }
.cb-btn--dark { background: var(--cb-color-charcoal); color: #fff; }
.cb-btn--dark:hover { transform: translateY(-2px); }
.cb-btn--white { background: #fff; color: var(--cb-color-charcoal); }
.cb-btn--white:hover { background: var(--cb-color-paper); }

.cb-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--cb-font-heading); font-weight: 500; font-size: 16px;
  color: var(--cb-color-charcoal); text-decoration: none;
  background: linear-gradient(var(--cb-color-red), var(--cb-color-red)) 0 100% / 100% 1.5px no-repeat;
  padding-bottom: 4px;
  transition: color .3s var(--cb-ease), background-size .4s var(--cb-ease);
}
.cb-link:hover { color: var(--cb-color-red); }
.cb-link .cb-ico { transition: transform .3s var(--cb-ease); }
.cb-link:hover .cb-ico { transform: translateX(4px); }
.cb-link--light { color: #fff; background-image: linear-gradient(#fff, #fff); }
.cb-link--light:hover { color: #fff; opacity: .85; }

.cb-label { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--cb-color-charcoal); }
/* label marker: a small dimension line |—| instead of a dot */
.cb-label { gap: 12px; }
.cb-label::before {
  content: ""; flex-shrink: 0; width: 30px; height: 11px;
  border-left: 1.5px solid var(--cb-color-red); border-right: 1.5px solid var(--cb-color-red);
  background: linear-gradient(var(--cb-color-red), var(--cb-color-red)) center / 100% 1.5px no-repeat;
}
.cb-label--light { color: #fff; }
.cb-label--light::before { border-color: #fff; background-image: linear-gradient(#fff, #fff); }

/* ---- 4. Section scaffolding ---------------------------------------------- */
.cb-section { padding: var(--cb-section-y) 0; position: relative; }
.cb-section--paper { background: var(--cb-color-paper); }
.cb-section--dark { background: var(--cb-color-charcoal); color: #fff; }
.cb-section--dark h2, .cb-section--dark h3 { color: #fff; }

.cb-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(40px, 2rem + 2vw, 72px); }
.cb-head__title { font-size: var(--cb-h2-size); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.cb-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 80px; }
.cb-head--split .cb-head__main { display: flex; flex-direction: column; gap: 20px; }
.cb-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
/* intro text beside a heading: wide and kept to two lines on desktop */
.cb-head__side p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.cb-head__side p { font-size: var(--cb-body-size); line-height: 1.7; }
.cb-section--dark .cb-head__side p { color: rgba(255, 255, 255, .86); }
.cb-head--center { align-items: center; text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }
.cb-head--center p { max-width: 680px; }

/* arrows */
.cb-arrows { display: flex; gap: 12px; }
.cb-arrow {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--cb-color-charcoal); background: transparent; color: var(--cb-color-charcoal);
  transition: background-color .3s var(--cb-ease), color .3s var(--cb-ease), transform .3s var(--cb-ease), border-color .3s;
}
.cb-arrow:hover { background: var(--cb-color-charcoal); color: #fff; }
.cb-arrow--dark { background: var(--cb-color-charcoal); color: #fff; }
.cb-arrow--dark:hover { background: var(--cb-color-red); border-color: var(--cb-color-red); }
.cb-arrow--light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cb-arrow--light:hover { background: #fff; color: var(--cb-color-charcoal); border-color: #fff; }
.cb-arrow--white { background: #fff; border-color: #fff; color: var(--cb-color-charcoal); }
.cb-arrow--white:hover { background: var(--cb-color-paper); }
.cb-arrow.slick-disabled { opacity: .35; pointer-events: none; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--cb-ease), transform .8s var(--cb-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---- 5. Header ------------------------------------------------------------ */
.cb-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.cb-header.is-scrolled { border-color: var(--cb-color-line); box-shadow: var(--cb-shadow-sm); }
.cb-header__inner { height: var(--cb-header-h); display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; }
.cb-header__logo { flex-shrink: 0; }
.cb-header__logo img { height: 30px; width: auto; }
.cb-header__actions { display: flex; align-items: center; gap: 20px; }
.cb-header__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; text-decoration: none; transition: color .2s; }
.cb-header__mail:hover { color: var(--cb-color-red); }
.cb-burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--cb-color-line); background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.cb-burger span { display: block; width: 20px; height: 2px; background: var(--cb-color-charcoal); border-radius: 2px; transition: transform .3s; }
.cb-burger span:last-child { width: 12px; align-self: center; transform: translateX(-4px); }
.cb-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(20, 20, 20, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cb-overlay.is-open { opacity: 1; visibility: visible; }

/* ---- 5a. Primary menu — DESKTOP (one WordPress-style <ul class="menu">) --- */
.cb-nav__head, .cb-nav__search, .cb-nav__foot, .cb-nav__results, .cb-nav__subhead, .cb-nav__open { display: none; }
.cb-nav .menu, .cb-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.cb-nav .menu { display: flex; align-items: center; gap: 4px; }
.cb-nav .menu > li { position: relative; }
.cb-nav .menu > li > a {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px;
  border-radius: var(--cb-radius-pill); font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.cb-nav .menu > .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; margin: -4px 0 0 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--cb-ease), margin .3s;
}
.cb-nav .menu > li:hover > a, .cb-nav .menu > li:focus-within > a, .cb-nav .menu > .current-menu-item > a { background: var(--cb-color-paper); color: var(--cb-color-red); }
.cb-nav .menu > .menu-item-has-children:hover > a::after, .cb-nav .menu > .menu-item-has-children:focus-within > a::after { transform: rotate(225deg); margin-top: 3px; }

/* dropdown (level 2) */
.cb-nav .menu > li > .sub-menu {
  position: absolute; left: 0; top: calc(100% + 14px); z-index: 20; min-width: 290px;
  display: flex; flex-direction: column; padding: 12px; background: #fff;
  border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); box-shadow: var(--cb-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .3s var(--cb-ease), visibility .25s;
}
.cb-nav .menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.cb-nav .menu > li:hover > .sub-menu, .cb-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.cb-nav .sub-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--cb-radius-sm); font-size: 16px; text-decoration: none; color: var(--cb-color-charcoal); transition: background-color .2s, color .2s, padding .25s var(--cb-ease); }
.cb-nav .sub-menu a:hover, .cb-nav .sub-menu a:focus-visible { background: var(--cb-color-paper); color: var(--cb-color-red); padding-left: 16px; }
/* long simple lists fold into two columns */
.cb-nav .menu > li.is-cols > .sub-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 560px; column-gap: 8px; }

/* mega layout: applied by main.js when a dropdown's items have their own sub-items */
.cb-nav .menu > li.is-mega { position: static; }
.cb-nav .menu > li.is-mega > .sub-menu {
  left: var(--cb-gutter); right: var(--cb-gutter); top: calc(100% - 6px); min-width: 0;
  display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 28px; padding: 32px;
}
.cb-nav .menu > li.is-mega > .sub-menu::before { top: -10px; height: 10px; }
.cb-nav .menu > li.is-mega > .sub-menu > li > a {
  padding: 0 0 12px; margin-bottom: 8px; border-radius: 0; border-bottom: 1px solid var(--cb-color-line);
  font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px;
}
.cb-nav .menu > li.is-mega > .sub-menu > li > a:hover { background: none; padding-left: 0; }
.cb-nav .menu > li.is-mega .sub-menu .sub-menu { display: flex; flex-direction: column; }
.cb-nav .menu > li.is-mega .sub-menu .sub-menu a { padding: 7px 0; color: var(--cb-color-grey); }
.cb-nav .menu > li.is-mega .sub-menu .sub-menu a:hover { background: none; color: var(--cb-color-red); padding-left: 6px; }
/* level 3 is only shown inside a mega layout on desktop */
.cb-nav .menu > li:not(.is-mega) .sub-menu .sub-menu { display: none; }

/* ---- 6. HERO — bold typography ------------------------------------------- */
.cb-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 5vw, 80px) 0 clamp(40px, 4vw, 64px); background: #fff; }
.cb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(63, 63, 63, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, .06) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 75%);
}
.cb-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.5vw, 36px); }
.cb-hero__avail { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-pill); background: #fff; font-size: 16px; font-weight: 500; }
.cb-hero__avail i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #2F9E5A; }
.cb-hero__avail i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #2F9E5A; animation: cb-pulse 2s ease-out infinite; }
@keyframes cb-pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }

.cb-hero__title { display: flex; flex-direction: column; font-size: clamp(2.5rem, 1.1rem + 4.6vw, 5.5rem); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; color: var(--cb-color-charcoal); }
.cb-hero__line { display: flex; align-items: center; flex-wrap: wrap; column-gap: .22em; }
.cb-hero__line--muted { color: rgba(63, 63, 63, .38); }

/* image pills set inside the headline */
.cb-pill { position: relative; display: inline-block; height: .78em; border-radius: 999px; overflow: hidden; background: var(--cb-color-charcoal); flex-shrink: 0; transition: width .6s var(--cb-ease), transform .5s var(--cb-ease); }
.cb-pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cb-ease); }
.cb-pill--wide { width: 1.9em; }
.cb-pill--wide:hover { width: 2.5em; }
.cb-pill:hover img { transform: scale(1.1); }
.cb-pill-group { display: inline-flex; align-items: center; margin-left: .06em; }
.cb-pill--round { width: .78em; border: .05em solid #fff; box-shadow: 0 6px 18px -8px rgba(20, 20, 20, .45); }
.cb-pill--round + .cb-pill--round { margin-left: -.2em; }
.cb-pill-group:hover .cb-pill--round { transform: translateX(.06em); }
.cb-pill-group:hover .cb-pill--round:first-child { transform: none; }
.cb-pill--mark { background: var(--cb-color-red); display: inline-flex; align-items: center; justify-content: center; }
.cb-pill--mark img { position: static; width: 46%; height: auto; object-fit: contain; }

/* rotating audience word */
.cb-rotator { position: relative; display: inline-block; height: 1.08em; overflow: hidden; vertical-align: bottom; color: var(--cb-color-red); transition: width .55s var(--cb-ease); }
.cb-rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .07em; background: var(--cb-color-red); opacity: .9; }
.cb-rotator__word { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .6s var(--cb-ease), opacity .4s; }
.cb-rotator__word.is-active { position: relative; transform: none; opacity: 1; }
.cb-rotator__word.is-out { transform: translateY(-105%); opacity: 0; }

.cb-hero__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 4vw, 72px); align-items: end; }
.cb-hero__art { position: relative; margin: 0 0 .4em; aspect-ratio: 5 / 4; border-radius: var(--cb-radius-xl); }
.cb-hero__art > img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--cb-radius-xl); }
.cb-hero__art .cb-crop { border-color: var(--cb-color-charcoal); }
.cb-hero__chip {
  position: absolute; left: -28px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; max-width: 230px;
  padding: 16px 20px; background: #fff; border-radius: var(--cb-radius-lg); box-shadow: 0 20px 40px -18px rgba(20, 20, 20, .35);
}
.cb-hero__chip strong { font-family: var(--cb-font-heading); font-weight: 700; font-size: 32px; line-height: 1; color: var(--cb-color-red); letter-spacing: -.02em; }
.cb-hero__chip span { font-size: 16px; line-height: 1.4; color: var(--cb-color-charcoal); }
.cb-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-top: clamp(28px, 3vw, 44px); padding-top: clamp(24px, 2.5vw, 36px); border-top: 1px solid var(--cb-color-line); }
.cb-hero__lead { max-width: 860px; font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-charcoal); }
.cb-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }

/* service cards */
.cb-hero__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3.5vw, 56px); }
.cb-hcard {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 10px 56px 10px 10px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); background: #fff;
  text-decoration: none; color: var(--cb-color-charcoal); overflow: hidden; isolation: isolate;
  transition: color .4s, border-color .4s, transform .45s var(--cb-ease), box-shadow .45s var(--cb-ease);
}
.cb-hcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cb-color-charcoal); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--cb-ease); }
.cb-hcard__img { width: 76px; height: 76px; border-radius: var(--cb-radius-md); overflow: hidden; }
.cb-hcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cb-ease); }
.cb-hcard__body { display: flex; flex-direction: column; gap: 2px; }
.cb-hcard__body strong { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; line-height: 1.3; }
.cb-hcard__body span { font-size: 16px; line-height: 1.4; color: var(--cb-color-grey); transition: color .4s; }
.cb-hcard__go { position: absolute; right: 14px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--cb-color-paper); color: var(--cb-color-charcoal); display: flex; align-items: center; justify-content: center; transition: background-color .4s, color .4s, transform .5s var(--cb-ease); }
.cb-hcard:hover { color: #fff; border-color: var(--cb-color-charcoal); transform: translateY(-4px); box-shadow: var(--cb-shadow-md); }
.cb-hcard:hover::before { transform: scaleX(1); }
.cb-hcard:hover .cb-hcard__body span { color: rgba(255, 255, 255, .8); }
.cb-hcard:hover .cb-hcard__img img { transform: scale(1.1); }
.cb-hcard:hover .cb-hcard__go { background: var(--cb-color-red); color: #fff; transform: rotate(45deg); }

/* crop marks (used by the enquiry card) */
.cb-crop { position: absolute; width: 22px; height: 22px; border-color: var(--cb-color-charcoal); border-style: solid; border-width: 0; z-index: 2; pointer-events: none; }
.cb-crop--tl { top: -12px; left: -12px; border-top-width: 2px; border-left-width: 2px; }
.cb-crop--tr { top: -12px; right: -12px; border-top-width: 2px; border-right-width: 2px; }
.cb-crop--bl { bottom: -12px; left: -12px; border-bottom-width: 2px; border-left-width: 2px; }
.cb-crop--br { bottom: -12px; right: -12px; border-bottom-width: 2px; border-right-width: 2px; }
@keyframes cb-spin { to { transform: rotate(360deg); } }
@keyframes cb-tab { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---- 7. Stats ------------------------------------------------------------ */
.cb-stats { padding: 56px 0 0; }
.cb-stats__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--cb-color-line); border-bottom: 1px solid var(--cb-color-line); }
.cb-stat { display: flex; flex-direction: column; gap: 8px; padding: 36px 32px; border-right: 1px solid var(--cb-color-line); position: relative; transition: background-color .3s; }
.cb-stat:first-child { padding-left: 0; }
.cb-stat:last-child { border-right: 0; }
.cb-stat::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--cb-color-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--cb-ease); }
.cb-stat:hover::after { transform: scaleX(1); }
.cb-stat__num { font-family: var(--cb-font-heading); font-weight: 700; font-size: clamp(2.5rem, 1.9rem + 2vw, 4rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cb-stat--accent .cb-stat__num { color: var(--cb-color-red); }
.cb-stat__label { font-size: 16px; color: var(--cb-color-grey); }

/* ---- 8. Core services ---------------------------------------------------- */
.cb-core__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cb-svc {
  display: flex; flex-direction: column; background: var(--cb-color-paper); border: 1px solid var(--cb-color-line);
  border-radius: var(--cb-radius-xl); overflow: hidden;
  transition: transform .5s var(--cb-ease), box-shadow .5s var(--cb-ease), border-color .3s, background-color .3s;
}
.cb-svc:hover { transform: translateY(-8px); box-shadow: var(--cb-shadow-lg); background: #fff; border-color: transparent; }
.cb-svc__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: var(--cb-radius-lg); }
.cb-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cb-ease); }
.cb-svc:hover .cb-svc__media img { transform: scale(1.07); }
.cb-svc__body { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 28px 30px; flex-grow: 1; }
.cb-svc__icon {
  position: absolute; top: -28px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 1px solid var(--cb-color-line); display: flex; align-items: center; justify-content: center; color: var(--cb-color-red);
  transition: background-color .3s, color .3s, transform .5s var(--cb-ease);
}
.cb-svc__icon .cb-ico { width: 24px; height: 24px; }
.cb-svc:hover .cb-svc__icon { background: var(--cb-color-red); color: #fff; border-color: var(--cb-color-red); transform: rotate(-8deg); }
.cb-svc__title { font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.3; }
.cb-svc__text { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); text-wrap: wrap; }
.cb-svc__links { display: flex; flex-direction: column; border-top: 1px solid var(--cb-color-line); margin-top: 4px; }
.cb-svc__links a {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px;
  border-bottom: 1px solid var(--cb-color-line); font-size: 16px; text-decoration: none; transition: color .2s, padding .3s var(--cb-ease);
}
.cb-svc__links a::after { content: "→"; color: var(--cb-color-red); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--cb-ease); }
.cb-svc__links a:hover { color: var(--cb-color-red); padding-left: 6px; }
.cb-svc__links a:hover::after { opacity: 1; transform: none; }
.cb-svc__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; color: var(--cb-color-red); text-decoration: none; }
.cb-svc__more .cb-ico { transition: transform .3s var(--cb-ease); }
.cb-svc__more:hover .cb-ico { transform: translateX(5px); }

/* ---- 9. Featured services slider ---------------------------------------- */
.cb-featured { overflow: hidden; }
.cb-featured__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 64px; align-items: center; }
.cb-featured__intro { display: flex; flex-direction: column; gap: 22px; }
.cb-featured__intro p { color: var(--cb-color-charcoal); }
.cb-progress { height: 2px; background: var(--cb-color-line); border-radius: 2px; overflow: hidden; margin-top: 8px; }
.cb-progress__bar { display: block; height: 100%; width: 0; background: var(--cb-color-red); transition: width .5s var(--cb-ease); }
.cb-featured__track { margin-right: calc(-1 * var(--cb-gutter) - max(0px, (100vw - var(--cb-container) - var(--cb-gutter) * 2) / 2)); }
.cb-featured__slider .slick-list { overflow: visible; clip-path: inset(-40px -100vw -40px 0); }
.cb-featured__slider .slick-track { display: flex; }
.cb-featured__slider .slick-slide { height: auto; }
.cb-feat { width: 440px; margin-right: 24px; display: flex !important; flex-direction: column; gap: 14px; }
.cb-feat__media { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--cb-radius-xl); overflow: hidden; margin-bottom: 8px; }
.cb-feat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cb-ease), filter .6s; filter: grayscale(.25); }
.cb-feat:hover .cb-feat__media img { transform: scale(1.06); filter: none; }
.cb-feat__tag { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: var(--cb-radius-pill); padding: 8px 14px; font-size: 16px; font-weight: 500; line-height: 1.2; }
.cb-feat__title { font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.3; transition: color .3s; }
.cb-feat:hover .cb-feat__title { color: var(--cb-color-red); }
.cb-feat__text { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }
.cb-feat .cb-link { align-self: flex-start; margin-top: 4px; }

/* ---- 10. Who we serve ---------------------------------------------------- */
.cb-serve__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--cb-color-line); border-left: 1px solid var(--cb-color-line); }
.cb-aud {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 36px 32px 32px; min-height: 340px;
  border-right: 1px solid var(--cb-color-line); border-bottom: 1px solid var(--cb-color-line);
  text-decoration: none; background: #fff; overflow: hidden; isolation: isolate;
  transition: color .4s var(--cb-ease);
}
.cb-aud::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cb-color-charcoal); transform: translateY(101%); transition: transform .55s var(--cb-ease); }
.cb-aud:hover::before, .cb-aud:focus-visible::before { transform: none; }
.cb-aud__icon {
  width: 64px; height: 64px; border-radius: var(--cb-radius-lg); background: var(--cb-color-paper);
  display: flex; align-items: center; justify-content: center; color: var(--cb-color-red); margin-bottom: 12px;
  transition: background-color .4s, color .4s;
}
.cb-aud__icon .cb-ico { width: 30px; height: 30px; stroke-width: 1.5; }
.cb-aud__title { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.35; transition: color .4s; }
.cb-aud__text { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); transition: color .4s; }
.cb-aud__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; color: var(--cb-color-red); transition: color .4s; }
.cb-aud__more .cb-ico { transition: transform .4s var(--cb-ease); }
.cb-aud:hover .cb-aud__icon { background: var(--cb-color-red); color: #fff; }
.cb-aud:hover .cb-aud__title, .cb-aud:hover .cb-aud__text, .cb-aud:hover .cb-aud__more { color: #fff; }
.cb-aud:hover .cb-aud__more .cb-ico { transform: rotate(45deg); }

/* ---- 11. Why Cadbricks --------------------------------------------------- */
.cb-why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 120px); align-items: start; }
.cb-why__left { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--cb-header-h) + 32px); }
.cb-why__intro { max-width: 560px; }
.cb-why__media { position: relative; margin-top: 16px; border-radius: var(--cb-radius-xl); overflow: visible; }
.cb-why__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--cb-radius-xl); }
.cb-why__badge {
  position: absolute; right: -28px; top: -56px; width: 168px; height: 168px; border-radius: 50%;
  background: var(--cb-color-red); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 16px; line-height: 1.35; text-decoration: none; box-shadow: var(--cb-shadow-md);
  transition: transform .5s var(--cb-ease), background-color .3s;
}
.cb-why__badge strong { font-family: var(--cb-font-heading); font-size: 20px; font-weight: 600; }
.cb-why__badge::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .5); animation: cb-spin 30s linear infinite; }
.cb-why__badge:hover { transform: scale(1.06) rotate(-4deg); background: var(--cb-color-red-deep); }
.cb-why__play {
  position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--cb-radius-pill); padding: 8px 20px 8px 8px; text-decoration: none; font-weight: 500; font-size: 16px;
  box-shadow: var(--cb-shadow-md); transition: transform .3s var(--cb-ease);
}
.cb-why__play .cb-ico { width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: var(--cb-color-charcoal); color: #fff; fill: #fff; transition: background-color .3s; }
.cb-why__play:hover { transform: translateY(-3px); }
.cb-why__play:hover .cb-ico { background: var(--cb-color-red); }
.cb-why__play--inline { position: static; align-self: flex-start; box-shadow: none; border: 1px solid var(--cb-color-line); }
.cb-why__play--inline .cb-ico { fill: none; }

.cb-why__list { display: flex; flex-direction: column; }
.cb-why__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--cb-color-line); transition: padding .4s var(--cb-ease); }
.cb-why__item:first-child { padding-top: 0; }
.cb-why__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--cb-color-charcoal); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .35s, transform .5s var(--cb-ease); }
.cb-why__icon .cb-ico { width: 26px; height: 26px; }
.cb-why__item h3 { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.35; margin-bottom: 8px; transition: color .3s; }
.cb-why__item p { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }
.cb-why__item:hover .cb-why__icon { background: var(--cb-color-red); transform: rotate(-10deg); }
.cb-why__item:hover h3 { color: var(--cb-color-red); }

/* ---- 12. Projects (dark) ------------------------------------------------- */
.cb-projects { overflow: hidden; }
.cb-projects__slider { padding-left: max(var(--cb-gutter), calc((100vw - var(--cb-container)) / 2)); }
.cb-projects__slider .slick-list { overflow: visible; clip-path: inset(-40px -100vw -40px 0); }
.cb-projects__slider .slick-track { display: flex; }
.cb-projects__slider .slick-slide { height: auto; }
.cb-proj { width: 520px; margin-right: 28px; display: flex !important; flex-direction: column; }
.cb-proj__media { position: relative; display: block; aspect-ratio: 13 / 10; border-radius: var(--cb-radius-xl); overflow: hidden; }
.cb-proj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--cb-ease); }
.cb-proj__media::after { content: ""; position: absolute; inset: 0; background: rgba(63, 63, 63, .35); opacity: 0; transition: opacity .4s; }
.cb-proj__zoom {
  position: absolute; z-index: 1; right: 20px; top: 20px; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--cb-color-charcoal);
  display: flex; align-items: center; justify-content: center; transform: scale(.6); opacity: 0; transition: transform .45s var(--cb-ease), opacity .3s;
}
.cb-proj__media:hover img { transform: scale(1.07); }
.cb-proj__media:hover::after { opacity: 1; }
.cb-proj__media:hover .cb-proj__zoom, .cb-proj__media:focus-visible .cb-proj__zoom { transform: none; opacity: 1; }
.cb-proj__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 4px 0; }
.cb-proj__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-proj__meta li { font-size: 16px; line-height: 1; padding: 9px 14px; border-radius: var(--cb-radius-pill); border: 1px solid rgba(255, 255, 255, .3); color: #fff; }
.cb-proj__meta li:first-child { background: #fff; color: var(--cb-color-charcoal); border-color: #fff; }
.cb-proj__title { font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.25; }
.cb-proj__text { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .86); max-width: 460px; }
.cb-proj .cb-link { align-self: flex-start; }
.cb-projects__foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cb-projects__nav { display: flex; align-items: center; gap: 32px; }
.cb-counter { display: flex; align-items: center; gap: 16px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 20px; color: #fff; font-variant-numeric: tabular-nums; }
.cb-counter i { display: block; width: 80px; height: 1.5px; background: rgba(255, 255, 255, .45); }

/* ---- 13. Industries ------------------------------------------------------ */
.cb-ind__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 20px; }
.cb-ind { position: relative; border-radius: var(--cb-radius-xl); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.cb-ind--tall { grid-row: span 2; }
.cb-ind--wide { grid-column: span 2; }
.cb-ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--cb-ease); }
.cb-ind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(63, 63, 63, .95) 0%, rgba(63, 63, 63, .55) 38%, rgba(63, 63, 63, 0) 70%); transition: background-color .5s; }
.cb-ind__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.cb-ind__body h3 { color: #fff; font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.3; padding-right: 64px; }
.cb-ind__body p { padding-right: 64px; font-size: 16px; line-height: 1.55; color: #fff; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--cb-ease), opacity .4s; }
.cb-ind__go {
  position: absolute; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--cb-color-charcoal); display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, color .3s, transform .5s var(--cb-ease);
}
.cb-ind:hover img { transform: scale(1.08); }
.cb-ind:hover .cb-ind__body p, .cb-ind:focus-visible .cb-ind__body p { max-height: 120px; opacity: 1; }
.cb-ind:hover .cb-ind__go { background: var(--cb-color-red); color: #fff; transform: rotate(45deg); }

/* ---- 14. Process — road map --------------------------------------------- */
.cb-road { position: relative; padding: 24px 0 8px; }
.cb-road__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.cb-road__track { display: none; }
.cb-road__line {
  fill: none; stroke: rgba(63, 63, 63, .38); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 8 9;
}
.cb-road__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 80px); row-gap: clamp(88px, 8vw, 128px); }
/* snake order: row 2 runs right → left so the path turns like a road */
.cb-road__step:nth-child(4) { grid-column: 3; grid-row: 2; }
.cb-road__step:nth-child(5) { grid-column: 2; grid-row: 2; }
.cb-road__step:nth-child(6) { grid-column: 1; grid-row: 2; }
.cb-road__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cb-road__dot {
  position: relative; flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cb-color-red);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(195, 4, 1, .28);
  transition: transform .4s var(--cb-ease);
}
.cb-road__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid var(--cb-color-red); opacity: 0; }
.cb-road__step:hover .cb-road__dot { transform: scale(1.25); }
.cb-road__step:hover .cb-road__dot::after { animation: cb-pulse 1.4s ease-out infinite; }
@keyframes cb-pulse { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.5); } }
.cb-road__card {
  width: 100%; max-width: 420px; flex-grow: 1; display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); padding: 28px 30px 30px;
  transition: transform .45s var(--cb-ease), box-shadow .45s var(--cb-ease), border-color .3s;
}
.cb-road__step:hover .cb-road__card { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: transparent; }
.cb-road__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cb-road__icon { width: 52px; height: 52px; border-radius: var(--cb-radius-md); background: var(--cb-color-paper); color: var(--cb-color-red); display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s; }
.cb-road__icon .cb-ico { width: 24px; height: 24px; }
.cb-road__step:hover .cb-road__icon { background: var(--cb-color-red); color: #fff; }
.cb-road__no { font-size: 16px; font-weight: 500; color: var(--cb-color-grey); }
.cb-road__title { font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.3; }
.cb-road__card p { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }
.cb-road__cta { display: flex; justify-content: center; margin-top: clamp(48px, 5vw, 72px); }
.cb-road__flag {
  position: absolute; z-index: 2; padding: 8px 16px; border-radius: var(--cb-radius-pill);
  font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s;
}
.cb-road.is-drawn .cb-road__flag { opacity: 1; }
.cb-road__flag--start { background: var(--cb-color-charcoal); color: #fff; }
.cb-road__flag--end { background: var(--cb-color-red); color: #fff; }

/* ---- 15. Testimonials ---------------------------------------------------- */
.cb-testi { overflow: hidden; }
.cb-testi__grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; align-items: center; }
.cb-testi__intro { display: flex; flex-direction: column; gap: 22px; }
.cb-testi__score { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-top: 1px solid var(--cb-color-line); border-bottom: 1px solid var(--cb-color-line); }
.cb-testi__big { font-family: var(--cb-font-heading); font-weight: 700; font-size: 48px; line-height: 1; color: var(--cb-color-red); }
.cb-testi__small { font-size: 16px; line-height: 1.45; color: var(--cb-color-grey); max-width: 200px; }
.cb-testi__track { margin-right: calc(-1 * var(--cb-gutter) - max(0px, (100vw - var(--cb-container) - var(--cb-gutter) * 2) / 2)); }
.cb-testi__slider .slick-list { overflow: visible; clip-path: inset(-40px -100vw -40px 0); }
.cb-testi__slider .slick-track { display: flex; }
.cb-testi__slider .slick-slide { height: auto; }
.cb-quote {
  width: 500px; margin: 0 24px 0 0; display: flex !important; flex-direction: column; gap: 24px;
  background: var(--cb-color-paper); border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); padding: 40px;
  transition: background-color .4s, box-shadow .4s, transform .4s var(--cb-ease);
}
.cb-quote:hover { background: #fff; box-shadow: var(--cb-shadow-md); transform: translateY(-4px); }
.cb-quote__mark { width: 44px; height: 44px; fill: var(--cb-color-red); }
.cb-quote blockquote { margin: 0; font-size: var(--cb-lead-size); line-height: 1.6; flex-grow: 1; }
.cb-quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--cb-color-line); }
.cb-quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--cb-color-charcoal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; flex-shrink: 0; }
.cb-quote figcaption strong { display: block; font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; }
.cb-quote figcaption em { font-style: normal; font-size: 16px; color: var(--cb-color-grey); }

/* ---- 16. Technology ------------------------------------------------------ */
.cb-soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cb-soft {
  position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 22px;
  padding: 28px 28px; background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl);
  overflow: hidden; transition: transform .45s var(--cb-ease), box-shadow .45s var(--cb-ease), border-color .3s;
}
.cb-soft::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cb-color-red); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--cb-ease); }
.cb-soft:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: transparent; }
.cb-soft:hover::before { transform: scaleY(1); }
.cb-soft__logo { width: 72px; height: 72px; border-radius: var(--cb-radius-lg); background: var(--cb-color-paper); display: flex; align-items: center; justify-content: center; transition: background-color .35s; }
.cb-soft__logo svg { width: 36px; height: 36px; fill: var(--cb-color-charcoal); transition: fill .35s, transform .45s var(--cb-ease); }
.cb-soft:hover .cb-soft__logo { background: #F0F0F0; }
.cb-soft:hover .cb-soft__logo svg { fill: var(--cb-color-red); transform: scale(1.08); }
.cb-soft__body { display: flex; flex-direction: column; gap: 4px; padding-right: 56px; }
.cb-soft__name { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.3; }
.cb-soft__body p { font-size: 16px; line-height: 1.55; color: var(--cb-color-grey); }
.cb-soft__ext { position: absolute; right: 24px; top: 24px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; color: var(--cb-color-grey); letter-spacing: .02em; }
.cb-formats-bar { margin-top: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px 28px; border: 1.5px dashed rgba(63, 63, 63, .3); border-radius: var(--cb-radius-xl); }
.cb-formats-bar__label { font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h6-size); margin-right: auto; }
.cb-formats { display: flex; flex-wrap: wrap; gap: 10px; }
.cb-formats li {
  min-width: 84px; height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-pill); background: #fff;
  font-family: var(--cb-font-heading); font-weight: 700; font-size: 16px; letter-spacing: .04em;
  transition: border-color .3s, color .3s, background-color .3s;
}
.cb-formats li:hover { border-color: var(--cb-color-red); color: #fff; background: var(--cb-color-red); }

/* ---- 17. Global ---------------------------------------------------------- */
.cb-global__stage { position: relative; }
.cb-regions { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.cb-region {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; background: #fff; border-radius: var(--cb-radius-lg);
  box-shadow: 0 10px 30px -12px rgba(63, 63, 63, .22); border: 1px solid var(--cb-color-line); cursor: default;
  transition: transform .4s var(--cb-ease), box-shadow .4s, border-color .3s;
}
.cb-region:hover, .cb-region:focus-visible, .cb-region.is-active { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: var(--cb-color-charcoal); }
.cb-region__name { display: flex; align-items: center; gap: 10px; font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.25; }
.cb-region__pin { width: 16px; height: 16px; border-radius: 50%; border: 4px solid var(--cb-color-red); flex-shrink: 0; transition: background-color .3s; }
.cb-region:hover .cb-region__pin, .cb-region.is-active .cb-region__pin { background: var(--cb-color-red); }
.cb-region p { font-size: 16px; line-height: 1.6; color: var(--cb-color-grey); }
.cb-map { position: relative; margin: -48px auto 0; max-width: 1400px; z-index: 1; }
.cb-map__dots { width: 100%; height: auto; }
.cb-pin { position: absolute; width: 30px; height: 30px; transform: translate(-50%, -50%); z-index: 1; }
.cb-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cb-color-red); box-shadow: 0 0 0 5px rgba(195, 4, 1, .15), 0 8px 16px -4px rgba(195, 4, 1, .5); transition: transform .35s var(--cb-ease); }
.cb-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; }
.cb-pin--sm { width: 22px; height: 22px; }
.cb-pin--sm::after { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.cb-pin__label {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translate(-6px, -50%); opacity: 0;
  background: var(--cb-color-charcoal); color: #fff; padding: 7px 12px; border-radius: var(--cb-radius-sm);
  font-weight: 500; font-size: 16px; line-height: 1.2; white-space: nowrap; pointer-events: none;
  transition: opacity .3s, transform .35s var(--cb-ease);
}
.cb-pin__label--left { left: auto; right: calc(100% + 10px); transform: translate(6px, -50%); }
.cb-pin.is-active { z-index: 3; }
.cb-pin.is-active::before, .cb-pin:hover::before { transform: scale(1.25); }
.cb-pin.is-active .cb-pin__label, .cb-pin:hover .cb-pin__label { opacity: 1; transform: translate(0, -50%); }
.cb-pin .cb-pin__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cb-color-red); animation: cb-pulse 2.4s ease-out infinite; }

/* ---- 18. FAQ ------------------------------------------------------------- */
.cb-faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
.cb-faq__intro { display: flex; flex-direction: column; gap: 22px; }
.cb-faq__card { position: relative; margin-top: 12px; border-radius: var(--cb-radius-xl); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; isolation: isolate; }
.cb-faq__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--cb-ease); }
.cb-faq__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(63, 63, 63, .96) 10%, rgba(63, 63, 63, .55) 60%, rgba(63, 63, 63, .25)); }
.cb-faq__card:hover img { transform: scale(1.05); }
.cb-faq__card-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: #fff; }
.cb-faq__card-body h3 { color: #fff; font-size: var(--cb-h3-card); font-weight: 600; }
.cb-faq__card-body .cb-btn { margin-top: 8px; }

.cb-accordion { display: flex; flex-direction: column; gap: 12px; }
.cb-acc { background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); transition: border-color .3s, box-shadow .3s; }
.cb-acc:hover { border-color: rgba(63, 63, 63, .4); }
.cb-acc.is-open { border-color: var(--cb-color-charcoal); box-shadow: var(--cb-shadow-sm); }
.cb-acc__h { font-size: inherit; }
.cb-acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 16px 20px 16px 28px; border: 0; background: none; text-align: left;
  font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h3-sm); line-height: 1.4; color: var(--cb-color-charcoal);
}
.cb-acc__icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--cb-color-paper); transition: background-color .3s, color .3s, transform .4s var(--cb-ease); }
.cb-acc.is-open .cb-acc__icon { background: var(--cb-color-red); color: #fff; transform: rotate(45deg); }
.cb-acc__btn:hover .cb-acc__icon { background: var(--cb-color-charcoal); color: #fff; }
.cb-acc__panel { display: none; padding: 0 84px 26px 28px; }
.cb-acc.is-open .cb-acc__panel { display: block; }
.cb-acc__panel p { font-size: 16px; line-height: 1.7; color: var(--cb-color-grey); }

/* ---- 19. Final CTA — enquiry card ---------------------------------------- */
.cb-cta {
  background-color: var(--cb-color-paper);
  background-image:
    linear-gradient(rgba(63, 63, 63, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 63, 63, .05) 1px, transparent 1px);
  background-size: 96px 96px;
}
.cb-cta__box {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-2xl);
  box-shadow: 0 40px 80px -40px rgba(20, 20, 20, .25); padding: 14px; gap: 14px;
}

/* left visual panel */
.cb-cta__visual {
  position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--cb-radius-2xl) - 10px);
  display: flex; flex-direction: column; gap: 36px; padding: clamp(32px, 3.5vw, 56px); color: #fff; min-height: 640px;
}
.cb-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.4s var(--cb-ease); }
.cb-cta__visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(165deg, rgba(20, 20, 20, .9) 0%, rgba(20, 20, 20, .72) 40%, rgba(20, 20, 20, .93) 100%); }
.cb-cta__box:hover .cb-cta__bg { transform: scale(1.1); }
.cb-cta__visual .cb-crop { border-color: rgba(255, 255, 255, .55); }
.cb-cta__visual .cb-crop--tl { top: 18px; left: 18px; }
.cb-cta__visual .cb-crop--br { bottom: 18px; right: 18px; }
.cb-cta__content { display: flex; flex-direction: column; gap: 20px; }
.cb-cta__title { color: #fff; font-size: var(--cb-h2-size); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.cb-cta__content p { color: rgba(255, 255, 255, .88); font-size: 16px; line-height: 1.7; }

.cb-next { border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 28px; }
.cb-next__title { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; margin-bottom: 20px; color: #fff; }
.cb-next__list { position: relative; display: flex; flex-direction: column; gap: 22px; }
.cb-next__list::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; border-left: 1.5px dashed rgba(255, 255, 255, .35); }
.cb-next__list li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 18px; }
.cb-next__dot { width: 12px; height: 12px; margin-top: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.cb-next__list li:first-child .cb-next__dot { background: var(--cb-color-red); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9); }
.cb-next__list strong { display: block; font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; line-height: 1.35; }
.cb-next__list span { display: block; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .8); }

.cb-cta__mail { margin-top: auto; display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; align-self: flex-start; }
.cb-cta__mail-ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--cb-color-charcoal); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--cb-ease); }
.cb-cta__mail small { display: block; font-size: 16px; color: rgba(255, 255, 255, .75); line-height: 1.3; }
.cb-cta__mail span:last-child { font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h3-sm); line-height: 1.3; }
.cb-cta__mail:hover .cb-cta__mail-ico { transform: rotate(-12deg) scale(1.08); }
.cb-cta__mail:hover span:last-child { text-decoration: underline; text-underline-offset: 5px; }

/* right form */
.cb-form { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3vw, 48px); color: var(--cb-color-charcoal); }
.cb-form__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.cb-form__title { font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.25; }
.cb-form__head p { font-size: 16px; color: var(--cb-color-grey); }

.cb-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cb-chips legend { width: 100%; padding: 0; margin-bottom: 12px; font-weight: 500; font-size: 16px; }
.cb-chip { position: relative; cursor: pointer; }
.cb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cb-chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-pill); background: #fff;
  font-weight: 500; font-size: 16px; transition: border-color .25s, background-color .25s, color .25s, transform .25s var(--cb-ease);
}
.cb-chip span .cb-ico { width: 18px; height: 18px; color: var(--cb-color-red); transition: color .25s; }
.cb-chip:hover span { border-color: var(--cb-color-charcoal); transform: translateY(-2px); }
.cb-chip input:checked + span { background: var(--cb-color-charcoal); border-color: var(--cb-color-charcoal); color: #fff; }
.cb-chip input:checked + span .cb-ico { color: #fff; }
.cb-chip input:focus-visible + span { outline: 2px solid var(--cb-color-red); outline-offset: 3px; }

.cb-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cb-field { position: relative; display: flex; flex-direction: column; }
.cb-field input, .cb-field select, .cb-field textarea {
  width: 100%; min-height: 60px; padding: 26px 18px 10px; font-size: 16px; line-height: 1.4;
  border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-md); background: var(--cb-color-paper); color: var(--cb-color-charcoal);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.cb-field textarea { resize: vertical; min-height: 128px; padding-top: 30px; }
.cb-field input:hover, .cb-field select:hover, .cb-field textarea:hover { border-color: rgba(63, 63, 63, .4); }
.cb-field input:focus, .cb-field select:focus, .cb-field textarea:focus { outline: none; background: #fff; border-color: var(--cb-color-charcoal); box-shadow: 0 0 0 4px #EDEDED; }
.cb-field.is-error input { border-color: var(--cb-color-red); background: #fff; }
/* floating labels */
.cb-float label {
  position: absolute; left: 19px; top: 19px; font-size: 16px; font-weight: 400; color: var(--cb-color-grey);
  pointer-events: none; transform-origin: left top; transition: transform .25s var(--cb-ease), color .25s;
}
.cb-float input:focus + label, .cb-float input:not(:placeholder-shown) + label,
.cb-float textarea:focus + label, .cb-float textarea:not(:placeholder-shown) + label,
.cb-float select:focus + label, .cb-float select.has-value + label { transform: translateY(-11px) scale(.875); color: var(--cb-color-charcoal); font-weight: 500; }
.cb-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.cb-select .cb-ico { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }

.cb-drop {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer;
  border: 1.5px dashed rgba(63, 63, 63, .3); border-radius: var(--cb-radius-lg); background: #fff;
  transition: border-color .3s, background-color .3s;
}
.cb-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cb-drop__ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--cb-radius-md); background: var(--cb-color-paper); color: var(--cb-color-red); display: flex; align-items: center; justify-content: center; transition: background-color .3s, color .3s, transform .4s var(--cb-ease); }
.cb-drop__text { display: flex; flex-direction: column; gap: 2px; }
.cb-drop__text strong { font-weight: 500; font-size: 16px; }
.cb-drop__text u { text-decoration-color: var(--cb-color-red); text-underline-offset: 3px; }
.cb-drop__text small { font-size: 16px; color: var(--cb-color-grey); line-height: 1.45; }
.cb-drop:hover, .cb-drop.is-over { border-color: var(--cb-color-charcoal); background: var(--cb-color-paper); }
.cb-drop:hover .cb-drop__ico, .cb-drop.is-over .cb-drop__ico { background: var(--cb-color-red); color: #fff; transform: translateY(-3px); }
.cb-drop:focus-within { outline: 2px solid var(--cb-color-red); outline-offset: 3px; }

.cb-form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.cb-form__privacy { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--cb-color-grey); }
.cb-form__note { font-size: 16px; min-height: 1px; }
.cb-form__note.is-ok { color: #2F6B3A; }
.cb-form__note.is-err { color: var(--cb-color-red); }

/* ---- 20. Footer ---------------------------------------------------------- */
.cb-footer {
  position: relative; overflow: hidden; color: #fff; padding: clamp(72px, 7vw, 120px) 0 32px;
  /* near-black footer at the client's request (brand default is Charcoal #3F3F3F) */
  background-color: #141414;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 96px 96px;
}
.cb-footer a { color: #fff; text-decoration: none; }
.cb-footer .cb-btn--white, .cb-footer .cb-btn--white:hover { color: var(--cb-color-charcoal); }
.cb-footer .cb-container { position: relative; z-index: 1; }
.cb-footer__sketch {
  position: absolute; right: 26%; top: 24px; width: min(560px, 36vw); opacity: .12; pointer-events: none; z-index: 0;
  /* fade out before the link columns so it never sits behind text */
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 72%); mask-image: linear-gradient(to bottom, #000 35%, transparent 72%);
}

.cb-footer__hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.cb-footer__statement { display: flex; flex-direction: column; gap: 22px; }
.cb-footer__big { font-family: var(--cb-font-heading); font-weight: 700; font-size: clamp(2.25rem, 1.5rem + 2.6vw, 4rem); line-height: 1.06; letter-spacing: -.025em; color: #fff; }
.cb-footer__big span { background: linear-gradient(#fff, #fff) 0 94% / 100% .07em no-repeat; }
.cb-footer__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.cb-footer__bigmail { display: inline-flex; align-items: center; gap: 12px; font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h5-size); background: linear-gradient(#fff, #fff) 0 100% / 0 1.5px no-repeat; padding-bottom: 4px; transition: background-size .45s var(--cb-ease); }
.cb-footer__bigmail:hover { background-size: 100% 1.5px; }

.cb-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 56px; padding: 64px 0; }
.cb-footer__brand { display: flex; flex-direction: column; gap: 22px; }
.cb-footer__brand img { height: 32px; width: auto; align-self: flex-start; }
.cb-footer__brand p { font-size: 16px; line-height: 1.7; max-width: 360px; color: rgba(255, 255, 255, .86); }
/* social — hover matches the Oom blog: brand colour fills from the centre,
   the button lifts with a matching glow, the icon pops and a label appears */
.cb-social { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; margin-top: -6px; }
.cb-social a {
  --ring: rgba(255, 255, 255, .3); --ico: #fff; --tip-bg: #fff; --tip-fg: var(--cb-color-charcoal);
  position: relative; isolation: isolate; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--ring); color: var(--ico);
  transition: transform .35s var(--cb-ease), border-color .3s, color .3s, box-shadow .35s var(--cb-ease);
}
.cb-social a::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%;
  background: var(--brand, #fff); transform: scale(0); transition: transform .4s var(--cb-ease);
}
.cb-social a::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 6px); padding: 6px 12px; border-radius: 8px;
  background: var(--tip-bg); color: var(--tip-fg); font-size: 16px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--cb-ease);
}
.cb-social svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; transition: transform .3s var(--cb-ease); }
.cb-social a:hover, .cb-social a:focus-visible {
  transform: translateY(-4px); border-color: transparent; color: var(--brand-ink, #fff);
  box-shadow: 0 14px 26px -12px var(--glow, var(--brand, #fff));
}
.cb-social a:hover::before, .cb-social a:focus-visible::before { transform: scale(1); }
.cb-social a:hover::after, .cb-social a:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.cb-social a:hover svg, .cb-social a:focus-visible svg { animation: cb-pop .5s var(--cb-ease); }
@keyframes cb-pop { 0% { transform: scale(1); } 45% { transform: scale(1.28) rotate(-10deg); } 100% { transform: scale(1.1); } }
.cb-social .s-in { --brand: #0A66C2; }
.cb-social .s-fb { --brand: #1877F2; }
.cb-social .s-yt { --brand: #FF0000; }
.cb-social .s-x  { --brand: #FFFFFF; --brand-ink: #3F3F3F; --glow: rgba(255, 255, 255, .55); }
.cb-social .s-ig { --glow: #D6249F; }
.cb-social .s-ig::before { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.cb-footer__col h3, .cb-footer__news h3 { color: #fff; font-size: var(--cb-h6-size); font-weight: 600; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.cb-footer__col h3::before, .cb-footer__news h3::before { content: ""; flex-shrink: 0; width: 22px; height: 9px; border-left: 1.5px solid rgba(255, 255, 255, .7); border-right: 1.5px solid rgba(255, 255, 255, .7); background: linear-gradient(rgba(255, 255, 255, .7), rgba(255, 255, 255, .7)) center / 100% 1.5px no-repeat; }
.cb-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.cb-footer__col ul a { position: relative; display: inline-flex; align-items: center; font-size: 16px; color: rgba(255, 255, 255, .86); transition: color .3s, padding .35s var(--cb-ease); }
.cb-footer__col ul a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: #fff; transition: width .35s var(--cb-ease); }
.cb-footer__col ul a:hover { color: #fff; padding-left: 22px; }
.cb-footer__col ul a:hover::before { width: 14px; }
.cb-footer__news { position: relative; z-index: 1; background: #202020; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8); border-radius: var(--cb-radius-xl); padding: 28px; align-self: start; }
.cb-footer__news p { font-size: 16px; color: rgba(255, 255, 255, .86); margin-bottom: 18px; }
.cb-news { display: flex; align-items: center; background: #fff; border-radius: var(--cb-radius-pill); padding: 5px 5px 5px 20px; }
.cb-news input { flex-grow: 1; min-width: 0; border: 0; background: none; height: 46px; font-size: 16px; color: var(--cb-color-charcoal); outline: none; }
.cb-news input::placeholder { color: var(--cb-color-grey); }
.cb-news button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cb-color-red); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
.cb-news button:hover { background: var(--cb-color-red-deep); }
.cb-news:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }

/* drawing title block */
.cb-footer__block { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--cb-radius-lg); overflow: hidden; }
.cb-footer__block > div { padding: 18px 24px; border-right: 1px solid rgba(255, 255, 255, .18); }
.cb-footer__block > div:last-child { border-right: 0; }
.cb-footer__block dt { font-size: 16px; color: rgba(255, 255, 255, .7); line-height: 1.3; }
.cb-footer__block dd { margin: 4px 0 0; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; line-height: 1.4; }
.cb-footer__block-top { display: flex; align-items: center; padding: 0 !important; }
.cb-footer__block-top button { height: 100%; min-height: 72px; padding: 0 28px; border: 0; background: #fff; color: var(--cb-color-charcoal); display: inline-flex; align-items: center; gap: 10px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; transition: background-color .3s, color .3s; }
.cb-footer__block-top button .cb-ico { transform: rotate(-90deg); transition: transform .35s var(--cb-ease); }
.cb-footer__block-top button:hover { background: var(--cb-color-red); color: #fff; }
.cb-footer__block-top button:hover .cb-ico { transform: rotate(-90deg) translateX(4px); }

/* oversize logo — 60% wide, upper part shown, fading into the divider line below */
.cb-footer__wordmark {
  display: flex; justify-content: center; overflow: hidden;
  padding-top: clamp(48px, 5vw, 80px);
  height: calc(clamp(48px, 5vw, 80px) + (min(100vw, var(--cb-container)) * .6 / 8.57) * .82);
}
.cb-footer__wordmark img {
  width: 60%; height: auto; flex-shrink: 0; opacity: .16;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, rgba(0, 0, 0, .45) 55%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 10%, rgba(0, 0, 0, .45) 55%, transparent 90%);
  transition: opacity .6s var(--cb-ease);
}
.cb-footer:hover .cb-footer__wordmark img { opacity: .24; }

.cb-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 16px; color: rgba(255, 255, 255, .86); }
.cb-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 28px; }
.cb-footer__bottom a { color: rgba(255, 255, 255, .86); }
.cb-footer__bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.cb-totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--cb-color-red); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--cb-shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s var(--cb-ease), background-color .3s;
}
.cb-totop .cb-ico { transform: rotate(-90deg); }
.cb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.cb-totop:hover { background: var(--cb-color-red-deep); }

/* ---- 21. Fancybox brand touches ----------------------------------------- */
.fancybox__container { --fancybox-bg: rgba(40, 40, 40, .94); --fancybox-accent-color: #C30401; }
.fancybox__caption { font-family: var(--cb-font-body); font-size: 16px; }

/* ---- 22. Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- 23. AutoCAD-style crosshair cursor ---------------------------------- */
/* Only on devices with a precise pointer (mouse / trackpad). Built in main.js. */
@property --cb-box { syntax: "<length>"; inherits: true; initial-value: 10px; }
@property --cb-arm { syntax: "<length>"; inherits: true; initial-value: 26px; }
html.has-cad-cursor, html.has-cad-cursor *:not(input):not(textarea):not(select) { cursor: none !important; }
.cb-cursor {
  --cb-box: 10px; --cb-arm: 26px; --cb-c: #3F3F3F; --cb-glow: rgba(255, 255, 255, .9);
  position: fixed; left: 0; top: 0; z-index: 100000; width: 0; height: 0; pointer-events: none;
  opacity: 0; transition: opacity .2s, --cb-box .28s cubic-bezier(.2, .7, .2, 1), --cb-arm .28s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}
.cb-cursor.is-visible { opacity: 1; }
.cb-cursor span { position: absolute; display: block; }
/* pickbox */
.cb-cursor__box {
  left: 0; top: 0; width: var(--cb-box); height: var(--cb-box); transform: translate(-50%, -50%);
  border: 1.5px solid var(--cb-c); box-shadow: 0 0 0 1px var(--cb-glow), inset 0 0 0 1px var(--cb-glow);
  transition: border-color .2s, background-color .2s, transform .15s;
}
/* four crosshair arms that start at the pickbox edge */
.cb-cursor__arm { background: var(--cb-c); box-shadow: 0 0 0 1px var(--cb-glow); transition: background-color .2s; }
.cb-cursor__arm--t, .cb-cursor__arm--b { width: 1.5px; height: var(--cb-arm); left: -.75px; }
.cb-cursor__arm--l, .cb-cursor__arm--r { height: 1.5px; width: var(--cb-arm); top: -.75px; }
.cb-cursor__arm--t { bottom: calc(var(--cb-box) / 2); }
.cb-cursor__arm--b { top: calc(var(--cb-box) / 2); }
.cb-cursor__arm--l { right: calc(var(--cb-box) / 2); }
.cb-cursor__arm--r { left: calc(var(--cb-box) / 2); }
/* on dark areas: white lines */
.cb-cursor.is-dark { --cb-c: #FFFFFF; --cb-glow: rgba(0, 0, 0, .35); }
/* over links and buttons: pickbox grows and turns red */
.cb-cursor.is-link { --cb-box: 30px; --cb-arm: 18px; }
.cb-cursor.is-link .cb-cursor__box { border-color: #C30401; background: rgba(195, 4, 1, .08); }
.cb-cursor.is-link.is-dark .cb-cursor__box { border-color: #FFFFFF; background: rgba(255, 255, 255, .14); }
.cb-cursor.is-down .cb-cursor__box { transform: translate(-50%, -50%) scale(.8); }
/* hidden while typing in a form field (native text cursor shows instead) */
.cb-cursor.is-text { opacity: 0; }
@media (pointer: coarse) { .cb-cursor { display: none; } }

/* ==========================================================================
   24. INNER PAGES — shared page hero + breadcrumb
   ========================================================================== */
.cb-page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 3vw, 48px) 0 clamp(56px, 5vw, 96px); background: #fff; }
.cb-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(63, 63, 63, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, .06) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 75% 20%, #000 10%, transparent 75%);
}
.cb-crumbs { margin-bottom: clamp(28px, 3vw, 48px); }
.cb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; color: var(--cb-color-grey); }
.cb-crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.cb-crumbs li + li::before { content: ""; width: 14px; height: 1.5px; background: var(--cb-color-red); }
.cb-crumbs a { color: var(--cb-color-charcoal); text-decoration: none; transition: color .25s; }
.cb-crumbs a:hover { color: var(--cb-color-red); }
.cb-crumbs [aria-current] { color: var(--cb-color-grey); }
.cb-page-hero__title { font-size: var(--cb-h1-size); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.cb-page-hero__lead { font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-grey); max-width: 720px; }
.cb-page-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---- 25. Contact page ----------------------------------------------------- */
.cb-contact-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.cb-contact-hero__main { display: flex; flex-direction: column; gap: 24px; }

/* visual: photo with crop marks + "what to send" card */
.cb-brief { position: relative; padding: 0 0 56px 56px; }
.cb-brief__media { position: relative; border-radius: var(--cb-radius-2xl); overflow: visible; }
.cb-brief__media img { display: block; width: 100%; height: clamp(420px, 34vw, 580px); object-fit: cover; border-radius: var(--cb-radius-2xl); }
.cb-brief__media .cb-crop--tl { top: -14px; left: -14px; }
.cb-brief__media .cb-crop--br { bottom: -14px; right: -14px; }
.cb-brief__chip {
  position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: var(--cb-radius-pill); background: var(--cb-color-red); color: #fff; font-weight: 500; font-size: 16px;
  box-shadow: 0 12px 24px -10px rgba(195, 4, 1, .6);
}
.cb-brief__card {
  position: absolute; left: 0; bottom: 0; width: min(340px, 78%); padding: 26px 28px;
  background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); box-shadow: var(--cb-shadow-lg);
  transition: transform .5s var(--cb-ease);
}
.cb-brief:hover .cb-brief__card { transform: translateY(-8px); }
.cb-brief__title { font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h6-size); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--cb-color-line); }
.cb-brief__list { display: flex; flex-direction: column; gap: 12px; }
.cb-brief__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.cb-brief__list .cb-ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--cb-color-red-tint); color: var(--cb-color-red); stroke-width: 2.4; }

/* direct channels */
.cb-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 4vw, 80px); }
.cb-channel {
  position: relative; display: flex; align-items: center; gap: 16px; height: 100%; padding: 22px 56px 22px 22px;
  border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); background: #fff; color: var(--cb-color-charcoal); text-decoration: none;
  transition: background-color .35s var(--cb-ease), border-color .35s, color .35s, transform .35s var(--cb-ease), box-shadow .35s;
}
.cb-channel__ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--cb-color-red-tint); color: var(--cb-color-red); display: flex; align-items: center; justify-content: center; transition: background-color .35s, color .35s; }
.cb-channel__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cb-channel__text small { font-size: 16px; color: var(--cb-color-grey); transition: color .35s; }
.cb-channel__text strong { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.cb-channel__go { position: absolute; right: 22px; top: 50%; margin-top: -12px; color: var(--cb-color-grey); transition: transform .35s var(--cb-ease), color .35s; }
.cb-channel:hover { background: var(--cb-color-charcoal); border-color: var(--cb-color-charcoal); color: #fff; transform: translateY(-4px); box-shadow: var(--cb-shadow-md); }
.cb-channel:hover .cb-channel__ico { background: var(--cb-color-red); color: #fff; }
.cb-channel:hover .cb-channel__text small { color: rgba(255, 255, 255, .75); }
.cb-channel:hover .cb-channel__go { color: #fff; transform: translate(3px, -3px); }

/* offices */
.cb-offices__map { position: relative; max-width: 1240px; margin: 0 auto; }
.cb-offices__map .cb-map__dots { width: 100%; height: auto; }
.cb-offices__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cb-offices__route path { fill: none; stroke: var(--cb-color-red); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .55; vector-effect: non-scaling-stroke; }
.cb-office-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: -40px; }
.cb-office {
  display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl);
  transition: transform .4s var(--cb-ease), box-shadow .4s, border-color .4s;
}
.cb-office:hover, .cb-office:focus-visible, .cb-office.is-active { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: var(--cb-color-charcoal); }
.cb-office__tag { align-self: flex-start; padding: 6px 12px; border-radius: var(--cb-radius-pill); background: var(--cb-color-paper); font-size: 14px; font-weight: 500; transition: background-color .3s, color .3s; }
.cb-office:hover .cb-office__tag, .cb-office.is-active .cb-office__tag { background: var(--cb-color-red); color: #fff; }
.cb-office__city { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.25; }
.cb-office__city small { display: block; margin-top: 4px; font-family: var(--cb-font-body); font-size: 16px; font-weight: 400; color: var(--cb-color-grey); }
.cb-office address { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--cb-color-grey); }
.cb-office__link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 500; font-size: 16px; color: var(--cb-color-charcoal); text-decoration: none; transition: color .25s; }
.cb-office__link .cb-ico { color: var(--cb-color-red); }
.cb-office__link:hover { color: var(--cb-color-red); }

/* ==========================================================================
   26. BLOG — shared bits
   ========================================================================== */
.cb-btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.cb-btn--ghost:hover { background: #fff; color: var(--cb-color-charcoal); border-color: #fff; }
.cb-avatar { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 1px solid var(--cb-color-line); display: inline-grid; place-items: center; }
.cb-avatar img { width: 18px; height: 18px; }
.cb-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--cb-radius-pill); border: 1px solid var(--cb-color-line); background: #fff; font-size: 14px; font-weight: 500; color: var(--cb-color-charcoal); }
.cb-tag--red { background: var(--cb-color-red); border-color: var(--cb-color-red); color: #fff; }
.cb-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 2rem + 1vw, 48px); }
.cb-blog-head > div { display: flex; flex-direction: column; gap: 16px; }

/* ---- 27. Blog listing ----------------------------------------------------- */
.cb-blog-hero { padding-bottom: 0; }
.cb-blog-hero__row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.cb-blog-hero__main { display: flex; flex-direction: column; gap: 22px; }
.cb-blog-hero__side { display: flex; flex-direction: column; gap: 24px; }
.cb-blog-hero__side p { font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-grey); }
.cb-blog-search { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-pill); background: #fff; transition: border-color .25s, box-shadow .25s; }
.cb-blog-search .cb-ico { color: var(--cb-color-grey); }
.cb-blog-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 16px; color: var(--cb-color-charcoal); }
.cb-blog-search:focus-within { border-color: var(--cb-color-charcoal); box-shadow: 0 0 0 4px #EDEDED; }
/* dimension line under the hero: |———— 18 articles ————| */
.cb-blog-hero__dim { display: flex; align-items: center; gap: 16px; max-width: calc(var(--cb-container) + var(--cb-gutter) * 2); margin: clamp(40px, 4vw, 64px) auto 0; padding: 0 var(--cb-gutter); }
.cb-blog-hero__dim span { flex: 1; height: 14px; background: linear-gradient(var(--cb-color-red), var(--cb-color-red)) center / 100% 1.5px no-repeat; }
.cb-blog-hero__dim span:first-child { border-left: 1.5px solid var(--cb-color-red); }
.cb-blog-hero__dim span:last-child { border-right: 1.5px solid var(--cb-color-red); }
.cb-blog-hero__dim em { font-style: normal; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cb-color-red); }

/* featured spotlight */
.cb-spotlight { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: #141414; color: #fff; border-radius: var(--cb-radius-2xl); overflow: hidden; }
.cb-spotlight__media { position: relative; display: block; min-height: 480px; overflow: hidden; }
.cb-spotlight__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--cb-ease); }
.cb-spotlight:hover .cb-spotlight__media img { transform: scale(1.05); }
.cb-spotlight__media .cb-crop { border-color: rgba(255, 255, 255, .8); }
.cb-spotlight__media .cb-crop--tl { top: 22px; left: 22px; }
.cb-spotlight__media .cb-crop--br { bottom: 22px; right: 22px; }
.cb-spotlight__copy { position: relative; display: flex; flex-direction: column; gap: 22px; justify-content: center; padding: clamp(32px, 3.5vw, 64px);
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; }
.cb-spotlight__copy .cb-tag:not(.cb-tag--red) { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.cb-spotlight__title { color: #fff; font-size: var(--cb-h3-card); line-height: 1.25; font-weight: 600; }
.cb-spotlight__title a { color: inherit; text-decoration: none; background: linear-gradient(#fff, #fff) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--cb-ease); }
.cb-spotlight:hover .cb-spotlight__title a { background-size: 100% 1.5px; }
.cb-spotlight__copy p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.cb-spotlight__foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cb-spotlight__meta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.cb-spotlight__meta b { display: block; font-size: 16px; font-weight: 500; color: #fff; }

.cb-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.cb-pick { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 16px 22px 16px 16px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); background: #fff; color: var(--cb-color-charcoal); text-decoration: none; transition: border-color .35s, box-shadow .35s, transform .35s var(--cb-ease); }
.cb-pick:hover { border-color: var(--cb-color-charcoal); box-shadow: var(--cb-shadow-md); transform: translateY(-4px); }
.cb-pick__media { display: block; aspect-ratio: 1; border-radius: var(--cb-radius-lg); overflow: hidden; }
.cb-pick__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cb-ease); }
.cb-pick:hover .cb-pick__media img { transform: scale(1.08); }
.cb-pick__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cb-pick__top { display: flex; align-items: center; gap: 12px; }
.cb-pick__num { font-family: var(--cb-font-heading); font-weight: 700; font-size: 16px; color: var(--cb-color-red); }
.cb-pick__cat { font-size: 14px; font-weight: 500; color: var(--cb-color-grey); }
.cb-pick h3 { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.3; }
.cb-pick__sub { font-size: 16px; color: var(--cb-color-grey); }

/* shared arrow circle */
.cb-pick__go, .cb-post__go { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--cb-color-line); display: grid; place-items: center; transition: background-color .35s, border-color .35s, color .35s, transform .45s var(--cb-ease); }
.cb-pick:hover .cb-pick__go, .cb-post:hover .cb-post__go { background: var(--cb-color-red); border-color: var(--cb-color-red); color: #fff; transform: rotate(45deg); }

/* category tabs with a sliding pill (Oom blog pattern) */
.cb-tabs-bar { max-width: 100%; width: max-content; margin-bottom: 36px; }
.cb-tabs { position: relative; display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-pill); box-shadow: 0 10px 30px -22px rgba(20, 20, 20, .35); }
.cb-tabs::-webkit-scrollbar { display: none; }
.cb-tabs__pill { position: absolute; top: 6px; bottom: 6px; left: var(--pill-x, 6px); width: var(--pill-w, 0); border-radius: var(--cb-radius-pill); background: var(--cb-color-charcoal); box-shadow: 0 8px 18px -8px rgba(20, 20, 20, .55); transition: left .45s var(--cb-ease), width .45s var(--cb-ease); overflow: hidden; }
.cb-tabs__pill::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cb-color-red), transparent); }
.cb-tab { position: relative; z-index: 1; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 0; border-radius: var(--cb-radius-pill); background: transparent; font-family: var(--cb-font-body); font-weight: 500; font-size: 16px; color: var(--cb-color-charcoal); white-space: nowrap; cursor: pointer; transition: color .3s, background-color .25s; }
.cb-tab:hover { background: var(--cb-color-paper); }
.cb-tab[aria-selected="true"] { color: #fff; background: transparent; }
.cb-tab__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red-tint); color: var(--cb-color-red); transition: transform .35s var(--cb-ease), background-color .3s; }
.cb-tab__ico .cb-ico { width: 17px; height: 17px; }
.cb-tab:hover .cb-tab__ico { transform: scale(1.08); }
.cb-tab[aria-selected="true"] .cb-tab__ico { background: #fff; }
.cb-tab__count { min-width: 26px; height: 24px; padding: 0 8px; border-radius: var(--cb-radius-pill); display: inline-grid; place-items: center; background: var(--cb-color-paper); font-size: 13px; font-weight: 600; color: var(--cb-color-grey); transition: background-color .3s, color .3s; }
.cb-tab[aria-selected="true"] .cb-tab__count { background: rgba(255, 255, 255, .16); color: #fff; }
.cb-blog-count { font-size: 16px; color: var(--cb-color-grey); }

/* post cards */
.cb-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cb-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); overflow: hidden; color: var(--cb-color-charcoal); text-decoration: none; transition: transform .45s var(--cb-ease), box-shadow .45s, border-color .45s; }
.cb-post[hidden] { display: none; }
.cb-post:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: transparent; }
.cb-post__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.cb-post__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: transform .9s var(--cb-ease), filter .6s; }
.cb-post:hover .cb-post__media img { transform: scale(1.06); filter: none; }
.cb-post__cat { position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: var(--cb-radius-pill); background: rgba(255, 255, 255, .94); font-size: 14px; font-weight: 500; backdrop-filter: blur(6px); }
.cb-post__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; }
.cb-post__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--cb-color-grey); }
.cb-post__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cb-color-red); }
.cb-post__title { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.3; }
.cb-post__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }
.cb-post__by { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--cb-color-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cb-post__author { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.cb-post.is-new { animation: cb-card-in .6s var(--cb-ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes cb-card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cb-posts__empty { padding: 48px 24px; text-align: center; font-size: 16px; color: var(--cb-color-grey); border: 1.5px dashed var(--cb-color-line); border-radius: var(--cb-radius-xl); }
.cb-more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 52px; }
.cb-more__bar { width: 200px; height: 3px; border-radius: 3px; background: var(--cb-color-line); overflow: hidden; }
.cb-more__bar span { display: block; height: 100%; width: var(--progress, 0%); background: var(--cb-color-red); transition: width .5s var(--cb-ease); }

/* bottom CTA band */
.cb-blog-cta__box { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding: clamp(36px, 4vw, 72px); border-radius: var(--cb-radius-2xl); background: #141414; color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; }
.cb-blog-cta__box > div:first-of-type { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.cb-blog-cta__box .cb-crop { border-color: rgba(255, 255, 255, .5); }
.cb-blog-cta__box .cb-crop--tl { top: 20px; left: 20px; }
.cb-blog-cta__box .cb-crop--br { bottom: 20px; right: 20px; }
.cb-blog-cta__title { color: #fff; font-size: var(--cb-h2-size); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.cb-blog-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- 28. Blog detail ------------------------------------------------------ */
.cb-readbar { position: fixed; left: 0; top: 0; z-index: 160; height: 3px; width: var(--read, 0%); background: var(--cb-color-red); opacity: 0; transition: opacity .3s; }
.cb-readbar.is-on { opacity: 1; }
.cb-post-hero { padding-bottom: 0; }
.cb-post-hero__head { max-width: 1080px; display: flex; flex-direction: column; gap: 22px; }
.cb-post-hero__title { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.cb-post-hero__dek { font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-grey); max-width: 900px; }
.cb-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding-top: 6px; }
.cb-post-meta__who { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--cb-color-grey); }
.cb-post-meta__who b { display: block; font-size: 16px; font-weight: 600; color: var(--cb-color-charcoal); }
.cb-post-meta__who .cb-avatar { width: 46px; height: 46px; }
.cb-post-meta__who .cb-avatar img { width: 22px; height: 22px; }
.cb-post-meta__sep { width: 1px; height: 28px; background: var(--cb-color-line); }
.cb-post-meta__item { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--cb-color-grey); }
.cb-post-meta__item .cb-ico { color: var(--cb-color-red); }
.cb-post-hero__media { position: relative; margin-top: clamp(36px, 3.5vw, 56px); }
.cb-post-hero__media img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--cb-radius-2xl); }
.cb-post-hero__media .cb-crop--tl { top: -14px; left: -14px; }
.cb-post-hero__media .cb-crop--br { bottom: -14px; right: -14px; }

.cb-post-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; gap: clamp(32px, 4vw, 72px); align-items: start; padding-top: clamp(48px, 5vw, 88px); padding-bottom: clamp(56px, 5vw, 96px); }
.cb-toc, .cb-post-side { align-self: stretch; }
.cb-toc__inner, .cb-post-side__inner { position: sticky; top: calc(var(--cb-header-h) + 32px); }
.cb-toc__title { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cb-toc__track { position: relative; }
.cb-toc__track::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--cb-color-line); }
.cb-toc__fill { position: absolute; left: 0; top: 4px; width: 2px; height: var(--fill, 0px); border-radius: 2px; background: var(--cb-color-red); transition: height .25s linear; }
.cb-toc ol { position: relative; }
.cb-toc li a { position: relative; display: block; padding: 9px 0 9px 20px; font-size: 16px; line-height: 1.4; color: var(--cb-color-grey); text-decoration: none; transition: color .25s, transform .25s var(--cb-ease); }
.cb-toc li a:hover { color: var(--cb-color-charcoal); transform: translateX(2px); }
.cb-toc li a.is-active { color: var(--cb-color-charcoal); font-weight: 600; }
.cb-toc li a.is-active::before { content: ""; position: absolute; left: -3px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--cb-color-red); box-shadow: 0 0 0 4px rgba(195, 4, 1, .15); }
.cb-toc__read { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--cb-color-line); font-size: 14px; color: var(--cb-color-grey); }
.cb-toc__read b { color: var(--cb-color-charcoal); }
.cb-toc__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; font-weight: 500; color: var(--cb-color-charcoal); text-decoration: none; transition: color .25s; }
.cb-toc__back:hover { color: var(--cb-color-red); }
.cb-toc-mobile { display: none; }

/* article typography */
.cb-prose { min-width: 0; max-width: 820px; font-size: 18px; line-height: 1.8; color: #4A4A4A; }
.cb-prose > * + * { margin-top: 22px; }
.cb-prose__lead { font-size: var(--cb-lead-size); line-height: 1.7; color: var(--cb-color-charcoal); }
.cb-prose h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 56px; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); line-height: 1.25; font-weight: 700; letter-spacing: -.01em; scroll-margin-top: calc(var(--cb-header-h) + 24px); }
.cb-prose__num { flex-shrink: 0; font-size: 16px; font-weight: 600; color: var(--cb-color-red); padding: 4px 10px; border: 1.5px solid var(--cb-color-red); border-radius: var(--cb-radius-pill); line-height: 1; transform: translateY(-4px); }
.cb-prose ul, .cb-prose ol { display: flex; flex-direction: column; gap: 12px; padding-left: 0; }
.cb-prose ul li { position: relative; padding-left: 30px; }
.cb-prose ul li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 14px; height: 1.5px; background: var(--cb-color-red); }
.cb-prose ol { counter-reset: cb-ol; }
.cb-prose ol li { position: relative; padding-left: 44px; counter-increment: cb-ol; }
.cb-prose ol li::before { content: counter(cb-ol); position: absolute; left: 0; top: .15em; width: 30px; height: 30px; border-radius: 50%; background: var(--cb-color-red-tint); color: var(--cb-color-red); font-family: var(--cb-font-heading); font-weight: 700; font-size: 15px; line-height: 30px; text-align: center; }
.cb-prose strong { color: var(--cb-color-charcoal); font-weight: 600; }
.cb-prose a:not(.cb-btn) { color: var(--cb-color-red); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cb-prose a:not(.cb-btn):hover { color: var(--cb-color-red-deep); }
.cb-prose__figure img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--cb-radius-xl); }
.cb-prose__figure figcaption { margin-top: 12px; padding-left: 26px; position: relative; font-size: 16px; line-height: 1.6; color: var(--cb-color-grey); }
.cb-prose__figure figcaption::before { content: ""; position: absolute; left: 0; top: .8em; width: 16px; height: 1.5px; background: var(--cb-color-red); }
.cb-pull { position: relative; margin-top: 40px; margin-bottom: 40px; padding: 40px 44px; border-radius: var(--cb-radius-xl); background: var(--cb-color-paper); border-left: 4px solid var(--cb-color-red);
  background-image: linear-gradient(rgba(63, 63, 63, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, .05) 1px, transparent 1px); background-size: 32px 32px; }
.cb-pull p { font-family: var(--cb-font-heading); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.45; font-weight: 500; color: var(--cb-color-charcoal); }
.cb-pull cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-style: normal; font-size: 16px; color: var(--cb-color-grey); }
.cb-pull cite b { color: var(--cb-color-charcoal); font-weight: 600; }
.cb-table-wrap { overflow-x: auto; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); }
.cb-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.cb-table th { text-align: left; padding: 16px 20px; background: var(--cb-color-charcoal); color: #fff; font-weight: 600; white-space: nowrap; }
.cb-table td { padding: 16px 20px; border-top: 1px solid var(--cb-color-line); vertical-align: top; }
.cb-table tbody tr:nth-child(even) td { background: var(--cb-color-paper); }
.cb-table td b { color: var(--cb-color-red); font-family: var(--cb-font-heading); }
.cb-callout { display: flex; gap: 18px; padding: 24px 26px; border: 1.5px dashed rgba(195, 4, 1, .35); border-radius: var(--cb-radius-lg); background: #fff; }
.cb-callout__ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red); color: #fff; }
.cb-callout__title { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; color: var(--cb-color-charcoal); margin-bottom: 4px; }
.cb-callout p:not(.cb-callout__title) { font-size: 16px; line-height: 1.65; }

.cb-post-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--cb-color-line); }
.cb-post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-post-tags a { padding: 8px 16px; border-radius: var(--cb-radius-pill); background: var(--cb-color-paper); border: 1px solid var(--cb-color-line); font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--cb-color-charcoal) !important; text-decoration: none !important; transition: background-color .25s, color .25s, border-color .25s; }
.cb-post-tags a:hover { background: var(--cb-color-charcoal); border-color: var(--cb-color-charcoal); color: #fff !important; }
.cb-post-end__share { display: flex; align-items: center; gap: 14px; }
.cb-share__label { font-size: 16px; font-weight: 500; }

/* share buttons — same hover as the footer social icons */
.cb-share { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-sh {
  --brand: var(--cb-color-charcoal); position: relative; isolation: isolate; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--cb-color-line); background: #fff; color: var(--cb-color-charcoal);
  text-decoration: none !important; transition: transform .35s var(--cb-ease), border-color .3s, color .3s, box-shadow .35s var(--cb-ease);
}
.cb-sh svg { width: 18px; height: 18px; fill: currentColor; }
.cb-sh svg.cb-ico { fill: none; }
.cb-sh::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .4s var(--cb-ease); }
.cb-sh::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); padding: 6px 12px; border-radius: 8px;
  background: var(--cb-color-charcoal); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--cb-ease);
}
.cb-sh:hover, .cb-sh:focus-visible { transform: translateY(-4px); border-color: transparent; color: #fff; box-shadow: 0 14px 26px -12px var(--brand); }
.cb-sh:hover::before, .cb-sh:focus-visible::before { transform: scale(1); }
.cb-sh:hover::after, .cb-sh:focus-visible::after, .cb-sh.is-copied::after { opacity: 1; transform: translate(-50%, 0); }
.cb-sh:hover svg { animation: cb-pop .5s var(--cb-ease); }
.cb-sh.s-in { --brand: #0A66C2; }
.cb-sh.s-fb { --brand: #1877F2; }
.cb-sh.s-wa { --brand: #25D366; }
.cb-sh.s-x { --brand: #141414; }
.cb-sh.s-link { --brand: var(--cb-color-red); }

/* sidebar */
.cb-side-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--cb-radius-xl); color: #fff; }
.cb-side-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--cb-ease); }
.cb-side-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(170deg, rgba(20, 20, 20, .92), rgba(20, 20, 20, .78) 50%, rgba(20, 20, 20, .95)); }
.cb-side-cta:hover .cb-side-cta__bg { transform: scale(1.08); }
.cb-side-cta h3 { color: #fff; font-size: var(--cb-h3-sm); line-height: 1.3; font-weight: 600; margin-top: 8px; }
.cb-side-cta p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.cb-side-cta .cb-btn { align-self: flex-start; margin-top: 8px; }
.cb-side-share { margin-top: 20px; padding: 24px 24px 22px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); display: flex; flex-direction: column; gap: 16px; }

/* author */
.cb-author-sec { padding-bottom: clamp(56px, 5vw, 96px); }
.cb-author { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 3vw, 56px); align-items: center; padding: clamp(32px, 4vw, 64px); border-radius: var(--cb-radius-2xl); background: #141414; color: #fff; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; }
.cb-author__photo { position: relative; width: clamp(120px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red); box-shadow: 0 0 0 10px rgba(255, 255, 255, .06), 0 0 0 20px rgba(255, 255, 255, .03); }
.cb-author__photo img { width: 42%; height: auto; }
.cb-author__body { display: flex; flex-direction: column; gap: 12px; }
.cb-author__name { color: #fff; font-size: var(--cb-h3-card); font-weight: 600; line-height: 1.2; }
.cb-author__role { font-size: 16px; color: rgba(255, 255, 255, .7); }
.cb-author__bio { font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .86); max-width: 860px; }
.cb-author__actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.cb-author .cb-social { padding-top: 24px; }
.cb-prose figure, .cb-prose blockquote, .cb-post-hero__media { margin-left: 0; margin-right: 0; }
.cb-post-hero__media { margin-bottom: 0; }
.cb-side-share .cb-sh { width: 40px; height: 40px; }
.cb-side-share .cb-share { gap: 6px; }
.cb-blog-cta__box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }

/* ==========================================================================
   29. 404 — "sheet missing from the set"
   ========================================================================== */
.cb-err { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 112px) 0; min-height: calc(100vh - var(--cb-header-h)); display: flex; align-items: center; }
.cb-err::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(63, 63, 63, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, .06) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 45%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 60% 70% at 30% 45%, #000 20%, transparent 80%); }
.cb-err__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "sheet copy" "sheet links"; gap: 40px clamp(40px, 6vw, 120px); align-items: center; }
.cb-err__sheet { grid-area: sheet; position: relative; padding: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px) clamp(28px, 3vw, 48px); }
.cb-err__sheet .cb-crop { border-color: var(--cb-color-red); }
.cb-err__num { display: flex; align-items: center; justify-content: center; gap: .04em; font-family: var(--cb-font-heading); font-weight: 700; font-size: clamp(7rem, 4rem + 11vw, 17rem); line-height: .9; letter-spacing: -.05em; color: var(--cb-color-charcoal); }
/* section-marker "0": a ringed circle split by a line, reference on top, sheet number below */
.cb-err__marker { position: relative; width: .78em; height: .78em; margin: 0 .03em; border-radius: 50%; border: .075em solid var(--cb-color-red); display: flex; flex-direction: column; align-items: center; justify-content: center; letter-spacing: 0; animation: cb-err-spin 14s linear infinite; }
.cb-err__marker::after { content: ""; position: absolute; right: -.22em; top: 50%; border-style: solid; border-width: .1em 0 .1em .16em; border-color: transparent transparent transparent var(--cb-color-red); transform: translateY(-50%); }
.cb-err__marker b { font-size: .16em; line-height: 1.2; font-weight: 700; color: var(--cb-color-charcoal); }
.cb-err__marker i { display: block; width: 100%; height: .018em; min-height: 2px; margin: .06em 0; background: var(--cb-color-red); }
@keyframes cb-err-spin { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(360deg); } }
.cb-err__dim { display: flex; align-items: center; gap: 16px; margin-top: clamp(20px, 2vw, 36px); }
.cb-err__dim span { flex: 1; height: 14px; background: linear-gradient(var(--cb-color-charcoal), var(--cb-color-charcoal)) center / 100% 1.5px no-repeat; }
.cb-err__dim span:first-child { border-left: 1.5px solid var(--cb-color-charcoal); }
.cb-err__dim span:last-child { border-right: 1.5px solid var(--cb-color-charcoal); }
.cb-err__dim em { font-style: normal; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cb-err__copy { grid-area: copy; align-self: end; display: flex; flex-direction: column; gap: 20px; }
.cb-err__title { font-size: var(--cb-h2-size); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }
.cb-err__copy p { font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-grey); max-width: 560px; }
.cb-err__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.cb-err__links { grid-area: links; align-self: start; }
.cb-err__links-title { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.cb-err__links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cb-err__links a { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 44px 14px 14px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-lg); background: #fff; color: var(--cb-color-charcoal); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s, transform .35s var(--cb-ease); }
.cb-err__links b { display: block; font-family: var(--cb-font-heading); font-weight: 600; font-size: 17px; }
.cb-err__links small { display: block; font-size: 14px; color: var(--cb-color-grey); transition: color .3s; }
.cb-err__ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red-tint); color: var(--cb-color-red); transition: background-color .3s, color .3s; }
.cb-err__go { position: absolute; right: 16px; top: 50%; margin-top: -10px; color: var(--cb-color-grey); transition: transform .35s var(--cb-ease), color .3s; }
.cb-err__links a:hover { background: var(--cb-color-charcoal); border-color: var(--cb-color-charcoal); color: #fff; transform: translateY(-3px); }
.cb-err__links a:hover small { color: rgba(255, 255, 255, .75); }
.cb-err__links a:hover .cb-err__ico { background: var(--cb-color-red); color: #fff; }
.cb-err__links a:hover .cb-err__go { color: #fff; transform: translate(3px, -3px); }

/* ==========================================================================
   30. Thank you
   ========================================================================== */
.cb-thanks { position: relative; isolation: isolate; overflow: hidden; padding: clamp(48px, 6vw, 112px) 0; }
.cb-thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(63, 63, 63, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(63, 63, 63, .06) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 75% 40%, #000 15%, transparent 80%); mask-image: radial-gradient(ellipse 60% 80% at 75% 40%, #000 15%, transparent 80%); }
.cb-thanks__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(40px, 6vw, 120px); align-items: center; }
.cb-thanks__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cb-thanks__check { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red); color: #fff; box-shadow: 0 0 0 10px var(--cb-color-red-tint), 0 20px 40px -12px rgba(195, 4, 1, .6); }
.cb-thanks__check .cb-ico { width: 38px; height: 38px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: cb-draw .7s .5s var(--cb-ease) forwards; }
@keyframes cb-draw { to { stroke-dashoffset: 0; } }
.cb-thanks__title { font-size: var(--cb-h1-size); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; }
.cb-thanks__copy > p { font-size: var(--cb-lead-size); line-height: 1.65; color: var(--cb-color-grey); max-width: 640px; }
.cb-thanks__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.cb-thanks__card { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--cb-radius-2xl); background: #141414; color: #fff; box-shadow: 0 40px 80px -40px rgba(20, 20, 20, .5);
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 40px 40px; }
.cb-thanks__card .cb-crop--tl { top: -12px; left: -12px; }
.cb-thanks__card .cb-crop--br { bottom: -12px; right: -12px; }
.cb-thanks__card-title { font-family: var(--cb-font-heading); font-weight: 600; font-size: var(--cb-h3-sm); margin-bottom: 26px; padding-right: 130px; }
/* rubber "received" stamp */
.cb-stamp { position: absolute; top: 22px; right: 22px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 14px; border: 2.5px solid #FF4A47; border-radius: 10px; color: #FF4A47; transform: rotate(-10deg); opacity: 0; animation: cb-stamp .5s 1s cubic-bezier(.2, 1.6, .4, 1) forwards; }
.cb-stamp::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(255, 74, 71, .55); border-radius: 6px; }
.cb-stamp span { font-family: var(--cb-font-heading); font-weight: 700; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.1; }
.cb-stamp small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@keyframes cb-stamp { from { opacity: 0; transform: rotate(-10deg) scale(1.8); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
.cb-steps { position: relative; display: flex; flex-direction: column; gap: 24px; }
.cb-steps::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; border-left: 1.5px dashed rgba(255, 255, 255, .3); }
.cb-steps li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 18px; }
.cb-steps__dot { width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: #141414; border: 2px solid rgba(255, 255, 255, .5); }
.cb-steps li.is-now .cb-steps__dot { background: var(--cb-color-red); border-color: #fff; box-shadow: 0 0 0 5px rgba(195, 4, 1, .35); animation: cb-now 2s ease-out infinite; }
@keyframes cb-now { 50% { box-shadow: 0 0 0 9px rgba(195, 4, 1, .1); } }
.cb-steps strong { display: flex; align-items: center; gap: 10px; font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; line-height: 1.35; }
.cb-steps strong em { font-style: normal; font-family: var(--cb-font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--cb-radius-pill); background: var(--cb-color-red); }
.cb-steps span { display: block; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.cb-thanks__mail { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.cb-thanks__mail-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--cb-color-charcoal); display: grid; place-items: center; transition: transform .4s var(--cb-ease); }
.cb-thanks__mail small { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); }
.cb-thanks__mail span:last-child { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; }
.cb-thanks__mail:hover .cb-thanks__mail-ico { transform: rotate(-12deg) scale(1.08); }
.cb-prose a.cb-sh { color: var(--cb-color-charcoal); text-decoration: none; }
.cb-prose a.cb-sh:hover, .cb-prose a.cb-sh:focus-visible { color: #fff; }
/* bullet lists: red ring with a dot instead of a dash */
.cb-prose ul li { padding-left: 34px; }
.cb-prose ul li::before { left: 0; top: .42em; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, var(--cb-color-red) 0 3.5px, var(--cb-color-red-tint) 4px); }

/* ==========================================================================
   31. ABOUT
   ========================================================================== */
.cb-about-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: center; }
.cb-about-hero__main { display: flex; flex-direction: column; gap: 24px; }
/* collage: tall image + offset image + year badge */
.cb-collage { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; padding: 0 0 40px; }
.cb-collage figure { margin: 0; overflow: hidden; border-radius: var(--cb-radius-2xl); }
.cb-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--cb-ease); }
.cb-collage figure:hover img { transform: scale(1.06); }
.cb-collage__a { aspect-ratio: 3 / 4.2; }
.cb-collage__b { aspect-ratio: 3 / 4; margin-top: 72px !important; }
.cb-collage__badge { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 18px 26px; border-radius: var(--cb-radius-xl); background: #fff; border: 1px solid var(--cb-color-line); box-shadow: var(--cb-shadow-lg); white-space: nowrap; }
.cb-collage__badge b { font-family: var(--cb-font-heading); font-size: 40px; line-height: 1; font-weight: 700; color: var(--cb-color-red); letter-spacing: -.02em; }
.cb-collage__badge span { font-size: 16px; line-height: 1.35; color: var(--cb-color-grey); padding-left: 16px; border-left: 1px solid var(--cb-color-line); }
.cb-collage .cb-crop--tl { top: -14px; left: -14px; }
.cb-collage .cb-crop--br { bottom: 26px; right: -14px; }
.cb-about-stats { padding-top: 0; }

/* story + journey */
.cb-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.cb-story__intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--cb-header-h) + 40px); }
.cb-story__intro p { font-size: var(--cb-body-size); line-height: 1.75; color: var(--cb-color-grey); }
.cb-journey { position: relative; display: flex; flex-direction: column; }
.cb-journey::before { content: ""; position: absolute; left: 60px; top: 24px; bottom: 24px; border-left: 1.5px dashed rgba(63, 63, 63, .3); }
.cb-journey__step { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 26px 0; }
.cb-journey__when { position: relative; z-index: 1; justify-self: center; align-self: start; min-width: 96px; padding: 10px 16px; border-radius: var(--cb-radius-pill); background: #fff; border: 1.5px solid var(--cb-color-charcoal); text-align: center; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; transition: background-color .3s, color .3s, border-color .3s; }
.cb-journey__step.is-now .cb-journey__when { background: var(--cb-color-red); border-color: var(--cb-color-red); color: #fff; }
.cb-journey__step > div { padding: 24px 28px; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-xl); background: #fff; transition: transform .4s var(--cb-ease), box-shadow .4s, border-color .4s; }
.cb-journey__step:hover > div { transform: translateX(6px); box-shadow: var(--cb-shadow-md); border-color: var(--cb-color-charcoal); }
.cb-journey__step:hover .cb-journey__when { background: var(--cb-color-charcoal); color: #fff; }
.cb-journey__step.is-now:hover .cb-journey__when { background: var(--cb-color-red); }
.cb-journey h3 { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.cb-journey p { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }

/* mission + values */
.cb-mission { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(36px, 5vw, 88px); margin-bottom: clamp(64px, 6vw, 112px); border-radius: var(--cb-radius-2xl); background: #141414; color: #fff;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 64px 64px; }
.cb-mission .cb-crop { border-color: rgba(255, 255, 255, .5); }
.cb-mission .cb-crop--tl { top: 20px; left: 20px; }
.cb-mission .cb-crop--br { bottom: 20px; right: 20px; }
.cb-mission__text { font-family: var(--cb-font-heading); font-weight: 600; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 3rem); line-height: 1.2; letter-spacing: -.02em; max-width: 1200px; }
.cb-mission__text em { font-style: normal; color: #FF5A57; }
.cb-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cb-value { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--cb-radius-xl); background: #fff; border: 1px solid var(--cb-color-line); transition: transform .4s var(--cb-ease), box-shadow .4s, border-color .4s; }
.cb-value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cb-color-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--cb-ease); }
.cb-value:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-md); border-color: transparent; }
.cb-value:hover::after { transform: scaleX(1); }
.cb-value__ico { width: 56px; height: 56px; border-radius: var(--cb-radius-lg); display: grid; place-items: center; background: var(--cb-color-red-tint); color: var(--cb-color-red); transition: background-color .3s, color .3s, transform .4s var(--cb-ease); }
.cb-value:hover .cb-value__ico { background: var(--cb-color-red); color: #fff; transform: rotate(-8deg); }
.cb-value h3 { font-size: var(--cb-h3-sm); font-weight: 600; line-height: 1.3; }
.cb-value p { font-size: 16px; line-height: 1.65; color: var(--cb-color-grey); }

/* founder */
.cb-founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.cb-founder__photo { position: relative; }
.cb-founder__frame { aspect-ratio: 4 / 5; border-radius: var(--cb-radius-2xl); overflow: hidden; background: var(--cb-color-charcoal); }
.cb-founder__frame > img { width: 100%; height: 100%; object-fit: cover; }
.cb-founder__ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.cb-founder__ph img { width: 96px; opacity: .9; }
.cb-founder__ph em { font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cb-founder__photo .cb-crop--tl { top: -14px; left: -14px; }
.cb-founder__photo .cb-crop--br { bottom: -14px; right: -14px; }
.cb-founder__tag { position: absolute; right: -24px; bottom: 40px; display: flex; flex-direction: column; gap: 2px; padding: 18px 24px; border-radius: var(--cb-radius-lg); background: var(--cb-color-red); color: #fff; box-shadow: 0 20px 40px -16px rgba(195, 4, 1, .6); }
.cb-founder__tag b { font-family: var(--cb-font-heading); font-size: 20px; font-weight: 600; }
.cb-founder__tag span { font-size: 14px; color: rgba(255, 255, 255, .85); }
.cb-founder__copy { display: flex; flex-direction: column; gap: 22px; }
.cb-founder__copy > p { font-size: var(--cb-body-size); line-height: 1.75; color: var(--cb-color-grey); }
.cb-founder__quote { position: relative; margin: 0; padding: 32px 0 0 0; }
.cb-founder__qmark { position: absolute; left: 0; top: 0; width: 44px; height: 44px; fill: var(--cb-color-red); stroke: none; opacity: .9; }
.cb-founder__quote p { padding-top: 34px; font-family: var(--cb-font-heading); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); line-height: 1.45; color: var(--cb-color-charcoal); }
.cb-founder__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--cb-color-line); }
.cb-founder__sign { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 36px; color: var(--cb-color-charcoal); transform: rotate(-4deg); }
.cb-social--dark { padding-top: 0; margin-top: 0; }
.cb-social--dark a { --ring: var(--cb-color-line); --ico: var(--cb-color-charcoal); --tip-bg: var(--cb-color-charcoal); --tip-fg: #fff; }
.cb-social .s-mail { --brand: var(--cb-color-red); }
.cb-social .s-mail svg { fill: none; }

/* teams */
.cb-teams__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cb-team { position: relative; overflow: hidden; min-height: 360px; border-radius: var(--cb-radius-xl); isolation: isolate; display: flex; }
.cb-team__media { position: absolute; inset: 0; z-index: -2; }
.cb-team__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 1s var(--cb-ease), filter .6s; }
.cb-team::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, .25) 0%, rgba(20, 20, 20, .92) 70%); transition: background-color .5s; }
.cb-team:hover .cb-team__media img { transform: scale(1.08); filter: grayscale(0); }
.cb-team__body { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.cb-team__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(6px); transition: background-color .35s, border-color .35s; }
.cb-team:hover .cb-team__ico { background: var(--cb-color-red); border-color: var(--cb-color-red); }
.cb-team h3 { color: #fff; font-size: var(--cb-h3-sm); font-weight: 600; }
.cb-team p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--cb-ease), opacity .4s; }
.cb-team:hover p, .cb-team:focus-within p { max-height: 120px; opacity: 1; }
@media (hover: none) { .cb-team p { max-height: none; opacity: 1; } }

/* gallery — masonry-style grid with filters + Fancybox */
.cb-gallery__note { font-size: 16px; color: var(--cb-color-grey); }
.cb-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.cb-gal__item { position: relative; overflow: hidden; border-radius: var(--cb-radius-xl); display: block; isolation: isolate; }
.cb-gal__item[hidden] { display: none; }
.cb-gal__item.is-wide { grid-column: span 2; }
.cb-gal__item.is-tall { grid-row: span 2; }
.cb-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--cb-ease), filter .5s; }
.cb-gal__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 20, 20, .85)); opacity: 0; transition: opacity .4s; }
.cb-gal__cap { position: absolute; left: 20px; right: 70px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 2px; color: #fff; transform: translateY(12px); opacity: 0; transition: transform .45s var(--cb-ease), opacity .4s; }
.cb-gal__cap small { font-size: 14px; color: rgba(255, 255, 255, .75); }
.cb-gal__cap b { font-family: var(--cb-font-heading); font-weight: 600; font-size: 18px; line-height: 1.3; }
.cb-gal__zoom { position: absolute; right: 18px; bottom: 18px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red); color: #fff; transform: scale(.4); opacity: 0; transition: transform .45s var(--cb-ease), opacity .3s; }
.cb-gal__item:hover img, .cb-gal__item:focus-visible img { transform: scale(1.07); }
.cb-gal__item:hover::after, .cb-gal__item:focus-visible::after { opacity: 1; }
.cb-gal__item:hover .cb-gal__cap, .cb-gal__item:focus-visible .cb-gal__cap { transform: none; opacity: 1; }
.cb-gal__item:hover .cb-gal__zoom, .cb-gal__item:focus-visible .cb-gal__zoom { transform: none; opacity: 1; }
.cb-gal__item.is-new { animation: cb-card-in .6s var(--cb-ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@media (hover: none) { .cb-gal__item::after, .cb-gal__cap { opacity: 1; transform: none; } }

.cb-join__text { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.cb-section--dark h2 em { color: #FF5A57; }

/* ---- 32. Founders (two co-founders) --------------------------------------- */
.cb-founders__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.cb-founders__join { position: absolute; left: 50%; top: 190px; z-index: 3; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-color-red); color: #fff; box-shadow: 0 0 0 8px #fff, 0 16px 30px -10px rgba(195, 4, 1, .6); }
.cb-founders__join .cb-ico { width: 24px; height: 24px; stroke-width: 2.4; }
.cb-fcard { display: flex; flex-direction: column; border: 1px solid var(--cb-color-line); border-radius: var(--cb-radius-2xl); background: #fff; overflow: hidden; transition: box-shadow .45s, transform .45s var(--cb-ease), border-color .45s; }
.cb-fcard:hover { transform: translateY(-6px); box-shadow: var(--cb-shadow-lg); border-color: transparent; }
.cb-fcard__photo { position: relative; aspect-ratio: 16 / 10; margin: 12px 12px 0; border-radius: calc(var(--cb-radius-2xl) - 8px); overflow: hidden; background: var(--cb-color-charcoal); }
.cb-fcard__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1s var(--cb-ease); }
.cb-fcard:hover .cb-fcard__photo > img { transform: scale(1.05); }
.cb-fcard__ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; }
.cb-fcard__ph b { font-family: var(--cb-font-heading); font-size: clamp(3.5rem, 2.5rem + 3vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: #fff; }
.cb-fcard__ph em { font-style: normal; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.cb-fcard__photo .cb-crop { border-color: rgba(255, 255, 255, .6); }
.cb-fcard__photo .cb-crop--tl { top: 16px; left: 16px; }
.cb-fcard__photo .cb-crop--br { bottom: 16px; right: 16px; }
.cb-fcard__role { position: absolute; left: 20px; bottom: 20px; padding: 10px 18px; border-radius: var(--cb-radius-pill); background: var(--cb-color-red); color: #fff; font-family: var(--cb-font-heading); font-weight: 600; font-size: 16px; box-shadow: 0 12px 24px -10px rgba(195, 4, 1, .6); }
.cb-fcard__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 40px); flex: 1; }
.cb-fcard__kicker { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cb-color-red); }
.cb-fcard__name { font-size: var(--cb-h3-card); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.cb-fcard__focus { font-size: 16px; color: var(--cb-color-grey); }
.cb-fcard__quote { position: relative; margin: 10px 0 4px; padding: 22px 24px 22px 64px; border-radius: var(--cb-radius-lg); background: var(--cb-color-paper); border-left: 3px solid var(--cb-color-red); }
.cb-fcard__qmark { position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; fill: var(--cb-color-red); stroke: none; }
.cb-fcard__quote p { font-family: var(--cb-font-heading); font-weight: 500; font-size: 18px; line-height: 1.5; color: var(--cb-color-charcoal); }
.cb-fcard__bio { font-size: 16px; line-height: 1.7; color: var(--cb-color-grey); }
.cb-fcard .cb-social { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--cb-color-line); }
.cb-tab { padding: 12px 22px; }
