/* ============================================================
   Page-specific styles — white bg throughout
   Tokens: --red · --red-dark · --ink · --gray-100 · --white
   ============================================================ */

.float-orbs, .orb { display: none !important; }

/* ════════════════════════════════════════════════════════════
   HOME HERO — Scroll Zoom Grid (whole-grid scale approach)
   ════════════════════════════════════════════════════════════ */

/* Scroll zone — gives the sticky element room to animate */
.hero-zoom {
  position: relative;
  height: 200vh;
}

/* Pins to top of viewport; centres the grid */
.hz-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  perspective: 1200px;
}

/* 3×3 grid — full viewport cover, scaled as one unit by JS */
.hz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.hz-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: var(--ink);
}

.hz-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

/* Outer 8 tiles: hidden until scroll reveals them */
.hz-outer { opacity: 0; will-change: opacity; }

/* Center tile: red glow ring inset */
.hz-center::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(226, 32, 43, 0.65) inset,
              0 0 60px rgba(226, 32, 43, 0.2) inset;
}

/* ── Placeholder scenes — hero-1.png tiled with varied crop positions ── */
.hz-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Row 1 */
.hz-scene--1 { background-position: 20% 15%; filter: saturate(0.75) brightness(1.05); }
.hz-scene--2 { background-position: 50% 10%; filter: saturate(0.8)  brightness(1.0);  }
.hz-scene--3 { background-position: 80% 15%; filter: saturate(0.75) brightness(1.05); }
/* Row 2 */
.hz-scene--4 { background-position: 15% 50%; filter: saturate(0.75) brightness(1.0);  }
.hz-scene--5 { background-position: 50% 40%; filter: saturate(1.1)  brightness(0.95); }
.hz-scene--6 { background-position: 85% 50%; filter: saturate(0.75) brightness(1.0);  }
/* Row 3 */
.hz-scene--7 { background-position: 20% 85%; filter: saturate(0.75) brightness(1.05); }
.hz-scene--8 { background-position: 50% 90%; filter: saturate(0.8)  brightness(1.0);  }
.hz-scene--9 { background-position: 80% 85%; filter: saturate(0.75) brightness(1.05); }

/* ── Hero copy overlay ── */
.hz-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 0 var(--space-m);
}

.hz-eyebrow {
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: var(--space-s);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hz-title {
  font-family: var(--display); font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.hz-title em { font-style: normal; color: #F5A8AC; }

.hz-title .line       { display: block; overflow: hidden; }
.hz-title .line-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: heroLineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hz-title .line:nth-child(1) .line-inner { animation-delay: 0.20s; }
.hz-title .line:nth-child(2) .line-inner { animation-delay: 0.36s; }
.hz-title .line:nth-child(3) .line-inner { animation-delay: 0.52s; }
@keyframes heroLineUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.hz-lead {
  margin-top: var(--space-s);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.hz-actions {
  margin-top: var(--space-m);
  display: flex;
  gap: var(--space-s);
  justify-content: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

/* Ghost white CTA — readable on the dark overlay */
.btn--ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition);
}
.btn--ghost-white:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

/* ── Scroll cue — bouncing dot in mouse outline ── */
.hz-cue {
  position: absolute;
  bottom: var(--space-m);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 35;
  pointer-events: none;
  animation: hzFadeIn 0.6s ease 1.4s both;
}
.hz-cue span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hz-cue-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.hz-cue-dot {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
  animation: hz-fall 1.6s ease-in-out infinite;
}
@keyframes hz-fall {
  0%   { opacity: 0; top: 7px; }
  25%  { opacity: 1; }
  100% { opacity: 0; top: 22px; }
}
@keyframes hzFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* First section after hero gets top border */
.hero-zoom + * { border-top: 2px solid var(--ink); }

/* ── Responsive: the zoom-scroll effect runs on all screen sizes;
      only type/buttons scale down on small screens ── */
@media (max-width: 900px) {
  .hz-grid { gap: 4px; }
}

@media (max-width: 420px) {
  .hz-title { font-size: clamp(2rem, 12vw, 3rem) !important; }
  .hz-actions { flex-direction: column; align-items: stretch; }
  .hz-actions a { width: 100%; justify-content: center; }
}

/* Also skip title animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hz-title .line-inner { transform: none !important; opacity: 1 !important; animation: none !important; }
}

/* ════════════════════════════════════════════════════════════
   HOME MISC
   ════════════════════════════════════════════════════════════ */

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats-strip .stat-col {
  padding: var(--space-l) var(--space-m);
  border-right: 2px solid var(--ink);
  text-align: center;
  background: var(--white);
  transition: background var(--transition);
}
.stats-strip .stat-col:last-child { border-right: none; }
.stats-strip .stat-col:hover { background: var(--gray-100); }
.stats-strip .num {
  font-family: var(--numbers);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--red); line-height: 1;
  text-transform: uppercase; display: block;
}
.stats-strip .label {
  margin-top: 0.5em; font-weight: 700; text-transform: uppercase;
  font-size: var(--fs-xs); letter-spacing: 0.08em;
  color: rgba(20,18,16,0.55); display: block;
}
@media (max-width: 860px) {
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip .stat-col { border-right: none; border-bottom: 2px solid var(--ink); }
  .stats-strip .stat-col:last-child { border-bottom: none; }
}

/* Service cards */
.service-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-m);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow-lg); background: var(--gray-100); }
.service-card .eyebrow { margin-bottom: var(--space-s); }
.service-card h3 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h3); text-transform: uppercase; margin-bottom: 0.5em; }
.service-card p  { font-size: 0.95rem; color: rgba(20,18,16,0.65); line-height: 1.6; }
.service-card .tag { margin-top: var(--space-s); }

