/* industry-retail.css — Retail & Ecommerce industry page
   All component CSS is self-contained — no dependency on home.css.
   global.css is always loaded. */

/* ── Reveal (global.css already defines .rv / .rv.v,
      but transition-delay shorthand must be on the element
      BEFORE .v is added, so we apply delays here) ────────── */
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; }
.rv.d4 { transition-delay: .32s; }

/* ── Shared section-tag ───────────────────────────────────── */
.section-tag {
  font-family: var(--f-mono);
  font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 12px;
}

.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 14px;
}
.section-header p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); max-width: 480px; margin: 0;
}

/* ════════════════════════════════════════════════════════════
   STATS RAIL — navy dark band (matches homepage capability rail)
   ════════════════════════════════════════════════════════════ */
.rt-stats-band {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 52px;--amber:#f59e0b;}
.rt-stats-rail {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: stretch;
}
.rt-stat {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 32px 20px; text-align: center; gap: 10px;
}
.rt-stat-num {
  font-family: var(--f-serif);
  font-size: clamp(32px, 3.5vw, 48px); line-height: 1;
  color: var(--white); display: block;
}
.rt-stat-label {
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 300; line-height: 1.45;
  color: rgba(255,255,255,.55); display: block;
  max-width: 160px;
}
.rt-stat-sep {
  width: 1px; background: rgba(255,255,255,.1);
  margin: 24px 0; flex-shrink: 0;
}

body.hc .rt-stats-band { background: #00102a;--amber:#f59e0b;}
body.hc .rt-stat-num { color: #ffffff; }

/* ════════════════════════════════════════════════════════════
   SECTION 1: THE PROBLEM — white
   ════════════════════════════════════════════════════════════ */
.rt-problem-section {
  padding: 104px 0;
  background: var(--white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.rt-problem-card {
  background: var(--off-white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.rt-problem-tag {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 12px;
}
.rt-problem-card h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 19px; line-height: 1.2;
  color: var(--ink-900); margin: 0 0 12px;
}
.rt-problem-card p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ════════════════════════════════════════════════════════════
   SECTION 2: STATEMENT — navy
   ════════════════════════════════════════════════════════════ */
.rt-statement-section {
  padding: 96px 0; background: var(--navy); position: relative;--amber:#f59e0b;}
.rt-statement-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.rt-stmt-inner { max-width: 800px; position: relative; z-index: 1; }
.rt-stmt-overline {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 24px;
}
.rt-sh-light {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(20px, 2.6vw, 32px); line-height: 1.2;
  color: rgba(255,255,255,.45); margin: 0 0 8px;
}
.rt-sh-bold {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(28px, 3.8vw, 52px); line-height: 1.1;
  color: var(--white); margin: 0 0 32px;
}
.rt-stmt-body {
  font-size: 15px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,.6); max-width: 640px; margin: 0;
}
body.hc .rt-statement-section { background: #00102a;--amber:#f59e0b;}
body.hc .rt-sh-light { color: rgba(255,255,255,.6); }
body.hc .rt-sh-bold  { color: #ffffff; }
body.hc .rt-stmt-body { color: rgba(255,255,255,.85); }

/* ════════════════════════════════════════════════════════════
   SECTION 3: OUTPUT SHOWCASE — off-white
   ════════════════════════════════════════════════════════════ */
.rt-showcase-section {
  padding: 104px 0; background: var(--off-white);
  border-bottom: 1px solid var(--warm-100);
}

.rt-showcase-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 56px 0; border-top: 1px solid var(--warm-200);
}
.rt-showcase-row:first-of-type { border-top: none; padding-top: 0; }

.rt-showcase-row--flip .rt-showcase-text { order: 2; }
.rt-showcase-row--flip .rt-showcase-visual { order: 1; }

.rt-showcase-num {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 12px;
}
.rt-showcase-text h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 16px;
}
.rt-showcase-text p {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--ink-600); margin: 0 0 20px;
}
.rt-showcase-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.rt-showcase-tags span {
  font-family: var(--f-mono); font-size: 8.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-500); background: var(--warm-100);
  border: 1px solid var(--warm-200);
  border-radius: 20px; padding: 3px 10px;
}

/* Visual: swatch grid */
.rt-showcase-visual {
  background: var(--white);
  border: 1px solid var(--warm-200); border-radius: var(--r-xl);
  padding: 32px; box-shadow: var(--shadow-sm);
}

.rt-package-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 18px; align-items: end;
}
.rt-package-grid img {
  width: 100%; height: auto; display: block;
}
.rt-showcase-caption {
  font-family: var(--f-mono); font-size: 9px; font-weight: 300;
  color: var(--ink-400); text-align: center; letter-spacing: .03em;
}

/* Visual: format grid */
.rt-format-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.rt-format-item {
  background: var(--off-white); border: 1px solid var(--warm-200);
  border-radius: var(--r-md); padding: 14px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.rt-format-label {
  font-size: 11px; font-weight: 500; color: var(--ink-900);
}
.rt-format-spec {
  font-family: var(--f-mono); font-size: 8px; color: var(--ink-400);
  letter-spacing: .03em;
}

/* Visual: chain data panel */
.rt-data-panel {
  background: var(--navy); border-radius: var(--r-lg);
  padding: 20px 24px; display: flex; flex-direction: column; gap: 10px;--amber:#f59e0b;}
.rt-data-chain-line {
  display: flex; gap: 12px; align-items: baseline;
}
.rt-chain-key {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  color: var(--amber); flex-shrink: 0; min-width: 108px;
}
.rt-chain-val {
  font-family: var(--f-mono); font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,.65); word-break: break-all;
}

/* Platform logos strip */
.rt-platform-strip {
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--warm-200);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.rt-platform-strip-label {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink-400);
}
.rt-platform-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.rt-platform-logo-pill {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-600); background: var(--white);
  border: 1px solid var(--warm-200); border-radius: 20px;
  padding: 6px 14px;
}

/* ════════════════════════════════════════════════════════════
   SECTION 4: GS1 — white
   ════════════════════════════════════════════════════════════ */
.rt-gs1-section {
  padding: 104px 0; background: var(--white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-gs1-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.rt-gs1-text h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 20px;
}
.rt-gs1-text p {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--ink-600); margin: 0 0 16px;
}
.rt-gs1-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.rt-gs1-tags span {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--amber); background: rgba(180,83,9,.08);
  border: 1px solid rgba(180,83,9,.2);
  border-radius: var(--r-sm); padding: 4px 9px;
}
.rt-gs1-diagram {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--warm-200); box-shadow: var(--shadow-md);
}
.rt-gs1-diagram img { display: block; width: 100%; height: auto; }

