/** Shopify CDN: Minification failed

Line 1673:13 Expected identifier but found whitespace
Line 1673:27 Unexpected "0.2s"

**/
/* ============================================================
   AGENCY HOMEPAGE — Complete Stylesheet
   Professional & Corporate + Clean & Minimal
   Color variables defined in agency.css (loaded globally)
   ============================================================ */

/* ------------------------------------------------------------
   0. COMMON PATTERNS
   ------------------------------------------------------------ */

/* ==========================================================
   Section rhythm — each section as a dark rounded card
   ========================================================== */

/* Force no horizontal overflow */
html, body {
  overflow-x: hidden !important;
}


/* ── Main section card wrappers ── */
/* Override CSS variables for dark-mode sections so ALL child elements
   that use var(--text), var(--panel), var(--bg), etc. automatically
   get dark-friendly values without needing individual class overrides. */
.agency-services,
.agency-products,
.agency-process,
.agency-portfolio,
.agency-testimonials,
.agency-resources,
.agency-cta {
  --text: #ffffff;
  --text2: rgba(255, 255, 255, 0.6);
  --muted: rgba(255, 255, 255, 0.5);
  --panel: transparent;
  --bg: #0a1a10;
  --border: rgba(34, 197, 94, 0.1);
  --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: #050d08 !important;
  border-radius: 14px;
  margin-bottom: 3px;
  box-sizing: border-box;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.06);
  border-top: none !important;
}

