/*
Theme Name: BLOCKNOVATE
Theme URI: https://blocknovate.com/
Author: BLOCKNOVATE
Author URI: https://blocknovate.com/
Description: BLOCKNOVATE – INNOVATING E-COMMERCE. Custom theme for the BLOCKNOVATE eCommerce agency: 3D home page (Three.js), Services dropdown, About, Team, TikTok Shop, eBay, FAQs and Privacy Policy pages, plus a secure quote / contact / newsletter form that emails your team and auto-replies to visitors. The theme's pages are created automatically when the theme is activated.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocknovate
Tags: business, one-column, translation-ready
*/

/*
 * The design uses Tailwind CSS (loaded from its CDN in functions.php) plus the
 * custom styles below. Sections 1–19 are shared with the static site; section 20
 * holds WordPress-specific rules (admin bar, editor content, blog listing).
 */

/* ==========================================================================
   Blocknovate — Color Palette (Logo Matched: Navy Blue #1B375C & Gold #D49B26)
   - Primary Navy: #1B375C (Exact logo geometric shape & text)
   - Hover Navy: #122744
   - Gold Accent: #D49B26 (Exact logo Gold accent)
   - Gold Hover: #B8831B
   - Gold Light: #E8BE6B
   - Clean Body Background: #FFFFFF
   - Border Light: #E4E9F0
   - Footer Navy: #1B375C
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #1B375C;         /* Exact Navy Blue from logo */
  --color-primary-dark: #122744;    /* Hover Navy */
  --color-gold: #D49B26;            /* Exact Gold from logo */
  --color-gold-hover: #B8831B;      /* Darker Gold Hover */
  --color-gold-light: #E8BE6B;      /* Light Gold Tint */
  --color-navy-wave: #1B375C;       /* Wave Navy */
  --color-heading: #1B375C;         /* Heading Navy */
  --color-body: #5A6A80;            /* Body Text */
  --color-white: #ffffff;
  --color-bg-light: #F8FAFC;        /* Light Surface */
  --color-border: #E4E9F0;
  --color-footer-bg: #1B375C;       /* Footer Navy */

  --gradient-gold: linear-gradient(135deg, #D49B26 0%, #E8BE6B 100%);
  --gradient-navy: linear-gradient(135deg, #1B375C 0%, #122744 100%);

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Rubik', sans-serif;

  --shadow-sm: 0 2px 20px rgba(27, 55, 92, 0.06);
  --shadow-md: 0 10px 30px rgba(27, 55, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(27, 55, 92, 0.12);
}

/* --------------------------------------------------------------------------
   2. Resets & Basics
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background-color: #ffffff;
  overflow-x: hidden !important;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  word-break: break-word;
}

.text-gold {
  color: var(--color-gold) !important;
}

.bg-gold {
  background-color: var(--color-gold) !important;
}

.bg-navy {
  background-color: var(--color-primary) !important;
}

.text-navy {
  color: var(--color-primary) !important;
}

.bg-surface {
  background-color: var(--color-bg-light) !important;
}

/* --------------------------------------------------------------------------
   3. Typed-Text Cursor
   -------------------------------------------------------------------------- */
.typed-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 0.7s infinite;
  color: var(--color-gold);
  line-height: 1;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* --------------------------------------------------------------------------
   4. Hero Floating Animations
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes floatHorizontal {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

.float-anim-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.float-anim-horizontal {
  animation: floatHorizontal 5s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   5. Buttons & Badges (Navy #1B375C & Gold #D49B26)
   -------------------------------------------------------------------------- */
.btn-gold {
  background: var(--color-gold);
  color: #1B375C;
  padding: 14px 32px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(212, 155, 38, 0.3);
  min-height: 48px;
}

.btn-gold:hover {
  background: var(--color-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 155, 38, 0.4);
}

.btn-navy {
  background: var(--color-primary);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  min-height: 44px;
  box-shadow: 0 4px 15px rgba(27, 55, 92, 0.2);
}

.btn-navy:hover {
  background: var(--color-gold);
  color: #1B375C;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 155, 38, 0.35);
}

.btn-white-pill {
  background: #ffffff;
  color: var(--color-heading);
  padding: 14px 32px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  min-height: 48px;
}

.btn-white-pill:hover {
  background: var(--color-gold);
  color: #1B375C;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 155, 38, 0.3);
}

/* --------------------------------------------------------------------------
   6. Header Sticky
   -------------------------------------------------------------------------- */
/* No backdrop blur: behind 98% white it was invisible, yet it re-blurred the page under the
   header on every scroll frame. The fixed header gets its own GPU layer instead. */
.header {
  transition: background-color 0.3s, box-shadow 0.3s;
  background: rgba(255, 255, 255, 0.98);
  transform: translateZ(0);
  will-change: transform;
}

.header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   7. Hero Form Layout (Gold 'GET A QUOTE' Button)
   -------------------------------------------------------------------------- */
.hero-form {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 35px -10px rgba(27, 55, 92, 0.18);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 2rem;
}

@media (min-width: 540px) {
  .hero-form {
    flex-direction: row;
    border-radius: 40px;
  }
}

.hero-form input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  min-width: 0;
  text-align: center;
}

@media (min-width: 540px) {
  .hero-form input {
    text-align: left;
  }
}

.hero-form button {
  background: var(--color-gold);
  color: #1B375C;
  padding: 16px 28px;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  width: 100%;
  box-shadow: 0 4px 15px rgba(212, 155, 38, 0.25);
}

@media (min-width: 540px) {
  .hero-form button {
    width: auto;
  }
}

.hero-form button:hover {
  background: var(--color-gold-hover);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. Marquee
   -------------------------------------------------------------------------- */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee-scroll 25s linear infinite;
}

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

/* Soft fade at both edges so cards glide in and out */
.marquee-wrapper {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.market-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-heading);
}

.market-heading::before,
.market-heading::after {
  content: '';
  flex: 0 1 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.market-heading::after {
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* Marketplace card: real flag + domain + country */
.flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(27, 55, 92, 0.06);
}

.flag-img {
  width: 40px;
  height: 30px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(27, 55, 92, 0.08);
}

.flag-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.flag-text b {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-heading);
}

.flag-text small {
  font-size: 12px;
  color: var(--color-body);
}

.flag-icon {
  font-size: 20px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   9. Video Play Button
   -------------------------------------------------------------------------- */
.play-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 20px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .play-btn {
    width: 80px;
    height: 80px;
    font-size: 24px;
  }
}

.play-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* --------------------------------------------------------------------------
   10. Accordion
   -------------------------------------------------------------------------- */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.accordion-header {
  padding: 12px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-heading);
}

.accordion-header:hover {
  color: var(--color-gold);
}

.accordion-item.active .accordion-header {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   11. Mobile Nav Overlay
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  visibility: hidden;               /* closed: not painted once it has slid out */
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
  padding: 80px 24px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s;
}

body.no-scroll {
  overflow: hidden !important;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-heading);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   12. Fade In On Scroll
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Modal Window
   -------------------------------------------------------------------------- */
/* Closed popups are display: none, so the browser never lays out, paints or composites them
   in the background. js/main.js (showOverlay / hideOverlay) adds .is-shown, then .open to fade in;
   on close it fades out and removes .is-shown after the 0.3s transition. */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 55, 92, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-shown {
  display: flex;
  transform: translateZ(0);         /* own GPU layer while on screen */
  will-change: transform, opacity;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Phones and tablets: a live blur repaints the whole screen every frame on mobile GPUs —
   use a solid, slightly deeper navy instead */
@media (max-width: 1023px), (hover: none), (pointer: coarse) {
  .modal-overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(17, 36, 61, 0.94);
  }
}

.modal-content {
  background: #ffffff;
  border-radius: 20px;
  max-width: 850px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  overscroll-behavior: contain;     /* scrolling a popup never drags the page behind it */
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);         /* scrolls on its own GPU layer */
  will-change: transform;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 24px;
  position: relative;
}

@media (min-width: 640px) {
  .modal-content {
    padding: 36px;
    border-radius: 24px;
  }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
}

.modal-close-btn:hover {
  background: var(--color-gold);
  color: #1B375C;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #C3D0E0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* --------------------------------------------------------------------------
   14. Hero 3D Scene (#hero-3d)
   The canvas is drawn by js/hero-3d.js. Logos are HTML overlays pinned to
   3D anchor points so they stay sharp. Without WebGL/JS the overlays use
   their static --x/--y positions on flat CSS plates instead.
   Sizes use cqw (1% of the stage width): 1 world unit = 15.15cqw.
   -------------------------------------------------------------------------- */
.hero3d {
  width: 100%;
  aspect-ratio: 1181 / 751;   /* same box as the previous hero image — no layout shift */
  container-type: inline-size;
}

.h3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero3d.is-ready .h3d-canvas {
  opacity: 1;
}

.h3d-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.h3d-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: max-content;
}

.hero3d.is-ready .h3d-item {
  left: 0;
  top: 0;
  will-change: transform;
}

.h3d-item__body {
  position: relative;
  translate: -50% -100%;          /* bottom-centre sits on the anchor */
  transform-origin: 50% 100%;
  pointer-events: auto;
}

.h3d-item__body--center {
  translate: -50% -50%;
  transform-origin: 50% 50%;
}

.hero3d.is-loading .h3d-item__body,
.hero3d.is-loading .h3d-plate {
  opacity: 0;
}

.hero3d.is-ready .h3d-item__body {
  animation: h3d-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s) both;
}

@keyframes h3d-pop {
  from { opacity: 0; scale: 0.6; }
  to   { opacity: 1; scale: 1; }
}

/* Soft contact shadow under items standing on a platform */
.h3d-grounded::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.2cqw;
  width: 80%;
  height: 2.4cqw;
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(27, 55, 92, 0.22), transparent);
  z-index: -1;
}

