/* ==========================================================================
   Self-hosted fonts (latin subset). No third-party request.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-900-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}

/* ==========================================================================
   Karachi Traders - design system
   White base. Brand blue #363C8E. Brand red #D62B2B. Near-black #0A0E12.
   ========================================================================== */

:root {
  /* Brand */
  --blue-900: #1B1F55;
  --blue-800: #272C72;
  --blue-700: #363C8E;   /* primary brand blue */
  --blue-600: #454CA8;
  --blue-500: #5A61BE;
  --blue-100: #ECEDF8;
  --blue-050: #F5F6FC;

  --red-800: #9E1C1C;
  --red-700: #B92424;
  --red-600: #D62B2B;    /* primary brand red */
  --red-500: #E64A4A;
  --red-100: #FCEDED;

  /* Neutrals */
  --ink-950: #060A0E;
  --ink-900: #0A0E12;
  --ink-800: #141A22;
  --ink: #171C24;
  --ink-soft: #4D5665;
  --ink-mute: #656D7A;
  --line: #E1E6EF;
  --line-soft: #EEF1F6;
  --bg: #FFFFFF;
  --bg-alt: #F6F8FC;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Shape */
  --radius: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 14, 18, 0.07);
  --shadow-md: 0 10px 30px rgba(10, 14, 18, 0.10);
  --shadow-lg: 0 26px 60px rgba(10, 14, 18, 0.16);
  --shadow-blue: 0 18px 40px rgba(54, 60, 142, 0.22);
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red-600); color: var(--white);
  padding: 12px 20px; z-index: 300;
  font-weight: 800; letter-spacing: 0.02em;
}
.skip-link:focus { left: 10px; top: 10px; }

a { color: var(--blue-700); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--red-600); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.015em;
}
h1 { font-size: 2.3rem; font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 900; }
h2 { font-size: 1.7rem; font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
strong { color: var(--ink-900); font-weight: 700; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background-color: var(--red-600); color: var(--white); border-color: var(--red-600);
  background-image: linear-gradient(115deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
  background-size: 250% 100%; background-repeat: no-repeat; background-position: 100% 0;
  position: relative;
  box-shadow: 0 6px 20px rgba(214,43,43,0.30);
  animation: btn-glow-pulse 2.6s ease-in-out infinite, btn-shine-sweep 3.2s ease-in-out infinite;
}
.btn-primary:hover { background-color: var(--red-700); border-color: var(--red-700); color: var(--white); box-shadow: 0 14px 34px rgba(214,43,43,0.45); }
@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(214,43,43,0), 0 6px 20px rgba(214,43,43,0.30); }
  50% { box-shadow: 0 0 22px rgba(214,43,43,0.55), 0 6px 24px rgba(214,43,43,0.45); }
}
@keyframes btn-shine-sweep {
  0% { background-position: 100% 0; }
  55%, 100% { background-position: 0% 0; }
}
/* Header button: shine only, no pulsing shadow (repainting a shadow in a
   sticky header caused streaks on iPhone Safari). */
.header-actions .btn-primary {
  animation: btn-shine-sweep 3.2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(214,43,43,0.28);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .header-actions .btn-primary { animation: none; background-image: none; }
}

.btn-blue { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.btn-blue:hover { background: var(--blue-800); border-color: var(--blue-800); color: var(--white); box-shadow: var(--shadow-blue); }

.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-700); color: var(--blue-700); background: var(--blue-050); }

.btn-light { background: var(--white); color: var(--blue-900); border-color: var(--white); }
.btn-light:hover { background: var(--blue-050); color: var(--blue-900); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

.btn-lg { padding: 17px 34px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
}
.header-inner {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.logo-mark {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--blue-700); color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 5px;
  overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: 0; bottom: 0;
  width: 0; height: 0;
  border-style: solid; border-width: 0 0 16px 16px;
  border-color: transparent transparent var(--red-600) transparent;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.06rem;
  color: var(--ink-900);
  letter-spacing: -0.01em; text-transform: uppercase;
  line-height: 1.05;
}
.logo:hover .logo-text { color: var(--blue-700); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; align-items: center; }
.nav-link {
  display: block; padding: 11px 11px;
  white-space: nowrap;
  border-radius: var(--radius);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2.5px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.18s ease;
}
.nav-link:hover, .nav-link.active { color: var(--blue-700); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.has-mega, .has-dropdown { position: relative; }
.mega-panel, .dropdown-panel {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-700);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 90;
}
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel,
.has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega-panel { width: 800px; padding: 28px; left: 50%; transform: translateX(-50%) translateY(8px); }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.mega-col-title {
  display: block; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 2px solid var(--red-600);
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
  color: var(--ink-900); text-transform: uppercase; letter-spacing: 0.03em;
}
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin-bottom: 7px; }
.mega-col a { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.45; display: block; }
.mega-col a:hover { color: var(--blue-700); }
.mega-footer { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); text-align: right; }
.mega-viewall { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red-600); }