/* Meme / quote block */
.meme-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-l);
  align-items: center;
}
.meme-block img { border: 2px solid var(--ink); border-radius: var(--radius); width: 100%; object-fit: cover; }
.meme-block .quote { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.05; text-transform: uppercase; }
.meme-block .quote em { font-style: normal; color: var(--red); }
.meme-block .quote-attr { margin-top: var(--space-s); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(20,18,16,0.45); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h1); text-transform: uppercase; margin-bottom: var(--space-s); }
.cta-band p  { opacity: 0.7; margin-bottom: var(--space-m); font-size: var(--fs-lead); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-group { display: flex; gap: var(--space-s); justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px) { .meme-block { grid-template-columns: 1fr; } .meme-block img { max-width: 300px; margin: 0 auto; } }

/* ════════════════════════════════════════════════════════════
   PAGE BANNER
   ════════════════════════════════════════════════════════════ */
.page-banner {
  border-bottom: 2px solid var(--ink);
  padding: var(--space-l) 0 var(--space-m);
  background: var(--white);
  position: relative; overflow: hidden;
}
.page-banner .eyebrow { margin-bottom: var(--space-s); }
.page-banner h1 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h1); text-transform: uppercase; line-height: 0.95; margin-top: var(--space-s); }
.page-banner p  { margin-top: var(--space-s); max-width: 60ch; color: rgba(20,18,16,0.65); font-size: var(--fs-lead); }
.page-banner__chips { display: flex; gap: 0.6em; flex-wrap: wrap; margin-top: var(--space-m); }
.page-banner__accent {
  position: absolute; right: var(--space-m); bottom: -0.1em;
  font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 16vw, 14rem);
  color: var(--ink); opacity: 0.04; line-height: 1; text-transform: uppercase;
  pointer-events: none; user-select: none;
}

/* ════════════════════════════════════════════════════════════
   SERVICES PAGE
   ════════════════════════════════════════════════════════════ */
.service-row {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.9fr;
  gap: var(--space-m);
  align-items: start;
  padding: var(--space-l) 0;
  border-bottom: 2px solid var(--gray-200);
}
.service-row:first-of-type { border-top: 2px solid var(--ink); }
.service-row__num { font-family: var(--numbers); font-size: 4rem; color: var(--red); line-height: 1; text-transform: uppercase; opacity: 0.3; }
.service-row h3   { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-transform: uppercase; margin-bottom: 0.4em; }
.service-row .tag-row { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: var(--space-s); }
.service-row p    { font-size: 0.95rem; color: rgba(20,18,16,0.65); line-height: 1.65; }

.svc-block-inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--space-l); align-items: start; padding: var(--space-l) 0;
  width: 100%;
}

/* Services listing — summary card grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-s);
}
.svc-grid-card { display: flex; flex-direction: column; }
.svc-grid-card p { flex: 1; margin-bottom: var(--space-s); }
.svc-grid-card .svc-col-link { align-self: flex-start; }

@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-block-tag   {
  display: inline-flex; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3em 0.8em; border: 2px solid var(--ink);
  border-radius: var(--radius); margin-bottom: var(--space-s); background: var(--white);
}
.svc-block-title { font-family: var(--display); font-weight: 800; font-size: var(--fs-h2); text-transform: uppercase; margin-bottom: var(--space-s); }
.svc-block-desc  { font-size: 0.95rem; color: rgba(20,18,16,0.65); line-height: 1.7; margin-bottom: var(--space-m); }

.svc-block-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: var(--space-s) 0 var(--space-m); list-style: none;
}
.svc-block-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.sbf-check { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

.svc-visual-card {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); padding: var(--space-m); box-shadow: var(--shadow-md); text-align: center;
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition);
}
.svc-visual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(20,18,16,0.18);
}
.svc-visual-img-wrap { overflow: hidden; border-radius: var(--radius); margin-bottom: var(--space-s); }
.svc-visual-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--radius);
  display: block;
  transition: transform 0.5s var(--transition);
}
.svc-visual-card:hover .svc-visual-img { transform: scale(1.08); }
.svc-visual-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; margin-bottom: var(--space-m); }
.svc-mini-bar { height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }

/* Process section */
.process-header { text-align: center; margin-bottom: var(--space-l); }

/* Process steps (dark bg) */
/* Roadmap-style timeline: dashed line through the middle,
   steps 1 & 3 above the line, 2 & 4 below (zigzag) */
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: var(--space-m);
  row-gap: 0;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 12.5%;
  right: 12.5%;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.process-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-row: 2;
  padding-top: 0;
}
.process-step:nth-child(1) { grid-column: 1; }
.process-step:nth-child(2) { grid-column: 2; }
.process-step:nth-child(3) { grid-column: 3; }
.process-step:nth-child(4) { grid-column: 4; }
/* odd steps sit above the line, content stacked over their node */
.process-step:nth-child(odd) { grid-row: 1; justify-content: flex-end; }
.process-step:nth-child(odd) h3      { order: 1; }
.process-step:nth-child(odd) p       { order: 2; }
.process-step:nth-child(odd) .ps-num { order: 3; margin: var(--space-s) auto -28px; }
/* even steps hang below the line */
.process-step:nth-child(even) .ps-num { margin: -28px auto var(--space-s); }
.ps-num {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  margin: 0 auto var(--space-s);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: var(--ink);
  font-family: var(--numbers);
  font-size: 1.15rem;
  color: var(--red);
  line-height: 1;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.process-step:hover .ps-num {
  background: var(--red);
  color: var(--white);
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(227, 6, 19, 0.15);
}
.process-step h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--white); text-transform: uppercase; margin-bottom: 0.5em; }
.process-step p  { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 30ch; margin: 0 auto; }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: var(--space-s); }

  /* Vertical roadmap on mobile: line down the left, dots beside content */
  .process-steps { grid-template-columns: 1fr; grid-template-rows: none; gap: var(--space-m); }
  .process-steps::before {
    top: 28px;
    bottom: 28px;
    left: 28px;
    right: auto;
    border-top: none;
    border-left: 2px dashed rgba(255, 255, 255, 0.25);
  }
  .process-step,
  .process-step:nth-child(1), .process-step:nth-child(2),
  .process-step:nth-child(3), .process-step:nth-child(4) {
    grid-column: 1; grid-row: auto;
    display: block; text-align: left;
    padding-left: 80px; min-height: 56px;
  }
  .process-step .ps-num,
  .process-step:nth-child(odd) .ps-num,
  .process-step:nth-child(even) .ps-num {
    position: absolute; left: 0; top: 0; margin: 0; order: 0;
  }

  /* Tap-to-open accordion on phones */
  .process-step h3 {
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 56px;
    margin-bottom: 0;
  }
  .process-step h3::after {
    content: '+';
    flex-shrink: 0;
    font-family: var(--numbers);
    font-size: 1.4rem;
    color: var(--red);
    transition: transform 0.3s var(--ease);
  }
  .process-step.open h3::after { transform: rotate(45deg); }
  .process-step p {
    margin: 0; max-width: none;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease), opacity 0.3s, margin-top 0.3s;
  }
  .process-step.open p { max-height: 220px; opacity: 1; margin-top: 8px; }
}

