/* ============================================================
   Light Bulb — Website layer
   Translates the slide-grade Light Bulb design system into a
   responsive, desktop-first marketing site. Reads entirely from
   the --lb-* token layer. No greys: ink + warm browns for text,
   cream surfaces, orange for full-bleed moments + links, gold
   for type accents and interactive states.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lb-cream);
  color: var(--lb-ink);
  font-family: var(--lb-font-body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---- Web type scale (clamped, responsive) -------------------- */
:root {
  --w-pad-x: clamp(24px, 6vw, 112px);
  --w-maxw: 1320px;
  --w-gap: clamp(48px, 9vh, 130px);     /* vertical section rhythm */

  --w-hero:    clamp(52px, 9vw, 124px);
  --w-h2:      clamp(34px, 4.6vw, 64px);
  --w-h3:      clamp(26px, 3vw, 40px);
  --w-h4:      clamp(22px, 2.2vw, 30px);
  --w-lead:    clamp(20px, 2.1vw, 27px);
  --w-body:    clamp(17px, 1.25vw, 19px);
  --w-eyebrow: clamp(12px, 1vw, 14px);
}

/* ---- Reusable type helpers (web sizes) ----------------------- */
.w-display {
  font-family: var(--lb-font-display); font-weight: 800;
  font-size: var(--w-hero); line-height: .94; letter-spacing: -.022em;
  margin: 0; text-wrap: balance;
}
.w-h2 {
  font-family: var(--lb-font-display); font-weight: 700;
  font-size: var(--w-h2); line-height: 1.0; letter-spacing: -.018em;
  margin: 0; text-wrap: balance;
}
.w-h3 {
  font-family: var(--lb-font-display); font-weight: 700;
  font-size: var(--w-h3); line-height: 1.04; letter-spacing: -.014em; margin: 0;
}
.w-lead {
  font-size: var(--w-lead); line-height: 1.42; color: var(--lb-ink-soft);
  font-weight: 400; margin: 0; text-wrap: pretty;
}
.w-script {
  font-family: var(--lb-font-display); font-style: italic; font-weight: 700;
  letter-spacing: -.01em;
}
.w-mono {
  font-family: var(--lb-font-mono); text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700;
}
.ink-soft { color: var(--lb-ink-soft); }
.orange { color: var(--lb-orange); }
.gold { color: var(--lb-gold); }

/* ---- Eyebrow (web) ------------------------------------------- */
.eyebrow {
  font-family: var(--lb-font-mono); font-size: var(--w-eyebrow);
  letter-spacing: .26em; text-transform: uppercase; font-weight: 700;
  color: var(--lb-ink); display: inline-flex; align-items: center; gap: 16px; margin: 0;
}
.eyebrow::before {
  content: ""; width: 40px; height: 2px; background: var(--lb-orange); flex: 0 0 auto;
}
.eyebrow.is-bare::before { display: none; }
.on-dark .eyebrow { color: var(--lb-cream-2); }
.on-dark .eyebrow::before { background: var(--lb-gold); }

/* Centered eyebrows (section heads + page heroes) carry a rule on BOTH
   sides so the label sits visually centered, in the secondary yellow. */
.preview-head .eyebrow, .page-hero .eyebrow, .hero-top .eyebrow { justify-content: center; }
.preview-head .eyebrow::before, .preview-head .eyebrow::after,
.page-hero .eyebrow::before, .page-hero .eyebrow::after,
.hero-top .eyebrow::before, .hero-top .eyebrow::after {
  content: ""; width: 40px; height: 2px; background: var(--lb-gold); flex: 0 0 auto;
}
.preview-head .eyebrow.is-bare::after, .page-hero .eyebrow.is-bare::after { display: none; }
/* on the yellow band, flip the rules to orange for contrast */
.band-yellow .eyebrow::before, .band-yellow .eyebrow::after { background: var(--lb-orange); }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { width: 100%; max-width: var(--w-maxw); margin: 0 auto; padding-inline: var(--w-pad-x); }
.section { padding-block: var(--w-gap); }
.section.tight { padding-block: clamp(36px, 6vh, 80px); }