.dropdown-panel { list-style: none; margin: 0; padding: 12px; min-width: 250px; }
.dropdown-panel li { margin: 0; }
.dropdown-panel a { display: block; padding: 9px 13px; border-radius: var(--radius); font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.dropdown-panel a:hover { background: var(--blue-050); color: var(--blue-700); }

.header-actions { display: flex; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; flex-direction: column; }
.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--ink-900); display: block; }

/* ==========================================================================
   HERO - diagonal collage
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column;
  z-index: 0;
}
.hero-strip {
  display: flex;
  flex: 1 1 50%;
  min-height: 0;
  transform: skewX(-11deg);
  width: 118%;
  margin-left: -9%;
}
.hero-strip + .hero-strip { margin-top: 6px; }

.hcell {
  position: relative; overflow: hidden;
  background: var(--ink-800);
  margin-right: 6px;
  min-width: 0;
}
.hcell:last-child { margin-right: 0; }

/* Panel width ratios */
.hero-strip-1 .hcell:nth-child(1) { flex: 1.05 1 0; }
.hero-strip-1 .hcell:nth-child(2) { flex: 0.55 1 0; }
.hero-strip-1 .hcell:nth-child(3) { flex: 1.15 1 0; }
.hero-strip-1 .hcell:nth-child(4) { flex: 1.40 1 0; }
.hero-strip-2 .hcell:nth-child(1) { flex: 0.35 1 0; }
.hero-strip-2 .hcell:nth-child(2) { flex: 1.10 1 0; }
.hero-strip-2 .hcell:nth-child(3) { flex: 1.20 1 0; }
.hero-strip-2 .hcell:nth-child(4) { flex: 1.50 1 0; }

.hcell > .hcell-inner {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  transform: skewX(11deg) scale(1.30);
  background-size: cover; background-position: center;
  background-color: var(--ink-800);
}
.hcell-blue { background: var(--blue-700); }
.hcell-blue > .hcell-inner { background: var(--blue-700); }
.hcell-red { background: var(--red-600); }
.hcell-red > .hcell-inner { background: var(--red-600); }
.hcell-empty { background: transparent; }
.hcell-empty > .hcell-inner { background: transparent; }

/* Photo slots. Real <img> elements inside each cell - see intake.py for the mapping. */
.hcell-photo .hcell-inner {
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.030) 0 2px, rgba(255,255,255,0) 2px 13px),
    linear-gradient(150deg, #2A3550 0%, #1A2334 45%, #10161F 100%);
}
.hcell-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.hcell-label {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  transform: skewX(11deg);
  transform-origin: left bottom;
  padding: 8px 14px;
  background: rgba(6,10,14,0.72);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* Scrim so text stays legible over any photo */
.hero-scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,10,14,0.08) 0%, rgba(6,10,14,0.30) 24%, rgba(6,10,14,0.72) 40%, rgba(6,10,14,0.93) 55%, rgba(6,10,14,0.97) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: 104px 28px 92px;
  display: flex; justify-content: flex-end; align-items: center;
  min-height: 620px;
}
.hero-copy { width: 58%; min-width: 0; }

.hero-kicker {
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.95rem;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 0.08em;
  line-height: 1.4; margin: 0 0 22px;
  max-width: 26ch;
}
.hero-kicker::before {
  content: ""; display: block;
  width: 62px; height: 4px; background: var(--red-600);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  font-size: clamp(3.1rem, 8.4vw, 7.1rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 26px;
  color: var(--white);
}
.hero-title .ht-1 { display: block; color: var(--white); }
.hero-title .ht-2 { display: block; color: var(--red-600); }

.hero-lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem; line-height: 1.66;
  max-width: 52ch; margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust bar (brand blue) ---------- */
.trust-bar { background: var(--blue-700); color: var(--white); padding: 26px 0; }
.trust-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.94rem;
  line-height: 1.3;
}
.trust-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.14);
  border-left: 3px solid var(--red-600);
  color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 0.8rem;
  letter-spacing: 0.03em;
}

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section-tight { padding: 56px 0; }
.section-intro { padding: 56px 0 52px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink-900); color: rgba(255,255,255,0.82); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; margin-right: 0; text-align: left; max-width: 860px; }
.section-head p { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.76rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; background: var(--red-600); display: block;
}
.section-head:not(.left) .eyebrow { justify-content: center; }
.section-dark .eyebrow { color: var(--red-500); }
.section-dark .eyebrow::before { background: var(--red-500); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 4px; background: var(--red-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-700); color: var(--white);
  border-radius: 8px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: background 0.18s ease;
}
.cat-card:hover .cat-icon { background: var(--red-600); }
.cat-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.cat-card p { font-size: 0.85rem; margin: 0; color: var(--ink-mute); line-height: 1.5; }