/* Phones only — tablet keeps the desktop-style pinned 2-column layout */
@media (max-width: 640px) {
  .svc-block-inner { grid-template-columns: 1fr; padding: var(--space-m) 0; gap: var(--space-m); }
  .svc-block-features { grid-template-columns: 1fr; }

  .svc-visual-card { box-shadow: 4px 4px 0 var(--ink); padding: var(--space-s); }
  .svc-visual-card:hover { transform: none; box-shadow: 4px 4px 0 var(--ink); }
  .svc-visual-card:hover .svc-visual-img { transform: none; }
}

/* ════════════════════════════════════════════════════════════
   WORK / PORTFOLIO
   ════════════════════════════════════════════════════════════ */
.filter-row,
.port-filter-bar { display: flex; gap: 0.6em; flex-wrap: wrap; margin-bottom: var(--space-m); }
.filter-btn {
  font-family: var(--body); font-weight: 700; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.5em 1.1em; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--white); color: var(--ink);
  cursor: pointer; transition: background var(--transition), color var(--transition);
}
.filter-btn:hover { background: var(--gray-100); }
.filter-btn.is-active, .filter-btn.active { background: var(--ink); color: var(--white); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-s); }
.work-item {
  position: relative; overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--radius);
  aspect-ratio: 4 / 5; cursor: pointer; background: var(--gray-100);
}
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.work-item:hover img { transform: scale(1.06); }
.work-item__tag {
  position: absolute; top: var(--space-s); left: var(--space-s);
  background: var(--red); color: var(--white);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.3em 0.7em; border-radius: var(--radius); z-index: 2;
}
.work-item__caption {
  position: absolute; inset: auto 0 0 0; padding: var(--space-s);
  background: linear-gradient(to top, rgba(20,18,16,0.9) 0%, transparent 100%);
  color: var(--white); font-weight: 700; font-size: 0.95rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); z-index: 2;
}
.work-item:hover .work-item__caption { opacity: 1; transform: translateY(0); }

/* Full portfolio grid */
.port-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-s); }

.port-full-card,
.port-card {
  background: var(--white); border: 2px solid var(--ink);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition); cursor: pointer;
}
.port-full-card:hover, .port-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow-lg); }
.port-card--featured { grid-column: span 2; }

.pfc-visual, .port-visual {
  height: 220px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--space-s); overflow: hidden;
}
.port-card--featured .port-visual { height: 280px; }

.port-visual--1, .pfc-visual--1 { background: linear-gradient(135deg, var(--red) 0%, #f47c7c 100%); }
.port-visual--2, .pfc-visual--2 { background: linear-gradient(135deg, var(--ink) 0%, #3d3630 100%); }
.port-visual--3, .pfc-visual--3 { background: linear-gradient(135deg, #1e6b4a 0%, #4fc38a 100%); }
.port-visual--4, .pfc-visual--4 { background: linear-gradient(135deg, #5a5a5a 0%, #8a8a8a 100%); }
.port-visual--5, .pfc-visual--5 { background: linear-gradient(135deg, #3b5bdb 0%, #6c8ef5 100%); }
.port-visual--6, .pfc-visual--6 { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }

.pfc-tags, .port-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pfc-tags span, .port-tags span { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: var(--white); padding: 0.3em 0.7em; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.25); }
.pfc-num { font-family: var(--numbers); font-size: 4rem; color: rgba(255,255,255,0.12); line-height: 1; align-self: flex-end; text-transform: uppercase; }

.port-view-btn {
  align-self: flex-end; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--white); opacity: 0; transform: translateY(8px); transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
  background: rgba(20,18,16,0.55); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.25); padding: 0.4em 0.9em; border-radius: var(--radius);
}
.port-card:hover .port-view-btn { opacity: 1; transform: translateY(0); }

.port-badge {
  position: absolute; top: var(--space-s); right: var(--space-s);
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 0.5em 0.9em; text-align: center; box-shadow: var(--shadow-sm);
}
.port-badge strong { display: block; font-family: var(--numbers); font-size: 1.5rem; color: var(--red); line-height: 1; text-transform: uppercase; }
.port-badge span   { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; color: rgba(20,18,16,0.5); }

.pfc-body, .port-body { padding: var(--space-s) var(--space-m); }
.pfc-body h3, .port-body h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.4em; }
.pfc-body p,  .port-body p  { font-size: 0.9rem; color: rgba(20,18,16,0.6); line-height: 1.6; margin-bottom: var(--space-s); }

.pfc-metrics, .port-results { display: flex; gap: var(--space-m); padding-top: var(--space-s); border-top: 2px solid var(--ink); flex-wrap: wrap; }
.pfc-metric strong, .port-result strong { display: block; font-family: var(--numbers); font-size: 1.4rem; text-transform: uppercase; color: var(--red); }
.pfc-metric span, .port-result span { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(20,18,16,0.45); }

@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } .port-full-grid { grid-template-columns: 1fr 1fr; } .port-card--featured { grid-column: span 2; } }
@media (max-width: 560px)  { .work-grid { grid-template-columns: 1fr; } .port-full-grid { grid-template-columns: 1fr; } .port-card--featured { grid-column: auto; } }

/* Homepage Featured Case Studies grid */
.portfolio-header { margin-bottom: var(--space-l); }
.portfolio-footer  { margin-top: var(--space-l); text-align: center; }

.portfolio-swiper { overflow: visible; }
.portfolio-swiper .swiper-wrapper { align-items: stretch; }
.portfolio-swiper .swiper-slide { height: auto; }
.portfolio-pagination { margin-top: var(--space-m) !important; }
.portfolio-pagination .swiper-pagination-bullet { background: var(--ink); opacity: 0.25; }
.portfolio-pagination .swiper-pagination-bullet-active { background: var(--red); opacity: 1; }
@media (min-width: 861px) { .portfolio-pagination { display: none !important; } }

/* Coloured top-accent bar per card */
.port-card--accent-red  { border-top: 4px solid var(--red); }
.port-card--accent-ink  { border-top: 4px solid var(--ink); }
.port-card--accent-green { border-top: 4px solid #1e8c5a; }

/* Large decorative index number inside the visual */
.port-idx {
  font-family: var(--numbers);
  font-size: 7rem;
  color: rgba(255,255,255,0.13);
  line-height: 1;
  position: absolute;
  bottom: 8px;
  left: 12px;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 860px) { .portfolio-swiper { overflow: hidden; } }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); align-items: center; }
.about-hero img { border: 2px solid var(--ink); border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: var(--shadow-md); }
.about-hero__content .eyebrow { margin-bottom: var(--space-s); }
.about-hero__content h2 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h1); text-transform: uppercase; margin-bottom: var(--space-s); }
.about-hero__content p  { font-size: var(--fs-lead); color: rgba(20,18,16,0.65); line-height: 1.65; margin-bottom: var(--space-m); }

.story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-l); align-items: center; }
.story-card-stack { position: relative; height: 360px; }
.story-card       { position: absolute; border: 2px solid var(--ink); border-radius: var(--radius); }
.story-card--back  { inset: 0;    background: var(--gray-100); transform: rotate(-5deg); }
.story-card--mid   { inset: 10px; background: var(--white);    transform: rotate(2deg); }
.story-card--front {
  inset: 20px; background: var(--white); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-m);
}
.story-card-icon { width: 52px; height: 52px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-xs); color: var(--white); flex-shrink: 0; }
.story-card--front h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }
.story-card--front p  { font-size: var(--fs-sm); color: rgba(20,18,16,0.6); margin-bottom: var(--space-s); }
.story-card-stat strong { font-family: var(--numbers); font-size: 2.5rem; color: var(--red); text-transform: uppercase; display: block; line-height: 1; }
.story-card-stat span   { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(20,18,16,0.5); }
.story-content p { font-size: 1rem; color: rgba(20,18,16,0.65); line-height: 1.75; margin-bottom: var(--space-s); }
.story-points    { display: flex; flex-direction: column; gap: 10px; margin-top: var(--space-m); }
.story-point     { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 600; }
.sp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.mission-card { background: var(--white); border-right: 2px solid var(--ink); padding: var(--space-m); border-top: 4px solid var(--red); transition: background var(--transition); }
.mission-card:last-child { border-right: none; }
.mission-card:hover { background: var(--gray-100); }
.mission-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-s); flex-shrink: 0; }
.mission-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.5em; }
.mission-card p  { font-size: 0.9rem; color: rgba(20,18,16,0.65); line-height: 1.65; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.why-item { padding: var(--space-m); border-right: 2px solid var(--ink); background: var(--white); transition: background var(--transition); }
.why-item:last-child { border-right: none; }
.why-item:hover  { background: var(--gray-100); }
.why-num  { font-family: var(--numbers); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 0.6em; }
.why-item h3 { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 0.5em; }
.why-item p  { font-size: 0.9rem; color: rgba(20,18,16,0.65); line-height: 1.65; }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 2px solid rgba(255,255,255,0.14); border-radius: var(--radius); overflow: hidden; }
.value-card { padding: var(--space-m); border-right: 2px solid rgba(255,255,255,0.12); border-bottom: 2px solid rgba(255,255,255,0.12); }
.value-card:nth-child(even) { border-right: none; }
.value-card:nth-last-child(-n+2) { border-bottom: none; }
.value-card .eyebrow { margin-bottom: 0.4em; }
.value-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.3em; }
.value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