/* full-bleed orange band */
.band-orange {
  background: var(--lb-orange); color: var(--lb-cream-2); position: relative; overflow: hidden;
}
.band-orange::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 120% at 92% -10%, rgba(249,183,1,.16), transparent 52%),
    radial-gradient(90% 90% at -5% 115%, rgba(0,0,0,.18), transparent 55%);
}
.band-orange > * { position: relative; z-index: 1; }
.band-ink { background: var(--lb-ink); color: var(--lb-cream-2); }
/* full-bleed yellow band — ink text, the Thndr-calendar moment */
.band-yellow { background: var(--lb-yellow); color: var(--lb-ink); position: relative; overflow: hidden; }
.band-yellow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(100% 100% at 100% 0%, rgba(226,59,17,.10), transparent 55%);
}
.band-yellow > * { position: relative; z-index: 1; }
.band-yellow .eyebrow { color: var(--lb-ink); }
.band-yellow .eyebrow::before { background: var(--lb-orange); }
.band-yellow .seemore { color: var(--lb-orange); border-bottom-color: var(--lb-orange); }
.band-yellow .seemore:hover { color: var(--lb-orange-deep); }
.on-dark { color: var(--lb-cream-2); }
.on-dark .w-lead { color: var(--lb-on-dark-soft); }
/* contact-close oversized italic tagline (global so any page can use it) */
.contact-close .cc-tag {
  font-family: var(--lb-font-display); font-weight: 700; font-style: italic;
  font-size: clamp(32px, 5.2vw, 78px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 32px; max-width: 16ch;
}

/* hanging-bulb motif — real artwork (replaces the old CSS-drawn bulb) */
.bulb-motif {
  position: absolute; top: 0; z-index: 2; pointer-events: none;
  width: clamp(46px, 5vw, 66px); aspect-ratio: 287 / 1058;
  background: url("assets/bulb-hanging.png") top center / contain no-repeat;
}

/* CTA close — optional split layout with a product shot on the right */
.contact-close.cc-split .wrap { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) {
  .contact-close.cc-split .wrap { grid-template-columns: 1fr; }
  .contact-close.cc-split .cc-media { display: none; }
}
.contact-close .cc-media { position: relative; min-height: 0; }
/* the hanging bulb dangles over the product shot (site.js moves the span into .cc-media) */
.contact-close.cc-split > .bulb-motif { width: clamp(40px, 4vw, 56px); }
@media (max-width: 860px) { .contact-close.cc-split > .bulb-motif { display: none; } }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--lb-cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-stuck { border-bottom-color: var(--lb-line); }
.nav-inner {
  max-width: var(--w-maxw); margin: 0 auto; padding: 16px var(--w-pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand .brand-desc {
  font-family: var(--lb-font-display); font-style: italic; font-weight: 600;
  font-size: 14px; color: var(--lb-ink-soft); white-space: nowrap;
  padding-left: 14px; border-left: 1.5px solid var(--lb-line);
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav-links a {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 13px; letter-spacing: .12em; text-decoration: none; color: var(--lb-ink);
  position: relative; padding: 6px 0; white-space: nowrap; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--lb-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--lb-ease);
}
.nav-links a:hover { color: var(--lb-orange); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--lb-orange); }
.nav-links a.nav-cta {
  display: inline-flex; align-items: center; line-height: 1;
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 13px; letter-spacing: .12em; text-decoration: none;
  background: var(--lb-orange); color: var(--lb-cream-2);
  padding: 12px 20px 11px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.nav-links a.nav-cta::after { display: none !important; }   /* never wear the gold underline */
.nav-links a.nav-cta:hover { background: var(--lb-orange-deep); color: var(--lb-cream-2); }
.nav-links a.nav-cta.nav-wa { background: #25d366; color: #06351c; }
.nav-links a.nav-cta.nav-wa:hover { background: #1ec15c; color: #06351c; }
.nav-toggle { display: none; }

/* ---- Gallery dropdown ---------------------------------------- */
.nav-drop { position: relative; display: inline-flex; }
.nav-droptrigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.nav-caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform .2s var(--lb-ease); cursor: pointer; margin-top: 1px;
}
.nav-drop:hover .nav-caret, .nav-drop.open .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 252px; background: var(--lb-cream-2); border: 1.5px solid var(--lb-line);
  border-radius: 10px; padding: 8px; flex-direction: column; gap: 2px; z-index: 70;
  display: none; box-shadow: 0 22px 48px -24px rgba(29,19,5,.45);
}
.nav-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-menu, .nav-drop.open .nav-menu { display: flex; }
.nav-menu a {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 11.5px; letter-spacing: .1em; color: var(--lb-ink); text-decoration: none;
  padding: 11px 14px; border-radius: 6px; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.nav-menu a::after { display: none; }
.nav-menu a:hover { background: var(--lb-gold); color: var(--lb-ink); }
.nav-menu .nav-menu-all {
  color: var(--lb-orange); border-bottom: 1.5px solid var(--lb-line);
  border-radius: 0; margin-bottom: 5px; padding-bottom: 12px;
}
.nav-menu .nav-menu-all:hover { background: transparent; color: var(--lb-orange-deep); }

/* mobile nav */
@media (max-width: 1080px) {
  .brand .brand-desc { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px; margin: -8px;
  }
  .nav-toggle span { width: 26px; height: 2px; background: var(--lb-ink); display: block; transition: .25s; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--lb-cream-2); border-bottom: 1.5px solid var(--lb-line);
    padding: 12px var(--w-pad-x) 24px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .25s ease;
  }
  .nav.is-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 16px; padding: 12px 0; width: 100%; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 8px; }

  /* dropdown collapses to an inline, indented sub-list */
  .nav-drop { display: block; width: 100%; }
  .nav-droptrigger { width: 100%; }
  .nav-caret { display: none; }
  .nav-menu {
    position: static; transform: none; display: flex;
    box-shadow: none; border: none; background: transparent;
    min-width: 0; padding: 0 0 8px 16px; gap: 0;
  }
  .nav-menu::before { display: none; }
  .nav-menu a { font-size: 13.5px; padding: 9px 0; }
  .nav-menu .nav-menu-all { border-bottom: none; margin-bottom: 0; padding-bottom: 9px; }
}

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 14px; letter-spacing: .12em; text-decoration: none;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lb-orange); color: var(--lb-cream-2); }
.btn-primary:hover { background: var(--lb-orange-deep); }
.btn-ghost { background: transparent; color: var(--lb-ink); border-color: var(--lb-line); }
.btn-ghost:hover { border-color: var(--lb-orange); color: var(--lb-orange); }
.on-dark .btn-ghost, .band-orange .btn-ghost { color: var(--lb-cream-2); border-color: var(--lb-on-dark-border); }
.on-dark .btn-ghost:hover, .band-orange .btn-ghost:hover { border-color: var(--lb-gold); color: var(--lb-gold); }
.btn-gold { background: var(--lb-gold); color: var(--lb-ink); }
.btn-gold:hover { background: var(--lb-gold-soft); }
.btn-whatsapp { background: #25d366; color: #06351c; }
.btn-whatsapp:hover { background: #1ec15c; }
.on-dark .btn-whatsapp, .band-orange .btn-whatsapp { color: #06351c; }
.btn .arr { font-family: var(--lb-font-body); font-weight: 600; }

/* "see more" link — the repeated preview affordance */
.seemore {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 13px; letter-spacing: .14em; color: var(--lb-orange);
  padding-bottom: 3px; border-bottom: 2px solid var(--lb-gold); width: fit-content;
  transition: gap .2s ease, color .2s ease;
}
.seemore .arr { transition: transform .2s var(--lb-ease); }
.seemore:hover { color: var(--lb-orange-deep); }
.seemore:hover .arr { transform: translateX(5px); }
.on-dark .seemore, .band-orange .seemore { color: var(--lb-gold); border-bottom-color: rgba(249,183,1,.5); }
.on-dark .seemore:hover, .band-orange .seemore:hover { color: var(--lb-gold-soft); }

/* ============================================================
   Section-preview pattern (reused: Services, Gallery, Work)
   ============================================================ */
.preview-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 22px; max-width: 1040px; margin: 0 auto clamp(44px, 6vh, 80px);
}
.preview-head .ph-title { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 980px; }
.preview-head .eyebrow { justify-content: center; }
.preview-head .w-lead { max-width: 560px; text-wrap: balance; }
.preview-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4.5vh, 56px); }
.preview-foot.end { justify-content: flex-end; }