/* ---------- Office cards ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.office-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.office-card + .office-card { margin-top: 0; }
.office-card-lg { padding: 40px; }
.office-card-lg h2 { font-size: 1.5rem; margin-bottom: 6px; }
.office-flag {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 13px;
  background: var(--red-600); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px;
}
.office-role { color: var(--ink-900); font-weight: 700; margin-bottom: 12px; font-family: var(--font-display); }
.office-card address { font-style: normal; color: var(--ink-soft); margin-bottom: 16px; line-height: 1.7; }

/* ---------- Steps ---------- */
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-list-4 { grid-template-columns: repeat(4, 1fr); }
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 16px;
  background: var(--blue-700); color: var(--white);
  border-radius: 6px;
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { margin: 0; font-size: 0.95rem; }
.section-alt .step-card { background: var(--white); }

/* ---------- Subcategory cards ---------- */
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.sub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sub-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.sub-card h3 a { color: var(--ink-900); }
.sub-card h3 a:hover { color: var(--blue-700); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--blue-100); }
.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue-050) 0%, var(--bg-alt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 0.95rem; margin-bottom: 8px; line-height: 1.35; }
.product-body p { font-size: 0.83rem; margin: 0 0 14px; color: var(--ink-mute); line-height: 1.55; flex: 1; }
.product-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-100);
  padding: 5px 11px; border-radius: 3px;
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
}
.testimonial-card::before {
  content: "";
  position: absolute; top: 0; left: 30px;
  width: 46px; height: 4px; background: var(--red-600);
}
.testimonial-quote { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; line-height: 1.65; }
.testimonial-attr {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 800;
  color: var(--blue-700);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--blue-700);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 62px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 260px; height: 100%;
  background: var(--blue-800);
  transform: skewX(-14deg); transform-origin: top right;
  right: -80px;
}
.cta-band::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 130px; height: 8px; background: var(--red-600);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 62ch; margin: 0 auto 26px; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.cta-band .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.32; }
.blog-body h3 a { color: var(--ink-900); }
.blog-body h3 a:hover { color: var(--blue-700); }
.blog-body p { font-size: 0.92rem; flex: 1; }
.blog-body > a:last-child {
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--red-600);
}
.blog-meta {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-600);
}

/* ---------- Article ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-wide { max-width: 920px; }
.article-body p, .article-wide p { font-size: 1.06rem; line-height: 1.78; }
.article-body h2, .article-wide h2 { margin-top: 44px; }
.article-body h2:first-child, .article-wide h2:first-child { margin-top: 0; }
.article-body h2::after, .article-wide h2::after, .two-col > div > h2::after {
  content: ""; display: block;
  width: 52px; height: 4px; background: var(--red-600);
  margin-top: 16px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item[open] { border-left: 4px solid var(--red-600); }
.faq-item summary {
  position: relative;
  display: block;
  padding-right: 42px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.02rem;
  color: var(--ink-900);
  cursor: pointer; list-style: none;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--red-600); line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 14px 0 0; font-size: 0.99rem; }

/* ---------- Tables ---------- */
.compare-table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.compare-table th, .compare-table td {
  border: 1px solid var(--line); padding: 15px 18px; text-align: left; font-size: 0.94rem;
}
.compare-table thead th {
  background: var(--blue-700); color: var(--white);
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem;
  border-color: var(--blue-700);
}
.compare-table tbody td:first-child { font-weight: 700; color: var(--ink-900); background: var(--bg-alt); }

/* ---------- Forms ---------- */
.inquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red-600);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.82rem;
  color: var(--ink-900);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.97rem; font-family: inherit; color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue-700); }
.form-note { font-size: 0.82rem; color: var(--ink-mute); margin: 14px 0 0; }
.form-hp {
  position: absolute !important; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.inquiry-form { position: relative; }
.form-status { margin: 14px 0 0; font-size: 0.92rem; font-weight: 500; border-radius: var(--radius); }
.form-status:empty { display: none; }
.form-status.is-ok { background: #EAF6EE; color: #1B5E33; border-left: 4px solid #1B5E33; padding: 12px 14px; }
.form-status.is-error { background: var(--red-100); color: var(--red-800); border-left: 4px solid var(--red-800); padding: 12px 14px; }
.form-status:focus { outline: 2px solid var(--blue-700); outline-offset: 2px; }
button[disabled] { opacity: 0.7; cursor: wait; }

/* Company registration details (contact, terms, privacy) */
.company-card {
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red-600);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 8px 0 28px;
}
.company-card p { margin: 0 0 12px; }
.company-card p:last-child { margin-bottom: 0; }
.company-card-note { font-size: 0.9rem; color: var(--ink-soft); }
.legal-entity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.legal-entity p { margin: 0; font-size: 0.95rem; }
@media (max-width: 760px) { .legal-entity { grid-template-columns: 1fr; } }
.legal-updated { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); }
.office-reg { font-size: 0.85rem; font-weight: 600; color: var(--blue-700); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-mute); padding: 20px 0 6px; font-weight: 500; }
.breadcrumb a { color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--blue-700); }
.crumb-sep { color: var(--line); margin: 0 2px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  background: var(--ink-900);
  color: var(--white);
  padding: 20px 0 62px;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: 0; right: -120px;
  width: 46%; height: 100%;
  background: var(--blue-700);
  transform: skewX(-13deg);
  opacity: 0.85;
}
.page-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--red-600) 0%, var(--red-600) 22%, var(--blue-700) 22%, var(--blue-700) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 66ch; font-size: 1.08rem; margin-bottom: 0; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .crumb-sep { color: rgba(255,255,255,0.3); }
.page-hero .blog-meta { color: var(--red-500); }

