/* ============================================================
   Platinum Apparel Mfg. Co. — Design System
   Palette: vivid indigo-blue on white/lavender, near-black ink
   Type: Plus Jakarta Sans (heading, used everywhere incl. hero) / Inter (body)
   ============================================================ */

:root{
  --font-head:'Plus Jakarta Sans', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-display:'Plus Jakarta Sans', sans-serif;

  --blue:#3D5CFF;
  --blue-dark:#12142B;
  --purple:#6C6DF5;
  --purple-light:#9C9CFA;
  --gold:#F59E0B;

  --gradient: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(61,92,255,0.09) 0%, rgba(108,109,245,0.09) 100%);
  --gradient-text: linear-gradient(120deg, #2540E8 10%, #6C6DF5 90%);

  --ink:#14162B;
  --grey:#5B6472;
  --grey-soft:#64748B;
  --border:#E7EAF9;
  --bg:#FFFFFF;
  --bg-alt:#EEF0FC;
  --bg-deep:#0A0B16;
  --canvas:#F4F5F7;
  --mark:rgba(61,92,255,.32);
  /* Panel width scales with the viewport so the grey margin stays proportional
     on any monitor, instead of stranding a fixed 1400px panel on wide screens. */
  --panel-w: min(1680px, calc(100% - 72px));

  --radius-sm:10px;
  --radius:20px;
  --radius-lg:28px;

  --shadow-soft:0 20px 60px -24px rgba(61,92,255,0.3);
  --shadow-card:0 12px 32px -16px rgba(20,22,43,0.14);
  --shadow-deep:0 30px 80px -30px rgba(10,11,22,0.55);

  --ease-out: cubic-bezier(.16,.8,.24,1);
  --ease-back: cubic-bezier(.2,1.4,.4,1);
  --dur-fast: .2s;
  --dur: .4s;
  --dur-slow: .7s;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,textarea,select{ font-family:inherit; font-size:inherit; }

h1,h2,h3,h4{ font-family:var(--font-head); font-weight:800; line-height:1.15; color:var(--ink); letter-spacing:-0.01em; }
.grad-text{
  background:var(--gradient-text);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}

.wrap{ max-width:1220px; margin:0 auto; padding:0 40px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

section{ padding:100px 0; position:relative; }
@media (max-width:780px){ section{ padding:64px 0; } }
.section-alt{ background:var(--bg-alt); }

/* ---------- Floating document canvas (grey page, inset panels) ---------- */
body{ background:var(--canvas); }
.sheet{
  position:relative;
  width:var(--panel-w);
  margin:0 auto 20px;
  background:#fff;
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.sheet.section-alt{ background:var(--bg-alt); }
@media (max-width:900px){
  :root{ --panel-w: calc(100% - 24px); }
  .sheet{ margin:0 auto 14px; border-radius:20px; }
}

/* Registration "+" crop marks — spec-sheet motif */
.sheet::after{
  content:""; position:absolute; inset:18px; pointer-events:none; z-index:6;
  background:
    linear-gradient(var(--mark),var(--mark)) left 0 top 6px/13px 1px no-repeat,
    linear-gradient(var(--mark),var(--mark)) left 6px top 0/1px 13px no-repeat,
    linear-gradient(var(--mark),var(--mark)) right 0 top 6px/13px 1px no-repeat,
    linear-gradient(var(--mark),var(--mark)) right 6px top 0/1px 13px no-repeat,
    linear-gradient(var(--mark),var(--mark)) left 0 bottom 6px/13px 1px no-repeat,
    linear-gradient(var(--mark),var(--mark)) left 6px bottom 0/1px 13px no-repeat,
    linear-gradient(var(--mark),var(--mark)) right 0 bottom 6px/13px 1px no-repeat,
    linear-gradient(var(--mark),var(--mark)) right 6px bottom 0/1px 13px no-repeat;
}
.sheet.cert-band::after{ --mark:rgba(255,255,255,.28); }
@media (max-width:900px){ .sheet::after{ display:none; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--purple); margin-bottom:16px;
}
.eyebrow::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--gradient); }

.section-head{ max-width:680px; margin:0 auto 56px; text-align:center; }
.section-head h2{ font-size:clamp(28px,4vw,42px); }
.section-head p{ margin-top:16px; color:var(--grey); font-size:16px; line-height:1.75; }
.section-head.left{ margin:0 0 56px; text-align:left; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:100px; font-weight:600; font-size:14.5px;
  transition:transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space:nowrap;
}
.btn svg{ width:16px; height:16px; flex-shrink:0; }
.btn-primary{ background:var(--blue-dark); color:#fff; box-shadow:0 16px 36px -18px rgba(10,11,22,.55); }
.btn-primary:hover{ background:#1D2040; transform:translateY(-2px); box-shadow:0 20px 42px -16px rgba(10,11,22,.6); }
.btn-blue{ background:var(--blue); color:#fff; box-shadow:var(--shadow-soft); }
.btn-blue:hover{ background:#2E4BEF; transform:translateY(-2px); box-shadow:0 24px 50px -16px rgba(61,92,255,.45); }
.btn-outline{ background:#fff; color:var(--ink); border:1.5px solid var(--border); }
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); transform:translateY(-2px); }
.btn-white{ background:#fff; color:var(--blue-dark); }
.btn-white:hover{ transform:translateY(-2px); box-shadow:0 20px 50px -18px rgba(0,0,0,.5); }
.btn-ghost-dark{ background:rgba(255,255,255,.08); color:#fff; border:1.5px solid rgba(255,255,255,.25); backdrop-filter:blur(6px); }
.btn-ghost-dark:hover{ background:rgba(255,255,255,.16); }
.btn-sm{ padding:10px 20px; font-size:13px; }

/* ---------- Header ---------- */
header{ position:sticky; top:0; z-index:100; background:rgba(244,245,247,.88); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid transparent; transition:box-shadow var(--dur) var(--ease-out), border-color var(--dur), background var(--dur); }
header.scrolled{ background:rgba(255,255,255,.94); box-shadow:0 8px 30px -20px rgba(15,23,42,.35); border-color:var(--border); }

.navbar{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.brand{ display:flex; align-items:center; }
.brand-mark{
  width:42px; height:42px; border-radius:12px; background:var(--gradient);
  display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-head); font-weight:700; font-size:17px;
  flex-shrink:0;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text .name{ font-family:var(--font-head); font-weight:800; font-size:15px; line-height:1.08; color:var(--ink); text-transform:uppercase; letter-spacing:-0.01em; }
.brand-text .sub{ font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--grey-soft); margin-top:2px; }

/* Wordmark logo. Source art is white-on-transparent, so the header uses an
   ink-recoloured copy (logo-dark.png) and the dark footer uses the original. */
.brand-logo{ height:34px; width:auto; display:block; }
@media (max-width:640px){ .brand-logo{ height:29px; } }
.foot-logo{ height:42px; width:auto; display:block; }

.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{ font-size:14.5px; font-weight:600; color:var(--ink); position:relative; padding:6px 0; transition:color var(--dur-fast); }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px; border-radius:2px; background:var(--gradient); transition:width var(--dur-fast) var(--ease-out); }
.nav-links a:hover{ color:var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--blue); }
.nav-actions{ display:flex; align-items:center; gap:20px; }

.nav-contact{ display:flex; align-items:center; gap:10px; font-size:13.5px; color:var(--grey); white-space:nowrap; }
.nav-contact a{ color:var(--grey); font-weight:500; transition:color var(--dur-fast); }
.nav-contact a:hover{ color:var(--ink); }
.nav-contact-sep{ color:var(--border); }
@media (max-width:1180px){ .nav-contact{ display:none; } }

.nav-toggle{ display:none; width:42px; height:42px; border-radius:10px; align-items:center; justify-content:center; border:1.5px solid var(--border); flex-shrink:0; }
.nav-toggle span{ display:block; width:18px; height:2px; background:var(--ink); position:relative; transition:background var(--dur-fast); }
.nav-toggle span::before,.nav-toggle span::after{ content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); transition:transform var(--dur-fast) var(--ease-out), top var(--dur-fast) var(--ease-out); }
.nav-toggle span::before{ top:-6px; }
.nav-toggle span::after{ top:6px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ top:0; transform:rotate(45deg); }
.nav-toggle.open span::after{ top:0; transform:rotate(-45deg); }

/* close button lives inside the slide-out panel (desktop nav has no need for it) */
.nav-close{ display:none; }

@media (max-width:920px){
  .nav-links{ position:fixed; inset:0 0 0 auto; top:0; height:100vh; width:min(320px,84vw); background:#fff; flex-direction:column; align-items:flex-start; gap:4px; padding:96px 30px 30px; box-shadow:-20px 0 60px -20px rgba(15,23,42,.3); transform:translateX(100%); transition:transform var(--dur-slow) var(--ease-out); z-index:99; }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ width:100%; padding:14px 0; border-bottom:1px solid var(--border); }
  .nav-toggle{ display:flex; }
  /* the panel sits above the header, so hide the burger and use the panel's own ✕ */
  .nav-toggle.open{ opacity:0; pointer-events:none; }

  .nav-close{
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:22px; right:24px; width:42px; height:42px;
    border-radius:50%; background:#fff; border:1.5px solid var(--border); color:var(--ink);
    transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  }
  .nav-close:hover{ background:var(--bg-alt); border-color:var(--blue); color:var(--blue); }
  .nav-close svg{ width:18px; height:18px; }
}
.nav-scrim{ position:fixed; inset:0; background:rgba(15,23,42,.4); backdrop-filter:blur(2px); opacity:0; pointer-events:none; transition:opacity var(--dur); z-index:98; }
.nav-scrim.open{ opacity:1; pointer-events:auto; }

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:64px 0 0; overflow:hidden;
  background:linear-gradient(165deg, #ffffff 0%, #ffffff 38%, #EEF0FC 72%, #DEE2FB 100%);
}
.hero-blob{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.3; z-index:0; animation:float 12s ease-in-out infinite; }
.hero-blob.b1{ width:340px; height:340px; background:var(--blue); top:-80px; right:8%; }
.hero-blob.b2{ width:260px; height:260px; background:var(--purple); bottom:-60px; left:2%; animation-delay:-4s; }
@keyframes float{ 0%,100%{ transform:translateY(0) scale(1);} 50%{ transform:translateY(-26px) scale(1.05);} }

.hero-inner{ position:relative; z-index:2; padding-bottom:60px; }

.hero-content{ max-width:760px; margin:0 auto; text-align:center; position:relative; z-index:2; }
.hero-content .eyebrow{ justify-content:center; }
.display-h1{ font-family:var(--font-display); font-weight:800; font-size:clamp(34px,5.4vw,66px); line-height:1.08; letter-spacing:-0.02em; color:var(--ink); }
.display-h1 .c-blue{ color:var(--blue); }
.display-h1 .c-blue-light{ color:var(--purple-light); }
.hero p.lede{ font-size:17px; color:var(--grey); max-width:540px; margin:24px auto 30px; line-height:1.8; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }

.hero-badges{ position:static; }
.hero-badge{
  position:absolute; display:flex; align-items:center; gap:12px; background:#fff;
  border-radius:16px; padding:14px 18px; box-shadow:var(--shadow-card); z-index:3;
  animation:bob 6s ease-in-out infinite;
}
.hb-ico{ width:40px; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hb-ico svg{ width:19px; height:19px; }
.hb-amber{ background:#FFF1DB; color:#D97706; }
.hb-blue{ background:#E4E9FF; color:#3D5CFF; }
.hb-green{ background:#DEF7E7; color:#16A34A; }
.hb-gold{ background:#FDEFD9; color:#D97706; }
.hb-num{ display:block; font-family:var(--font-head); font-weight:800; font-size:20px; line-height:1; color:var(--ink); }
.hb-lbl{ display:block; font-size:11.5px; color:var(--grey-soft); margin-top:3px; white-space:nowrap; }
.hb-tl{ top:10%; left:0%; animation-delay:0s; }
.hb-tr{ top:2%; right:2%; animation-delay:-1.5s; }
.hb-bl{ bottom:16%; left:4%; animation-delay:-3s; }
.hb-br{ bottom:10%; right:6%; animation-delay:-4.5s; }

/* two real factory photographs, side by side */
.hero-image-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:56px; position:relative; z-index:2; }
.hero-image-row .hir-img{ border-radius:18px; overflow:hidden; aspect-ratio:3/2; box-shadow:var(--shadow-card); }
.hero-image-row .hir-img img{ width:100%; height:100%; object-fit:cover; }
@media (max-width:700px){ .hero-image-row{ grid-template-columns:1fr; gap:14px; } }

@media (max-width:980px){
  .hero-inner{ display:flex; flex-direction:column; gap:26px; }
  .hero-content{ order:1; }
  .hero-badges{ order:2; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
  .hero-badge{ position:static !important; animation:none; }
  .hero-image-row{ order:3; margin-top:0; }
}
@media (max-width:700px){ .hero-image-row{ grid-template-columns:1fr; } }
@keyframes bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-10px);} }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  position:relative; padding:150px 0 70px; overflow:hidden; text-align:center;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(600px 380px at 10% 10%, rgba(37,99,235,.16), transparent 60%),
    var(--bg-alt);
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ font-size:clamp(30px,4.6vw,48px); max-width:760px; margin:0 auto; }
.page-hero p{ max-width:600px; margin:18px auto 0; color:var(--grey); font-size:16.5px; line-height:1.8; }
.breadcrumb{ display:flex; justify-content:center; gap:8px; font-size:13px; color:var(--grey-soft); margin-bottom:18px; }
.breadcrumb a{ color:var(--purple); font-weight:600; }

/* ---------- Cards / Stat strip ---------- */
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
@media (max-width:820px){ .stat-grid{ grid-template-columns:repeat(2,1fr); } }
.stat-cell{ background:#fff; padding:32px 26px; text-align:center; }
.stat-cell .n{ font-family:var(--font-head); font-weight:700; font-size:34px; background:var(--gradient-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.stat-cell .l{ font-size:12.5px; color:var(--grey-soft); margin-top:8px; text-transform:uppercase; letter-spacing:.04em; }

.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:920px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .feature-grid{ grid-template-columns:1fr; } }
.feature-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:32px 28px;
  transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.feature-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card); border-color:transparent; }
.feature-card .ico{ width:52px; height:52px; border-radius:14px; background:var(--gradient-soft); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.feature-card .ico svg{ width:26px; height:26px; color:var(--purple); }
.feature-card h3{ font-size:18px; margin-bottom:10px; }
.feature-card p{ font-size:14.5px; color:var(--grey); line-height:1.7; }

/* ---------- Two-column split (collapses on narrow screens) ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split-alt{ display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; margin-top:60px; }
@media (max-width:860px){
  .split{ grid-template-columns:1fr; gap:34px; }
  .split-alt{ grid-template-columns:1fr; gap:34px; margin-top:40px; }
}

/* ---------- Bento grid (asymmetric, illustration-led) ---------- */
.bento{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.bento > *:nth-child(1){ grid-column:span 2; }
.bento > *:nth-child(6){ grid-column:span 2; }
@media (max-width:980px){
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bento > *:nth-child(1), .bento > *:nth-child(6){ grid-column:span 2; }
}
@media (max-width:620px){
  .bento{ grid-template-columns:1fr; }
  .bento > *:nth-child(1), .bento > *:nth-child(6){ grid-column:span 1; }
}

.bento-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--border);
  border-radius:var(--radius); padding:14px 14px 26px; overflow:hidden;
  transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.bento-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card); border-color:transparent; }
.bento-viz{
  position:relative; border-radius:14px; height:170px; margin-bottom:22px; overflow:hidden;
  background:
    radial-gradient(circle at 1px 1px, rgba(61,92,255,.13) 1px, transparent 0) 0 0/16px 16px,
    linear-gradient(160deg,#F7F8FE 0%, #EDEFFC 100%);
  display:flex; align-items:center; justify-content:center;
}
.bento-viz svg{ width:100%; height:100%; display:block; }
.bento-viz img{ width:100%; height:100%; object-fit:cover; display:block; }
.viz-chip{
  position:absolute; top:14px; left:50%; transform:translateX(-50%); z-index:2;
  background:#fff; border-radius:100px; padding:5px 14px;
  font-family:var(--font-body); font-size:11px; font-weight:600; color:var(--ink);
  box-shadow:0 6px 18px -8px rgba(20,22,43,.4); white-space:nowrap;
}
.bento-card .bc-body{ padding:0 14px; }
.bento-card h3{ font-size:18px; margin-bottom:9px; }
.bento-card p{ font-size:14.5px; color:var(--grey); line-height:1.7; }

/* ---------- Process as rising bar chart ---------- */
.proc-chart{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; align-items:end; }
@media (max-width:900px){ .proc-chart{ grid-template-columns:1fr; gap:14px; } }
.proc-col{ display:flex; flex-direction:column; }
.proc-stage{ font-family:var(--font-head); font-weight:700; font-size:14.5px; color:var(--ink); margin-bottom:10px; }
.proc-bar-wrap{ height:230px; display:flex; align-items:flex-end; margin-bottom:16px; }
@media (max-width:900px){ .proc-bar-wrap{ height:56px; align-items:stretch; } }
.proc-bar{
  width:100%; height:0; border-radius:14px 14px 8px 8px;
  background:linear-gradient(180deg, var(--blue) 0%, var(--purple) 100%);
  box-shadow:0 16px 34px -18px rgba(61,92,255,.6);
  display:flex; align-items:flex-start; justify-content:center; padding-top:14px;
  transition:height 1s var(--ease-out);
}
@media (max-width:900px){
  .proc-bar{ height:100% !important; width:0; border-radius:8px 14px 14px 8px; align-items:center; justify-content:flex-end; padding:0 16px 0 0; transition:width 1s var(--ease-out); }
}
.proc-pct{ font-family:var(--font-head); font-weight:800; font-size:17px; color:#fff; }
.proc-col p{ font-size:13px; color:var(--grey); line-height:1.65; }

/* ---------- Trust chip (stacked avatars) ---------- */
.trust-chip{ display:inline-flex; align-items:center; gap:11px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.28); border-radius:100px; padding:6px 16px 6px 8px; margin-bottom:20px; backdrop-filter:blur(6px); }
.avatar-stack{ display:flex; }
.avatar-stack span{
  width:26px; height:26px; border-radius:50%; border:2px solid rgba(255,255,255,.85);
  display:flex; align-items:center; justify-content:center;
  font-size:9.5px; font-weight:700; color:#fff; font-family:var(--font-head); margin-left:-9px;
}
.avatar-stack span:first-child{ margin-left:0; }
.trust-chip .tc-text{ font-size:12.5px; font-weight:600; color:#fff; }

/* ---------- Capability tabs ---------- */
.tabs-bar{ display:flex; gap:6px; background:#fff; border:1px solid var(--border); border-radius:100px; padding:6px; overflow-x:auto; max-width:100%; margin:0 auto 44px; width:fit-content; box-shadow:var(--shadow-card); }
.tabs-bar::-webkit-scrollbar{ display:none; }
.tab-btn{ padding:11px 22px; border-radius:100px; font-size:13.5px; font-weight:600; color:var(--grey-soft); white-space:nowrap; transition:background var(--dur-fast), color var(--dur-fast); }
.tab-btn:hover{ color:var(--purple); }
.tab-btn.active{ background:var(--gradient); color:#fff; }
.tab-panel{ display:none; }
.tab-panel.active{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
@media (max-width:860px){ .tab-panel.active{ grid-template-columns:1fr; gap:26px; } }
/* product shots are square — a 5/4 crop would clip collars and hems.
   height:auto is required or the img's height attribute wins over aspect-ratio. */
.tab-panel img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-card); aspect-ratio:1/1; height:auto; object-fit:cover; width:100%; background:#fff; }
.tab-panel h3{ font-size:26px; margin-bottom:14px; }
.tab-panel p{ color:var(--grey); font-size:15.5px; line-height:1.8; margin-bottom:20px; }
.tab-panel ul{ display:flex; flex-direction:column; gap:12px; }
.tab-panel ul li{ display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:500; color:var(--ink); }
.tab-panel ul li svg{ width:18px; height:18px; color:var(--purple); flex-shrink:0; }

/* ---------- Capability table ---------- */
table.cap{ width:100%; border-collapse:collapse; background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-card); }
table.cap th{ text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.07em; color:#fff; padding:18px 22px; background:var(--gradient); }
table.cap td{ padding:20px 22px; border-bottom:1px solid var(--border); font-size:15px; vertical-align:top; }
table.cap tr:last-child td{ border-bottom:none; }
table.cap tr td:first-child{ font-weight:700; color:var(--ink); width:26%; }
table.cap tr td:last-child{ color:var(--grey); }
table.cap tr{ transition:background var(--dur-fast); }
table.cap tr:hover td{ background:var(--bg-alt); }

/* ---------- Certification band ---------- */
.cert-band{ background:var(--bg-deep); color:#fff; position:relative; overflow:hidden; }
.cert-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(700px 400px at 90% 0%, rgba(124,58,237,.35), transparent 60%), radial-gradient(600px 380px at 0% 100%, rgba(37,99,235,.3), transparent 60%); }
.cert-band .wrap{ position:relative; z-index:1; }
.cert-band .section-head p{ color:rgba(255,255,255,.6); }
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:820px){ .cert-grid{ grid-template-columns:repeat(2,1fr); } }
.cert-cell{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:var(--radius); padding:30px 26px; backdrop-filter:blur(10px); transition:transform var(--dur) var(--ease-out), background var(--dur); }
.cert-cell:hover{ transform:translateY(-6px); background:rgba(255,255,255,.1); }
.cert-cell .badge{ width:44px; height:44px; border-radius:12px; background:var(--gradient); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.cert-cell .badge svg{ width:22px; height:22px; color:#fff; }
.cert-cell h4{ color:#fff; font-size:16px; }
.cert-cell p{ font-size:13px; color:rgba(255,255,255,.6); margin-top:8px; line-height:1.6; }

/* ---------- Product range gallery ---------- */
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:900px){ .prod-grid{ grid-template-columns:repeat(3,1fr); gap:16px; } }
@media (max-width:660px){ .prod-grid{ grid-template-columns:repeat(2,1fr); } }
.prod-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; display:block;
  transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.prod-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-card); border-color:transparent; }
.prod-card .pc-img{ aspect-ratio:1/1; background:#fff; overflow:hidden; }
.prod-card .pc-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.prod-card .pc-body{ padding:16px 18px 18px; }
.prod-card .pc-name{ font-family:var(--font-head); font-weight:700; font-size:14.5px; color:var(--ink); }
.prod-card .pc-cat{ font-size:12px; color:var(--grey-soft); margin-top:4px; }

/* ---------- Certificate document gallery ---------- */
.cert-gallery-head{ text-align:center; margin:64px 0 30px; }
.cert-gallery-head h3{ color:#fff; font-size:clamp(20px,2.6vw,28px); }
.cert-gallery-head p{ color:rgba(255,255,255,.6); font-size:14.5px; margin-top:10px; }
.cert-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .cert-gallery{ grid-template-columns:repeat(2,1fr); gap:18px; } }
@media (max-width:560px){ .cert-gallery{ grid-template-columns:1fr; } }
.cert-doc{
  display:block; background:#fff; border-radius:14px; padding:10px 10px 0;
  box-shadow:0 20px 46px -22px rgba(0,0,0,.6);
  transition:transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.cert-doc:hover{ transform:translateY(-6px); box-shadow:0 28px 60px -22px rgba(0,0,0,.7); }
.cert-doc .cd-frame{
  /* contain, never crop — a certificate must always be readable in full */
  aspect-ratio:1/1.36; background:#fff; border:1px solid var(--border); border-radius:8px; overflow:hidden;
}
.cert-doc .cd-frame img{ width:100%; height:100%; object-fit:contain; display:block; }
.cert-doc .cd-label{
  display:flex; align-items:center; justify-content:center; gap:7px;
  font-size:12.5px; font-weight:700; color:var(--ink); padding:13px 8px 14px; text-align:center;
}
.cert-doc .cd-label svg{ width:14px; height:14px; color:var(--blue); flex-shrink:0; }

/* ---------- Buyer logo strip ---------- */
.buyer-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
@media (max-width:980px){ .buyer-grid{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:820px){ .buyer-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:520px){ .buyer-grid{ grid-template-columns:repeat(2,1fr); } }
/* logo tile: art is a uniform 476x245, shown edge to edge so brands with their
   own coloured lockup backgrounds read as intended */
.buyer-cell{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-sm);
  overflow:hidden; aspect-ratio:476/245; display:block;
  transition:transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.buyer-cell:hover{ transform:translateY(-4px); box-shadow:var(--shadow-card); border-color:transparent; }
.buyer-cell img{ width:100%; height:100%; object-fit:contain; display:block; }
.marquee .buyer-cell{ width:150px; flex-shrink:0; }

.marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* duration is tuned to the track length (35 logos, duplicated) so the strip
   scrolls at a readable ~58px/s rather than whipping past */
.marquee-track{ display:flex; gap:16px; width:max-content; animation:scroll-x 100s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes scroll-x{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------- Process timeline ---------- */
.timeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; position:relative; }
@media (max-width:920px){ .timeline{ grid-template-columns:1fr; gap:0; } }
.timeline::before{ content:""; position:absolute; top:26px; left:10%; right:10%; height:2px; background:var(--border); z-index:0; }
@media (max-width:920px){ .timeline::before{ top:0; bottom:0; left:26px; right:auto; width:2px; height:auto; } }
.tl-step{ position:relative; z-index:1; text-align:center; padding:0 14px; }
@media (max-width:920px){ .tl-step{ text-align:left; padding:0 0 40px 64px; display:flex; flex-direction:column; } }
.tl-num{ width:52px; height:52px; border-radius:50%; background:var(--gradient); color:#fff; font-family:var(--font-head); font-weight:700; font-size:18px; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; box-shadow:var(--shadow-soft); }
@media (max-width:920px){ .tl-num{ position:absolute; left:0; top:0; margin:0; width:44px; height:44px; font-size:15px; } }
.tl-step h4{ font-size:15.5px; margin-bottom:8px; }
.tl-step p{ font-size:13px; color:var(--grey-soft); line-height:1.6; }

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:920px){ .testi-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--shadow-card); display:flex; flex-direction:column; gap:18px; }
.testi-card .stars{ display:flex; gap:3px; color:var(--gold); }
.testi-card .stars svg{ width:15px; height:15px; }
.testi-card .quote{ font-size:14.5px; line-height:1.8; color:var(--ink); flex:1; }
.testi-card .quote strong{ font-weight:700; color:var(--ink); }
@media (min-width:921px){
  .testi-grid > *:nth-child(2){ transform:translateY(26px); }
  .testi-grid > *:nth-child(3){ transform:translateY(-14px); }
  [data-reveal-group].in.testi-grid > *:nth-child(2){ transform:translateY(26px); }
  [data-reveal-group].in.testi-grid > *:nth-child(3){ transform:translateY(-14px); }
}
.testi-card .person{ display:flex; align-items:center; gap:12px; }
.testi-card .avatar{ width:44px; height:44px; border-radius:50%; background:var(--gradient); display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--font-head); font-weight:700; font-size:15px; flex-shrink:0; }
.testi-card .p-name{ font-size:14px; font-weight:700; }
.testi-card .p-role{ font-size:12px; color:var(--grey-soft); }

/* ---------- Export region meters ---------- */
.export-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media (max-width:860px){ .export-grid{ grid-template-columns:1fr; gap:34px; } }
.region-table{ display:flex; flex-direction:column; gap:22px; }
.region-row .top{ display:flex; justify-content:space-between; margin-bottom:8px; font-size:14px; }
.region-row .name{ font-weight:700; color:var(--ink); }
.region-row .pct{ font-weight:700; color:var(--purple); }
.region-row .meter{ height:8px; border-radius:100px; background:var(--border); overflow:hidden; }
.region-row .meter span{ display:block; height:100%; border-radius:100px; background:var(--gradient); width:0; transition:width 1.2s var(--ease-out); }

.world-visual{ position:relative; background:var(--gradient); border-radius:var(--radius-lg); padding:50px 36px; color:#fff; overflow:hidden; box-shadow:var(--shadow-soft); }
.world-visual::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%); }
.world-visual .wv-inner{ position:relative; z-index:1; text-align:center; }
.world-visual .wv-num{ font-family:var(--font-head); font-size:56px; font-weight:700; }
.world-visual .wv-lbl{ font-size:14px; opacity:.85; margin-top:6px; }
.world-visual .wv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:34px; }
.world-visual .wv-cell{ background:rgba(255,255,255,.14); border-radius:14px; padding:18px; backdrop-filter:blur(6px); }
.world-visual .wv-cell b{ display:block; font-size:22px; font-family:var(--font-head); }
.world-visual .wv-cell span{ font-size:11.5px; opacity:.85; }

/* ---------- CTA band ---------- */
.cta-outer{ width:var(--panel-w); margin:0 auto; }
.cta-band{ background:var(--gradient); color:#fff; position:relative; overflow:hidden; border-radius:var(--radius-lg); margin:0; padding:64px 56px; }
@media (max-width:900px){ .cta-band{ border-radius:20px; } }
@media (max-width:640px){ .cta-band{ padding:44px 28px; } }
.cta-band::before{ content:""; position:absolute; width:400px; height:400px; border-radius:50%; background:rgba(255,255,255,.08); top:-160px; right:-100px; }
.cta-flex{ position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
.cta-flex h2{ color:#fff; font-size:clamp(24px,3.4vw,36px); max-width:560px; }
.cta-flex p{ color:rgba(255,255,255,.8); margin-top:10px; font-size:15px; }
.cta-flex .actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:36px; } }
.contact-info-card{ background:var(--bg-deep); color:#fff; border-radius:var(--radius-lg); padding:40px 34px; position:relative; overflow:hidden; }
.contact-info-card::before{ content:""; position:absolute; inset:0; background:radial-gradient(500px 300px at 100% 0%, rgba(124,58,237,.4), transparent 60%); }
.contact-info-card .ci-inner{ position:relative; z-index:1; }
.contact-row{ display:flex; gap:16px; padding:20px 0; border-bottom:1px solid rgba(255,255,255,.14); }
.contact-row:last-child{ border-bottom:none; }
.contact-row .ico{ width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-row .ico svg{ width:19px; height:19px; }
.contact-row .l{ font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:rgba(255,255,255,.55); margin-bottom:4px; }
.contact-row .v{ font-size:14.5px; font-weight:600; line-height:1.6; }
.social-row{ display:flex; gap:10px; margin-top:26px; }
.social-row a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; transition:background var(--dur-fast); }
.social-row a:hover{ background:rgba(255,255,255,.22); }
.social-row svg{ width:17px; height:17px; }

.contact-form{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px 36px; box-shadow:var(--shadow-card); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:8px; color:var(--ink); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; border:1.5px solid var(--border); border-radius:10px; font-size:14.5px;
  background:var(--bg-alt); transition:border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(61,92,255,.12); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:12.5px; color:var(--grey-soft); margin-top:14px; }
/* honeypot — must be reachable in the DOM for bots but never shown to people.
   display:none is avoided because some bots skip hidden inputs. */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status.is-ok{ color:#16A34A; font-weight:600; }
.form-status.is-error{ color:#DC2626; font-weight:600; }
.btn[aria-busy="true"]{ opacity:.7; pointer-events:none; }
.map-embed{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-card); border:1px solid var(--border); margin-top:26px; }
.map-embed iframe{ width:100%; height:320px; border:0; display:block; }

/* ---------- Footer ---------- */
footer{
  background:var(--bg-deep); color:rgba(255,255,255,.62); padding:80px 0 30px;
  margin:70px auto 0; width:var(--panel-w); border-radius:var(--radius-lg) var(--radius-lg) 0 0;
}
@media (max-width:900px){ footer{ margin:40px auto 0; border-radius:20px 20px 0 0; } }
.foot-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.1fr; gap:44px; }
@media (max-width:860px){ .foot-grid{ grid-template-columns:1fr 1fr; gap:34px; } }
@media (max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-grid h5{ font-size:12px; text-transform:uppercase; letter-spacing:.09em; color:#fff; margin-bottom:18px; font-weight:700; }
.foot-grid p{ font-size:13.8px; line-height:1.85; }
.foot-grid ul{ display:flex; flex-direction:column; gap:11px; }
.foot-grid a{ font-size:13.8px; transition:color var(--dur-fast); }
.foot-grid a:hover{ color:#fff; }
.foot-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.foot-brand .brand-text .name{ color:#fff; }
.foot-bottom{ margin-top:56px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; font-size:12.5px; flex-wrap:wrap; gap:10px; }
.foot-social{ display:flex; gap:10px; margin-top:18px; }
.foot-social a{ width:34px; height:34px; border-radius:9px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.foot-social svg{ width:15px; height:15px; }
.foot-social a:hover{ background:rgba(255,255,255,.18); }

/* ---------- Scroll reveal ---------- */
[data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease-out), transform .7s var(--ease-out); }
[data-reveal].in{ opacity:1; transform:translateY(0); }
[data-reveal-group] > *{ opacity:0; transform:translateY(20px); transition:opacity .6s var(--ease-out), transform .6s var(--ease-out); }
[data-reveal-group].in > *{ opacity:1; transform:translateY(0); }
[data-reveal-group].in > *:nth-child(1){ transition-delay:.05s; }
[data-reveal-group].in > *:nth-child(2){ transition-delay:.12s; }
[data-reveal-group].in > *:nth-child(3){ transition-delay:.19s; }
[data-reveal-group].in > *:nth-child(4){ transition-delay:.26s; }
[data-reveal-group].in > *:nth-child(5){ transition-delay:.33s; }
[data-reveal-group].in > *:nth-child(6){ transition-delay:.4s; }

/* ---------- Back to top ---------- */
.to-top{ position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%; background:var(--gradient); color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-soft); opacity:0; pointer-events:none; transform:translateY(10px); transition:opacity var(--dur), transform var(--dur); z-index:80; }
.to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.to-top svg{ width:20px; height:20px; }

/* ---------- Misc ---------- */
.divider-dot{ display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--border); }
.pill-list{ display:flex; gap:12px; flex-wrap:wrap; }
.pill{ padding:8px 16px; border-radius:100px; background:var(--bg-alt); border:1px solid var(--border); font-size:12.5px; font-weight:600; color:var(--blue-dark); }
::selection{ background:var(--purple); color:#fff; }
:focus-visible{ outline:2px solid var(--purple); outline-offset:3px; }

/* ---------- Print / PDF export ----------
   The buyer marquee track is ~2700px wide (duplicated for the seamless loop).
   On screen it's clipped by overflow:hidden, but print engines lay it out at full
   width and shrink the whole page to fit — which made index.html export at ~80%
   scale while pages without a marquee exported at 100%. Neutralise it for print. */
@media print{
  .marquee{ overflow:hidden; -webkit-mask-image:none; mask-image:none; }
  .marquee-track{
    animation:none !important; transform:none !important;
    width:100% !important; flex-wrap:wrap; justify-content:center;
  }
  /* the second (duplicate) set of logos exists only for the loop — 35 unique */
  .marquee-track > *:nth-child(n+36){ display:none !important; }
  .marquee .buyer-cell{ width:auto; }

  /* reveal-on-scroll never fires in print — show everything */
  [data-reveal], [data-reveal-group] > *{ opacity:1 !important; transform:none !important; }

  .hero-blob, .to-top, .nav-scrim, .nav-toggle{ display:none !important; }
  header{ position:static !important; }
  .sheet, .cta-outer, footer{ width:auto !important; margin-left:0; margin-right:0; }
  .hero-badge{ animation:none !important; }
}