/* Static fallback plates (hidden once the 3D scene is running) */
.h3d-plate {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 16.5cqw;
  aspect-ratio: 1;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 2cqw;
  box-shadow: 0 0 4cqw rgba(27, 55, 92, 0.10);
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(45deg);
}

.h3d-plate--podium {
  width: 37.5cqw;
  border-radius: 50%;
  border: 0.9cqw solid var(--color-gold);
}

.hero3d.is-ready .h3d-plate {
  display: none;
}

/* Logo — transparent crops of the original logo (img/logo-mark.png, img/logo-wordmark.png) */
.h3d-mark {
  width: 18cqw;
}

.h3d-wordmark {
  width: 22cqw;
}

.h3d-mark img,
.h3d-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

/* eBay — laptop */
.h3d-laptop {
  width: 15cqw;
}

.h3d-laptop__screen {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%);
  border: 0.7cqw solid var(--color-primary);
  border-radius: 1.1cqw 1.1cqw 0.3cqw 0.3cqw;
  box-shadow: 0 1cqw 2.5cqw rgba(27, 55, 92, 0.18);
}

.h3d-laptop__base {
  width: 122%;
  height: 1.2cqw;
  margin-left: -11%;
  background: linear-gradient(180deg, #e7edf5, #c4cfdd);
  border-radius: 0.2cqw 0.2cqw 1cqw 1cqw;
  box-shadow: 0 0.6cqw 1.2cqw rgba(27, 55, 92, 0.15);
}

.h3d-ebay {
  font-size: 6.4cqw;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, #e53238 0 26%, #0064d2 26% 51%, #f5af02 51% 74%, #86b817 74%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* SEO — label + growing bar chart */
.h3d-seo {
  width: 14cqw;
  text-align: center;
}

.h3d-seo__label {
  margin-bottom: 0.8cqw;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 5cqw;
  line-height: 1;
  color: var(--color-primary);
  white-space: nowrap;
}

.h3d-seo__label i {
  font-size: 0.7em;
  color: var(--color-gold);
}

.h3d-seo__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.8cqw;
  height: 7cqw;
}

.h3d-seo__bars span {
  width: 2.2cqw;
  height: var(--h);
  border-radius: 0.5cqw 0.5cqw 0.2cqw 0.2cqw;
  background: linear-gradient(180deg, #3a6aa5, var(--color-primary));
  transform-origin: 50% 100%;
}

.h3d-seo__bars span:last-child {
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
}

.hero3d.is-ready .h3d-seo__bars span {
  animation: h3d-grow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d) + 0.25s + var(--i) * 0.08s) both;
}

@keyframes h3d-grow {
  from { scale: 1 0; }
}

