/* ==========================================================================
   Safeworks International — PPE Global Corporate Site
   Design System · Industrial Navy × Hi-Vis Yellow × Steel
   ========================================================================== */

:root {
  /* Brand Palette · Industrial Navy × Hi-Vis Yellow */
  --brand-50:  #EEF2F8;
  --brand-100: #D6DFEC;
  --brand-200: #ADBED7;
  --brand-300: #7C92B6;
  --brand-400: #4F6A95;
  --brand-500: #2A4774;
  --brand-600: #16325C;
  --brand-700: #0E2240;   /* brand */
  --brand-800: #0A1A33;
  --brand-900: #050F1F;

  /* Hi-Vis Safety Accent */
  --hi-50:  #FFFBEA;
  --hi-100: #FFF3C4;
  --hi-200: #FCE588;
  --hi-300: #FADB5F;
  --hi-400: #F7C948;
  --hi-500: #F5C518;   /* safety yellow */
  --hi-600: #D4A40A;

  /* Industrial Steel (Neutral) */
  --steel-50:  #F8FAFC;
  --steel-100: #EEF3F7;
  --steel-200: #DCE3EA;
  --steel-300: #B6C2CE;
  --steel-400: #8696A8;
  --steel-500: #5C6E82;
  --steel-600: #3A4A5C;   /* steel */
  --steel-700: #28344A;
  --steel-800: #1A2333;
  --steel-900: #0F1521;

  /* Semantic */
  --success: #15803D;
  --warning: #D97706;
  --danger:  #B91C1C;
  --info:    #1D4ED8;

  /* Surface Tokens */
  --paper:    #F7F9FC;
  --paper-2:  #EEF2F7;
  --ink:      #0A1A33;
  --ink-2:    #28344A;
  --ink-mute: #5C6E82;
  --line:     #DCE3EA;
  --line-2:   #C5D0DC;

  /* Functional */
  --color-brand:  var(--brand-700);
  --color-accent: var(--hi-500);
  --color-metal:  var(--steel-600);

  /* Type Scale (clamp fluid) */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --fs-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --fs-lg:   clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-xl:   clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
  --fs-2xl:  clamp(1.4375rem, 1.3rem + 0.7vw, 1.75rem);
  --fs-3xl:  clamp(1.75rem, 1.5rem + 1.2vw, 2.25rem);
  --fs-4xl:  clamp(2.125rem, 1.8rem + 1.6vw, 2.875rem);
  --fs-5xl:  clamp(2.625rem, 2.1rem + 2.5vw, 3.75rem);

  /* Spacing (8pt) */
  --sp-1: 0.25rem;   /* 4 */
  --sp-2: 0.5rem;    /* 8 */
  --sp-3: 0.75rem;   /* 12 */
  --sp-4: 1rem;      /* 16 */
  --sp-5: 1.25rem;   /* 20 */
  --sp-6: 1.5rem;    /* 24 */
  --sp-8: 2rem;      /* 32 */
  --sp-10: 2.5rem;   /* 40 */
  --sp-12: 3rem;     /* 48 */
  --sp-16: 4rem;     /* 64 */
  --sp-20: 5rem;     /* 80 */
  --sp-24: 6rem;     /* 96 */

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadow · Industrial Elevation */
  --shadow-xs: 0 1px 2px 0 rgba(10, 26, 51, 0.04);
  --shadow-sm: 0 2px 4px 0 rgba(10, 26, 51, 0.06), 0 1px 2px 0 rgba(10, 26, 51, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(10, 26, 51, 0.08), 0 3px 6px -2px rgba(10, 26, 51, 0.05);
  --shadow-lg: 0 16px 32px -8px rgba(10, 26, 51, 0.12), 0 6px 12px -4px rgba(10, 26, 51, 0.06);
  --shadow-xl: 0 30px 60px -12px rgba(10, 26, 51, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms;
  --t-norm: 280ms;
  --t-slow: 480ms;

  /* Container */
  --container: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

/* ==========================================================================
   Reset + Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }

p { color: var(--ink-2); }

::selection {
  background: var(--hi-500);
  color: var(--brand-800);
}

/* Focus visible (WCAG AA) */
:focus-visible {
  outline: 2px solid var(--hi-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section { padding: clamp(var(--sp-12), 8vw, var(--sp-24)) 0; }
.section--tight { padding: clamp(var(--sp-10), 5vw, var(--sp-16)) 0; }
.section--dark {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: var(--paper);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.78); }

.grid { display: grid; gap: var(--sp-6); }

/* ==========================================================================
   Header · Top Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  background: var(--brand-800);
  color: rgba(255,255,255,0.85);
  font-size: var(--fs-xs);
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--hi-500); }
.topbar .topbar-info { display: flex; gap: var(--sp-6); flex-wrap: wrap; }
.topbar .topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .topbar-cta { display: flex; gap: var(--sp-4); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  gap: var(--sp-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  display: grid; place-items: center;
  color: var(--hi-500);
  font-weight: 900;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, var(--hi-500) 50%);
  opacity: 0.18;
}
.brand-name { color: var(--brand-700); }
.brand-name span { color: var(--hi-600); }

.nav-links {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
}
.nav-links a {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--brand-700); background: var(--brand-50); }
.nav-links a.is-active { color: var(--brand-700); }
.nav-links a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  width: 24px;
  margin: 4px auto 0;
  background: var(--hi-500);
  border-radius: 2px;
}

.nav-cta { display: flex; gap: var(--sp-3); align-items: center; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-700);
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: #fff;
    padding: var(--sp-6);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t-norm) var(--ease-out);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { width: 100%; }
  .menu-toggle { display: grid; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 22px;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease-out);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--accent {
  background: var(--hi-500);
  color: var(--brand-800);
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--hi-400);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(245, 197, 24, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--brand-700);
  border: 1.5px solid var(--brand-200);
}
.btn--ghost:hover { background: var(--brand-50); border-color: var(--brand-700); }
.btn--light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--light:hover { background: rgba(255,255,255,0.18); }
.btn--lg { padding: 16px 28px; font-size: var(--fs-base); }

.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 50%, var(--brand-900) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.42;
  mix-blend-mode: luminosity;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,34,64,0.85) 0%, rgba(14,34,64,0.55) 60%, rgba(14,34,64,0.25) 100%),
    radial-gradient(circle at 80% 50%, rgba(245,197,24,0.18) 0%, transparent 50%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: var(--sp-12);
  align-items: center;
  padding-top: clamp(var(--sp-16), 10vw, var(--sp-24));
  padding-bottom: clamp(var(--sp-16), 10vw, var(--sp-24));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245, 197, 24, 0.15);
  color: var(--hi-400);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 197, 24, 0.35);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--hi-500);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hi-500);
}

.hero h1 {
  margin-top: var(--sp-5);
  color: #fff;
  line-height: 1.06;
  font-size: var(--fs-5xl);
}
.hero h1 .accent {
  color: var(--hi-500);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: var(--hi-500);
  opacity: 0.7;
  border-radius: 2px;
}

.hero-lead {
  margin-top: var(--sp-5);
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.85);
  max-width: 36em;
  line-height: 1.7;
}

.hero-actions {
  margin-top: var(--sp-8);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--hi-500);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .stat-label {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(245,197,24,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-card h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.hero-card .label { color: var(--hi-500); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-card ul { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); position: relative; }
.hero-card li {
  display: flex; gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
}
.hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--hi-500);
  color: var(--brand-800);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%230E2240' d='M6.4 11.2L3.2 8l-1.2 1.2 4.4 4.4 8-8L13.2 4.4z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  margin-top: 2px;
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Section Heading
   ========================================================================== */
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.sec-head .eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hi-600);
  margin-bottom: var(--sp-3);
  padding-left: 28px;
  position: relative;
}
.sec-head .eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--hi-500);
  transform: translateY(-50%);
}
.sec-head h2 {
  font-size: var(--fs-4xl);
  letter-spacing: -0.025em;
}
.sec-head .lead {
  color: var(--ink-mute);
  font-size: var(--fs-lg);
  max-width: 36em;
}
.sec-head .sec-action { flex-shrink: 0; }