/* services-preview cards (shared: homepage + Services page) */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); margin-top: 8px; }
@media (max-width: 800px) { .svc-list { grid-template-columns: 1fr; } }
.svc-list .svc-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 1.8vw, 26px); align-items: start; }
.svc-num { font-family: var(--lb-font-display); font-weight: 800; font-size: clamp(40px, 4vw, 62px); line-height: .82; letter-spacing: -.03em; color: var(--lb-orange); }
.svc-card .card-ix { font-family: var(--lb-font-mono); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lb-orange); }
.svc-card h4 { font-family: var(--lb-font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.014em; margin: 0 0 8px; line-height: 1.04; }
.svc-card p { margin: 0; color: var(--lb-ink-soft); font-size: var(--w-body); line-height: 1.5; }

/* ============================================================
   Photography placeholders (warm cream, thin border, caption)
   ============================================================ */
.photo {
  position: relative; background: var(--lb-cream-2);
  border: 1.5px solid var(--lb-line); border-radius: 4px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 18px; min-height: 200px;
  isolation: isolate;
}
.photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 13px, rgba(29,19,5,.05) 13px 14px);
}
.photo .photo-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 10px; letter-spacing: .16em; color: var(--lb-orange);
  background: var(--lb-cream); border: 1.5px solid var(--lb-line);
  padding: 5px 9px; border-radius: 999px;
}
.photo .photo-cap {
  font-family: var(--lb-font-mono); font-size: 12.5px; line-height: 1.5;
  letter-spacing: .02em; color: var(--lb-ink-soft); max-width: 90%;
}
.photo .photo-cap b { color: var(--lb-ink); font-weight: 700; }
.photo:hover { border-color: var(--lb-gold); }