/* TikTok Shop — bag */
.h3d-tiktok {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h3d-bag {
  position: relative;
  width: 8.5cqw;
  aspect-ratio: 1 / 1.05;
  margin-top: 2.6cqw;   /* room for the handle */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #2b2b2b 0%, #0d0d0d 100%);
  border-radius: 0.8cqw 0.8cqw 1.6cqw 1.6cqw;
  box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.25);
}

.h3d-bag::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 4.4cqw;
  height: 2.8cqw;
  translate: -50% 0.6cqw;
  border: 0.65cqw solid #151515;
  border-bottom: 0;
  border-radius: 2.4cqw 2.4cqw 0 0;
}

.h3d-bag i {
  font-size: 4.2cqw;
  color: #ffffff;
  text-shadow: -0.3cqw -0.2cqw 0 #25f4ee, 0.3cqw 0.2cqw 0 #fe2c55;
}

.h3d-caption {
  margin-top: 0.8cqw;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: max(9px, 2.5cqw);
  line-height: 1;
  color: #111111;
  white-space: nowrap;
}

/* Shopify — bag logo */
.h3d-shopify i {
  display: block;
  font-size: 11cqw;
  line-height: 1;
  color: #95bf47;
  filter: drop-shadow(0 1cqw 1.2cqw rgba(27, 55, 92, 0.2));
}

/* Decorative gears */
.h3d-gears {
  display: flex;
  align-items: flex-end;
  color: #d3dce8;
  pointer-events: none;
}

.h3d-gears i:first-child {
  font-size: 4.4cqw;
  animation: h3d-spin 14s linear infinite;
}

.h3d-gears i:last-child {
  margin-left: -0.3cqw;
  font-size: 2.8cqw;
  animation: h3d-spin 9s linear infinite reverse;
}

@keyframes h3d-spin {
  to { rotate: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .hero3d.is-ready .h3d-item__body,
  .hero3d.is-ready .h3d-seo__bars span,
  .h3d-gears i {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   15. Section 3D Scenes (#globe-3d, #services-3d, #clients-3d)
   Shared engine: js/scene-kit.js. Same overlay idea as the hero: overlays
   use their static --x/--y positions until the scene is ready, then JS pins
   them to 3D anchors. Each stage keeps the box of the image it replaced.
   -------------------------------------------------------------------------- */
.s3d-stage {
  width: 100%;
  container-type: inline-size;
}

/* Safety net: 3D labels can never widen the page on phones (clip doesn't affect vertical layout or scrolling) */
section:has(.s3d-stage) {
  overflow-x: clip;
}

.s3d-globe {
  aspect-ratio: 1 / 1;            /* square box: the sphere fills ~2/3 of it, with room for arcs */
}

.s3d-services {
  aspect-ratio: 725 / 620;
}

.s3d-clients {
  aspect-ratio: 800 / 583;
}

.s3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.s3d-stage.is-ready .s3d-canvas {
  opacity: 1;
}

.s3d-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.s3d-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: max-content;
  transform-origin: 0 0;
}

.s3d-stage.is-ready .s3d-item {
  left: 0;
  top: 0;
  will-change: transform, opacity;
}

.s3d-item__body {
  position: relative;
  translate: -50% -100%;          /* bottom-centre sits on the anchor */
  transform-origin: 50% 100%;
}

.s3d-item__body--center {
  translate: -50% -50%;
  transform-origin: 50% 50%;
}

.s3d-stage.is-loading .s3d-item,
.s3d-stage.is-loading .s3d-fallback {
  visibility: hidden;
}

.s3d-stage.is-ready .s3d-fallback {
  display: none;
}

.s3d-stage.is-ready .s3d-item__body {
  animation: h3d-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s) both;
}

/* Globe — drag to spin */
.s3d-globe .s3d-canvas {
  cursor: grab;
  touch-action: pan-y pinch-zoom; /* vertical swipes still scroll the page; sideways drags spin the globe */
}

.s3d-globe.is-dragging .s3d-canvas {
  cursor: grabbing;
}

/* ---------- 3D stages (hero, globe, services) — smooth scrolling on phones ---------- */
.hero3d,
.s3d-stage {
  touch-action: pan-y pinch-zoom;   /* a vertical swipe on a 3D scene always scrolls the page (pinch-zoom still works) */
  transform: translateZ(0);         /* own GPU layer: the scene moves with the page without being repainted */
  will-change: transform;
}

/* While the page scrolls, js/scene-kit.js adds .is-scrolling: the 3D objects and their labels
   ignore the pointer, so nothing is hit-tested or hovered as it slides under the finger / cursor */
.hero3d.is-scrolling,
.hero3d.is-scrolling *,
.s3d-stage.is-scrolling,
.s3d-stage.is-scrolling * {
  pointer-events: none !important;
}

.s3d-globe__fallback {
  position: absolute;
  left: 50%;
  top: 50.7%;
  width: 66.7%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(219, 228, 240, 0.75) 1px, transparent 1.6px) 0 0 / 2.2cqw 2.2cqw,
    radial-gradient(circle at 35% 30%, #2b5288, var(--color-primary) 60%, #122744);
  box-shadow: 0 0 0 1.2cqw rgba(212, 155, 38, 0.15);
}

.s3d-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.45em 0.8em;
  border-radius: 2em;
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: max(10px, 2.3cqw);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.6cqw 2cqw rgba(27, 55, 92, 0.18);
}

.s3d-tag i {
  color: var(--color-gold);
}

.s3d-hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 0;
  font-size: max(10px, 2.5cqw);
  font-weight: 600;
  color: var(--color-body);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.s3d-hint i {
  margin-right: 0.3em;
  color: var(--color-gold);
}

.s3d-stage:not(.is-ready) .s3d-hint,
.s3d-globe.has-interacted .s3d-hint {
  opacity: 0;
}

/* Services — label of the lit tile */
.s3d-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.55em 1em;
  border-radius: 2em;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: max(10px, 2.5cqw);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.8cqw 2.4cqw rgba(27, 55, 92, 0.25);
}

.s3d-chip i {
  color: var(--color-gold);
}

/* Clients — conveyor logos and hub count */
.s3d-clients__fallback {
  position: absolute;
  left: 50%;
  top: 54.9%;
  width: 91%;
  height: 50.8%;
  translate: -50% -50%;
  border: 3.2cqw solid var(--color-primary);
  border-radius: 50%;
}