/* ---------- Layout helpers ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.two-col > div > h2 { margin-top: 40px; }
.two-col > div > h2:first-child { margin-top: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.pill {
  display: inline-block; padding: 7px 15px;
  background: var(--blue-100); color: var(--blue-700);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.03em;
}
.pill:hover { background: var(--red-600); color: var(--white); }

.catalog-block { margin-bottom: 66px; }
.catalog-block:last-child { margin-bottom: 0; }
.block-more { margin-top: 24px; }
.center-note { text-align: center; margin-top: 34px; }

.related-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-links li { margin: 0; }
.related-links a {
  display: block; padding: 15px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-700);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  color: var(--ink-900);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-links a:hover { border-left-color: var(--red-600); color: var(--blue-700); transform: translateX(3px); }

.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.sitemap-group h2 { font-size: 1.08rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--red-600); }
.sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.sitemap-group li { margin-bottom: 9px; font-size: 0.92rem; }

.section-404 { text-align: center; padding: 110px 0; }
.link-list { list-style: none; margin: 28px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.link-list a {
  display: inline-block; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
}
.link-list a:hover { border-color: var(--blue-700); background: var(--blue-050); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 72px 0 0; margin-top: 0; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1.7fr 0.85fr 1fr 0.9fr; gap: 40px;
}
.site-footer .logo-text { color: var(--white); }
.footer-tagline { color: rgba(255,255,255,0.62); font-size: 0.94rem; margin: 18px 0 24px; max-width: 34ch; }
.footer-offices { display: grid; gap: 18px; margin-bottom: 22px; }
.footer-office { border-left: 3px solid var(--red-600); padding-left: 14px; }
.footer-office strong {
  display: block; color: var(--white); margin-bottom: 5px;
  font-family: var(--font-display); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-office address { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.65; }
.footer-contact a { color: rgba(255,255,255,0.88); font-size: 0.94rem; font-weight: 600; }
.footer-contact a:hover { color: var(--red-500); }
.footer-col h3 {
  color: var(--white); font-size: 0.82rem; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding-bottom: 10px; border-bottom: 2px solid var(--blue-700);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 52px auto 0;
  padding: 22px 28px;
  max-width: var(--maxw);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.footer-bottom p { margin: 0; font-size: 0.83rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: grid; gap: 6px; }
.footer-bottom .footer-legal p { color: rgba(255,255,255,0.62); font-size: 0.8rem; line-height: 1.55; }
.footer-bottom .footer-legal p:first-child { color: rgba(255,255,255,0.72); font-size: 0.83rem; }
.footer-legal-links a { color: rgba(255,255,255,0.78); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal-links a:hover { color: var(--white); }
.footer-legal-links span { margin: 0 6px; color: rgba(255,255,255,0.4); }
.call-fab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red-600); color: var(--white); flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(214,43,43,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.call-fab:hover, .call-fab:focus-visible { background: var(--red-700); color: var(--white); transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .call-fab { transition: none; }
  .call-fab:hover, .call-fab:focus-visible { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .mega-panel { width: 640px; }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .hero-inner { display: block; min-height: 0; padding: 78px 28px 70px; }
  .hero-copy { width: 100%; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(6,10,14,0.72) 0%, rgba(6,10,14,0.90) 55%, rgba(6,10,14,0.96) 100%);
  }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .blog-grid, .step-list, .step-list-4 { grid-template-columns: 1fr 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-links, .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 66px 0; }
  .cta-band { padding: 48px 32px; }
}

@media (max-width: 760px) {
  .header-actions .btn { padding: 10px 14px; font-size: 0.72rem; letter-spacing: 0.04em; }
  .logo-mark { width: 38px; height: 38px; font-size: 0.88rem; }
  .logo-text { font-size: 0.9rem; }
  .logo { gap: 10px; }
  .header-inner { gap: 10px; padding: 12px 20px; }
  .hero-strip-1 .hcell:nth-child(4),
  .hero-strip-2 .hcell:nth-child(4) { display: none; }
  .hcell-label { display: none; }
  .cat-grid, .product-grid, .testimonial-grid, .blog-grid,
  .step-list, .step-list-4, .sub-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner, .related-links, .sitemap-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .inquiry-form { padding: 26px 20px; }
  .cta-band { padding: 38px 22px; }
  .office-card, .office-card-lg { padding: 26px; }
  .container, .header-inner, .hero-inner, .trust-bar-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .compare-table th, .compare-table td { padding: 11px 12px; font-size: 0.86rem; }
}

/* ==========================================================================
   Trade route: China -> Pakistan / USA (flag cards)
   ========================================================================== */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.route-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.route-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.route-flag {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-alt);
}
.route-flag img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.route-step {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 11px;
  background: var(--ink-900); color: var(--white);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.route-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.route-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.route-role {
  display: block; margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red-600);
}
.route-body p { font-size: 0.93rem; margin: 0; flex: 1; }
.route-body address {
  font-style: normal; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.86rem; color: var(--ink-mute); line-height: 1.6;
}

