/* ============================================================
   Cross Builders Website — kit-local styles
   Sits on top of colors_and_type.css
   ============================================================ */

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--cb-stone-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; cursor: pointer; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============== NAV ============== */
.cb-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--cb-stone-50);
  border-bottom: 1px solid var(--border);
}
.cb-nav__inner {
  display: flex; align-items: center; gap: 32px;
  height: 76px;
}
.cb-nav__logo {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; padding: 0;
}
.cb-nav__logo img { height: 32px; width: auto; }
.cb-nav__links { display: flex; gap: 28px; flex: 1; margin-left: 16px; }
.cb-nav__link {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--cb-graphite); text-decoration: none;
  position: relative; padding: 6px 0;
  background: none; border: none;
  letter-spacing: 0.01em;
  transition: color var(--t-base) var(--ease);
}
.cb-nav__link:hover { color: var(--cb-red); }
.cb-nav__link.is-active { color: var(--cb-red); }
.cb-nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--cb-red);
}
.cb-nav__phone {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--cb-graphite); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.cb-nav__phone .dot { width: 6px; height: 6px; background: var(--cb-red); border-radius: 50%; }
.cb-nav__ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: var(--cb-graphite);
  text-decoration: none;
  border-radius: 50%;
  flex-shrink: 0;
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cb-nav__ig:hover { color: var(--cb-red); background: rgba(15,15,16,0.05); }
.cb-nav__burger {
  display: none;
  background: none; border: none; padding: 8px;
  flex-direction: column; gap: 5px;
}
.cb-nav__burger span {
  display: block; width: 22px; height: 2px; background: var(--cb-black);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.cb-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cb-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.cb-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== BUTTONS ============== */
.cb-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 22px; line-height: 1;
  border: none; background: none; cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.cb-nav__cta, .cb-nav__phone { flex-shrink: 0; white-space: nowrap; }
.cb-btn--primary { background: var(--cb-red); color: #fff; }
.cb-btn--primary:hover { background: var(--cb-red-deep); }
.cb-btn--primary:active { background: var(--cb-red-darker); }
.cb-btn--secondary { background: var(--cb-black); color: #fff; }
.cb-btn--secondary:hover { background: var(--cb-graphite); }
.cb-btn--ghost { background: transparent; color: var(--cb-black); border: 1px solid var(--cb-black); padding: 13px 21px; }
.cb-btn--ghost:hover { background: rgba(15,15,16,0.06); }
.cb-btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); padding: 13px 21px; }
.cb-btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.cb-btn .arr { display: inline-block; transition: transform var(--t-base) var(--ease); }
.cb-btn:hover .arr { transform: translateX(3px); }

/* ============== ATOMS ============== */
.cb-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--cb-red);
  display: inline-block; line-height: 1;
}
.cb-eyebrow--white { color: #fff; opacity: 0.85; }

.cb-section-heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--cb-black); margin: 0;
  text-wrap: balance;
}

/* ============== HERO ============== */
.cb-hero {
  position: relative; height: calc(88vh - 76px); min-height: 564px; max-height: 804px;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.cb-hero__stage {
  position: absolute; inset: 0;
}
.cb-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 55%;
  opacity: 0;
  transition: opacity 1400ms var(--ease-out);
  will-change: opacity;
}
.cb-hero__img.is-active {
  opacity: 1;
  /* Slow drift on the active frame for a subtle cinematic feel */
  animation: cbHeroDrift 6000ms var(--ease-out) both;
}
@keyframes cbHeroDrift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
.cb-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,15,16,0.82) 0%, rgba(15,15,16,0.25) 55%, rgba(15,15,16,0.05) 100%),
    linear-gradient(to right, rgba(15,15,16,0.45) 0%, transparent 50%);
}
.cb-hero__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
}
.cb-hero__eyebrow { margin-bottom: 18px; }
.cb-hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin: 0 0 28px; max-width: 18ch;
  text-wrap: balance;
}
.cb-hero__title em { font-style: normal; color: var(--cb-red); }
.cb-hero__sub {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55;
  max-width: 60ch; color: rgba(255,255,255,0.88);
  margin: 0 0 36px;
}
.cb-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel indicator — thin architectural bars, sit below the CTAs */
.cb-hero__dots {
  display: flex; gap: 8px;
  margin-top: 28px;
  align-self: flex-start;
}
.cb-hero__dot {
  appearance: none; -webkit-appearance: none;
  width: 38px; height: 22px;
  padding: 0;
  background: transparent; border: none;
  cursor: pointer;
  position: relative;
}
.cb-hero__dot::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; transform: translateY(-50%);
  background: rgba(255,255,255,0.28);
  transition: background var(--t-base) var(--ease);
}
.cb-hero__dot:hover::before { background: rgba(255,255,255,0.55); }
.cb-hero__dot-fill {
  position: absolute; left: 0; top: 50%;
  height: 3px; transform: translateY(-50%);
  width: 0; background: #fff;
  transition: width var(--t-base) var(--ease);
}
.cb-hero__dot.is-active .cb-hero__dot-fill {
  width: 100%;
}
.cb-hero__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px;
}