.s3d-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 1em;
  border: 1px solid var(--color-border);
  border-radius: 1.6cqw;
  background: #ffffff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: max(11px, 3.3cqw);
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1cqw 3cqw rgba(27, 55, 92, 0.16);
  pointer-events: auto;
}

.s3d-logo i {
  color: var(--color-gold);
}

.s3d-logo img {
  display: block;
  width: auto;
  height: 1.4em;
}

.s3d-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-align: center;
}

.s3d-count strong {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 6.5cqw;
  color: var(--color-gold);
}

.s3d-count span {
  margin-top: 0.5cqw;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: max(9px, 2.2cqw);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.s3d-stage:not(.is-ready) .s3d-count span {
  color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .s3d-stage.is-ready .s3d-item__body {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   16. Lead Forms & Modal (js/main.js §13–14 → api/lead.js)
   -------------------------------------------------------------------------- */
.lead-modal {
  max-width: 620px;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-heading);
}

.lead-field[hidden] {
  display: none;
}

.lead-field b {
  color: var(--color-gold);
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-light);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-heading);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.lead-field textarea {
  min-height: 110px;
  resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  border-color: var(--color-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(212, 155, 38, 0.18);
}

form[data-lead-form] [aria-invalid="true"] {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

/* Honeypot — off-screen, never shown to people */
.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.lead-status:empty {
  display: none;                  /* takes no space until there is a message */
}

.lead-status::before {
  margin-right: 8px;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.lead-status.is-success {
  background: #fbf3e2;
  border-left: 4px solid var(--color-gold);
  color: var(--color-heading);
}

.lead-status.is-success::before {
  content: '\f058';               /* circle-check */
  color: var(--color-gold);
}

.lead-status.is-error {
  background: #fdecea;
  border-left: 4px solid #c0392b;
  color: #8e2a20;
}

.lead-status.is-error::before {
  content: '\f06a';               /* circle-exclamation */
  color: #c0392b;
}

.lead-inline .lead-status {
  max-width: 28rem;
  margin: 14px auto 0;
}

.lead-note {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
  color: var(--color-body);
}

.lead-note i {
  margin-right: 4px;
  color: var(--color-gold);
}

/* Sent: the modal swaps the fields for the confirmation */
.lead-form.is-sent .lead-form__fields,
.lead-form.is-sent [type="submit"],
.lead-form.is-sent .lead-note {
  display: none;
}

.lead-form.is-sent .lead-status {
  margin-top: 0;
  padding: 22px;
  font-size: 16px;
}

/* "Sending…" state */
form[data-lead-form] button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.85;
  transform: none;
}

form[data-lead-form] button[aria-busy="true"]::before {
  content: '';
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: lead-spin 0.7s linear infinite;
}

@keyframes lead-spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   17. Inline Video Card (js/main.js §15)
   Thumbnail and player share one fixed 16:9 box, so swapping them never
   moves the layout and the video fills the card without black bars.
   -------------------------------------------------------------------------- */
.video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-primary-dark);
}

.video-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, scale 0.6s ease;
}

.video-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000000;
  object-fit: contain;              /* our own MP4 player */
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-card.is-playing .video-card__thumb {
  opacity: 0;
  scale: 1.04;
}

.video-card.is-playing .video-card__play {
  opacity: 0;
  pointer-events: none;
}

.video-card.is-loaded .video-card__frame {
  opacity: 1;
}

/* Spinner while the player loads */
.video-card.is-playing:not(.is-loaded) .video-card__media::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: lead-spin 0.8s linear infinite;
}

/* --------------------------------------------------------------------------
   18. Why Choose Us — clickable cards, checkpoints, approach popup (js/main.js §12)
   -------------------------------------------------------------------------- */
.why-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 26px 24px 22px;
  background: #ffffff;
  border-top: 4px solid var(--color-gold);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  text-align: left;
  color: var(--color-heading);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover,
.why-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.why-card:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.why-card__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eaf0f7;
  color: var(--color-primary);
  font-size: 27px;
}

.why-card__badge {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #eaf0f7;
  border-radius: 50%;
  background: var(--color-gold);
  color: #ffffff;
  font-size: 10px;
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-heading);
}

.why-card__line {
  width: 28px;
  height: 3px;
  margin: 12px 0;
  border-radius: 2px;
  background: var(--color-gold);
}

.why-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-body);
}

.why-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-gold);
}

.why-card__more i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.why-card:hover .why-card__more i {
  transform: translateX(4px);
}

/* Right-side checkpoints */
.why-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.why-points li:first-child {
  padding-top: 0;
}

.why-points__check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 13px;
}

.why-points h4 {
  margin-bottom: 3px;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}

.why-points p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Larger "Discover our approach" button */
.btn-discover {
  gap: 12px;
  min-height: 58px;
  padding: 18px 40px;
  font-size: 15px;
  letter-spacing: 1.5px;
}

/* Approach popup — all topics, or one topic when opened from a card */
.approach-modal {
  max-width: 860px;
  color: var(--color-body);
}

.approach-intro {
  padding-right: 32px;
  padding-bottom: 22px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}

.approach-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.approach-intro h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

.approach-intro p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
}

.approach-topic {
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}

.approach-topic h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-heading);
}

.approach-num {
  color: var(--color-gold);
}

.approach-tagline {
  margin: 4px 0 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-gold);
}

.approach-topic > p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.65;
}

.approach-topic h4 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-heading);
}

.approach-list {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--color-bg-light);
}

.approach-list--cols {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  column-gap: 20px;
}

.approach-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-heading);
}

.approach-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.approach-list--team li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
}

.approach-list--team li span {
  display: block;
  margin-top: 2px;
  color: var(--color-body);
}

.approach-result {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 4px solid var(--color-gold);
  border-radius: 0 10px 10px 0;
  background: #fbf3e2;
  color: var(--color-heading);
}

.approach-core {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--color-primary);
  text-align: center;
  color: #ffffff;
}

.approach-core span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.approach-core div {
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.6vw, 16px);
  font-weight: 800;
  letter-spacing: 1px;
}