/* ==========================================================================
   Full width photo band
   ========================================================================== */
.photo-band {
  position: relative;
  min-height: 420px;
  display: flex; align-items: center;
  background-color: var(--ink-900);
  background-image: url("/assets/img/band-ship.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  .photo-band {
    background-image: image-set(
      url("/assets/img/band-ship.webp") type("image/webp"),
      url("/assets/img/band-ship.jpg") type("image/jpeg"));
  }
}
.photo-band::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(6,10,14,0.92) 0%, rgba(6,10,14,0.78) 42%, rgba(6,10,14,0.30) 100%);
}
.photo-band .container { position: relative; z-index: 2; }
.photo-band h2 { color: var(--white); max-width: 20ch; }
.photo-band h2::after {
  content: ""; display: block;
  width: 62px; height: 4px; background: var(--red-600); margin-top: 18px;
}
.photo-band p { color: rgba(255,255,255,0.84); max-width: 54ch; font-size: 1.06rem; }
.photo-band .eyebrow { color: var(--red-500); }
.photo-band .eyebrow::before { background: var(--red-500); }
.band-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ==========================================================================
   Feature split (image beside copy)
   ========================================================================== */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-media::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 120px; height: 7px; background: var(--red-600);
}

@media (max-width: 980px) {
  .route-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .photo-band { min-height: 340px; }
  .photo-band::before {
    background: linear-gradient(180deg, rgba(6,10,14,0.80) 0%, rgba(6,10,14,0.92) 100%);
  }
}

/* ==========================================================================
   Photo category cards (homepage / wholesale)
   ========================================================================== */
.cat-card-photo { padding: 0; text-align: left; }
.cat-card-photo .cat-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.cat-card-photo .cat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.cat-card-photo:hover .cat-thumb img { transform: scale(1.05); }
.cat-card-photo .cat-thumb::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(6,10,14,0) 45%, rgba(6,10,14,0.55) 100%);
}
.cat-card-photo .cat-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  display: inline-block; padding: 5px 11px;
  background: var(--red-600); color: var(--white);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.64rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.cat-card-photo .cat-body { padding: 22px 20px 24px; }
.cat-card-photo h3 { font-size: 1.05rem; margin-bottom: 7px; }
.cat-card-photo p { font-size: 0.85rem; margin: 0; color: var(--ink-mute); line-height: 1.5; }

/* ==========================================================================
   Page hero with photo backdrop
   ========================================================================== */
.page-hero-photo { position: relative; }
.page-hero-photo .page-hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0; overflow: hidden;
}
.page-hero-photo .page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.page-hero-photo::before {
  z-index: 1;
  opacity: 0.72;
}
.page-hero-photo .page-hero-scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,10,14,0.95) 0%, rgba(6,10,14,0.88) 48%, rgba(6,10,14,0.55) 100%);
}

/* ==========================================================================
   Photo strip (subcategory galleries)
   ========================================================================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.photo-strip figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.photo-strip img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
}
.photo-strip figcaption {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 760px) {
  .page-hero-photo .page-hero-scrim {
    background: linear-gradient(180deg, rgba(6,10,14,0.86) 0%, rgba(6,10,14,0.94) 100%);
  }
}

/* ==========================================================================
   Aspect-ratio boxes with a padding fallback.
   aspect-ratio is well supported now, but the padding technique also covers
   older Safari/Android, so media boxes never collapse.
   ========================================================================== */
.cat-card-photo .cat-thumb,
.route-flag,
.photo-strip figure .ratio,
.product-thumb,
.blog-thumb {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}
.cat-card-photo .cat-thumb { padding-top: 75%; }        /* 4:3 */
.route-flag { padding-top: 66.6667%; }                  /* 3:2 */
.photo-strip figure .ratio { padding-top: 75%; }        /* 4:3 */
.product-thumb { padding-top: 75%; }                    /* 4:3 */
.blog-thumb { padding-top: 56.25%; }                    /* 16:9 */

.cat-card-photo .cat-thumb > img,
.route-flag > picture > img,
.route-flag > img,
.photo-strip figure .ratio > img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Centre the placeholder captions now that the boxes are padding based */
.product-thumb, .blog-thumb { display: block; }
.product-thumb > span, .blog-thumb > span {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 10px;
}