/* ==========================================================================
   Product Grid
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-6);
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-norm) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-lg);
}
.product-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
}
.product-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.product-card:hover .product-cover img {
  transform: scale(1.06);
}
.product-cover .badge {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  background: var(--brand-700);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.product-cover .cert {
  position: absolute;
  bottom: var(--sp-3); right: var(--sp-3);
  display: flex; gap: 4px;
}
.product-cover .cert span {
  background: rgba(255,255,255,0.95);
  color: var(--brand-700);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.product-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.product-body h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}
.product-body p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: var(--sp-4);
  flex: 1;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-top: auto;
}
.product-link svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease-out); }
.product-card:hover .product-link svg { transform: translateX(4px); }

/* ==========================================================================
   Why Choose Us · Feature Grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  transition: all var(--t-norm) var(--ease-out);
}
.feature-card:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  display: grid; place-items: center;
  color: var(--hi-500);
  margin-bottom: var(--sp-4);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}
.feature-card p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}

/* ==========================================================================
   Cases · B2B Project Cards
   ========================================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-6);
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-norm) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-800);
}
.case-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.case-card:hover .case-cover img { transform: scale(1.05); }
.case-cover .industry-tag {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  background: var(--hi-500);
  color: var(--brand-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.case-cover .region-tag {
  position: absolute;
  bottom: var(--sp-4); right: var(--sp-4);
  background: rgba(10, 26, 51, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.case-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.case-body .client {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.case-body h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
}
.case-body p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: var(--sp-4);
  flex: 1;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line);
}
.case-stats div { text-align: center; }
.case-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--brand-700);
  letter-spacing: -0.02em;
}
.case-stats span {
  display: block;
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ==========================================================================
   News · Article List
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-norm) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
  display: block;
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}
.news-meta .cat {
  display: inline-flex;
  align-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}
.news-body h3 {
  font-size: var(--fs-lg);
  line-height: 1.35;
  margin-bottom: var(--sp-3);
}
.news-body p {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: var(--sp-4);
  flex: 1;
}
.news-card .read-more {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* List variant */
.news-list {
  display: grid;
  gap: var(--sp-5);
}
.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-norm) var(--ease-out);
}
.news-list-item:hover {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.news-list-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.news-list-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.news-list-item:hover .news-list-thumb img { transform: scale(1.05); }
.news-list-body { padding: var(--sp-5); display: flex; flex-direction: column; justify-content: center; }
.news-list-body h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.news-list-body p { color: var(--ink-mute); margin-bottom: var(--sp-4); }

@media (max-width: 720px) {
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-thumb { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   FAQ · Accordion
   ========================================================================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-3);
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-norm) var(--ease-out);
}
.faq-item.is-open {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--brand-700); }
.faq-q .toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  transition: all var(--t-norm) var(--ease-out);
}
.faq-q .toggle svg { width: 16px; height: 16px; transition: transform var(--t-norm) var(--ease-out); }
.faq-item.is-open .toggle {
  background: var(--hi-500);
  color: var(--brand-800);
}
.faq-item.is-open .toggle svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-norm) var(--ease-out);
}
.faq-a-inner {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--ink-2);
  line-height: 1.75;
}
.faq-item.is-open .faq-a { max-height: 600px; }

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 100%);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-10), 6vw, var(--sp-16));
  overflow: hidden;
  margin: var(--sp-12) 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(245,197,24,0.18) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(42,71,116,0.5) 0%, transparent 40%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: var(--fs-4xl); max-width: 22ch; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-top: var(--sp-3); font-size: var(--fs-lg); max-width: 50ch; }