/* Single-topic mode (opened from a card) */
.approach-modal.is-topic .approach-intro,
.approach-modal.is-topic .approach-core,
.approach-modal.is-topic .approach-num,
.approach-modal.is-topic .approach-topic:not(.is-active) {
  display: none;
}

.approach-modal.is-topic .approach-topic {
  padding-top: 0;
  border-bottom: 0;
}

.approach-modal.is-topic .approach-topic h3 {
  padding-right: 40px;
  font-size: clamp(24px, 3.4vw, 32px);
}

/* Time zone label on the globe */
.globe-pst {
  position: absolute;
  top: 2%;
  left: 2%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 30px;
  background: #fbf3e2;
  font-family: var(--font-heading);
  font-size: clamp(12px, 2.2cqw, 16px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;   /* digits keep the same width as the clock ticks */
  white-space: nowrap;
  color: var(--color-gold);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   19. Multi-page: header menu, Services dropdown, mobile menu, inner pages
   -------------------------------------------------------------------------- */

/* Anchored sections stop below the fixed 80px header */
section[id], footer[id], [id^="service-"], .faq-item {
  scroll-margin-top: 88px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 18px;
  border-radius: 30px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-160%);
  transition: transform 0.2s, opacity 0.2s;
}

/* Only appears for keyboard users (first Tab on the page) */
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Desktop menu links */
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-dd.is-current > .nav-dd__toggle,
.nav-dd.is-open > .nav-dd__toggle {
  color: var(--color-gold);
}

/* Services dropdown — navy panel, opens on hover (mouse) or click/tap/keyboard (js/main.js §18) */
.nav-dd {
  position: relative;
}

.nav-dd__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-dd__chevron {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.nav-dd.is-open .nav-dd__chevron {
  transform: rotate(180deg);
}

.nav-dd__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  padding-top: 22px;              /* invisible bridge: the pointer can travel from "Services" to the panel */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  white-space: normal;
}

.nav-dd.is-open > .nav-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav-dd__panel {
  position: relative;
  width: 330px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);   /* stays distinct over the navy page banners */
  border-top: 3px solid var(--color-gold);
  border-radius: 16px;
  background: var(--gradient-navy);
  box-shadow: 0 24px 50px rgba(18, 39, 68, 0.3);
}

/* Small arrow pointing at "Services" */
.nav-dd__panel::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--color-gold);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
  z-index: -1;
}

.nav-dd__panel a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  color: #ffffff;
  transition: background 0.2s, color 0.2s;
}

.nav-dd__panel a:hover,
.nav-dd__panel a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-dd__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 155, 38, 0.16);
  color: var(--color-gold);
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}

/* The eBay logo glyph is short and wide — enlarge it so it reads like the other icons */
.nav-dd__icon .fa-ebay,
.link-card__icon .fa-ebay,
.page-hero__eyebrow .fa-ebay,
.btn-outline .fa-ebay {
  font-size: 1.7em;
}

.mobile-dd__inner .fa-ebay {
  font-size: 24px;
}

.nav-dd__panel a:hover .nav-dd__icon,
.nav-dd__panel a:focus-visible .nav-dd__icon {
  background: var(--color-gold);
  color: var(--color-primary);
}

.nav-dd__panel strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.nav-dd__panel small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

.nav-dd__panel a[aria-current="page"] strong {
  color: var(--color-gold);
}

/* Mobile menu: current page, expandable Services, social icons */
.mobile-nav a[aria-current="page"],
.mobile-dd.is-current > .mobile-dd__toggle {
  color: var(--color-gold);
}

.mobile-dd__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-heading);
  text-align: left;
  cursor: pointer;
}

.mobile-dd__toggle i {
  font-size: 14px;
  color: var(--color-gold);
  transition: transform 0.25s ease;
}

.mobile-dd.is-open .mobile-dd__toggle i {
  transform: rotate(180deg);
}

.mobile-dd__menu {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease, visibility 0s linear 0.3s;
}

.mobile-dd.is-open .mobile-dd__menu {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-dd__inner {
  overflow: hidden;
  min-height: 0;
}

.mobile-nav .mobile-dd__inner a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
}

.mobile-dd__inner a:first-child {
  margin-top: 10px;
}

.mobile-dd__inner a:last-child {
  margin-bottom: 10px;
}

.mobile-dd__inner a i {
  width: 20px;
  text-align: center;
  color: var(--color-gold);
}

.mobile-nav .mobile-dd__inner a:hover,
.mobile-nav .mobile-dd__inner a[aria-current="page"] {
  background: var(--color-bg-light);
}

.mobile-nav__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.mobile-nav .mobile-nav__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-bg-light);
  font-size: 16px;
  color: var(--color-heading);
}

.mobile-nav .mobile-nav__social a:hover {
  background: var(--color-gold);
  color: var(--color-primary);
}

/* Accordion headers are real buttons (keyboard + screen readers) */
button.accordion-header {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
}

button.accordion-header:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Footer links */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s, color 0.2s;
}

.footer-social:hover,
.footer-social:focus-visible {
  background: var(--color-gold);
  color: var(--color-primary);
}

.footer-contact li:not(.footer-hours) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact a,
.footer-links a {
  transition: color 0.2s;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--color-gold);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lead-note a {
  color: var(--color-heading);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 64px;
  background:
    radial-gradient(circle at 85% 20%, rgba(212, 155, 38, 0.22), transparent 42%),
    radial-gradient(circle at 10% 110%, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--gradient-navy);
  color: rgba(255, 255, 255, 0.82);
}

/* Faint logo mark on the right */
.page-hero::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 340px;
  height: 400px;
  background: url('assets/img/logo-mark.png') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 160px 0 88px;
  }
}

.page-hero--compact {
  padding-bottom: 48px;
}

.page-hero--404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb i {
  font-size: 9px;
  color: var(--color-gold);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(212, 155, 38, 0.16);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.page-hero__title {
  max-width: 820px;
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
}

.page-hero__lead {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section-eyebrow {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border: 2px solid var(--color-primary);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-gold);
}

.text-link i {
  font-size: 12px;
  transition: transform 0.2s;
}

a:hover > .text-link i,
.text-link:hover i {
  transform: translateX(4px);
}

.check-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: '\f058';                 /* FontAwesome circle-check */
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-gold);
}

.check-list--lg {
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-heading);
}

/* About: stats + office card */
.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-bg-light);
}