/* ════════════════════════════════════════════════════════════
   SECTION 5: RESOLVE — off-white
   ════════════════════════════════════════════════════════════ */
.rt-resolve-section {
  padding: 104px 0; background: var(--off-white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-resolve-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.rt-resolve-visual {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--warm-200); box-shadow: var(--shadow-md);
}
.rt-resolve-visual img { display: block; width: 100%; height: auto; }
.rt-resolve-text h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 20px;
}
.rt-resolve-text p {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--ink-600); margin: 0 0 14px;
}
.rt-resolve-list {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.rt-resolve-list li {
  font-size: 13.5px; font-weight: 300; line-height: 1.5;
  color: var(--ink-600); padding-left: 16px; position: relative;
}
.rt-resolve-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 1px; background: var(--amber);
}

/* ════════════════════════════════════════════════════════════
   SECTION 6: VIEWER SUITE — compact, white
   ════════════════════════════════════════════════════════════ */
.rt-viewer-section {
  padding: 88px 0; background: var(--white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-viewer-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 48px; margin-bottom: 40px;
}
.rt-viewer-header-text { max-width: 600px; }
.rt-viewer-header-text h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 14px;
}
.rt-viewer-header-text p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0 0 16px;
}
.rt-viewer-link {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-900); text-decoration: none;
  border-bottom: 1px solid var(--warm-300);
  padding-bottom: 2px; transition: border-color .2s;
}
.rt-viewer-link:hover { border-color: var(--ink-900); }

.rt-viewer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.rt-viewer-card {
  background: var(--off-white); border: 1px solid var(--warm-200);
  border-radius: var(--r-lg); padding: 24px 22px;
}
.rt-viewer-num {
  font-family: var(--f-mono); font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--amber); display: block; margin-bottom: 8px;
}
.rt-viewer-card h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 17px; line-height: 1.2;
  color: var(--ink-900); margin: 0 0 8px;
}
.rt-viewer-card p {
  font-size: 13px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0;
}

/* ════════════════════════════════════════════════════════════
   SECTION 7: INTEGRATION — off-white
   ════════════════════════════════════════════════════════════ */
.rt-integration-section {
  padding: 104px 0; background: var(--off-white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-integration-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.rt-integration-text h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 40px); line-height: 1.1;
  color: var(--ink-900); margin: 0 0 20px;
}
.rt-integration-text p {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  color: var(--ink-600); margin: 0 0 14px;
}
.rt-integration-diagram {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--warm-200); box-shadow: var(--shadow-md);
}
.rt-integration-diagram img { display: block; width: 100%; height: auto; }

/* ════════════════════════════════════════════════════════════
   SECTION 8: PERSONAS — white
   ════════════════════════════════════════════════════════════ */