/* ============================================================
   Placeholder image fill — every blank .photo slot shows the
   placeholder shot. Remove this block to revert to the labelled
   cream slots when real photography is dropped in per-slot.
   ============================================================ */
.photo {
  background-image: url("assets/placeholder.jpg");
  background-size: cover;
  background-position: center;
}
.photo::before { display: none; }
.photo .photo-tag, .photo .photo-cap { display: none; }

/* real photo fills the frame edge-to-edge */
.photo.has-img { padding: 0; }
.photo.has-img::before { display: none; }
.photo-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* aspect helpers */
.ar-4x3 { aspect-ratio: 4 / 3; }
.ar-3x2 { aspect-ratio: 3 / 2; }
.ar-1x1 { aspect-ratio: 1 / 1; }
.ar-3x4 { aspect-ratio: 3 / 4; }
.ar-16x9 { aspect-ratio: 16 / 9; }

/* ============================================================
   Cards (web variants of lb-card)
   ============================================================ */
.card {
  background: var(--lb-cream-2); border: 1.5px solid var(--lb-line); border-radius: 4px;
  padding: clamp(24px, 2.4vw, 38px); display: flex; flex-direction: column; gap: 12px;
}
.card .card-ix {
  font-family: var(--lb-font-mono); font-weight: 700; font-size: 13px;
  letter-spacing: .16em; color: var(--lb-orange);
}
.card h4 {
  font-family: var(--lb-font-display); font-weight: 700; font-size: var(--w-h4);
  line-height: 1.08; letter-spacing: -.012em; margin: 0; color: var(--lb-ink);
}
.card p { margin: 0; color: var(--lb-ink-soft); font-size: var(--w-body); line-height: 1.5; }
/* Cards keep a cream face even on dark bands, so their text stays ink. */
.on-dark .card, .band-ink .card { color: var(--lb-ink); }
.on-dark .card h4, .band-ink .card h4 { color: var(--lb-ink); }
.on-dark .card p, .band-ink .card p { color: var(--lb-ink-soft); }
.on-dark .card .card-ix, .band-ink .card .card-ix { color: var(--lb-orange); }
.card.lift { transition: border-color .25s ease, transform .25s var(--lb-ease); }
.card.lift:hover { border-color: var(--lb-orange); transform: translateY(-3px); }