.stat-card--navy {
  border: 0;
  background: var(--gradient-navy);
}

.stat-card__value {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-heading);
}

.stat-card--navy .stat-card__value {
  color: var(--color-gold);
}

.stat-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-body);
}

.stat-card--navy .stat-card__label {
  color: rgba(255, 255, 255, 0.75);
}

.office-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* Cards */
.feature-card,
.service-card,
.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.service-card:hover,
.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3,
.service-card h3,
.link-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
}

.feature-card p,
.service-card p,
.link-card p {
  font-size: 14.5px;
  line-height: 1.7;
}

.feature-card__icon,
.service-card__icon,
.link-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #fbf3e2;
  color: var(--color-gold);
  font-size: 22px;
}

.feature-card--navy,
.service-card--featured {
  border-color: transparent;
  border-top-color: var(--color-gold);
  background: var(--gradient-navy);
  color: rgba(255, 255, 255, 0.82);
}

.feature-card--navy h3,
.service-card--featured h3 {
  color: #ffffff;
}

.feature-card--navy .feature-card__icon,
.service-card--featured .service-card__icon {
  background: rgba(212, 155, 38, 0.18);
}

.service-card p {
  flex: 1;
  margin-bottom: 24px;
}

.link-card .text-link {
  margin-top: auto;
  padding-top: 14px;
}

/* Numbered steps */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .steps--6 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .steps--6 { grid-template-columns: repeat(6, 1fr); }
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-bg-light);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 900;
  color: var(--color-gold);
}

.step h3 {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 800;
}

.step p {
  font-size: 14px;
  line-height: 1.6;
}

/* Why Blocknovate (service pages) */
/* Flex (not grid) so an odd last card sits centred instead of alone on the left */
.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.why-grid li {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .why-grid li { flex-basis: calc((100% - 16px) / 2); }
}

@media (min-width: 1024px) {
  .why-grid li { flex-basis: calc((100% - 32px) / 3); }
}

.why-grid li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: #ffffff;
}

.why-grid li > i {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-primary);
  color: var(--color-gold);
  font-size: 18px;
}

.why-grid h3 {
  margin-bottom: 4px;
  font-size: 16.5px;
  font-weight: 800;
}

.why-grid p {
  font-size: 14px;
  line-height: 1.6;
}

/* Platform visual (TikTok / eBay pages) */
.platform-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(212, 155, 38, 0.28), transparent 55%),
    var(--gradient-navy);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.platform-visual__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 28%;
  background: #ffffff;
  color: var(--color-primary);
  font-size: clamp(44px, 7vw, 72px);
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.platform-visual__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 30px;
  background: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 800;
  white-space: nowrap;
  color: var(--color-heading);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  animation: float 5s ease-in-out infinite;
}

.platform-visual__chip i { color: var(--color-gold); }
.platform-visual__chip--1 { top: 12%; left: 7%; }
.platform-visual__chip--2 { top: 16%; right: 7%; animation-delay: -1.2s; }
.platform-visual__chip--3 { bottom: 15%; left: 9%; animation-delay: -2.4s; }
.platform-visual__chip--4 { bottom: 11%; right: 8%; animation-delay: -3.6s; }

@media (prefers-reduced-motion: reduce) {
  .platform-visual__chip { animation: none; }
}

/* eBay package highlight + related links strip */
.package-callout,
.related-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border-radius: 22px;
}

.package-callout {
  margin-top: 40px;
  border: 2px solid var(--color-gold);
  background: #fffdf8;
}

.package-callout h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
}

.package-callout p {
  font-size: 14.5px;
  line-height: 1.7;
}

.package-callout__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.package-callout__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.related-links {
  border: 1px solid var(--color-border);
  background: var(--color-bg-light);
}

@media (min-width: 768px) {
  .package-callout,
  .related-links {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
  }
}

/* Team */
.leader-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.leader-card__photo {
  position: relative;
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 4px solid var(--color-gold);
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-card__photo img {
  transform: scale(1.04);
}

.leader-card__body {
  padding: 26px 28px 30px;
}

.leader-card__role {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 12px;
  border-radius: 30px;
  background: var(--color-primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.leader-card__name {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 900;
}

.leader-card__body p {
  font-size: 14.5px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list li {
  padding: 5px 12px;
  border-radius: 30px;
  background: #fbf3e2;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-heading);
}

.member-card {
  height: 100%;
  padding: 28px 22px 26px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.member-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  background: var(--gradient-navy);
  color: #ffffff;
  font-size: 28px;
  box-shadow: 0 0 0 6px #fbf3e2;
}

.member-card h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.member-card__dept {
  display: block;
  margin: 6px 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.member-card p {
  font-size: 13.5px;
  line-height: 1.6;
}

/* FAQs */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 4px 22px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.active {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.faq-item .accordion-header {
  padding: 16px 0;
  font-size: 17px;
}

.faq-item .accordion-body {
  padding-bottom: 18px;
  font-size: 15px;
  line-height: 1.75;
}

.faq-item .accordion-body a,
.legal a {
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-aside {
  position: sticky;
  top: 104px;
}

.faq-aside__card {
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--gradient-navy);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.faq-aside__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(212, 155, 38, 0.18);
  color: var(--color-gold);
  font-size: 24px;
}

.faq-aside__card h2 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.faq-aside__card p {
  margin-bottom: 20px;
  font-size: 14.5px;
}

.faq-aside__contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  text-align: left;
}

.faq-aside__contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-aside__contact i {
  width: 16px;
  color: var(--color-gold);
}

.faq-aside__contact a:hover {
  color: var(--color-gold);
}

/* CTA band */
.cta-band {
  padding: 64px 0;
  background: #ffffff;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 155, 38, 0.28), transparent 45%),
    var(--gradient-navy);
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 48px 56px;
  }
}

.cta-band__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.cta-band__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}

.cta-band__text {
  margin-top: 8px;
  font-size: 15px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* Privacy policy */
.legal {
  font-size: 15.5px;
  line-height: 1.8;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  font-weight: 800;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  display: grid;
  gap: 6px;
  margin: 10px 0 12px;
  padding-left: 22px;
  list-style: disc;
}

.legal li::marker {
  color: var(--color-gold);
}

/* 404 */
.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.notfound-links a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 14px;
  color: #ffffff;
  transition: background 0.2s, border-color 0.2s;
}

.notfound-links a:hover {
  border-color: var(--color-gold);
  background: rgba(212, 155, 38, 0.15);
}

/* ---------- Logo lockup: BLOCKNOVATE wordmark (from the logo) + slogan ---------- */
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.brand-lockup__name {
  display: block;
  width: auto;
  height: 21px;
}

/* "— INNOVATING E-COMMERCE —": navy text between gold rules, like the logo artwork */
.brand-lockup__tagline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-primary);
}

.brand-lockup__tagline::before,
.brand-lockup__tagline::after {
  content: '';
  flex: 1 1 0;
  min-width: 8px;
  height: 1px;
  background: var(--color-gold);
}

@media (min-width: 640px) {
  .brand-lockup {
    gap: 6px;
  }

  .brand-lockup__name {
    height: 25px;
  }

  .brand-lockup__tagline {
    gap: 8px;
    font-size: 9.5px;
    letter-spacing: 2px;
  }
}

/* ---------- Case Studies cards (home) — each links to its full case study on Notion ---------- */
.case-card {
  position: relative;               /* the "Read case study" link stretches over the whole card */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 16px;
  background: var(--color-bg-light);
  color: var(--color-body);
  transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

@media (min-width: 640px) {
  .case-card {
    padding: 28px;
  }
}

.case-card:hover,
.case-card:has(.case-card__more:focus-visible) {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card:has(.case-card__more:focus-visible) {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.case-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.case-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fbf3e2;
  font-size: 20px;
  color: var(--color-gold);
}

.case-card__platform {
  padding: 4px 12px;
  border-radius: 30px;
  background: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.case-card__title {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-heading);
}

.case-card__list {
  display: grid;
  gap: 9px;
  font-size: 13px;
  line-height: 1.45;
}

.case-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.case-card__list i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 12px;
  color: var(--color-gold);
}

.case-card__list strong {
  font-weight: 700;
  color: var(--color-heading);
}

@media (min-width: 640px) {
  .case-card__title { font-size: 20px; }
  .case-card__list { font-size: 14px; }
}

.case-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 20px 0 0;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--color-gold);
  cursor: pointer;
}