/* ============== INTRO ============== */
.cb-intro {
  padding: 96px 0 32px;
}
.cb-intro__inner {
  display: grid; grid-template-columns: 180px 1fr; gap: 56px;
  align-items: start;
}
.cb-intro__inner .cb-eyebrow { padding-top: 12px; }
.cb-intro__copy {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--cb-black);
  text-wrap: balance; margin: 0;
  max-width: 36ch;
}

/* ============== SECTION ============== */
.cb-section { padding: 96px 0; }
.cb-section--tight { padding: 32px 0 96px; }
.cb-section--alt { background: var(--cb-stone-100); }

.cb-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px;
}
.cb-section__head-text { max-width: 64ch; }
.cb-section__head-text .cb-section-heading { margin-top: 14px; }
.cb-section__head-link {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--cb-black); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 0; border: none; border-bottom: 1px solid var(--cb-black);
  background: none;
}
.cb-section__head-link .arr { transition: transform var(--t-base) var(--ease); }
.cb-section__head-link:hover .arr { transform: translateX(3px); }

/* ============== SERVICES (3 columns, with image) ============== */
.cb-services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.cb-service {
  background: var(--cb-stone-50);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.cb-service:hover { border-color: var(--cb-black); }
.cb-service__media {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--cb-stone-100);
}
.cb-service__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.cb-service:hover .cb-service__media img { transform: scale(1.04); }
.cb-service__body { padding: 28px 28px 32px; }
.cb-service__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--cb-red); letter-spacing: 0.12em;
}
.cb-service__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 26px; letter-spacing: -0.015em;
  color: var(--cb-black); margin: 12px 0 10px;
  line-height: 1.05;
}
.cb-service__blurb {
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  color: var(--cb-stone-500); margin: 0;
  max-width: 36ch;
}

/* ============== FILTER ============== */
.cb-filter {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.cb-filter__btn {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  padding: 10px 18px; background: transparent;
  border: 1px solid var(--border-strong); color: var(--cb-black);
  letter-spacing: 0.04em;
  transition: all var(--t-base) var(--ease);
}
.cb-filter__btn:hover { border-color: var(--cb-black); }
.cb-filter__btn.is-active {
  background: var(--cb-black); color: #fff; border-color: var(--cb-black);
}

/* ============== WORK GRID ============== */
/* Uniform grid — every tile the same aspect ratio so rows line up cleanly.
   Column count is tweakable (3 default, 4 dense). */
.cb-work-grid {
  display: grid;
  grid-template-columns: repeat(var(--cb-grid-cols, 3), minmax(0, 1fr));
  gap: 16px;
}
.cb-work {
  background: none; border: none; padding: 0; text-align: left;
}
.cb-work__frame {
  position: relative; overflow: hidden; background: var(--cb-stone-200);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.cb-work__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.cb-work:hover .cb-work__frame img { transform: scale(1.05); }
.cb-work__overlay {
  position: absolute; inset: 0;
  padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  background: linear-gradient(to top, rgba(15,15,16,0.78) 0%, rgba(15,15,16,0.15) 45%, transparent 70%);
  opacity: 0; transition: opacity var(--t-base) var(--ease);
}
.cb-work:hover .cb-work__overlay { opacity: 1; }
.cb-work__cat {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  opacity: 0.85;
}
.cb-work__cap {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  line-height: 1.2; margin-top: 6px;
}

/* ============== LIGHTBOX ============== */
.cb-lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,15,16,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: lbFade 220ms var(--ease-out);
}
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.cb-lightbox__close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none;
  color: #fff; font-size: 36px; line-height: 1;
  padding: 8px 14px;
}
.cb-lightbox__close:hover { color: var(--cb-red); }
.cb-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 28px; line-height: 1;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-base) var(--ease);
}
.cb-lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.cb-lightbox__nav--prev { left: 32px; }
.cb-lightbox__nav--next { right: 32px; }
.cb-lightbox__stage {
  max-width: 1200px; width: 100%;
  display: flex; flex-direction: column; gap: 18px;
  align-items: center;
}
.cb-lightbox__stage img {
  max-height: 76vh; width: auto; max-width: 100%;
  object-fit: contain;
}
.cb-lightbox__meta {
  text-align: center; color: rgba(255,255,255,0.86);
}
.cb-lightbox__cap {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; margin-top: 8px;
}
.cb-lightbox__count {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.5); margin-top: 8px;
  letter-spacing: 0.12em;
}