.grid { display: grid; gap: clamp(16px, 1.6vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ============================================================
   Filter chips (legacy / category strip)
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--lb-font-mono); font-weight: 700; text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; background: transparent;
  border: 1.5px solid var(--lb-line); color: var(--lb-ink-soft);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--lb-orange); color: var(--lb-ink); }
.chip.is-active { background: var(--lb-gold); border-color: var(--lb-gold); color: var(--lb-ink); }

/* ============================================================
   Brochure tiles — one per category
   ============================================================ */
.cat-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 2.4vw, 38px);
}
.cat-grid > .cat-tile { flex: 0 1 calc((100% - 2 * clamp(20px, 2.4vw, 38px)) / 3); min-width: 0; }
@media (max-width: 900px) { .cat-grid > .cat-tile { flex-basis: calc((100% - clamp(20px, 2.4vw, 38px)) / 2); } }
@media (max-width: 560px) { .cat-grid > .cat-tile { flex-basis: 100%; } }

.cat-tile {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.cat-tile .photo { min-height: 0; transition: border-color .25s ease; }
.cat-tile .cat-meta { padding: 18px 2px 0; display: flex; flex-direction: column; gap: 8px; }
.cat-tile .cat-meta-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.cat-tile .cat-name {
  font-family: var(--lb-font-display); font-weight: 700; font-size: clamp(20px, 2.1vw, 27px);
  letter-spacing: -.012em; margin: 0; line-height: 1.08;
}
.cat-tile .cat-go {
  font-family: var(--lb-font-body); font-size: 22px; color: var(--lb-orange);
  transition: transform .22s var(--lb-ease); flex-shrink: 0;
}
.cat-tile .cat-blurb { margin: 0; color: var(--lb-ink-soft); font-size: 15.5px; line-height: 1.45; }
.cat-tile .cat-count {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 10.5px; letter-spacing: .14em; color: var(--lb-ink-faint); margin-top: 2px;
}
.cat-tile:hover .photo { border-color: var(--lb-gold); }
.cat-tile:hover .cat-name { color: var(--lb-orange); }
.cat-tile:hover .cat-go { transform: translateX(5px); }
.cat-tile:focus-visible { outline: 2px solid var(--lb-orange); outline-offset: 4px; border-radius: 4px; }
/* No secondary tag labels beneath product / service cards */
.gcard .gclient, .sim-card .sim-cat, .cat-tile .cat-count, .cat-sm-count { display: none; }

/* ============================================================
   "How we work" — headline left, numbered stages stacked right
   ============================================================ */
.hw-split { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 5vw, 84px); align-items: start; }
@media (max-width: 880px) { .hw-split { grid-template-columns: 1fr; gap: 36px; } }
.hw-head .w-h2 { margin: 18px 0 20px; }
.hw-head .seemore { margin-top: 6px; }
.hw-stages { display: flex; flex-direction: column; }
.hw-stage { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 1.6vw, 28px); align-items: start; padding: clamp(20px, 3vh, 30px) 0; }
.hw-stage:first-child { padding-top: 0; }
.hw-stage + .hw-stage { border-top: 1.5px solid var(--lb-line); }
.hw-num { font-family: var(--lb-font-display); font-weight: 800; font-size: clamp(40px, 4vw, 60px); line-height: .82; letter-spacing: -.04em; color: var(--lb-orange); }
.hw-ico { height: clamp(46px, 4.6vw, 62px); width: auto; align-self: start; justify-self: start; display: block; }
.hw-h { font-family: var(--lb-font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.016em; color: var(--lb-ink); margin: 0 0 8px; line-height: 1; }
.hw-p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--lb-ink-soft); margin: 0; max-width: 42ch; text-wrap: pretty; }
/* on an orange / ink band, flip to cream + gold */
.on-dark .hw-num { color: var(--lb-gold); }
.on-dark .hw-h { color: var(--lb-cream-2); }
.on-dark .hw-p { color: var(--lb-on-dark-soft); }
.on-dark .hw-stage + .hw-stage { border-top-color: var(--lb-on-dark-border); }
/* on desktop, drop the stacked stages to start level with the headline (not the eyebrow) */
@media (min-width: 881px) { .hw-stages { margin-top: clamp(30px, 3vw, 42px); } }