/* Whole card is clickable: the button's hit area covers the card */
.case-card__more::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.case-card__more:focus-visible {
  outline: none;                    /* the card shows the focus ring instead */
}

.case-card__more i {
  font-size: 11px;
  transition: transform 0.2s;
}

.case-card:hover .case-card__more i {
  transform: translateX(4px);
}

/* Case study popups — built on the approach popup (.approach-modal, §18) */
.case-study__head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.case-study__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.case-study__head h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-heading);
}

.case-study__head h2 span {
  color: var(--color-gold);
  white-space: nowrap;
}

.case-study__block {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.case-study__block:last-of-type {
  border-bottom: 0;
}

.case-study__block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-heading);
}

.case-study__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary);
  font-size: 15px;
  color: var(--color-gold);
}

.case-study__block p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-body);
}

.case-study__block p + p {
  margin-top: 12px;
}

/* The Challenge / Our Strategy — gold-dot bullet lists */
.case-study__points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study__points li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-body);
}

.case-study__points li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 155, 38, 0.18);
}

.case-study__results {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .case-study__results {
    grid-template-columns: 1fr 1fr;
  }
}

.case-study__results li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: 12px;
  background: var(--color-bg-light);
  font-size: 15px;
  line-height: 1.45;
}

.case-study__results i {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-gold);
}

.case-study__results strong {
  color: var(--color-heading);
}

.case-study__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 8px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--gradient-navy);
}

.case-study__cta span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.case-study__cta strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 17px;
  color: #ffffff;
}

@media (min-width: 640px) {
  .case-study__cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ----- Full case study content (intro, phases, groups, metrics, outcome) ----- */
/* × stays in view while scrolling a long case study, 16px from the popup corner
   (sticky offsets count from inside the popup padding: 24px, 36px from 640px) */
.case-study > .modal-close-btn {
  position: sticky;
  top: -8px;
  right: auto;
  float: right;
  z-index: 5;
  margin: -8px -8px 0 12px;
  box-shadow: 0 4px 14px rgba(27, 55, 92, 0.16);
}

@media (min-width: 640px) {
  .case-study > .modal-close-btn {
    top: -20px;
    margin: -20px -20px 0 12px;
  }
}

.case-study__intro {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-body);
}

.case-study__intro strong {
  color: var(--color-heading);
}

/* Key facts — small label / value pills under the intro */
.case-study__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.case-study__facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-light);
}

.case-study__facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.case-study__facts dd {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}

/* Sub-heading inside a section: "KEY MOVES ————" */
.case-study__sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.case-study__sub::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.case-study__block h3 + .case-study__sub {
  margin-top: 4px;
}

/* Smaller gold-dot bullets inside cards */
.case-study__points--sm {
  gap: 7px;
}

.case-study__points--sm li {
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
}

.case-study__points--sm li::before {
  left: 3px;
  width: 7px;
  height: 7px;
}

.case-study__points strong,
.case-study__ticks strong {
  color: var(--color-heading);
}

/* Check-mark list (phase results) */
.case-study__ticks {
  display: grid;
  gap: 7px;
}

.case-study__ticks li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-body);
}

.case-study__ticks li::before {
  content: '\f00c';
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: 'Font Awesome 6 Free';
  font-size: 12px;
  font-weight: 900;
  color: var(--color-gold);
}

/* Growth phases — one card per phase with a navy header */
.case-study__phases {
  display: grid;
  gap: 14px;
}

.case-study__phase {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(27, 55, 92, 0.06);
}

.case-study__phase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 18px;
  background: var(--gradient-navy);
}

.case-study__phase-num {
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.case-study__phase-head h5 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.case-study__phase-tag {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-gold-light);
}

.case-study__phase-body {
  padding: 16px 18px 18px;
}

.case-study__block .case-study__objective {
  margin-bottom: 14px;
  font-size: 14.5px;
  line-height: 1.6;
}

.case-study__objective strong {
  color: var(--color-heading);
}

.case-study__phase-cols {
  display: grid;
  gap: 14px;
}