.feature-media { position: relative; }
.feature-media img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   CTA block with photo backdrop
   ========================================================================== */
.cta-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink-900);
  padding: 66px 52px;
  text-align: center;
  isolation: isolate;
}
.cta-photo .cta-photo-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0;
}
.cta-photo .cta-photo-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cta-photo::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(27,31,85,0.94) 0%, rgba(6,10,14,0.88) 55%, rgba(6,10,14,0.80) 100%);
}
.cta-photo::after {
  content: ""; position: absolute; bottom: 0; left: 0; z-index: 2;
  width: 150px; height: 8px; background: var(--red-600);
}
.cta-photo > .cta-photo-inner { position: relative; z-index: 2; }
.cta-photo h2 { color: var(--white); margin-bottom: 14px; }
.cta-photo p { color: rgba(255,255,255,0.88); max-width: 64ch; margin: 0 auto 26px; font-size: 1.06rem; }
.cta-photo .cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Answer block (AEO) - short question/answer pairs with a photo aside
   ========================================================================== */
.answer-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
}
.answer-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.answer-media img { width: 100%; height: auto; display: block; }
.answer-media::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 110px; height: 7px; background: var(--red-600);
}
.answer-list { display: grid; gap: 18px; }
.answer-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-700);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.answer-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.answer-item p { margin: 0; font-size: 0.95rem; }

@media (max-width: 980px) {
  .answer-split { grid-template-columns: 1fr; gap: 30px; }
  .cta-photo { padding: 46px 28px; }
}
@media (max-width: 760px) {
  .cta-photo { padding: 36px 22px; }
}

/* ==========================================================================
   Product thumbnails
   ========================================================================== */
.product-thumb > .product-img,
.blog-thumb > .blog-thumb-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Designed placeholder: reads as an intentional tile, not a broken image */
.product-thumb-empty {
  background:
    repeating-linear-gradient(135deg,
      rgba(54,60,142,0.10) 0 9px, rgba(54,60,142,0) 9px 20px),
    radial-gradient(circle at 50% 46%, rgba(255,255,255,0.95) 0 78px, rgba(255,255,255,0) 79px),
    linear-gradient(160deg, #DFE4F3 0%, #E9EDF6 52%, #DCE2EF 100%);
  box-shadow: inset 0 0 0 1px rgba(54,60,142,0.08);
}
.product-thumb-empty .product-mark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-100);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-weight: 900; font-size: 1.05rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(54,60,142,0.10);
}
.product-card:hover .product-thumb-empty .product-mark { border-color: var(--red-600); color: var(--red-600); }

/* ==========================================================================
   Marquee banner
   ========================================================================== */
.marquee {
  display: block;
  width: 100%;
  background: var(--red-600);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-shadow: 0 0 18px rgba(214,43,43,0.55), inset 0 0 24px rgba(255,255,255,0.06);
}
.marquee::after {
  content: "";
  position: absolute;
  top: 0; left: 0; height: 100%; width: 100%;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  animation: marquee-shine 3.6s ease-in-out infinite;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}
.marquee-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
  flex: none;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-shine {
  0% { background-position: -60% 0; }
  100% { background-position: 160% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee::after { animation: none; display: none; }
}
@media (max-width: 760px) {
  .marquee-item { padding: 10px 20px; font-size: 0.82rem; }
  .marquee-track { animation-duration: 22s; }
}

/* Page-hero CTA row (non-home pages) */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Homepage intro / about section */
.intro-section { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 56px;
  align-items: stretch;
}
.intro-copy { max-width: 700px; text-align: left; align-self: center; }
.intro-media { min-height: 440px; }
.intro-media picture { display: block; height: 100%; }
.intro-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-reg {
  margin: 22px 0 0 !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute) !important;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .intro-media { min-height: 0; aspect-ratio: 4 / 3; }
}
.intro-copy .eyebrow { display: block; margin-bottom: 10px; }
.intro-copy h2 { margin-bottom: 18px; max-width: 22ch; }
.intro-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 16px; }
.intro-copy .hero-cta-row { margin-top: 8px; }

/* ==========================================================================
   Rotating photo hero (homepage)
   Full-bleed crossfading backgrounds with a slow Ken Burns push. The first
   slide carries .is-active in the HTML so it still renders without JS.
   ========================================================================== */