/* Reduce large section padding — override inline section-*-padding styles */
.agency-services[class*="section-"],
.agency-products[class*="section-"],
.agency-process[class*="section-"],
.agency-portfolio[class*="section-"],
.agency-testimonials[class*="section-"],
.agency-resources[class*="section-"],
.agency-cta[class*="section-"] {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* Labels / eyebrow text — accent green */
.agency-services .agency-services__label,
.agency-products .agency-products__label,
.agency-process .agency-process__label,
.agency-portfolio .agency-portfolio__label,
.agency-testimonials .agency-testimonials__label,
.agency-resources .agency-resources__label {
  color: #22C55E !important;
}

/* Intro / body text */
.agency-services .agency-services__intro,
.agency-products .agency-products__intro,
.agency-process .agency-process__intro,
.agency-portfolio .agency-portfolio__intro,
.agency-testimonials .agency-testimonials__intro,
.agency-resources .agency-resources__intro {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Cards inside dark sections ── */
.agency-testimonials .agency-testimonials__card,
.agency-resources .agency-resources__card,
.agency-portfolio .agency-portfolio__card {
  background: transparent !important;
  border: none !important;
  border-radius: 14px !important;
}

.agency-products .agency-products__card {
  background: transparent !important;
  border-radius: 14px !important;
}

.agency-services .agency-services__card {
  background: transparent !important;
  border: 1px solid rgba(34, 197, 94, 0.15) !important;
  border-radius: 14px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.agency-services .agency-services__card:hover {
  border-color: rgba(34, 197, 94, 0.5) !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.1) !important;
}

.agency-testimonials .agency-testimonials__card:hover,
.agency-resources .agency-resources__card:hover,
.agency-portfolio .agency-portfolio__card:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Card accent elements */
.agency-services__icon,
.agency-services__arrow,
.agency-products__cta,
.agency-resources__card-link {
  color: #22C55E !important;
}

/* Products extras */
.agency-products__image-wrap { background: #0a2e18 !important; }
.agency-products__badge { background: rgba(34, 197, 94, 0.85); color: #fff; }
.agency-products__stars { color: #FBBF24 !important; }
.agency-products__reviews { color: rgba(255, 255, 255, 0.5) !important; }

/* Testimonial extras */
.agency-testimonials__role,
.agency-testimonials__company {
  color: rgba(255, 255, 255, 0.5) !important;
}
.agency-testimonials__stars { color: #FBBF24 !important; }
.agency-testimonials__arrow {
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.agency-testimonials__arrow:hover {
  border-color: #22C55E !important;
  color: #22C55E !important;
}

/* Resources/blog extras */
.agency-resources__image,
.agency-resources__image-placeholder {
  background: #0a2e18 !important;
}
.agency-resources__card-meta { color: rgba(255, 255, 255, 0.45) !important; }
.agency-resources .agency-resources__cta {
  color: #22C55E !important;
}

/* Process section */
.agency-process__number {
  color: #22C55E !important;
  border: 1.5px solid #22C55E !important;
  background: #0a1a10 !important;
}
.agency-process__connector { background: rgba(34, 197, 94, 0.15) !important; }

/* ── Portfolio extras ── */
.agency-portfolio .agency-portfolio__logo-wrap {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.agency-portfolio .agency-portfolio__category {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.2);
}
.agency-portfolio .agency-portfolio__link { color: #22C55E !important; }
.agency-portfolio .agency-portfolio__link--disabled { color: rgba(34, 197, 94, 0.4); }
.agency-portfolio .agency-portfolio__cta .button--primary {
  background: #22C55E; color: #052415;
}
.agency-portfolio .agency-portfolio__cta .button--primary:hover {
  background: #1ea34e;
}

/* ── Pin-spacer full width fix ── */
.pin-spacer {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin-top: 1rem !important;

  margin-bottom: 1rem !important;
  margin-left: 1rem !important;
  padding-right: 2rem !important;
  padding-left: 0rem !important;
    
}

#shopify-section-agency-home-cta .agency-cta{
  margin-bottom: 1rem !important;
  margin-left: 1rem !important;
  margin-right: 1rem !important;
  padding-right: 2rem !important;
  padding-left: 0rem !important;
}
.pin-spacer > .agency-services,
.pin-spacer > .agency-products,
.pin-spacer > .agency-process,
.pin-spacer > .agency-portfolio,
.pin-spacer > .agency-testimonials,
.pin-spacer > .agency-resources,
.pin-spacer > .agency-cta {
  left: 0 !important;
  right: 0 !important;
  background: #050d08 !important;
  box-sizing: border-box;
}

/* ── Sticky Stack scroll effect ── */
@media screen and (min-width: 750px) {
  .agency-services,
  .agency-products,
  .agency-process,
  .agency-testimonials,
  .agency-resources,
  .agency-cta {
    will-change: transform, filter;
    transform-origin: center top;
    min-height: 100vh;
  }

  .agency-portfolio {
    will-change: transform, filter;
    transform-origin: center top;
  }
}

/* Services tags on dark bg */
.agency-services__tag {
  background: rgba(34, 197, 94, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.agency-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* — Primary Button — */
.agency-btn--primary {
  display: inline-block;
  background: #052415;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.agency-btn--primary:hover {
  background: #0a3520;
  transform: translateY(-1px);
}

/* — Secondary Button — */
.agency-btn--secondary {
  display: inline-block;
  background: transparent;
  color: var(--text, #052415);
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.agency-btn--secondary:hover {
  color: #052415;
  opacity: 0.7;
  transform: translateY(-1px);
}


/* ============================================================
   1. HERO
   ============================================================ */

/* ---- Hero base ---- */
.agency-hero {
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* ---- Dark hero variant ---- */
.agency-hero--dark {
  background: #050d08 !important;
  color: #e2e8f0 !important;
}

.agency-hero--dark .agency-hero__badge {
  color: #22C55E;
  border-color: rgba(34,197,94,0.25);
  background: rgba(34,197,94,0.06);
}
.agency-hero--dark .agency-hero__title { color: #ffffff; }
.agency-hero--dark .agency-hero__subtitle { color: rgba(226,232,240,0.7); }
.agency-hero--dark .agency-hero__stat-value { color: #22C55E; }
.agency-hero--dark .agency-hero__stat-label { color: rgba(226,232,240,0.6); }
.agency-hero--dark .agency-hero__stat-divider { background: rgba(34,197,94,0.15); }
.agency-hero--dark .agency-btn--secondary-dark { color: #e2e8f0; border-color: rgba(226,232,240,0.2); }
.agency-hero--dark .agency-btn--secondary-dark:hover { border-color: #22C55E; color: #22C55E; }

/* Animated grid background */
.agency-hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-scroll 20s linear infinite;
}
@keyframes grid-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

/* CRT scanline */
.agency-hero__scanline {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
}

/* Split layout */
.agency-hero__split {
  display: flex; align-items: center; gap: 60px; position: relative; z-index: 1;
}
.agency-hero__content {
  flex: 1; min-width: 0; max-width: 540px;
}

/* ---- Hero text elements ---- */
.agency-hero__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent, #22C55E);
  border: 1px solid var(--border); border-radius: 100px; padding: 8px 20px; margin-bottom: 32px;
}
.agency-hero__title {
  font-family: var(--font-sans); font-size: 52px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1; max-width: 800px; margin: 0 0 24px; color: var(--text);
}
.agency-hero__subtitle {
  font-family: var(--font-serif); font-size: 17px; color: var(--text2);
  line-height: 1.7; max-width: 480px; margin: 0 0 32px;
}
.agency-hero__cta {
  display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; align-items: center;
}
.agency-hero__trust {
  display: flex; gap: 28px; justify-content: flex-start; margin-top: 40px; flex-wrap: wrap; align-items: center;
}
.agency-hero__stat { display: flex; align-items: center; gap: 8px; }
.agency-hero__stat-value { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--text); }
.agency-hero__stat-label { font-size: 14px; color: var(--text2); }
.agency-hero__stat-divider { width: 1px; height: 28px; background: var(--border); }

/* ---- Play Game Button ---- */
.agency-hero__play-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 600;
  letter-spacing: 0.5px; color: #22C55E;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px; padding: 10px 22px; cursor: pointer;
  transition: all 0.25s ease;
}
.agency-hero__play-btn:hover {
  background: rgba(34,197,94,0.15); border-color: #22C55E;
  box-shadow: 0 0 20px rgba(34,197,94,0.15);
}
.agency-hero__play-btn svg { flex-shrink: 0; }

/* ============================================================
   APPS SLIDER (right side of hero)
   ============================================================ */
.agency-hero__apps {
  flex: 1; min-width: 0; max-width: 500px; position: relative; overflow: hidden;
}

.agency-hero__apps-track {
  display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.agency-hero__app-slide {
  flex: 0 0 100%; min-width: 0; padding: 0 4px;
}

.agency-hero__app-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(34,197,94,0.1);
  border-radius: 14px; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.agency-hero__app-card:hover {
  border-color: rgba(34,197,94,0.25);
  box-shadow: 0 8px 40px rgba(34,197,94,0.06);
}

.agency-hero__app-img-wrap {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #0a0f0a;
}
.agency-hero__app-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.agency-hero__app-card:hover .agency-hero__app-img {
  transform: scale(1.03);
}
.agency-hero__app-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: rgba(34,197,94,0.3);
}
.agency-hero__app-badge {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 600;
  color: #fff; background: rgba(34,197,94,0.85); padding: 4px 10px;
  border-radius: 100px; letter-spacing: 0.5px;
}

.agency-hero__app-info {
  padding: 20px;
}
.agency-hero__app-name {
  font-family: var(--font-sans); font-size: 18px; font-weight: 700;
  color: #fff; margin: 0 0 8px; line-height: 1.3;
}
.agency-hero__app-desc {
  font-size: 13px; color: rgba(226,232,240,0.55); line-height: 1.6;
  margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.agency-hero__app-rating {
  display: inline-block; font-size: 12px; color: #FBBF24;
  margin-bottom: 12px; font-weight: 600;
}
.agency-hero__app-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: #22C55E; text-decoration: none; transition: gap 0.2s;
}
.agency-hero__app-cta:hover { gap: 10px; }
.agency-hero__app-cta svg { transition: transform 0.2s; }
.agency-hero__app-cta:hover svg { transform: translateX(2px); }

/* Slider nav dots */
.agency-hero__apps-nav {
  display: flex; justify-content: center; gap: 8px; margin-top: 16px;
}
.agency-hero__apps-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  background: rgba(34,197,94,0.2); cursor: pointer;
  transition: all 0.3s ease;
}
.agency-hero__apps-dot.is-active {
  background: #22C55E; width: 24px; border-radius: 4px;
}

/* ============================================================
   GAME MODAL (fullscreen overlay)
   ============================================================ */
.agency-hero__game-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.agency-hero__game-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
}
.agency-hero__game-modal-inner {
  position: relative; z-index: 1; width: 90%; max-width: 520px;
}

/* Terminal window */
.agency-hero__terminal {
  width: 100%; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(34,197,94,0.15);
  box-shadow: 0 0 80px rgba(34,197,94,0.1), 0 20px 60px rgba(0,0,0,0.5);
}
.agency-hero__terminal-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: #0d1610; border-bottom: 1px solid rgba(34,197,94,0.1);
}
.agency-hero__terminal-dots { display: flex; gap: 6px; }
.agency-hero__terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.agency-hero__terminal-dot--red { background: #EF4444; }
.agency-hero__terminal-dot--yellow { background: #FBBF24; }
.agency-hero__terminal-dot--green { background: #22C55E; }
.agency-hero__terminal-title {
  font-family: var(--font-mono, monospace); font-size: 12px;
  color: rgba(34,197,94,0.6); flex: 1; text-align: center;
}
.agency-hero__terminal-hud { display: flex; align-items: center; gap: 12px; }
.agency-hero__terminal-score {
  font-family: var(--font-mono, monospace); font-size: 13px; color: #22C55E; letter-spacing: 1px;
}
.agency-hero__terminal-score strong { color: #fff; font-weight: 700; }
.agency-hero__terminal-lives { font-size: 12px; color: #EF4444; letter-spacing: 2px; }

.agency-hero__game-close {
  background: none; border: none; color: rgba(226,232,240,0.5);
  font-size: 22px; cursor: pointer; padding: 0 4px; line-height: 1;
  transition: color 0.2s;
}
.agency-hero__game-close:hover { color: #EF4444; }

.agency-hero__terminal-body {
  position: relative; background: #0a0f0a;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; max-height: 500px;
}
.agency-hero__terminal-body canvas { display: block; }

/* Game overlays */
.agency-hero__game-overlay,
.agency-hero__game-over,
.agency-hero__game-win {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: rgba(7,12,8,0.88); z-index: 5; gap: 14px; cursor: pointer;
}
.agency-hero__game-start { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.agency-hero__game-icon { animation: icon-float 3s ease-in-out infinite; }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.agency-hero__game-label {
  font-family: var(--font-mono, monospace); font-size: 22px; font-weight: 700;
  color: #fff; letter-spacing: 3px; text-shadow: 0 0 20px rgba(34,197,94,0.4);
}
.agency-hero__game-prompt {
  font-family: var(--font-mono, monospace); font-size: 14px; color: #22C55E;
  animation: blink-cursor 1s step-end infinite; letter-spacing: 1px;
}
@keyframes blink-cursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.agency-hero__game-subtext {
  font-family: var(--font-mono, monospace); font-size: 11px;
  color: rgba(226,232,240,0.4); letter-spacing: 0.5px;
}
.agency-hero__game-over-text {
  font-family: var(--font-mono, monospace); font-size: 22px; font-weight: 700;
  color: #EF4444; letter-spacing: 3px; text-shadow: 0 0 20px rgba(239,68,68,0.5);
}
.agency-hero__game-win-text {
  font-family: var(--font-mono, monospace); font-size: 22px; font-weight: 700;
  color: #22C55E; letter-spacing: 3px; text-shadow: 0 0 20px rgba(34,197,94,0.5);
}
.agency-hero__game-over-score {
  font-family: var(--font-mono, monospace); font-size: 16px; color: #e2e8f0;
}
.agency-hero__game-over-score strong { color: #22C55E; }

/* ---- Responsive ---- */
@media screen and (max-width: 989px) {
  .agency-hero__split { flex-direction: column; text-align: center; gap: 40px; }
  .agency-hero__content { max-width: 100%; }
  .agency-hero__title { margin: 0 auto 24px; }
  .agency-hero__subtitle { margin: 0 auto 32px; max-width: 600px; }
  .agency-hero__cta { justify-content: center; }
  .agency-hero__trust { justify-content: center; }
  .agency-hero__apps { max-width: 400px; margin: 0 auto; }
}

@media screen and (max-width: 749px) {
  .agency-hero__title { font-size: 34px; }
  .agency-hero__stat-divider { display: none; }
  .agency-hero__trust { gap: 20px; margin-top: 32px; }
  .agency-hero__apps { max-width: 100%; }
  .agency-hero__app-info { padding: 16px; }
  .agency-hero__app-name { font-size: 16px; }
  .agency-hero__game-modal-inner { width: 95%; max-width: 360px; }
  .agency-hero__terminal-body { max-height: 360px; }
}


/* ============================================================
   2. MARQUEE
   ============================================================ */

.agency-marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agency-marquee__header {
  margin-bottom: 24px;
}

.agency-marquee__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  display: block;
}

.agency-marquee__wrap {
  overflow: hidden;
  position: relative;
}

.agency-marquee__wrap::before,
.agency-marquee__wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 2;
  pointer-events: none;
}

.agency-marquee__wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.agency-marquee__wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.agency-marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.agency-marquee__item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.agency-marquee__pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text2);
  white-space: nowrap;
  transition: border-color 0.2s ease;
}

.agency-marquee__pill:hover {
  border-color: var(--text);
}

.agency-marquee__pill img,
.agency-marquee__logo {
  height: 20px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}


/* ============================================================
   3. SERVICES
   ============================================================ */

/* Services split layout */
.agency-services__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
  .agency-services__split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
    padding: 0 5rem;
  }
}

.agency-services__header {
  text-align: left;
  margin-bottom: 0;
}

@media screen and (min-width: 750px) {
  .agency-services__header {
    position: sticky;
    top: 100px;
  }
}

.agency-services__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-services__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.agency-services__intro {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 500px;
}

.agency-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.agency-services__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-services__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.agency-services__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.agency-services__icon-wrap svg,
.agency-services__icon {
  width: 24px;
  height: 24px;
}

.agency-services__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.agency-services__desc {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.agency-services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.agency-services__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--muted);
  letter-spacing: 0.5px;
}

@media screen and (max-width: 749px) {
  .agency-services__header {
    text-align: center;
    margin-bottom: 24px;
  }

  .agency-services__intro {
    margin: 0 auto;
  }

  .agency-services__heading {
    font-size: 28px;
  }
}


/* ============================================================
   4. PRODUCTS
   ============================================================ */

.agency-products__header {
  text-align: center;
  margin-bottom: 64px;
}

.agency-products__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-products__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.agency-products__intro {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.agency-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agency-products__card {
  background: var(--panel);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  animation: product-card-glow 3s ease-in-out infinite;
}

@keyframes product-card-glow {
  0%, 100% {
    border-color: rgba(34, 197, 94, 0.15);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0);
  }
  50% {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
  }
}

.agency-products__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.agency-products__image-wrap {
  aspect-ratio: 16 / 9;
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.agency-products__image-wrap img,
.agency-products__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agency-products__image-placeholder {
  color: var(--muted);
  opacity: 0.4;
}

.agency-products__image-placeholder svg {
  width: 48px;
  height: 48px;
}

.agency-products__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.agency-products__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.agency-products__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.agency-products__desc {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.agency-products__price {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.agency-products__rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 16px;
}

.agency-products__stars {
  font-family: var(--font-sans);
  font-size: var(--meta);
  font-weight: 700;
  color: #f59e0b;
}

.agency-products__reviews {
  font-family: var(--font-mono);
  font-size: var(--caption);
  color: var(--muted);
}

.agency-products__cta {
  display: block;
  text-align: center;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #052415;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.agency-products__cta:hover {
  background: #0a3520;
  color: #fff;
}

.agency-products__cta--disabled {
  opacity: 0.5;
  cursor: default;
  background: var(--border);
  color: var(--text);
}

.agency-products__cta--disabled:hover {
  background: var(--border);
  color: var(--text);
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .agency-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .agency-products__grid {
    grid-template-columns: 1fr;
  }

  .agency-products__header {
    margin-bottom: 40px;
  }

  .agency-products__heading {
    font-size: 28px;
  }
}


/* ============================================================
   5. PROCESS
   ============================================================ */

.agency-process__header {
  text-align: center;
  margin-bottom: 64px;
}

.agency-process__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-process__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.agency-process__timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.agency-process__step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 160px;
}

.agency-process__number-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.agency-process__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  transition: all 0.3s ease;
}

.agency-process__step:hover .agency-process__number {
  border-color: var(--accent);
  color: var(--accent);
}

.agency-process__connector {
  position: absolute;
  top: 24px;
  left: calc(50% + 28px);
  right: -100%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.agency-process__step-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.agency-process__step-desc {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

@media screen and (max-width: 749px) {
  .agency-process__header {
    margin-bottom: 40px;
  }

  .agency-process__heading {
    font-size: 28px;
  }

  .agency-process__timeline {
    flex-direction: column;
    gap: 32px;
    padding-left: 32px;
  }

  .agency-process__step {
    text-align: left;
    max-width: none;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .agency-process__number-wrap {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .agency-process__connector {
    display: none;
  }

  .agency-process__step-content {
    flex: 1;
  }
}


/* ============================================================
   6. PORTFOLIO
   ============================================================ */

/* Portfolio split layout */
.agency-portfolio__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
  .agency-portfolio__split {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
    padding: 0 5rem;
  }
}

.agency-portfolio__header {
  text-align: left;
  margin-bottom: 0;
}

@media screen and (min-width: 750px) {
  .agency-portfolio__header {
    position: sticky;
    top: 100px;
  }
}

.agency-portfolio__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-portfolio__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.agency-portfolio__intro {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 500px;
}

.agency-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.agency-portfolio__card {
  background: var(--panel);
  border-radius: 16px;
  overflow: visible;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 0;
}

.agency-portfolio__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: conic-gradient(
    from var(--portfolio-border-angle, 0deg),
    transparent 40%,
    #22C55E 50%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: portfolio-border-rotate 4s linear infinite;
  z-index: -1;
}

@property --portfolio-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes portfolio-border-rotate {
  to { --portfolio-border-angle: 360deg; }
}

.agency-portfolio__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Full image cards */
.agency-portfolio__image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(34,197,94,0.05), rgba(5,36,21,0.03));
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-portfolio__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.agency-portfolio__card:hover .agency-portfolio__image {
  transform: scale(1.03);
}

/* Logo cards — compact centered strip */
.agency-portfolio__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
}

.agency-portfolio__logo {
  max-width: 150px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.agency-portfolio__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, #052415 0%, #0a3520 40%, #0d4428 100%);
  color: rgba(255, 255, 255, 0.9);
}

.agency-portfolio__placeholder-category {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 100px;
}

.agency-portfolio__placeholder-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  max-width: 200px;
  text-align: center;
  line-height: 1.3;
}

.agency-portfolio__content {
  padding: 24px;
}

.agency-portfolio__category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.agency-portfolio__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.agency-portfolio__desc {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.agency-portfolio__link {
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.agency-portfolio__link:hover {
  gap: 10px;
}

.agency-portfolio__link--disabled {
  opacity: 0.5;
  cursor: default;
}

.agency-portfolio__cta {
  text-align: center;
  margin-top: 48px;
}

.agency-portfolio__cta .button--primary {
  display: inline-block;
  background: #052415;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: none !important;
}

.agency-portfolio__cta .button--primary::after,
.agency-portfolio__cta .button--primary::before {
  content: none !important;
  box-shadow: none !important;
}

.agency-portfolio__cta .button--primary:hover {
  background: #0a3520;
  transform: translateY(-1px);
}

@media screen and (max-width: 749px) {
  .agency-portfolio__grid {
    grid-template-columns: 1fr;
  }

  .agency-portfolio__header {
    text-align: center;
    margin-bottom: 24px;
  }

  .agency-portfolio__intro {
    margin: 0 auto;
  }

  .agency-portfolio__heading {
    font-size: 28px;
  }
}


/* ============================================================
   7. METRICS
   ============================================================ */

.agency-metrics {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agency-metrics__header {
  text-align: center;
  margin-bottom: 48px;
}

.agency-metrics__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-metrics__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.agency-metrics__row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.agency-metrics__stat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  max-width: 240px;
}

.agency-metrics__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.agency-metrics__value {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.agency-metrics__stat-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text2);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

@media screen and (max-width: 749px) {
  .agency-metrics__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .agency-metrics__stat {
    padding: 0;
    max-width: none;
  }

  .agency-metrics__divider {
    display: none;
  }

  .agency-metrics__value {
    font-size: 36px;
  }

  .agency-metrics__heading {
    font-size: 28px;
  }
}


/* ============================================================
   8. TESTIMONIALS
   ============================================================ */

.agency-testimonials__header {
  text-align: center;
  margin-bottom: 24px;
}

.agency-testimonials__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-testimonials__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* — Marquee — */
.agency-testimonials__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.agency-testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonials-scroll var(--marquee-speed, 40s) linear infinite;
}

.agency-testimonials__marquee:hover .agency-testimonials__track {
  animation-play-state: paused;
}

@keyframes testimonials-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* — Card — */
.agency-testimonials__card {
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 28px;
  box-sizing: border-box;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 0;
}

/* Rotating gradient border */
.agency-testimonials__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: conic-gradient(
    from var(--testimonial-border-angle, 0deg),
    transparent 40%,
    #22C55E 50%,
    transparent 60%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: testimonial-border-rotate 4s linear infinite;
  z-index: -1;
}

@property --testimonial-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes testimonial-border-rotate {
  to { --testimonial-border-angle: 360deg; }
}
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.agency-testimonials__card:hover {
  border-color: var(--accent, #22C55E);
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.08);
}

.agency-testimonials__quote {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text2, #0a3520);
  line-height: 1.7;
  flex: 1;
}

.agency-testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agency-testimonials__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft, rgba(34,197,94,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agency-testimonials__initials {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent, #22C55E);
}

.agency-testimonials__meta {
  min-width: 0;
}

.agency-testimonials__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #052415);
}

.agency-testimonials__role {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--muted, #0d4428);
}

.agency-testimonials__rating {
  display: flex;
  gap: 2px;
}

.agency-testimonials__star {
  width: 14px;
  height: 14px;
  color: var(--border, rgba(5,36,21,0.10));
}

.agency-testimonials__star.is-filled {
  color: #facc15;
}

@media screen and (max-width: 749px) {
  .agency-testimonials__header {
    margin-bottom: 20px;
  }

  .agency-testimonials__heading {
    font-size: 28px;
  }

  .agency-testimonials__card {
    width: 300px;
    padding: 24px;
  }
}

.agency-testimonials__arrow:hover {
  border-color: var(--text);
}

.agency-testimonials__arrow svg {
  width: 16px;
  height: 16px;
}

@media screen and (min-width: 990px) {
  .agency-testimonials__controls {
    display: none;
  }
}


/* ============================================================
   9. TEAM
   ============================================================ */

.agency-team__header {
  text-align: center;
  margin-bottom: 64px;
}

.agency-team__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-team__heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.agency-team__intro {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.agency-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.agency-team__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-team__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.agency-team__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
}

.agency-team__avatar img,
.agency-team__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agency-team__initials {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.agency-team__name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.agency-team__role {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 12px;
}

.agency-team__bio {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .agency-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .agency-team__grid {
    grid-template-columns: 1fr;
  }

  .agency-team__header {
    margin-bottom: 40px;
  }

  .agency-team__heading {
    font-size: 28px;
  }
}


/* ============================================================
   9B. RESOURCES / BLOG (matches team card design)
   ============================================================ */

.agency-resources__header {
  text-align: center;
  margin-bottom: 64px;
}

.agency-resources__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent, #22C55E);
  display: block;
  margin-bottom: 16px;
}

.agency-resources__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.agency-resources__intro {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.agency-resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agency-resources__card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.agency-resources__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.agency-resources__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.agency-resources__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.agency-resources__card:hover .agency-resources__img {
  transform: scale(1.03);
}

.agency-resources__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* No-image blog cards: gradient accent strip at top */
.agency-resources__card--no-image {
  position: relative;
  overflow: hidden;
}

.agency-resources__card--no-image::before {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #22C55E, #052415);
  border-radius: 16px 16px 0 0;
}

.agency-resources__card--no-image .agency-resources__content {
  padding-top: 32px;
  padding-bottom: 32px;
}

.agency-resources__content {
  padding: 24px;
}

.agency-resources__card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.agency-resources__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.agency-resources__cta {
  text-align: center;
  margin-top: 48px;
}

.agency-resources__cta .button--primary {
  display: inline-block;
  background: #052415;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: none !important;
}

.agency-resources__cta .button--primary::after,
.agency-resources__cta .button--primary::before {
  content: none !important;
  box-shadow: none !important;
}

.agency-resources__cta .button--primary:hover {
  background: #0a3520;
  transform: translateY(-1px);
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .agency-resources__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .agency-resources__grid {
    grid-template-columns: 1fr;
  }

  .agency-resources__header {
    margin-bottom: 40px;
  }

  .agency-resources__title {
    font-size: 28px;
  }
}


/* ============================================================
   10. CTA
   ============================================================ */