.case-study__block .case-study__label {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.case-study__block .case-study__note {
  margin-top: 14px;
  padding: 9px 14px;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 10px 10px 0;
  background: #fdf8ee;
  font-size: 14px;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-heading);
}

/* Approach groups — light cards with a navy top edge */
.case-study__groups {
  display: grid;
  gap: 12px;
}

.case-study__group {
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 14px;
  background: var(--color-bg-light);
}

.case-study__group h5 {
  margin-bottom: 10px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-heading);
}

.case-study__group h5 span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--color-gold);
}

/* Frameworks — check-mark pills */
.case-study__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-study__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(212, 155, 38, 0.45);
  border-radius: 30px;
  background: #fdf8ee;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-heading);
}

.case-study__chips li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-size: 11px;
  font-weight: 900;
  color: var(--color-gold);
}

/* Full performance breakdown — label / value tables */
.case-study__metrics {
  display: grid;
  gap: 12px;
}

.case-study__metric {
  padding: 14px 18px 6px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
}

.case-study__metric h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.case-study__metric h5::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--color-gold);
}

.case-study__metric dl div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 9px 0;
  border-top: 1px dashed var(--color-border);
}

.case-study__metric dl div:first-child {
  border-top: 0;
}

.case-study__metric dt {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-body);
}

.case-study__metric dd {
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
  color: var(--color-heading);
}

/* Customer feedback quotes */
.case-study__quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-study__quotes li {
  position: relative;
  padding: 10px 16px 10px 38px;
  border: 1px solid var(--color-border);
  border-radius: 14px 14px 14px 4px;
  background: var(--color-bg-light);
  font-size: 14.5px;
  font-style: italic;
  color: var(--color-heading);
}

.case-study__quotes li::before {
  content: '\f10d';
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: 'Font Awesome 6 Free';
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  color: var(--color-gold);
}

/* The outcome — closing summary of the results */
.case-study__outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 155, 38, 0.45);
  border-radius: 16px;
  background: #fdf8ee;
}

.case-study__block .case-study__outcome p {
  font-size: 15px;
  line-height: 1.65;
}

.case-study__outcome p strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-heading);
}

@media (min-width: 640px) {
  .case-study__phase-cols {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .case-study__groups,
  .case-study__metrics {
    grid-template-columns: 1fr 1fr;
  }

  /* A lone last card spans the full row (and splits its table in two) */
  .case-study__group:last-child:nth-child(odd),
  .case-study__metric:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .case-study__metric:last-child:nth-child(odd) dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .case-study__metric:last-child:nth-child(odd) dl div:nth-child(2) {
    border-top: 0;
  }
}

@media (max-width: 520px) {
  .case-study__phase-head,
  .case-study__phase-body,
  .case-study__group,
  .case-study__outcome {
    padding-left: 14px;
    padding-right: 14px;
  }

  .case-study__phase-tag {
    flex-basis: 100%;
    margin-left: 0;
  }
}

/* ---------- Testimonial video — changes with the testimonial slider ---------- */
.tvideo {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.tvideo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid #ffffff;
  border-radius: 22px;
  background: var(--gradient-navy);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
}

.tvideo__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* portrait phone videos are letterboxed, never cropped */
  background: #0d1f36;
  transition: opacity 0.25s ease;
}

.tvideo.is-switching .tvideo__player {
  opacity: 0.3;
}

.tvideo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding-left: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--color-gold);
  font-size: 24px;
  color: var(--color-primary);
  box-shadow: 0 0 0 10px rgba(212, 155, 38, 0.25);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.tvideo__play:hover,
.tvideo__play:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
}

.tvideo__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(27, 55, 92, 0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tvideo.is-playing .tvideo__play,
.tvideo.has-error .tvideo__play {
  opacity: 0;
  pointer-events: none;
}

.tvideo.is-playing .tvideo__badge {
  opacity: 0;
}

.tvideo__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 0 4px;
}

.tvideo__client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-heading);
}

.tvideo__client i {
  color: var(--color-gold);
}

.tvideo__count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
  color: var(--color-body);
}

/* ---------- Blog ---------- */
.blog-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.blog-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: #fbf3e2;
  font-size: 20px;
  color: var(--color-gold);
}

.blog-card__icon .fa-ebay {
  font-size: 1.6em;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.blog-card__cat {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.blog-card__soon {
  padding: 2px 10px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  background: var(--color-bg-light);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-body);
}

.blog-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.blog-card p {
  font-size: 14.5px;
  line-height: 1.65;
}

.blog-subscribe {
  display: grid;
  gap: 22px;
  margin-top: 48px;
  padding: 30px 26px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-bg-light);
}

@media (min-width: 1024px) {
  .blog-subscribe {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 40px 48px;
  }
}

.blog-subscribe__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-navy);
  font-size: 20px;
  color: var(--color-gold);
}

.blog-subscribe h2 {
  margin: 12px 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 900;
}

.blog-subscribe p {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   20. WordPress
   -------------------------------------------------------------------------- */

/* Logged-in toolbar: keep the fixed header and the mobile menu below it */
.admin-bar #header,
.admin-bar .mobile-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #header,
  .admin-bar .mobile-nav {
    top: 46px;
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  clip: auto;
  clip-path: none;
  background: #ffffff;
  color: var(--color-heading);
}

/* Content written in the WordPress editor (page.php, index.php) */
.entry-content > * + * {
  margin-top: 1em;
}

.entry-content h2 { font-size: 26px; font-weight: 800; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; font-weight: 800; margin-top: 1.4em; }
.entry-content h4 { font-size: 18px; font-weight: 800; margin-top: 1.2em; }

.entry-content a {
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content blockquote {
  padding: 14px 20px;
  border-left: 4px solid var(--color-gold);
  background: var(--color-bg-light);
  border-radius: 0 12px 12px 0;
}

.entry-content img {
  height: auto;
  border-radius: 12px;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { font-size: 13px; color: var(--color-body); }
.sticky,
.bypostauthor { position: relative; }

/* Blog / archive listing (index.php) */
.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-gold);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.post-card__meta {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold);
}

.post-card__title {
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.post-card__title a:hover {
  color: var(--color-gold);
}

.post-card p {
  font-size: 15px;
  line-height: 1.7;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  font-weight: 700;
  color: var(--color-heading);
}

.nav-links .page-numbers.current,
.nav-links a.page-numbers:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
}