/* ============== INSTAGRAM ============== */
.cb-ig { background: var(--cb-stone-50); }
.cb-ig__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 32px;
  flex-wrap: wrap;
}
.cb-ig__head-text { max-width: 64ch; }
.cb-ig__head-text .cb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
}
.cb-ig__head-text .cb-section-heading { margin-top: 14px; }
.cb-ig__glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  color: var(--cb-red);
}
.cb-ig__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cb-ig__tile {
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cb-stone-200);
  text-decoration: none;
}
.cb-ig__tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.cb-ig__tile:hover img { transform: scale(1.06); }
.cb-ig__hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: rgba(15,15,16,0.0);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cb-ig__tile:hover .cb-ig__hover {
  opacity: 1;
  background: rgba(15,15,16,0.42);
}

@media (max-width: 1024px) {
  .cb-ig__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cb-ig__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .cb-ig__hover { opacity: 0; } /* no hover on touch */
}

/* ============== WORD-OF-MOUTH BLOCK ============== */
.cb-wom {
  max-width: 60ch; margin: 0 auto; text-align: center;
}
.cb-wom__quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35;
  letter-spacing: -0.01em; color: var(--cb-black);
  text-wrap: balance; margin: 18px 0 0;
}

/* ============== PAGE HERO (About / Contact) ============== */
.cb-page-hero {
  padding: 96px 0 56px;
  border-bottom: 1px solid var(--border);
}
.cb-page-hero__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 7vw, 96px); line-height: 0.98;
  letter-spacing: -0.025em; margin: 18px 0 24px;
  text-wrap: balance; max-width: 16ch;
  color: var(--cb-black);
}
.cb-page-hero__sub {
  font-family: var(--font-body); font-size: 18px; line-height: 1.55;
  color: var(--cb-stone-500); max-width: 64ch; margin: 0;
}

/* ============== ABOUT ============== */
.cb-about { padding: 96px 0; }
.cb-about__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: start;
}
.cb-about__copy {
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--cb-graphite);
}
.cb-about__copy p { margin: 0 0 1.2em; text-wrap: pretty; }
.cb-about__lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--cb-black) !important;
  text-wrap: balance;
}
.cb-about__closer {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; color: var(--cb-black);
  border-top: 2px solid var(--cb-red);
  padding-top: 20px; margin-top: 32px;
  max-width: 32ch;
}
.cb-about__media {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.cb-about__photo {
  overflow: hidden; background: var(--cb-stone-100);
  aspect-ratio: 1 / 1;
}
.cb-about__photo--tall {
  grid-column: span 2; aspect-ratio: 4 / 3;
}
.cb-about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============== VALUES ============== */
.cb-values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cb-value {
  background: var(--cb-stone-100);
  padding: 40px 32px;
  min-height: 220px;
}
.cb-value__num {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--cb-red); letter-spacing: 0.18em;
}
.cb-value h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 24px; letter-spacing: -0.015em;
  color: var(--cb-black); margin: 16px 0 10px; line-height: 1.1;
}
.cb-value p {
  font-family: var(--font-body); font-size: 15px; line-height: 1.55;
  color: var(--cb-stone-500); margin: 0; max-width: 32ch;
}