@media (max-width: 860px) {
  .about-hero  { grid-template-columns: 1fr; }
  .story-grid  { grid-template-columns: 1fr; }
  .story-card-stack { display: none; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-card { border-right: none; border-bottom: 2px solid var(--ink); }
  .mission-card:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; border-bottom: 2px solid var(--ink); }
  .why-item:last-child { border-bottom: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 2px solid rgba(255,255,255,0.12); }
  .value-card:last-child { border-bottom: none; }
}

/* ════════════════════════════════════════════════════════════
   CAREERS
   ════════════════════════════════════════════════════════════ */
.job-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: var(--space-l); display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-l); align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.job-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow-lg); }
.job-card + .job-card { margin-top: var(--space-m); }
.job-card img { border: 2px solid var(--ink); border-radius: var(--radius); width: 100%; object-fit: cover; }
.job-card .eyebrow { margin-bottom: var(--space-s); }
.job-card h3 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h2); text-transform: uppercase; margin-bottom: var(--space-s); }
.job-card p  { font-size: 0.95rem; color: rgba(20,18,16,0.65); line-height: 1.65; margin-bottom: var(--space-s); }
.job-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5em; margin: var(--space-s) 0 var(--space-m); }
.job-card li { font-size: 0.9rem; color: rgba(20,18,16,0.65); display: flex; align-items: center; gap: 0.6em; }
.job-card li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.job-badge { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.4em 0.8em; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); margin-bottom: var(--space-xs); background: var(--white); }
.job-badge--open { border-color: var(--red); color: var(--red); }
@media (max-width: 860px) { .job-card { grid-template-columns: 1fr; } .job-card img { max-width: 320px; margin: 0 auto; } }

/* ════════════════════════════════════════════════════════════
   CONTACT (form variant)
   ════════════════════════════════════════════════════════════ */
.field { margin-bottom: var(--space-m); }
.field label { display: block; font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5em; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85em 1em; border: 2px solid var(--ink); border-radius: var(--radius);
  font-family: var(--body); font-size: 1rem; color: var(--ink); background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); box-shadow: 3px 3px 0 var(--red); }
.contact-info .item { margin-bottom: var(--space-m); }
.contact-info .eyebrow { margin-bottom: 0.4em; }
.contact-info a, .contact-info p { font-size: 1.1rem; color: rgba(20,18,16,0.65); }
.contact-info a:hover { color: var(--red); }

/* ════════════════════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-s); }
.blog-card {
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow-lg); }
.blog-card--featured { grid-column: span 2; }
.blog-card-img { height: 200px; position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.blog-card--featured .blog-card-img { height: 260px; }
.blog-img--1 { background: linear-gradient(135deg, var(--red) 0%, #f47c7c 100%); }
.blog-img--2 { background: linear-gradient(135deg, var(--ink) 0%, #3d3630 100%); }
.blog-img--3 { background: linear-gradient(135deg, #1e6b4a 0%, #4fc38a 100%); }
.blog-img--4 { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%); }
.blog-img--5 { background: linear-gradient(135deg, #3b5bdb 0%, #6c8ef5 100%); }
.blog-img--6 { background: linear-gradient(135deg, #5a5a5a 0%, #8a8a8a 100%); }
.blog-img-overlay { position: absolute; inset: 0; background: rgba(20,18,16,0.1); }
.blog-card-cat { position: absolute; top: var(--space-s); left: var(--space-s); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--white); color: var(--ink); border: 2px solid var(--ink); padding: 0.25em 0.6em; border-radius: var(--radius); }
.blog-card-body { padding: var(--space-s) var(--space-m); }
.blog-meta  { display: flex; gap: var(--space-s); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(20,18,16,0.4); margin-bottom: 0.5em; }
.blog-card-title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 0.5em; }
.blog-card--featured .blog-card-title { font-size: 1.7rem; }
.blog-card-excerpt { font-size: 0.9rem; color: rgba(20,18,16,0.6); line-height: 1.6; margin-bottom: var(--space-s); }
.blog-read-more { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); display: inline-flex; align-items: center; gap: 0.4em; transition: gap 0.2s; }
.blog-read-more:hover { gap: 0.8em; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } .blog-card--featured { grid-column: auto; } }

/* ════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════ */
.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--space-m); }
.error-page h1 { font-family: var(--numbers); font-size: clamp(4rem, 14vw, 9rem); text-transform: uppercase; color: var(--red); line-height: 0.9; margin: 0; }
.error-page h2 { font-family: var(--display); font-weight: 800; font-size: var(--fs-h2); text-transform: uppercase; margin: 0; }
.error-page p  { font-size: var(--fs-lead); color: rgba(20,18,16,0.6); max-width: 44ch; }