.hero-rotate {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 700px;
  overflow: hidden;
  background: #0b0f16;
}
.hero-rotate-media { position: absolute; inset: 0; z-index: 0; }
.hero-rotate-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.05s ease-in-out;
  will-change: opacity;
}
.hero-rotate-slide.is-active { opacity: 1; }
.hero-rotate-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.04);
}
.hero-rotate-slide.is-active img {
  animation: heroKenBurns 4.2s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.03); }
  to   { transform: scale(1.10); }
}
.hero-rotate-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,11,18,0.82) 0%, rgba(8,11,18,0.62) 45%, rgba(8,11,18,0.34) 100%),
    linear-gradient(180deg, rgba(8,11,18,0.30) 0%, rgba(8,11,18,0.22) 45%, rgba(8,11,18,0.55) 100%);
}
.hero-rotate-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 40px 104px;
}
.hero-rotate-copy { max-width: 760px; }
.hero-rotate .hero-kicker { color: rgba(255,255,255,0.88); white-space: nowrap; }
@media (max-width: 620px) { .hero-rotate .hero-kicker { white-space: normal; } }
.hero-rotate-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
  font-size: clamp(2.5rem, 4.9vw, 4.05rem);
  text-transform: uppercase;
  color: var(--white);
}
.hero-rotate-title .hrt-2 { display: block; color: var(--red-600); }
.hero-rotate-lede {
  color: rgba(255,255,255,0.92);
  font-size: 1.04rem;
  line-height: 1.62;
  max-width: 620px;
  margin: 0 0 28px;
}
.hero-rotate .hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Slide indicators */
.hero-rotate-dots {
  position: absolute; z-index: 3;
  left: 40px; bottom: 34px;
  display: flex; gap: 10px;
}
.hero-rotate-dot {
  width: 30px; height: 4px;
  border: 0; padding: 0;
  border-radius: 2px;
  background: rgba(255,255,255,0.34);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-rotate-dot.is-active { background: var(--red-600); width: 46px; }
.hero-rotate-dot:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* Caption for the live slide */
.hero-rotate-caption {
  position: absolute; z-index: 3;
  right: 40px; bottom: 34px;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding-left: 34px;
}
.hero-rotate-caption::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 24px; height: 2px; background: var(--red-600);
}

@media (max-width: 1024px) {
  .hero-rotate { min-height: 580px; }
  .hero-rotate-inner { padding: 80px 28px; }
  .hero-rotate-scrim {
    background:
      linear-gradient(90deg, rgba(8,11,18,0.90) 0%, rgba(8,11,18,0.78) 55%, rgba(8,11,18,0.50) 100%),
      linear-gradient(180deg, rgba(8,11,18,0.44) 0%, rgba(8,11,18,0.26) 40%, rgba(8,11,18,0.66) 100%);
  }
  .hero-rotate-dots { left: 28px; bottom: 26px; }
  .hero-rotate-caption { display: none; }
}
@media (max-width: 760px) {
  .hero-rotate { min-height: 520px; }
  .hero-rotate-inner { padding: 64px 20px 78px; }
  .hero-rotate-lede { font-size: 1rem; }
  .hero-rotate-dots { left: 20px; bottom: 22px; }
  .hero-rotate .hero-ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  /* Photos still rotate; the zoom is what gets dropped. */
  .hero-rotate-slide { transition: opacity 0.5s linear; }
  .hero-rotate-slide.is-active img { animation: none; transform: scale(1.03); }
}

/* Secondary hero: the original angled photo-grid hero, reused mid-page */
.hero-secondary { min-height: 0; }
.hero-secondary .hero-inner { padding-top: 74px; padding-bottom: 74px; }
.hero-secondary .hero-kicker { white-space: nowrap; }
@media (max-width: 900px) { .hero-secondary .hero-kicker { white-space: normal; } }

/* Extra top-level nav item: shave the spacing on mid widths so the bar
   stays on one line before the mobile menu takes over. */
@media (min-width: 1280px) {
  .nav-link { padding: 11px 8px; font-size: 0.82rem; }
  .header-inner { gap: 12px; }
}

/* ==========================================================================
   Interior pages use the same angled photo-grid hero as the homepage.
   Only the scale changes: page headings run much longer than "Karachi
   Traders", so the title clamp and block height are pulled down and the
   breadcrumb sits above the kicker.
   ========================================================================== */