/* compact category tiles — text overlaid on the image, smaller grid.
   Used only in the "More categories" footer on a category page. */
.cat-grid-sm {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px);
}
@media (max-width: 900px) { .cat-grid-sm { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cat-grid-sm { grid-template-columns: repeat(2, 1fr); } }
.cat-tile-sm { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.cat-tile-sm .photo {
  min-height: 0; border-radius: 10px; transition: border-color .25s ease, transform .25s var(--lb-ease);
}
.cat-tile-sm .photo-cap { font-size: 10px; opacity: .34; max-width: 74%; }
.cat-sm-name {
  display: block; font-family: var(--lb-font-display); font-weight: 700;
  font-size: clamp(15px, 1.25vw, 18px); letter-spacing: -.012em; line-height: 1.1; color: var(--lb-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease;
}
.cat-tile-sm:hover .photo { border-color: var(--lb-orange); transform: translateY(-3px); }
.cat-tile-sm:hover .cat-sm-name { color: var(--lb-orange); }
.cat-tile-sm:focus-visible { outline: 2px solid var(--lb-orange); outline-offset: 3px; border-radius: 10px; }

/* compact "more categories" banner — a yellow strip of category chips.
   Lighter than the photo-tile grid; meant to read as a footer, not a section. */
.cat-more-banner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(14px, 1.6vw, 26px);
  background: var(--lb-yellow);
  border: 1.5px solid color-mix(in srgb, var(--lb-orange) 26%, var(--lb-yellow));
  border-radius: 14px;
  padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.4vw, 30px);
}
.cat-more-banner .cat-more-label {
  margin: 0; flex: 0 0 auto; white-space: nowrap; color: var(--lb-ink);
}
.cat-more-banner .cat-more-label::before { background: var(--lb-orange); }
.cat-chips { display: flex; flex-wrap: wrap; gap: 9px; flex: 1 1 auto; }
.cat-chip {
  font-family: var(--lb-font-display); font-weight: 700;
  font-size: clamp(13px, .95vw, 15px); letter-spacing: -.01em; line-height: 1;
  color: var(--lb-ink); text-decoration: none; white-space: nowrap;
  background: color-mix(in srgb, var(--lb-cream-2) 64%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--lb-orange) 30%, transparent);
  padding: 9px 14px 8px; border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--lb-ease);
}
.cat-chip:hover { background: var(--lb-orange); color: var(--lb-cream-2); border-color: var(--lb-orange); transform: translateY(-1px); }
.cat-chip:focus-visible { outline: 2px solid var(--lb-orange); outline-offset: 2px; }
@media (max-width: 640px) {
  .cat-more-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* back link + sibling-category strip on a category page */
.backlink {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 12px; letter-spacing: .14em; color: var(--lb-orange); width: fit-content;
  transition: gap .2s ease;
}
.backlink:hover { gap: 14px; color: var(--lb-orange-deep); }
.catchips { display: flex; flex-wrap: wrap; gap: 10px; }
.catchip {
  font-family: var(--lb-font-mono); font-weight: 700; text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em; text-decoration: none;
  padding: 10px 18px; border-radius: 999px; background: transparent;
  border: 1.5px solid var(--lb-line); color: var(--lb-ink-soft);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.catchip:hover { border-color: var(--lb-orange); color: var(--lb-ink); }

/* gallery card */
.gcard {
  display: flex; flex-direction: column; gap: 0; cursor: pointer;
  background: none; border: 0; padding: 0; margin: 0; width: 100%;
  font: inherit; color: inherit; text-align: left; appearance: none; text-decoration: none;
}
.gcard:focus-visible { outline: 2px solid var(--lb-orange); outline-offset: 4px; border-radius: 4px; }
.gcard .photo { min-height: 0; }
.gcard .gmeta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 2px 0;
}
.gcard .gname { font-family: var(--lb-font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin: 0; line-height: 1.2; }
.gcard .gclient { font-family: var(--lb-font-body); color: var(--lb-ink-soft); font-size: 14.5px; margin: 4px 0 0; }
.gcard .gtag {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 10px; letter-spacing: .12em; color: var(--lb-ink-faint); white-space: nowrap; flex-shrink: 0;
}
.gcard.is-hidden { display: none; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 36px);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Clients logo row
   ============================================================ */
.clients-row { display: flex; flex-wrap: wrap; gap: 14px; }
.client-slot {
  flex: 1 1 150px; min-height: 96px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--lb-line); border-radius: 4px; background: var(--lb-cream-2);
  font-family: var(--lb-font-display); font-weight: 700; font-size: clamp(17px, 1.5vw, 22px);
  letter-spacing: -.01em; color: var(--lb-ink); text-align: center; padding: 14px 18px;
}
.client-slot.is-pharma {
  background: transparent; color: var(--lb-ink-soft); font-family: var(--lb-font-mono);
  font-weight: 700; text-transform: uppercase; font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .08em;
  min-height: 72px;
}

/* Logo banners — clean rows of logos, no boxes. Order in source = display order. */
.logo-wall { display: flex; flex-direction: column; gap: clamp(34px, 4.5vh, 60px); }
.logo-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(44px, 5.5vw, 96px);
}
.logo-banner img {
  height: clamp(52px, 5.2vw, 78px); width: auto; max-width: 280px; object-fit: contain;
  opacity: .8; transition: opacity .22s ease;
}
.logo-banner img:hover { opacity: 1; }