.cta-actions { margin-top: var(--sp-6); display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.cta-bullets {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
}
.cta-bullets li {
  display: flex; gap: var(--sp-3); align-items: center;
  color: rgba(255,255,255,0.92);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.cta-bullets li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--hi-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%230E2240' d='M6.4 11.2L3.2 8l-1.2 1.2 4.4 4.4 8-8L13.2 4.4z'/></svg>");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* ==========================================================================
   Article / Detail Page
   ========================================================================== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--sp-12);
}
.article-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-lg);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-meta {
  display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-bottom: var(--sp-4);
}
.article-meta .cat {
  display: inline-flex; align-items: center;
  background: var(--hi-100);
  color: var(--hi-600);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.025em;
}
.article-body p, .article-body li {
  font-size: var(--fs-lg);
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: var(--sp-5);
}
.article-body h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}
.article-body h3 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.article-body ul {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
}
.article-body ul li {
  list-style: disc;
  margin-bottom: var(--sp-3);
}
.article-body blockquote {
  margin: var(--sp-6) 0;
  padding: var(--sp-5) var(--sp-6);
  background: var(--brand-50);
  border-left: 4px solid var(--hi-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--brand-700);
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.about-intro .visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.about-intro .visual img { width: 100%; height: 100%; object-fit: cover; }
.about-intro .visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(14,34,64,0.5));
}
.about-intro .visual .badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: var(--hi-500);
  color: var(--brand-800);
  font-weight: 800;
  font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