/* ════════════════════════════════════════════════════════════
   HOME — OUR VIDEOS Marquee
   ════════════════════════════════════════════════════════════ */

.videos-marquee-wrap {
  overflow: hidden;
  cursor: grab;
  margin-top: var(--space-l);
}
.videos-marquee-wrap:active { cursor: grabbing; }

/* Two groups side-by-side; animate by -(50% + half-gap) = one full group */
.videos-track {
  display: flex;
  gap: 16px;
  animation: vid-scroll 28s linear infinite;
  will-change: transform;
}
.videos-marquee-wrap:hover .videos-track {
  animation-play-state: paused;
}

@keyframes vid-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 8px)); }
}

/* Each group is a flex row of 10 cards */
.vid-group {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* Desktop: 6 cards visible
   Available width = min(1280px, 100vw) - 2×32px padding - 5×16px gaps
   = min(1280px, 100vw) - 144px  → ÷6 */
.vid-card {
  width: calc((min(1280px, 100vw) - 144px) / 5);
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Gradient fallback backgrounds */
.vid-card:nth-child(1),  .vid-card:nth-child(6)  { background: linear-gradient(135deg, var(--red)  0%, #a01010 100%); }
.vid-card:nth-child(2),  .vid-card:nth-child(7)  { background: linear-gradient(135deg, var(--ink)  0%, #2a2520 100%); }
.vid-card:nth-child(3),  .vid-card:nth-child(8)  { background: linear-gradient(135deg, #1a5c3a     0%, #0d3a22 100%); }
.vid-card:nth-child(4),  .vid-card:nth-child(9)  { background: linear-gradient(135deg, #2b4db5     0%, #1a3080 100%); }
.vid-card:nth-child(5),  .vid-card:nth-child(10) { background: linear-gradient(135deg, #b87210     0%, #7a4a08 100%); }

.vid-ratio {
  position: relative;
  padding-top: 177.78%; /* 9:16 reel */
}

.vid-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tablet: 4 cards
   Available = min(1280px, 100vw) - 64px padding - 3×16px gaps = … - 112px → ÷4 */
@media (max-width: 1024px) {
  .vid-card { width: calc((min(1280px, 100vw) - 112px) / 4); }
}

/* Mobile: 2 cards — container gutter is 1rem (16px) each side */
@media (max-width: 640px) {
  .vid-card { width: calc((100vw - 48px) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  .videos-track { animation-play-state: paused; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section-padding { padding: var(--space-l) 0; }
  .container { padding: 0 var(--space-s); }
  .page-banner { padding: var(--space-m) 0 var(--space-s); }
  .page-banner h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-band .btn-group { flex-direction: column; align-items: stretch; }
  .cta-band .btn-group .btn { justify-content: center; }
  .filter-btn { font-size: 0.68rem; padding: 0.4em 0.8em; }
}

/* ════════════════════════════════════════════════════════════
   HOME — Trust Stats (Section 1)
   ════════════════════════════════════════════════════════════ */
.trust-stats-head { text-align: center; margin: 0 auto var(--space-l); max-width: 100%; }
.trust-stats-head .section-label { justify-content: center; }
.trust-stats-head .section-title {
  margin-bottom: 0;
  font-size: clamp(0.95rem, 3vw, 1.5rem);
  font-weight: 700;
  white-space: nowrap;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-stat {
  padding: var(--space-l) var(--space-m);
  border-right: 2px solid var(--ink);
  text-align: center;
  transition: background var(--transition);
}
.trust-stat:last-child { border-right: none; }
.trust-stat:hover { background: var(--gray-100); }
.trust-stat-num {
  font-family: var(--numbers);
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.trust-stat-num span { color: var(--red); }
.trust-stat p { font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(20,18,16,0.55); }

@media (max-width: 980px) { .trust-stats-grid { grid-template-columns: repeat(2, 1fr); } .trust-stat:nth-child(2) { border-right: none; } }

/* Mobile: horizontal-scroll row of individual cards, matching the services card pattern */
@media (max-width: 640px) {
  .trust-stats-grid {
    display: flex;
    grid-template-columns: none;
    gap: var(--space-xs);
    border: none;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 4px 10px;
    margin: -4px -4px 0;
  }
  .trust-stats-grid::-webkit-scrollbar { display: none; }
  .trust-stat {
    flex: 0 0 calc((100% - 3 * var(--space-xs)) / 4);
    scroll-snap-align: start;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xs);
  }
  .trust-stat-num { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .trust-stat p { font-size: 0.6rem; line-height: 1.3; }
}

/* ════════════════════════════════════════════════════════════
   HOME — Value Prop (Section 2)
   ════════════════════════════════════════════════════════════ */
.value-prop-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}
.value-prop-inner .section-title { margin-bottom: 0; position: relative; }
.value-prop-inner .section-sub { text-align: center; max-width: 46ch; }

.vp-heading-img {
    position: absolute;
    right: -115px;
    top: -84px;
    width: 150px;
    height: auto;
    pointer-events: none;
    transform: rotate(100deg);
    filter: var(--image-shadow);
}
@media (max-width: 640px) {
  .vp-heading-img { width: 60px; right: -6px; top: -18px; }
}

.vp-word {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  transition: color 0.25s ease, -webkit-text-stroke-color 0.25s ease;
}
.vp-word.vp-lit {
  color: var(--red);
  -webkit-text-stroke: 1.5px var(--red);
}

/* ════════════════════════════════════════════════════════════
   HOME — Capabilities marquee (Section 3)
   ════════════════════════════════════════════════════════════ */
.capabilities.section-padding { padding: calc(var(--space-l) - 83px) 0; }

.capabilities-head { text-align: center; margin: 0 auto var(--space-l); max-width: 640px; }
.capabilities-head .section-label { justify-content: center; }
.capabilities-head .section-title { margin-bottom: 0; }

.cap-marquee {
  overflow: hidden;
  padding: 30px 0;
}
.cap-row--red {
  background: var(--red);
  width: 110%;
  margin: 0 -5% 26px;
  transform: rotate(-3deg);
  transform-origin: center;
  box-shadow: 0 4px 0 var(--ink);
}
.cap-row--black { background: var(--ink); }
.cap-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1.4em;
  margin: 6px 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  white-space: nowrap;
  transition: var(--transition);
}
.cap-chip:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   HOME — Challenges (Section 4)
   ════════════════════════════════════════════════════════════ */
.challenges-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.challenges-list {
  display: grid;
  gap: var(--space-s);
}

.challenges-media { display: grid; gap: var(--space-m); }
.challenges-media-img {
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.challenges-media-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.challenges-media-text .section-label,
.challenges-media-text .section-title { margin-bottom: 0; }
.challenges-media-text .section-title { margin-top: var(--space-xs); }

.challenge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem var(--space-m);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.challenge-item:hover {
  background: var(--gray-100);
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-md);
}
.challenge-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.challenge-item:hover .challenge-x { background: var(--red); color: var(--white); }
.challenges-footer {     display: flex; margin-top: 1rem; }

@media (max-width: 980px) {
  .challenges-split { grid-template-columns: 1fr; gap: var(--space-l); }
  .challenges-media { order: -1; }
}

/* ════════════════════════════════════════════════════════════
   HOME — 5-Card Services (Section 5)
   ════════════════════════════════════════════════════════════ */
.svc5-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-xs);
  margin-bottom: var(--space-s);
}
.svc5-arrow {
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.svc5-arrow:hover { background: var(--ink); color: var(--white); }
.svc5-arrow:disabled { opacity: 0.35; cursor: default; }
.svc5-arrow:disabled:hover { background: var(--white); color: var(--ink); }

.svc5-grid {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.svc5-grid::-webkit-scrollbar { display: none; }
/* Desktop: 3 cards visible
   Available width = min(1280px, 100vw) - 2×32px padding - 2×8px gaps */
.svc5-card {
  width: calc((min(1280px, 100vw) - 80px) / 3);
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: var(--space-m);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.svc5-card:hover { background: var(--gray-100); }
.svc5-img {
  width: 100%; height: 200px; object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: var(--space-s);
}
.svc5-tag {
  font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red); margin-bottom: 0.5em;
}
.svc5-card h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.2rem;
  text-transform: uppercase; margin-bottom: 0.5em; line-height: 1.1;
}
.svc5-card p { font-size: 0.9rem; color: rgba(20,18,16,0.65); line-height: 1.6; margin-bottom: var(--space-m); flex: 1; }

/* Tablet: 2 cards visible */
@media (max-width: 980px) {
  .svc5-card { width: calc((min(1280px, 100vw) - 72px) / 2); }
}

/* Mobile: 1 card visible — container gutter is 1rem (16px) each side */
@media (max-width: 640px) {
  .svc5-card { width: calc(100vw - 32px); }
}

/* ════════════════════════════════════════════════════════════
   HOME — Why Spread Your Brand (Section 6)
   ════════════════════════════════════════════════════════════ */
.why-spread-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-l);
}
.why-spread-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: var(--space-s); }
.why-spread-list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 700; }
.why-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-size: 0.8rem; font-weight: 900; flex-shrink: 0;
}
.why-spread-tagline {
  text-align: center;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  text-transform: uppercase;
  color: var(--white);
  padding-top: var(--space-l);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.why-spread-tagline em { font-style: normal; color: var(--red); }

@media (max-width: 860px) { .why-spread-grid { grid-template-columns: 1fr; gap: var(--space-l); } }

/* ════════════════════════════════════════════════════════════
   HOME — Comparison Table (Section 7)
   ════════════════════════════════════════════════════════════ */
.comparison-head { position: relative; text-align: center; margin: 0 auto var(--space-xl); max-width: 640px; }
.comparison-head .section-label { justify-content: center; }

.comp-heading {
  position: relative;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.comp-heading-red { color: var(--red); }

.comp-heading-img {
  position: absolute;
  left: 50%; top: 62%;
  transform: translate(-50%, -50%);
  width: 90px; height: auto;
  object-fit: cover;
  z-index: -999;
  pointer-events: none;
  filter: var(--image-shadow);
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.comparison-table:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-lg); }

.comp-col { padding: var(--space-l) var(--space-m); }
.comp-col--them { background: transparent; }
.comp-col--us   { background: transparent; }
.comp-col h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
  text-transform: uppercase; margin-bottom: var(--space-m);
}
.comp-col--them h3 { color: var(--white);  padding: 16px 32px; background: #000; border-radius: var(--radius); text-align: center; }
.comp-col--us h3   { color: var(--white); padding: 16px 32px; background: var(--red); border-radius: var(--radius); text-align: center;}
.comp-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.comp-col li {display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 9px 10px;
    border-radius: var(--radius);
    border: 1px solid #000;
    cursor: default;
    transition: transform var(--transition), background var(--transition), color var(--transition);}
.comp-col--them li { color: rgba(20,18,16,0.65); }
.comp-col--us li   { color: rgba(20,18,16,0.65); }
.comp-col li:hover { transform: translateX(4px); }
.comp-col--them li:hover { background: rgba(20,18,16,0.06); color: #000; }
.comp-col--us li:hover   { background: rgba(255,255,255,0.14); color: var(--red); }

.comp-x, .comp-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 900; flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.comp-x     { background: rgba(20,18,16,0.08); color: rgba(20,18,16,0.45); }
.comp-check { background: var(--white); color: var(--red); }
.comp-col--them li:hover .comp-x     { background: var(--ink); color: var(--white); }
.comp-col--us li:hover .comp-check   { transform: scale(1.15); box-shadow: 0 3px 10px rgba(0,0,0,0.25); }

@media (max-width: 768px) { .comparison-table { grid-template-columns: 1fr; } .comp-col--them { border-bottom: 2px solid var(--ink); } }

/* ════════════════════════════════════════════════════════════
   HOME — Industry Results (Section 8)
   ════════════════════════════════════════════════════════════ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-s);
  margin-bottom: var(--space-l);
}
.industry-card { grid-column: span 3; }
.industry-card:nth-child(n+5) { grid-column: span 4; }

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-m);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.industry-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.industry-card:hover::before { transform: scaleX(1); }

.industry-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; line-height: 1;
  background: #FDE9EA;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: var(--space-s);
  transition: transform var(--transition);
}
.industry-card:hover .industry-icon { transform: rotate(-6deg) scale(1.08); }

.industry-card h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  text-transform: uppercase; margin-bottom: var(--space-s); line-height: 1.1;
}
.industry-stats {
  margin-top: auto;
  padding-top: var(--space-s);
  border-top: 1px dashed rgba(20,18,16,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-s);
}
.industry-stat {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--numbers); font-size: 1.5rem; color: var(--red); line-height: 1.1;
}
.industry-stat span {
  font-family: var(--body); font-size: var(--fs-xs);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(20,18,16,0.5);
}

@media (max-width: 1024px) {
  .industry-card, .industry-card:nth-child(n+5) { grid-column: span 6; }
}

/* Phones: compact 2-up boxes */
@media (max-width: 600px) {
  .industry-grid { gap: 10px; }
  .industry-card, .industry-card:nth-child(n+5) { grid-column: span 6; padding: 14px; }
  .industry-card:last-child { grid-column: span 12; }
  .industry-icon {
    width: 38px; height: 38px;
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .industry-card h3 { font-size: 0.8rem; margin-bottom: 10px; }
  .industry-stats { padding-top: 10px; gap: 8px; }
  .industry-stat { font-size: 1.1rem; }
  .industry-stat span { font-size: 0.58rem; letter-spacing: 0.04em; }
}

/* ════════════════════════════════════════════════════════════
   CAREERS PAGE
   ════════════════════════════════════════════════════════════ */
.careers-status-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
}
.careers-status-inner .section-label { justify-content: center; }
.careers-status-inner .section-sub { text-align: center; }

.careers-apply-wrap { max-width: 640px; margin: var(--space-l) auto 0; }

/* Full-width hero image under the careers title */
.careers-hero-img {
  display: block;
  width: 100%;
  height: 50vh;
  object-fit: cover;
  margin-top: var(--space-m);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

/* "Apply Now" button shown before the form is revealed */
.careers-apply-cta { text-align: center; margin-top: var(--space-m); }
.apply-open { animation: applyIn 0.45s var(--ease) both; }
@keyframes applyIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ════════════════════════════════════════════════════════════
   SERVICE DETAIL — "OUR APPROACH" TABS
   ════════════════════════════════════════════════════════════ */
.svc-approach-head,
.svc-sub-head { text-align: center; }
.svc-approach-head .eyebrow,
.svc-sub-head .eyebrow { justify-content: center; }

.svc-approach-tabs {
  max-width: 880px;
  margin: var(--space-m) auto 0;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.svc-tab-btns { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--ink); }
.svc-tab-btn {
  flex: 1 1 25%;
  padding: 16px 18px;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--ink); background: var(--gray-100);
  border: none; border-right: 2px solid var(--ink);
  text-align: left; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.svc-tab-btn:last-child { border-right: none; }
.svc-tab-btn:hover { background: var(--red-light); }
.svc-tab-btn.active { background: var(--red); color: var(--white); }
.svc-tab-panel { display: none; padding: var(--space-m); }
.svc-tab-panel.active { display: block; animation: applyIn 0.35s var(--ease) both; }
.svc-tab-panel p { color: rgba(20, 18, 16, 0.7); line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   SERVICE DETAIL — SUB-SERVICES GRID
   ════════════════════════════════════════════════════════════ */
.svc-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  margin-top: var(--space-l);
}
.svc-sub-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--space-m);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.svc-sub-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-md); }
.svc-sub-icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-s);
  display: flex; align-items: center; justify-content: center;
  background: var(--red-light); color: var(--red);
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.svc-sub-card h3 {
  font-family: var(--display); font-weight: 800;
  font-size: 1.02rem; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.svc-sub-card p { font-size: var(--fs-sm); color: rgba(20, 18, 16, 0.65); line-height: 1.7; }

@media (max-width: 900px) {
  .svc-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-tab-btn { flex: 1 1 50%; border-bottom: 2px solid var(--ink); }
  .svc-tab-btns { border-bottom: none; margin-bottom: -2px; }
}
@media (max-width: 600px) {
  .svc-sub-grid { grid-template-columns: 1fr; }
  .svc-tab-btn { flex: 1 1 100%; border-right: none; }
}

/* ════════════════════════════════════════════════════════════
   WORD REVEAL — scroll-driven word-by-word title effect
   ════════════════════════════════════════════════════════════ */
.word-reveal em { font-style: normal; }
.word-reveal .st-word { color: rgba(20, 18, 16, 0.16); transition: color 0.4s ease; }
.word-reveal .st-word.on { color: var(--ink); }
.word-reveal .st-word.st-accent.on { color: var(--red); }
.word-reveal--light .st-word { color: rgba(255, 255, 255, 0.22); }
.word-reveal--light .st-word.on { color: var(--white); }
.word-reveal.st-stagger .st-word { transition-delay: calc(var(--st-i, 0) * 45ms); }

/* ════════════════════════════════════════════════════════════
   ABOUT — Why Choose Us: floating tag scene + numbered cards
   ════════════════════════════════════════════════════════════ */
.wy-scene-wrap { background: var(--white); position: relative; overflow: hidden; }

.wy-head { text-align: center; }
.wy-head .section-label { justify-content: center; }
.wy-head .section-title { margin-bottom: 14px; }
.wy-rule { display: flex; align-items: center; gap: 8px; justify-content: center; }
.wy-r-red { display: block; height: 5px; width: 52px;  background: var(--red); border-radius: 10px; }
.wy-r-ink { display: block; height: 5px; width: 110px; background: var(--ink); border-radius: 10px; }

/* Scene: tags float absolutely around centred image */
.wy-scene {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 30px 0 0;
}

.wy-tag {
  position: absolute; z-index: 20;
  display: inline-flex;
  background: var(--red); color: var(--white);
  padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--body);
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  white-space: nowrap;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.18);
  cursor: pointer;
}
.wy-tag.wy-active { background: var(--ink); border-color: var(--red); }

/* Longer labels (service pages): single-line chip, red fill */
.wy-tag--wrap {
  white-space: nowrap;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(20, 18, 16, 0.18);
}

/* Popup: opens under a clicked tag with its description */
.wy-pop {
  position: absolute; z-index: 40;
  max-width: 300px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 16px 18px;
  text-align: left;
  animation: wyPopIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.wy-pop h4 {
  font-family: var(--display); font-weight: 800; font-size: 0.9rem;
  text-transform: uppercase; color: var(--red); margin: 0 0 6px;
}
.wy-pop p { font-size: 0.88rem; line-height: 1.6; color: rgba(20,18,16,0.75); margin: 0; }
@keyframes wyPopIn {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}

/* Left tag positions */
.wy-tl-0 { left: 24%; top: 20%; }
.wy-tl-1 { left: 11%; top: 42%; }
.wy-tl-2 { left: 8%;  top: 64%; }
/* Right tag positions */
.wy-tr-0 { right: 24%; top: 20%; }
.wy-tr-1 { right: 11%; top: 42%; }
.wy-tr-2 { right: 8%;  top: 64%; }

.wy-center { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; }

.wy-photo {
  width: clamp(420px, 46vw, 620px); height: auto; display: block;
  object-fit: contain; object-position: bottom;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 98%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 98%);
  filter: var(--image-shadow);
}

/* Ink band with numbered cards */
.wy-band { padding: var(--space-l) 0; background: var(--ink); position: relative; overflow: hidden; }
.wy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.wy-card {
  border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.28s;
}
.wy-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.wy-card-head { background: var(--red); padding: 14px 22px; }
.wy-card-head span {
  font-family: var(--display); font-size: 1rem; font-weight: 800; color: var(--white);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.wy-card-body {
  background: var(--white); padding: 6px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 74px;
}
.wy-card-body p { font-size: 0.92rem; color: rgba(20,18,16,0.7); line-height: 1.6; font-weight: 500; margin: 0; flex: 1; }
.wy-card-num {
  font-family: var(--numbers); font-size: 3.2rem;
  color: var(--red); line-height: 1; opacity: 0.22; flex-shrink: 0; user-select: none;
}

/* ── Entrance animations: hidden until .wy-in is added by JS ── */
.wy-watch .wy-head { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.23,1,0.32,1); }
.wy-watch .wy-center { opacity: 0; transform: scale(0.93) translateY(20px); transition: opacity 0.85s ease 0.1s, transform 0.85s cubic-bezier(0.23,1,0.32,1) 0.1s; }
.wy-watch .wy-tag--l {
  opacity: 0; transform: translateX(-38px);
  transition: opacity 0.6s ease calc(var(--i, 0) * 0.12s),
              transform 0.6s cubic-bezier(0.23,1,0.32,1) calc(var(--i, 0) * 0.12s);
}
.wy-watch .wy-tag--r {
  opacity: 0; transform: translateX(56px) scale(0.82);
  transition: opacity 0.55s ease calc(var(--i, 0) * 0.15s),
              transform 0.65s cubic-bezier(0.34,1.56,0.64,1) calc(var(--i, 0) * 0.15s);
}
.wy-watch .wy-card {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease calc(var(--i, 0) * 0.1s),
              transform 0.6s cubic-bezier(0.23,1,0.32,1) calc(var(--i, 0) * 0.1s);
}
.wy-watch.wy-in .wy-head,
.wy-watch.wy-in .wy-center,
.wy-watch.wy-in .wy-tag--l,
.wy-watch.wy-in .wy-tag--r,
.wy-watch.wy-in .wy-card { opacity: 1; transform: none; }

/* After reveal: glow pulses (JS drives scroll-linked movement) */
.wy-in .wy-tag { transition: opacity 0.6s ease, box-shadow 0.28s; }
.wy-in .wy-tl-0 { animation: wyTagGlow 2.8s ease-in-out 0s   infinite; }
.wy-in .wy-tl-1 { animation: wyTagGlow 2.5s ease-in-out 0.4s infinite; }
.wy-in .wy-tl-2 { animation: wyTagGlow 3.1s ease-in-out 1.3s infinite; }
.wy-in .wy-tr-0 { animation: wyTagGlow 2.6s ease-in-out 0.2s infinite; }
.wy-in .wy-tr-1 { animation: wyTagGlow 2.9s ease-in-out 0.7s infinite; }
.wy-in .wy-tr-2 { animation: wyTagGlow 2.3s ease-in-out 1.1s infinite; }
.wy-in .wy-tag:hover,
.wy-in .wy-tag.wy-active {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-4px) !important;
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.28s;
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.5) !important;
  z-index: 30;
}
.wy-in .wy-card { transition: transform 0.28s cubic-bezier(0.23,1,0.32,1), box-shadow 0.28s; }

@keyframes wyTagBob {
  0%,100% { transform: translateY(0);    box-shadow: 0 4px 16px rgba(227,6,19,0.22); }
  50%     { transform: translateY(-6px); box-shadow: 0 10px 22px rgba(227,6,19,0.38); }
}
@keyframes wyTagGlow {
  0%,100% { box-shadow: 0 4px 16px rgba(227,6,19,0.22); }
  50%     { box-shadow: 0 6px 26px rgba(227,6,19,0.5), 0 0 0 6px rgba(227,6,19,0.1); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .wy-scene {
    flex-direction: row; flex-wrap: wrap;
    justify-content: center; align-items: flex-end;
    min-height: unset; gap: 10px; padding: 16px 0 28px;
  }
  .wy-tl-0, .wy-tl-1, .wy-tl-2,
  .wy-tr-0, .wy-tr-1, .wy-tr-2 { position: static; margin: 4px; }
  .wy-center { order: 0; width: 100%; justify-content: center; margin: 0 0 14px; }
  .wy-photo { width: min(68vw, 420px); }
  .wy-tag--l, .wy-tag--r { order: 1; }
  /* Popup flows full-width below the tag chips */
  .wy-pop {
    position: static; order: 2;
    width: 100%; max-width: 100%;
    margin-top: 10px;
    box-shadow: 4px 4px 0 var(--ink);
  }
}
@media (max-width: 640px) {
  .wy-scene { gap: 8px; padding: 12px 0 24px; }
  .wy-photo { width: 90vw; max-width: 340px; }
  .wy-tag {
    padding: 9px 14px; font-size: 0.72rem;
    border-width: 2px; box-shadow: none;
  }
  .wy-in .wy-tl-0, .wy-in .wy-tl-1, .wy-in .wy-tl-2,
  .wy-in .wy-tr-0, .wy-in .wy-tr-1, .wy-in .wy-tr-2 { animation: none; }
  .wy-grid { grid-template-columns: 1fr; }
  .wy-card-num { font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wy-watch .wy-head, .wy-watch .wy-center, .wy-watch .wy-tag--l,
  .wy-watch .wy-tag--r, .wy-watch .wy-card { opacity: 1; transform: none; transition: none; }
  .wy-in .wy-tag { animation: none !important; }
}