.rt-personas-section {
  padding: 104px 0; background: var(--white);
  border-bottom: 1px solid var(--warm-100);
}
.rt-persona-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.rt-persona-card {
  background: var(--off-white); border: 1px solid var(--warm-200);
  border-radius: var(--r-lg); padding: 32px 28px;
}
.rt-persona-role {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 12px;
}
.rt-persona-card h3 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 18px; line-height: 1.2;
  color: var(--ink-900); margin: 0 0 12px;
}
.rt-persona-card p {
  font-size: 14px; font-weight: 300; line-height: 1.6;
  color: var(--ink-600); margin: 0 0 20px;
}
.rt-persona-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  padding-top: 14px; border-top: 1px solid var(--warm-200);
}
.rt-persona-tags span {
  font-family: var(--f-mono); font-size: 8.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-500); background: var(--warm-100);
  border-radius: 20px; padding: 3px 8px;
}

/* ════════════════════════════════════════════════════════════
   SECTION 9: CTA — navy, centered
   Self-contained — does NOT rely on home.css .cta-section
   ════════════════════════════════════════════════════════════ */
.rt-cta-section {
  background: var(--navy);
  padding: 104px 52px;
  text-align: center;
  position: relative; overflow: hidden;--amber:#f59e0b;}
/* Radial glow */
.rt-cta-section::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,74,128,.3), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
/* Fine grid overlay */
.rt-cta-section::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .07;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}
.rt-cta-inner { position: relative; z-index: 2; }
.rt-cta-tag {
  font-family: var(--f-mono); font-size: 9px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--amber); display: block; margin-bottom: 18px;
}
.rt-cta-section h2 {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.05;
  letter-spacing: -.025em; color: var(--white); margin-bottom: 14px;
}
.rt-cta-section p {
  font-size: 16px; font-weight: 300; line-height: 1.55;
  color: rgba(255,255,255,.75);
  max-width: 400px; margin: 0 auto 36px;
}
.rt-cta-btns { display: flex; gap: 10px; justify-content: center; }
.rt-btn-white {
  display: inline-flex; align-items: center;
  font-family: var(--f-sans); font-size: 13.5px; font-weight: 500;
  letter-spacing: -.01em; padding: 12px 28px;
  border-radius: var(--r-sm); background: var(--white);
  color: var(--navy); border: none; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: opacity .18s;
}
.rt-btn-white:hover { opacity: .93; }

body.hc .rt-cta-section { background: #00102a;--amber:#f59e0b;}
body.hc .rt-cta-section h2 { color: #ffffff; }
body.hc .rt-cta-section p  { color: rgba(255,255,255,.85); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .rt-gs1-inner,
  .rt-resolve-inner,
  .rt-integration-inner { grid-template-columns: 1fr; gap: 48px; }

  .rt-showcase-row { grid-template-columns: 1fr; gap: 36px; }
  .rt-showcase-row--flip .rt-showcase-text,
  .rt-showcase-row--flip .rt-showcase-visual { order: unset; }

  .rt-problem-grid  { grid-template-columns: 1fr 1fr; }
  .rt-persona-grid  { grid-template-columns: 1fr 1fr; }
  .rt-viewer-grid   { grid-template-columns: repeat(2, 1fr); }

  .rt-viewer-header { flex-direction: column; align-items: flex-start; }

  .rt-problem-section, .rt-showcase-section, .rt-gs1-section,
  .rt-resolve-section, .rt-viewer-section, .rt-integration-section,
  .rt-personas-section { padding: 80px 0; }
  .rt-statement-section { padding: 72px 0; }
}

@media (max-width: 768px) {
  .rt-stats-band { padding: 0 20px; }
  .rt-stats-rail { flex-direction: column; gap: 0; }
  .rt-stat { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .rt-stat:last-child { border-bottom: none; }
  .rt-stat-sep { display: none; }

  .rt-problem-grid  { grid-template-columns: 1fr; }
  .rt-persona-grid  { grid-template-columns: 1fr; }
  .rt-viewer-grid   { grid-template-columns: 1fr 1fr; }

  .section-header { margin-bottom: 36px; }

  .rt-problem-section, .rt-showcase-section, .rt-gs1-section,
  .rt-resolve-section, .rt-viewer-section, .rt-integration-section,
  .rt-personas-section { padding: 64px 0; }
  .rt-statement-section { padding: 56px 0; }
  .rt-cta-section { padding: 72px 24px; }

  .rt-package-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .rt-format-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rt-viewer-grid   { grid-template-columns: 1fr; }
  .rt-problem-section, .rt-showcase-section, .rt-gs1-section,
  .rt-resolve-section, .rt-integration-section,
  .rt-personas-section { padding: 52px 0; }
  .rt-viewer-section { padding: 52px 0; }
  .rt-statement-section { padding: 48px 0; }
}