@media (max-width: 880px) {
  .about-intro { grid-template-columns: 1fr; }
}

.stat-bar {
  background: var(--brand-700);
  color: #fff;
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-12);
}
.stat-bar .stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--hi-500);
  letter-spacing: -0.02em;
  display: block;
}
.stat-bar .stat-label {
  color: rgba(255,255,255,0.78);
  font-size: var(--fs-sm);
  margin-top: 4px;
}

.timeline {
  position: relative;
  margin-top: var(--sp-12);
  padding-left: var(--sp-12);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--hi-500) 0%, var(--brand-200) 100%);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--sp-10);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--hi-500);
  border: 3px solid var(--brand-700);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hi-600);
  margin-bottom: var(--sp-2);
}
.timeline-item h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.timeline-item p {
  font-size: var(--fs-base);
  color: var(--ink-mute);
  max-width: 60ch;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-4);
}
.cert-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--t-norm) var(--ease-out);
}
.cert-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.cert-icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-3);
  background: var(--brand-50);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--brand-700);
  font-weight: 800;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
}
.cert-card h4 { font-size: var(--fs-base); margin-bottom: 4px; }
.cert-card p { font-size: var(--fs-xs); color: var(--ink-mute); }

/* ==========================================================================
   Product Detail Page
   ========================================================================== */
.pd-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}
@media (max-width: 880px) { .pd-grid { grid-template-columns: 1fr; } }

.pd-gallery .pd-cover {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: var(--sp-3);
  border: 1px solid var(--line);
}
.pd-gallery .pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.pd-thumbs button {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.pd-thumbs button.is-active { border-color: var(--brand-700); box-shadow: 0 0 0 2px var(--brand-100); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd-info .pd-cat { font-size: var(--fs-xs); color: var(--hi-600); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pd-info h1 { font-size: var(--fs-3xl); margin: var(--sp-3) 0 var(--sp-4); }
.pd-rating { display: flex; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-5); }
.pd-rating .stars { color: var(--hi-500); letter-spacing: 2px; }
.pd-rating .review { font-size: var(--fs-sm); color: var(--ink-mute); }

.pd-desc { color: var(--ink-2); font-size: var(--fs-base); line-height: 1.75; margin-bottom: var(--sp-6); }

.pd-specs {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--sp-6);
}
.pd-specs h4 {
  padding: var(--sp-4) var(--sp-5);
  background: var(--paper-2);
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--line);
}
.pd-specs dl { padding: var(--sp-2) var(--sp-5); }
.pd-specs .row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}
.pd-specs .row:last-child { border-bottom: none; }
.pd-specs dt { color: var(--ink-mute); font-weight: 600; }
.pd-specs dd { color: var(--ink); }

.pd-actions {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.pd-actions .btn { flex: 1; min-width: 180px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-900);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-8);
  margin-top: var(--sp-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  color: #fff;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.04em;
}
.footer-col p { color: rgba(255,255,255,0.7); font-size: var(--fs-sm); line-height: 1.7; margin-bottom: var(--sp-3); }
.footer-col ul li { margin-bottom: var(--sp-2); }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--hi-500); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--hi-500); }

.social {
  display: flex; gap: var(--sp-2); margin-top: var(--sp-4);
}
.social a {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: #fff;
  transition: all var(--t-fast);
}
.social a:hover { background: var(--hi-500); color: var(--brand-800); }
.social svg { width: 16px; height: 16px; }

.footer-bottom {
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--hi-500); }

/* ==========================================================================
   Filter · Products Page
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.filter-btn {
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease-out);
}
.filter-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.filter-btn.is-active {
  background: var(--brand-700);
  color: #fff;
  border-color: var(--brand-700);
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  padding: var(--sp-4) 0;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb .sep { color: var(--steel-300); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Page Hero (sub-pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
  color: #fff;
  padding: clamp(var(--sp-12), 8vw, var(--sp-20)) 0 clamp(var(--sp-10), 6vw, var(--sp-16));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(245,197,24,0.12) 0%, transparent 40%);
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 22ch; font-size: var(--fs-4xl); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 60ch; margin-top: var(--sp-4); font-size: var(--fs-lg); }

/* ==========================================================================
   Responsive helpers
   ========================================================================== */
@media (max-width: 720px) {
  .pd-specs .row { grid-template-columns: 1fr; gap: 4px; }
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .stat-bar { padding: var(--sp-6); }
  .cta-banner { padding: var(--sp-8); }
}