/* ============== CONTACT ============== */
.cb-contact {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: start;
}
.cb-contact__form-wrap { min-height: 480px; }
.cb-form {
  display: flex; flex-direction: column; gap: 20px;
}
.cb-field { display: flex; flex-direction: column; gap: 8px; }
.cb-field label {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cb-graphite);
}
.cb-field__opt {
  font-weight: 500; color: var(--fg-muted); text-transform: none; letter-spacing: 0.02em; font-size: 11px;
}
.cb-field input,
.cb-field textarea {
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
  color: var(--cb-black);
  background: var(--cb-stone-50);
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  width: 100%;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.cb-field textarea { resize: vertical; min-height: 140px; }
.cb-field input:focus,
.cb-field textarea:focus {
  outline: none; border-color: var(--cb-black); background: #fff;
}
.cb-field.is-error input,
.cb-field.is-error textarea { border-color: var(--cb-red); }
.cb-form__submit { align-self: flex-start; margin-top: 8px; }
.cb-form__hint {
  font-family: var(--font-body); font-size: 13px; color: var(--cb-red);
  margin: 0;
}
.cb-contact__thanks {
  padding: 48px 40px; background: var(--cb-stone-100);
  border-left: 4px solid var(--cb-red);
}
.cb-contact__thanks h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em;
  margin: 12px 0 16px; color: var(--cb-black);
}
.cb-contact__thanks p {
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  color: var(--cb-graphite); margin: 0 0 24px; max-width: 56ch;
}
.cb-contact__thanks a { color: var(--cb-red); }
.cb-contact__aside {
  display: flex; flex-direction: column; gap: 32px;
  padding: 32px;
  background: var(--cb-black); color: #fff;
}
.cb-contact__block {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.cb-contact__block:last-child { border-bottom: none; padding-bottom: 0; }
.cb-contact__block .cb-eyebrow { color: rgba(255,255,255,0.6); }
.cb-contact__big {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: #fff; text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--t-base) var(--ease);
}
.cb-contact__big:hover { color: var(--cb-red); }
.cb-contact__area {
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  color: rgba(255,255,255,0.86); margin: 6px 0 0;
}

/* ============== CTA STRIP ============== */
.cb-cta-strip {
  background: var(--cb-red); color: #fff;
  padding: 64px 0;
}
.cb-cta-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px;
}
.cb-cta-strip h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 12px 0 0; max-width: 22ch;
  text-wrap: balance;
}
.cb-cta-strip .cb-eyebrow--white { color: rgba(255,255,255,0.78); }
.cb-cta-strip .cb-btn--secondary { background: #fff; color: var(--cb-red); }
.cb-cta-strip .cb-btn--secondary:hover { background: var(--cb-black); color: #fff; }

/* ============== FOOTER ============== */
.cb-footer {
  background: var(--cb-black); color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.cb-footer__grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.14);
}
.cb-footer__brand img { height: 36px; margin-bottom: 24px; }
.cb-footer__tagline {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; line-height: 1.35; color: #fff;
  max-width: 28ch; margin: 0;
}
.cb-footer__col-title {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin: 0 0 18px;
}
.cb-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cb-footer__list a {
  font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.86);
  text-decoration: none;
}
.cb-footer__list a:hover { color: var(--cb-red); }
.cb-footer__contact {
  font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.86);
  display: flex; flex-direction: column; gap: 4px;
}
.cb-footer__contact strong { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }
.cb-footer__contact a { color: inherit; text-decoration: none; }
.cb-footer__contact a:hover { color: var(--cb-red); }
.cb-footer__area { margin-top: 8px; color: rgba(255,255,255,0.55); }
.cb-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ============== UTILS ============== */
.fade-in { animation: fadeIn 380ms var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .cb-nav__phone { display: none; }
  .cb-services { grid-template-columns: 1fr 1fr; }
  .cb-about__inner { grid-template-columns: 1fr; gap: 48px; }
  .cb-contact { grid-template-columns: 1fr; gap: 40px; }
  .cb-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .cb-nav__inner { gap: 16px; height: 64px; }
  .cb-nav__cta { display: none; }
  .cb-nav__burger { display: flex; }
  .cb-nav__links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cb-stone-50); border-bottom: 1px solid var(--border);
    padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
    margin: 0;
  }
  .cb-nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .cb-nav__link {
    width: 100%; padding: 16px var(--gutter); text-align: left;
    border-bottom: 1px solid var(--border);
  }
  .cb-nav__link.is-active::after { display: none; }
  .cb-hero__inner { padding-bottom: 48px; }
  .cb-intro__inner { grid-template-columns: 1fr; gap: 16px; }
  .cb-services { grid-template-columns: 1fr; }
  .cb-work-grid { grid-template-columns: 1fr 1fr; }
  .cb-work__overlay { opacity: 1; background: linear-gradient(to top, rgba(15,15,16,0.85) 0%, rgba(15,15,16,0.2) 50%, transparent 80%); }
  .cb-values { grid-template-columns: 1fr; }
  .cb-cta-strip__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cb-footer__grid { grid-template-columns: 1fr; }
  .cb-section { padding: 64px 0; }
  .cb-section--tight { padding: 16px 0 64px; }
  .cb-intro { padding: 64px 0 16px; }
  .cb-about { padding: 64px 0; }
  .cb-page-hero { padding: 56px 0 40px; }
  .cb-lightbox__nav { width: 40px; height: 40px; font-size: 22px; }
  .cb-lightbox__nav--prev { left: 12px; }
  .cb-lightbox__nav--next { right: 12px; }
  .cb-contact__aside { padding: 24px; }
}