.hero-page .hero-inner {
  min-height: 460px;
  padding: 70px 28px 66px;
}
.hero-page .hero-title {
  font-size: clamp(2.05rem, 4.4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.hero-page .hero-kicker {
  font-size: 0.84rem;
  margin: 0 0 16px;
}
.hero-page .hero-kicker::before { width: 48px; height: 3px; margin-bottom: 12px; }
.hero-page .hero-lede { max-width: 58ch; font-size: 1rem; margin-bottom: 24px; }

/* Breadcrumb on the dark hero */
.hero-page .breadcrumb {
  padding: 0 0 14px;
  color: rgba(255,255,255,0.62);
}
.hero-page .breadcrumb a { color: rgba(255,255,255,0.62); }
.hero-page .breadcrumb a:hover { color: var(--white); }
.hero-page .crumb-sep { color: rgba(255,255,255,0.3); }

/* Long headings get a little more room to breathe */
.hero-page.hero-page-long .hero-title { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
.hero-page.hero-page-xlong .hero-title { font-size: clamp(1.6rem, 2.9vw, 2.3rem); line-height: 1.04; }

@media (max-width: 980px) {
  .hero-page .hero-inner { min-height: 0; padding: 52px 28px 54px; }
  .hero-page .hero-title { font-size: clamp(1.9rem, 6.4vw, 2.6rem); }
  .hero-page.hero-page-long .hero-title { font-size: clamp(1.7rem, 5.6vw, 2.2rem); }
  .hero-page.hero-page-xlong .hero-title { font-size: clamp(1.55rem, 5vw, 2rem); }
}

/* ==========================================================================
   Navigation (rebuilt)
   Desktop: hover / focus dropdowns with a short close delay.
   Mobile and tablet (<= 1279px): full-height slide-down menu with
   accordion sub-menus, body scroll lock, and a call / message block.
   ========================================================================== */
.nav-mobile-cta { display: none; }

@media (min-width: 1280px) {
  .mega-panel, .dropdown-panel {
    transition: opacity 0.18s ease 0.12s, transform 0.18s ease 0.12s, visibility 0s linear 0.3s;
  }
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel,
  .has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
  /* Mega panels center under the whole header instead of under their link */
  .has-mega { position: static; }
  /* invisible bridge so the panel does not close while the mouse crosses the gap */
  .mega-panel::before, .dropdown-panel::before {
    content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px;
  }
}

@media (max-width: 1279px) {
  .main-nav { flex: 0 0 auto; justify-content: flex-end; order: 3; }
  .header-actions { order: 2; margin-left: auto; }
  .header-actions .btn-ghost, .header-actions .btn-blue { display: none; }
  .header-actions .btn { padding: 10px 16px; font-size: 0.74rem; letter-spacing: 0.05em; }

  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; }
  .nav-toggle-bar { transition: transform 0.25s ease, opacity 0.2s ease; transform-origin: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav-list {
    position: fixed; left: 0; right: 0; top: var(--hdr-h, 68px); bottom: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 6px 22px calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 150;
  }
  .nav-list.nav-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }
  .nav-list > li { width: 100%; flex-shrink: 0; border-bottom: 1px solid var(--line-soft); }
  .nav-link { padding: 16px 2px; font-size: 1.02rem; border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--red-600); }

  /* Accordion rows */
  .has-mega > .nav-link, .has-dropdown > .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    -webkit-tap-highlight-color: transparent;
  }
  .has-mega > .nav-link::after, .has-dropdown > .nav-link::after {
    display: block; content: ""; position: static;
    width: 9px; height: 9px; margin: -5px 6px 0 14px;
    background: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform 0.25s ease, margin 0.25s ease;
  }
  .sub-open > .nav-link { color: var(--blue-700); }
  .sub-open > .nav-link::after { transform: rotate(-135deg); margin-top: 5px; }

  .mega-panel, .dropdown-panel,
  .has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel,
  .has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
    position: static; width: auto; min-width: 0;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0; background: transparent;
  }
  .mega-panel, .dropdown-panel {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mega-panel::before, .dropdown-panel::before { display: none; }
  .mega-grid { display: block; padding: 0 0 6px 14px; border-left: 2px solid var(--line-soft); margin-left: 2px; }
  .mega-col { padding: 6px 0; }
  .mega-col .mega-col-title {
    border-bottom: 0; padding: 6px 0 4px; margin: 0;
    font-size: 0.74rem; color: var(--ink-900); letter-spacing: 0.06em;
  }
  .mega-col li { margin: 0; }
  .mega-col a { padding: 9px 0; font-size: 0.94rem; color: var(--ink-soft); }
  .mega-footer { margin: 4px 0 14px 16px; padding-top: 10px; text-align: left; }
  .dropdown-panel { list-style: none; margin: 0; }
  .dropdown-panel li:last-child { padding-bottom: 12px; }
  .dropdown-panel a {
    padding: 10px 0 10px 16px; margin-left: 2px; border-radius: 0;
    border-left: 2px solid var(--line-soft);
    font-size: 0.94rem; font-weight: 500; color: var(--ink-soft);
  }
  .dropdown-panel a:hover { background: transparent; }

  .nav-mobile-cta {
    display: grid; gap: 10px;
    padding: 22px 0 6px; border-bottom: 0 !important;
  }
  .nav-mobile-cta .btn { width: 100%; }
  .nav-mobile-cta .btn-primary { animation: none; }

  html.nav-locked { overflow: hidden; }
  html.nav-locked .site-header { box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 420px) {
  .logo-text { font-size: 0.82rem; }
  .header-inner { gap: 8px; padding-left: 16px; padding-right: 16px; }
  .header-actions .btn { padding: 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-list, .nav-list.nav-open, .mega-panel, .dropdown-panel, .nav-toggle-bar,
  .has-mega > .nav-link::after, .has-dropdown > .nav-link::after { transition: none !important; }
}

/* Blog posts */
.post-date { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 22px; }
.post-date span { margin: 0 6px; color: var(--line); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; }
.table-scroll .compare-table { margin: 0; min-width: 520px; }