/* ============================================================
   Tick list (web)
   ============================================================ */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; font-size: var(--w-body); line-height: 1.5; color: var(--lb-ink-soft); }
.ticks li b { color: var(--lb-ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px;
  background: var(--lb-orange); border-radius: 2px; transform: rotate(45deg);
}
.on-dark .ticks li, .band-orange .ticks li { color: var(--lb-on-dark-soft); }
.on-dark .ticks li b, .band-orange .ticks li b { color: var(--lb-cream-2); }
.on-dark .ticks li::before, .band-orange .ticks li::before { background: var(--lb-gold); }

/* ============================================================
   Stage row (numbered concept/design/production blocks)
   ============================================================ */
.stage {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 2.6vw, 44px);
  align-items: start; padding-block: clamp(28px, 3.4vh, 46px);
  border-top: 1.5px solid var(--lb-line);
}
.stage .stage-n {
  font-family: var(--lb-font-display); font-weight: 800; line-height: .9;
  font-size: clamp(56px, 7vw, 120px); color: var(--lb-orange); letter-spacing: -.03em;
}
.on-dark .stage, .band-orange .stage { border-top-color: var(--lb-on-dark-border); }
.on-dark .stage .stage-n, .band-orange .stage .stage-n { color: var(--lb-gold); }
.stage .stage-body { max-width: 720px; }
.stage h3 { margin: 0 0 14px; }

/* ============================================================
   Forms
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 12px; letter-spacing: .14em; color: var(--lb-ink-soft);
}
.input, .textarea {
  font-family: var(--lb-font-body); font-size: 17px; color: var(--lb-ink);
  background: var(--lb-cream-2); border: 1.5px solid var(--lb-line); border-radius: 4px;
  padding: 15px 16px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--lb-ink-faint); }
.input:focus, .textarea:focus {
  outline: none; border-color: var(--lb-orange); box-shadow: 0 0 0 3px rgba(226,59,17,.12);
}
.textarea { resize: vertical; min-height: 140px; line-height: 1.5; }

/* inline email capture (contact close) */
.email-capture { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.email-capture .input { flex: 1 1 240px; }
.on-dark .input, .band-orange .input {
  background: rgba(255,255,255,.07); border-color: var(--lb-on-dark-border); color: var(--lb-cream-2);
}
.on-dark .input::placeholder, .band-orange .input::placeholder { color: rgba(251,246,236,.6); }
.on-dark .input:focus, .band-orange .input:focus { border-color: var(--lb-gold); box-shadow: 0 0 0 3px rgba(249,183,1,.18); }
.on-dark .field label, .band-orange .field label { color: var(--lb-on-dark-soft); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--lb-ink); color: var(--lb-cream-2); padding-block: clamp(48px, 7vh, 90px); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 360px; }
.footer-brand img { height: 58px; width: auto; align-self: flex-start; }
.footer-brand .f-desc { font-family: var(--lb-font-display); font-style: italic; font-weight: 600; font-size: 18px; color: var(--lb-gold); }
.footer-nav { display: flex; gap: clamp(36px, 6vw, 90px); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 12px; letter-spacing: .16em; color: rgba(251,246,236,.5); margin: 0 0 4px;
}
.footer-col a { text-decoration: none; color: var(--lb-cream-2); font-size: 16px; transition: color .2s ease; width: fit-content; }
.footer-col a:hover { color: var(--lb-gold); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: clamp(36px, 6vh, 64px); padding-top: 26px; border-top: 1.5px solid rgba(251,246,236,.16);
}
.footer-bottom span { font-family: var(--lb-font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,246,236,.55); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero { padding-top: clamp(56px, 9vh, 120px); padding-bottom: clamp(40px, 5.5vh, 72px); position: relative; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-hero .ph-eyebrow { margin-bottom: 26px; justify-content: center; }
.page-hero h1 { margin: 0 0 30px; line-height: .98; max-width: 19ch; }
.page-hero.hero-left h1 { margin-inline: 0; }
.page-hero .ph-intro { max-width: 940px; text-wrap: balance; }
/* left-aligned variant (e.g. gallery category view with a back link) */
.page-hero.hero-left .wrap { align-items: flex-start; text-align: left; }
.page-hero.hero-left .ph-eyebrow { justify-content: flex-start; }

/* divider rule */
.rule { height: 1.5px; background: var(--lb-line); border: 0; margin: 0; }

/* ============================================================
   Entrance motion — one quiet rise
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(22px); transition: opacity .62s var(--lb-ease), transform .62s var(--lb-ease); }
  .rise.in { opacity: 1; transform: none; }
  .d1 { transition-delay: .05s; } .d2 { transition-delay: .12s; }
  .d3 { transition-delay: .19s; } .d4 { transition-delay: .26s; }
  .d5 { transition-delay: .33s; } .d6 { transition-delay: .4s; }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: clamp(20px, 5vw, 64px);
  background: rgba(12, 8, 5, .82); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox-inner { width: min(820px, 100%); display: flex; flex-direction: column; gap: 18px; }
.lightbox-photo { min-height: clamp(260px, 52vh, 520px); }
.lightbox-close {
  align-self: flex-end; cursor: pointer; background: transparent; border: 1.5px solid var(--lb-on-dark-border);
  color: var(--lb-cream-2); font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700;
  font-size: 12px; letter-spacing: .14em; padding: 9px 16px; border-radius: 999px; transition: .2s ease;
}
.lightbox-close:hover { border-color: var(--lb-gold); color: var(--lb-gold); }
.lightbox-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lightbox-name { font-family: var(--lb-font-display); font-weight: 700; font-size: clamp(22px, 3vw, 32px); color: var(--lb-cream-2); margin: 0; letter-spacing: -.01em; }
.lightbox-tag { font-family: var(--lb-font-mono); text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--lb-gold); }

/* utility */
.stack { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; } .gap-4 { gap: 36px; } .gap-5 { gap: 52px; }
.center { text-align: center; }
.maxw-720 { max-width: 720px; } .maxw-820 { max-width: 820px; } .maxw-560 { max-width: 560px; }
.mx-auto { margin-inline: auto; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
