:root {
  --ink: #121214;
  --muted: #5d6068;
  --paper: #f4f1eb;
  --panel: #fffdfa;
  --line: rgba(18, 18, 20, 0.12);
  --scarlet: #d43d2a;
  --engineering-blue: #2f6fb3;
  --teal: #1d6f8f;
  --gold: #b77820;
  --green: #2f8a46;
  --violet: #5b57a7;
  --shadow: 0 24px 70px rgba(18, 18, 20, 0.14);
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(18, 18, 20, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(18, 18, 20, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

body::selection {
  color: #fff;
  background: var(--scarlet);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.currency-toggle,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px;
  gap: 0;
  transition: background 180ms ease;
}

.site-header.is-scrolled .currency-toggle,
.site-header.is-scrolled .lang-toggle {
  background: rgba(0, 0, 0, 0.07);
}

.currency-opt,
.lang-opt {
  padding: 5px 13px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  opacity: 0.65;
  transition: background 150ms ease, opacity 150ms ease, color 150ms ease;
}

.currency-opt.is-active,
.lang-opt.is-active {
  background: #fff;
  color: var(--ink, #14140f);
  opacity: 1;
}

.site-header.is-scrolled .currency-opt.is-active,
.site-header.is-scrolled .lang-opt.is-active {
  background: var(--ink, #14140f);
  color: #fff;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 12px 32px rgba(18, 18, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav,
.header-cta,
.hero-actions a,
.division-topline button,
.filter-tabs button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled .brand-logo {
  filter: brightness(0);
}

.main-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.82;
  text-decoration: none;
}

.main-nav a:hover {
  opacity: 1;
}

.header-cta,
.primary-action,
.secondary-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: #8d9c6a;
}

.hero {
  position: relative;
  min-height: 88vh;
  padding: 140px clamp(18px, 5vw, 72px) 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(100deg, rgba(18, 18, 20, 0.92) 0%, rgba(18, 18, 20, 0.62) 48%, rgba(18, 18, 20, 0.22) 100%),
    linear-gradient(0deg, rgba(18, 18, 20, 0.65), rgba(18, 18, 20, 0.02) 56%);
}

.hero-content,
.hero-snapshot {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #8d9c6a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8d9c6a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.8rem, 7.5vw, 6.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  padding: 0 20px;
}

.primary-action {
  color: #fff;
  background: #8d9c6a;
}

.secondary-action {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.snapshot-item {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.snapshot-item:nth-child(2n) {
  border-right: 0;
}

.snapshot-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.snapshot-item strong,
.metric-card strong {
  display: block;
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1;
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: -0.02em;
}

.snapshot-item strong span,
.metric-card strong span {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}

/* Hero is dark — suffix needs to be light */
.snapshot-item strong span {
  color: rgba(255, 255, 255, 0.5);
}

.snapshot-item strong span,
.metric-card strong span {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.snapshot-item p,
.metric-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}

.intro-band,
.section,
.insight-section,
.contact-section {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.contact-logo {
  width: clamp(130px, 14vw, 200px);
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.intro-band {
  background: var(--panel);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.feature-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-grid p,
.section-heading p,
.feature-copy p,
.contact-section p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.metric-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric-card {
  min-height: 200px;
  padding: clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-card strong {
  color: rgb(141, 156, 106);
}

.metric-card strong span {
  color: rgb(141, 156, 106);
}

.metric-card p {
  color: var(--muted);
}

/* ── Group Structure ── (no extra overrides — inherits .section styles) */


/* ── Org chart ── */
.org-chart {
  width: 100%;
  max-width: 1300px;
  margin: 80px auto 0;
}

.org-tree {
  width: 100%;
}

/* ── Root / parent node ── */
.org-parent-node {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 58px;
  background: #8d9c6a;
  border-radius: 18px;
  width: fit-content;
  margin: 0 auto;
}

.org-parent-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  flex-shrink: 0;
}

.org-parent-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.org-parent-name {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.org-parent-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Spine: vertical line from root to branches ── */
.org-spine {
  width: 1px;
  height: 32px;
  background: var(--line);
  margin: 0 auto;
}

/* ── Branches wrapper ── */
.org-branches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px clamp(18px, 3vw, 36px);
  padding: clamp(32px, 4vw, 52px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
}

/* ── Single branch (one division column) ── */
.org-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 215px;
  flex-shrink: 0;
  position: relative;
}

/* ── Division header badge ── */
.org-head {
  width: 100%;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--accent) 12%, var(--panel) 88%);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--accent) 72%, var(--ink) 28%);
  line-height: 1.3;
}

/* ── Tree list ── */
.org-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0 20px;
  position: relative;
  width: 100%;
}

/* Vertical connector line */
.org-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 20px;
  width: 1px;
  background: color-mix(in srgb, var(--accent) 30%, var(--line) 70%);
}

/* Each company row */
.org-list li {
  position: relative;
  padding: 5px 0 5px 22px;
}

/* Horizontal connector tick */
.org-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 30%, var(--line) 70%);
}

/* Company name box */
.org-list li span {
  display: inline-block;
  padding: 6px 15px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.org-branch:hover .org-list li span {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  background: color-mix(in srgb, var(--accent) 6%, var(--panel) 94%);
}

/* ── Org cascade animation ── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes org-item-in {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .org-parent-node,
  .org-head,
  .org-list li span {
    opacity: 0;
    animation: org-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both paused;
  }

  .org-tree.org-animate .org-parent-node,
  .org-tree.org-animate .org-head,
  .org-tree.org-animate .org-list li span {
    animation-play-state: running;
  }
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.division-grid {
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}

.division-card {
  flex: 0 0 auto;
  width: 250px;
  height: 502px;
  display: grid;
  grid-template-columns: 250px 0;
  overflow: hidden; /* keep card size stable */
  background: var(--panel);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: width 0.24s ease, grid-template-columns 0.24s ease, box-shadow 0.24s ease;
}

.division-card:hover {
  width: 640px;
  grid-template-columns: minmax(250px, 280px) minmax(330px, 1fr);
  box-shadow: 0 28px 74px rgba(18, 18, 20, 0.2);
}

.division-main {
  min-width: 0;
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 0;
}

.division-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.division-card-body {
  min-height: 0;
  padding: 18px;
  border-top: 6px solid var(--accent);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* prevent layout from pushing content outside fixed height */
}

.division-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}

.division-topline span {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.15;
}

.division-topline button {
  width: 52px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.division-card p,
.company-card p,
.sustainability-card p,
.timeline p {
  color: var(--muted);
  line-height: 1.62;
}

.division-card-body > p {
  margin: 12px 0 0;
  font-size: 0.84rem;
  line-height: 1.48;
  flex: 0 0 139px;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.division-card-body dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--line);
}

.division-card-body dl div {
  padding: 12px 0 0;
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
}

.division-card-body dl div:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.division-card-body dl div:nth-child(even) {
  padding-left: 16px;
}

.division-card dt {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.division-card dt::before {
  content: "";
  width: 12px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.division-card dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.division-detail-toggle,
.cc-details {
  margin-top: 18px;
}
.division-detail-toggle {
  margin-top: auto; /* pins “View details” to the bottom inside fixed-height card */
}

.division-detail-toggle,
.cc-details summary {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-details summary::-webkit-details-marker,
.cc-history summary::-webkit-details-marker {
  display: none;
}

.division-detail-toggle svg,
.cc-details summary svg {
  transition: transform 0.2s ease;
}

.division-card:hover .division-detail-toggle svg,
.cc-details[open] summary svg {
  transform: rotate(-90deg);
}

.division-detail-panel {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--panel) 92%), var(--panel));
  opacity: 0;
  transform: translateX(-15px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.division-card:hover .division-detail-panel {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.panel-content-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.panel-header {
  padding: 24px 24px 16px;
  background: linear-gradient(to bottom, rgba(18,18,20,0.04), transparent);
  border-bottom: 1px solid rgba(18,18,20,0.06);
}

.panel-header h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.panel-accent-line {
  height: 3px;
  width: 40px;
  background: var(--accent);
  margin-top: 12px;
  border-radius: 2px;
}

.panel-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.panel-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.panel-scroll-area::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.detail-block {
  padding-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.division-card:hover .detail-block,
.cc-details[open] .detail-block {
  opacity: 1;
  transform: translateY(0);
}

.division-card:hover .detail-block:nth-child(1),
.cc-details[open] .detail-block:nth-child(1) { transition-delay: 0.1s; }
.division-card:hover .detail-block:nth-child(2),
.cc-details[open] .detail-block:nth-child(2) { transition-delay: 0.18s; }
.division-card:hover .detail-block:nth-child(3),
.cc-details[open] .detail-block:nth-child(3) { transition-delay: 0.26s; }

.detail-block + .detail-block {
  padding-top: 8px;
}

.block-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Premium Metrics Styling */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}

.metric-grid div {
  background: rgba(18, 18, 20, 0.03);
  border: 1px solid rgba(18, 18, 20, 0.06);
  padding: 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.metric-grid div:hover {
  background: rgba(18, 18, 20, 0.05);
  border-color: rgba(18, 18, 20, 0.1);
  transform: translateY(-2px);
}

.metric-grid dt {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-grid dd {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

/* Premium List Styling */
.premium-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  background: rgba(18, 18, 20, 0.02);
  border: 1px solid rgba(18, 18, 20, 0.05);
  padding: 10px 14px 10px 34px;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.premium-list li:hover {
  background: rgba(18, 18, 20, 0.04);
  border-color: rgba(18, 18, 20, 0.09);
  color: var(--ink);
}

.premium-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.companies-section {
  background:
    linear-gradient(90deg, rgba(18,18,20,0.032) 1px, transparent 1px),
    linear-gradient(rgba(18,18,20,0.026) 1px, transparent 1px),
    #ebe9e2;
  background-size: 72px 72px;
}

.companies-section .section-heading {
  align-items: end;
}

.companies-section .section-heading h2 {
  max-width: 9em;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.sustainability-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.sustainability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  opacity: 0.65;
  transition: opacity 0.22s ease;
}

.sustainability-card:hover {
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: 0 6px 36px rgba(47, 138, 70, 0.09);
}

.sustainability-card:hover::before {
  opacity: 1;
}

.sc-bg-num {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--green) 12%, transparent);
  pointer-events: none;
  user-select: none;
}

.sc-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
}

.sc-title {
  margin: 0;
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.sc-body {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.filter-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(18,18,20,0.08);
  border-radius: 8px;
  background: rgba(255,253,250,0.76);
  box-shadow: 0 20px 54px rgba(18,18,20,0.06);
  backdrop-filter: blur(14px);
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--ink);
  background: var(--panel);
  font: inherit;
  font-weight: 600;
  text-transform: none;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tabs button {
  min-height: 34px;
  border: 1px solid rgba(18,18,20,0.08);
  border-radius: 999px;
  padding: 0 11px;
  color: var(--ink);
  background: rgba(255,255,255,0.58);
  cursor: pointer;
  font-weight: 800;
  font-size: 0.76rem;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.filter-tabs button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

/* ── Company Card ── */
.cc {
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(18,18,20,0.09);
  border-radius: 8px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,253,250,0.82)),
    var(--panel);
  box-shadow: 0 18px 46px rgba(18,18,20,0.075);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  animation: cc-in 0.35s both;
  animation-delay: calc(var(--i, 0) * 35ms);
}

.cc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 36%),
    linear-gradient(90deg, rgba(18,18,20,0.026) 1px, transparent 1px),
    linear-gradient(rgba(18,18,20,0.02) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.cc::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 74px;
  height: 74px;
  background: linear-gradient(135deg, transparent 50%, color-mix(in srgb, var(--accent) 16%, transparent) 50%);
  pointer-events: none;
}

.cc-accent {
  height: 5px;
  margin: 0;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--accent) 84%, #fff);
}

.cc-number {
  position: absolute;
  right: 16px;
  top: 46px;
  color: color-mix(in srgb, var(--accent) 42%, rgba(18,18,20,0.12));
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.24;
  pointer-events: none;
}

.cc:hover {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--line));
  box-shadow: 0 24px 60px rgba(18,18,20,0.13);
  transform: translateY(-3px);
}

.cc:has(.cc-details[open]) {
  z-index: 8;
}

.cc:hover::before {
  opacity: 1;
}

@keyframes cc-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.cc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 17px 16px 0;
}

.cc-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  flex-shrink: 0;
}

.cc-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 52px;
  overflow: hidden;
}

.cc-division {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.16;
}

.cc-country {
  font-size: 0.68rem;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}

.cc-tag {
  max-width: 64%;
  max-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 1.18;
}

.cc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 16px;
}

/* Company identity */
.cc-logo,
.cc-name {
  position: relative;
  height: 70px;
  margin: 22px 0 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18,18,20,0.07);
  border-radius: 8px;
  background: rgba(255,255,255,0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.cc-logo img {
  max-height: 38px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.cc--autoklass-center .cc-logo img {
  max-height: 28px;
  max-width: 82%;
}

.cc-logo::after,
.cc-name::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -8px;
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

/* Name */
.cc-name {
  font-size: clamp(0.98rem, 0.9vw, 1.16rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
}

/* Summary */
.cc-summary {
  margin: 13px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Highlights */
.cc-highlights {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.cc-hl {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 26px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: rgba(255,255,255,0.64);
  font-size: 0.68rem;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.25;
}

.cc-hl::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.78;
}

/* Footer */
.cc-footer {
  margin: 18px 16px 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.cc-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.cc-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(18,18,20,0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, #fff), rgba(255,255,255,0.82));
}

.cc-stat strong {
  font-size: clamp(1rem, 1.12vw, 1.22rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.cc-stat span {
  order: -1;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}

.cc-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 36px;
  margin: 11px 16px 0;
  padding: 0 11px;
  border: 1px solid rgba(18,18,20,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  flex: 0 1 auto;
}

.cc-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-link:hover {
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  transform: translateX(2px);
}

.cc-accordions {
  position: relative;
  margin-top: 13px;
  border-top: 1px solid rgba(18,18,20,0.08);
}

/* History accordion */
.cc-history {
  border-top: 1px solid rgba(18,18,20,0.08);
  padding: 0 16px;
}

.cc-details {
  position: relative;
  margin: 0;
  padding: 0 16px;
}

.cc-detail-popover {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  max-height: min(390px, calc(100vh - 180px));
  overflow-y: auto;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, #fff), var(--panel) 42%),
    var(--panel);
  box-shadow: 0 24px 64px rgba(18,18,20,0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.cc-details[open] .cc-detail-popover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cc-detail-popover::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  background: var(--panel);
  transform: rotate(45deg);
}

.cc-details + .cc-history {
  border-top: 1px solid rgba(18,18,20,0.08);
}

.cc-details summary,
.cc-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.18s;
}

.cc-details summary:hover,
.cc-history summary:hover { color: var(--accent); }
.cc-details[open] summary,
.cc-history[open] summary { color: var(--accent); }
.cc-details summary svg,
.cc-history summary svg { transition: transform 0.2s; }
.cc-details[open] summary svg,
.cc-history[open] summary svg { transform: rotate(180deg); }

.cc-history-list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.cc-history-list li {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.cc-history-list li strong {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 1px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  background: var(--panel);
  color: var(--muted);
}


/* ── Verified Performance ── */
.insight-section {
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}

.vp-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(212,160,66,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(47,138,70,0.05) 0%, transparent 60%),
    var(--ink);
}

/* Giant background number */
.vp-bg-num {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(200px, 30vw, 380px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.vp-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top bar */
.vp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vp-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vp-dot-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d4a042;
  box-shadow: 0 0 0 0 rgba(212,160,66,0.4);
  animation: pulse-dot 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(212,160,66,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(212,160,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,160,66,0); }
}

.vp-kicker-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.vp-valid-pill {
  padding: 4px 14px;
  border: 1px solid rgba(212,160,66,0.3);
  background: rgba(212,160,66,0.06);
  color: #d4a042;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero row: score + diploma */
.vp-hero-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

/* Score column */
.vp-score-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vp-score-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.vp-score-val {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.vp-count { display: inline; }

.vp-score-max {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  align-self: flex-end;
  margin-bottom: 0.3em;
}

.vp-score-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: -16px;
}

.vp-gold-flag {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(212,160,66,0.08);
  border-left: 3px solid #d4a042;
  width: fit-content;
  max-width: 360px;
}

.vp-flag-badge {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.vp-flag-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vp-flag-main {
  font-size: 1.05rem;
  font-weight: 800;
  color: #d4a042;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.vp-flag-sub {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* Diploma column */
.vp-diploma-col { position: relative; }

.vp-diploma-link {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.vp-diploma-link:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 48px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.14);
}

.vp-diploma-img {
  width: 100%;
  display: block;
}

.vp-diploma-hover {
  position: absolute;
  inset: 0;
  background: rgba(18,18,20,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s;
}

.vp-diploma-link:hover .vp-diploma-hover { opacity: 1; }

.vp-diploma-hover span {
  padding: 10px 22px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* ISO certs row */
.vp-iso-row {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
}

.vp-iso-heading {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 14px;
}

.vp-iso-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.vp-cert {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.18s;
}

.vp-cert:hover { background: rgba(255,255,255,0.06); }
.vp-cert.open { background: rgba(255,255,255,0.05); }

.vp-cert-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.vp-cert-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--c, #2f6fb3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
}

.vp-cert-body { flex: 1; min-width: 0; }

.vp-cert-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}

.vp-cert-detail {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

.vp-cert-arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.2);
  transition: transform 0.22s, color 0.18s;
  flex-shrink: 0;
}

.vp-cert:hover .vp-cert-arrow { color: rgba(255,255,255,0.5); }
.vp-cert.open .vp-cert-arrow { transform: rotate(180deg); color: rgba(255,255,255,0.6); }

.vp-cert-expand {
  display: none;
  padding: 0 16px 16px;
  gap: 14px;
  align-items: flex-start;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0;
}

.vp-cert.open .vp-cert-expand { display: flex; }

.vp-cert-expand a { flex-shrink: 0; }

.vp-cert-expand img {
  width: 90px;
  border: 1px solid rgba(255,255,255,0.1);
  display: block;
  transition: opacity 0.2s;
}

.vp-cert-expand img:hover { opacity: 0.8; }

.vp-cert-expand p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  margin: 0;
}

/* Standards ticker */
.vp-ticker {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.vp-ticker-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}

.vp-ticker-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vp-ticker-items span {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  transition: border-color 0.18s, color 0.18s;
}

.vp-ticker-items span:hover {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 960px) {
  .vp-hero-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vp-diploma-col { max-width: 480px; }
  .vp-bg-num { font-size: 160px; }
}

@media (max-width: 640px) {
  .vp-iso-cards { grid-template-columns: 1fr; }
  .vp-bg-num { display: none; }
}

/* ── History section ── */
.history-section {
  background: var(--ink);
  color: #fff;
}

.history-section .section-heading {
  color: #fff;
}

.history-section .section-kicker {
  color: rgba(255,255,255,0.52);
}

.history-section .section-heading p {
  color: rgba(255,255,255,0.62);
}

.history-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
}

.history-tab {
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.history-tab:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.history-tab.is-active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Stage layouts */
.history-stage--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-items: start;
}

.history-stage--triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  align-items: start;
}

.history-stage--single {
  display: block;
  max-width: 680px;
}

/* Track */
.ht-track {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.history-stage--dual .ht-track:first-child {
  border-right: none;
}

.ht-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px 18px;
  border-bottom: 2px solid var(--track-accent, #fff);
}

.ht-brand-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--track-accent, #fff);
  white-space: nowrap;
}

/* List */
.ht-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ht-item {
  position: relative;
  display: grid;
  grid-template-columns: 72px 28px 1fr;
  column-gap: 0;
  align-items: start;
  padding: 18px 28px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}

.ht-item:last-child {
  border-bottom: none;
}

.ht-item:hover {
  background: rgba(255,255,255,0.04);
}

/* Vertical connector line — sits in the dot column */
.ht-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  /* center of the dot column: left-padding(16) + year-col(72) + half dot-col(14) */
  left: calc(16px + 72px + 14px);
  width: 1px;
  background: rgba(255,255,255,0.12);
}

.ht-item:last-child::before {
  bottom: 50%;
}

.ht-dot {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--track-accent, #fff);
  justify-self: center;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.ht-year {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--track-accent, #fff);
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
}

.ht-text {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  padding-left: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

/* Latest year highlight */
.ht-item:last-child .ht-year {
  color: #fff;
}

.ht-item:last-child .ht-text {
  color: rgba(255,255,255,0.9);
}

.ht-item:last-child .ht-dot {
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15), 0 0 14px var(--track-accent, #fff);
}

/* ── Sales engines ─────────────────────────────────────────────────────── */
.sales-engine-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    #121214;
  background-size: 72px 72px;
}

.sales-engine-section::before {
  content: none;
}

.sales-engine-section .section-heading {
  position: relative;
  color: #fff;
}

.sales-engine-section .section-kicker,
.sales-engine-section .section-heading p {
  color: rgba(255,255,255,0.58);
}

.sales-engine-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.22fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
}

.sales-engine-intro {
  position: sticky;
  top: 112px;
  padding-left: 18px;
  border-left: 3px solid rgba(141,156,106,0.76);
}

.sales-engine-intro span {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 0.96;
}

.sales-engine-intro p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.52);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sales-engine-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sales-engine-card--autoklass {
  grid-column: 1 / -1;
}

.sales-engine-card--autoklass .sales-engine-header {
  min-height: 0;
}

.sales-engine-card--autoklass .sales-engine-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sales-engine-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.035));
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.sales-engine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--accent);
  opacity: 0.9;
  pointer-events: none;
}

.sales-engine-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 170px;
  height: 170px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 50%;
  opacity: 0.34;
}

.sales-engine-mark {
  position: absolute;
  right: 22px;
  top: 16px;
  color: rgba(255,255,255,0.08);
  font-size: clamp(3.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
}

.sales-engine-header {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.sales-engine-header span {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-engine-header h3 {
  max-width: 9em;
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.sales-engine-header strong {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, rgba(255,255,255,0.2));
  background: color-mix(in srgb, var(--accent) 16%, rgba(255,255,255,0.08));
  color: #fff;
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.sales-engine-copy {
  max-width: 31rem;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.62;
}

.sales-engine-groups {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.sales-engine-group {
  display: grid;
  gap: 14px;
}

.sales-engine-group-heading h4 {
  margin: 0;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.18;
}

.sales-engine-group-heading p {
  margin: 7px 0 0;
  color: rgba(255,255,255,0.44);
  font-size: 0.82rem;
  font-style: italic;
}

.sales-engine-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.sales-engine-metric {
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.sales-engine-metric:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 128px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), rgba(255,255,255,0.055));
  border-color: color-mix(in srgb, var(--accent) 34%, rgba(255,255,255,0.1));
}

.sales-engine-metric strong {
  display: block;
  color: #fff;
  font-size: clamp(1.18rem, 1.75vw, 1.72rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.sales-engine-metric:nth-child(1) strong {
  color: var(--accent);
  font-size: clamp(1.55rem, 2.35vw, 2.26rem);
}

.sales-engine-metric span {
  display: block;
  margin-top: 11px;
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.32;
  overflow-wrap: break-word;
}

/* ── Custom sections (auto-generated from Excel) ───────────────────────── */
.custom-section {
  /* inherits .section layout */
}

.custom-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(28px, 4vw, 48px);
}

.custom-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.custom-card:hover {
  border-color: color-mix(in srgb, var(--accent, #8d9c6a) 40%, var(--line) 60%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent, #8d9c6a) 8%, transparent);
}

.custom-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--accent, #8d9c6a) 80%, var(--ink) 20%);
  background: color-mix(in srgb, var(--accent, #8d9c6a) 10%, var(--panel) 90%);
  border: 1px solid color-mix(in srgb, var(--accent, #8d9c6a) 25%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
}

.custom-card-title {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.custom-card-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.custom-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--accent, #8d9c6a) 80%, var(--ink) 20%);
  text-decoration: none;
}

.custom-card-link:hover {
  text-decoration: underline;
}

/* ── Awards & Recognition ─────────────────────────────────────────────── */
.awards-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.awards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(212,160,66,0.07) 0%, transparent 65%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  pointer-events: none;
}

.awards-heading {
  position: relative;
  color: #fff;
}

.awards-section .section-kicker {
  color: #d4a042;
}

.awards-section .section-heading p {
  color: rgba(255,255,255,0.52);
}

.awards-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: clamp(32px, 5vw, 56px);
}

.award-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.5vw, 44px);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.22s ease;
}

.award-card:hover {
  background: rgba(255,255,255,0.065);
}

/* Top accent stripe */
.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--award-accent, #d4a042);
  opacity: 0.85;
}

/* Left glow line */
.award-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--award-accent, #d4a042), transparent 70%);
  opacity: 0.3;
  transition: opacity 0.22s ease;
}

.award-card:hover::after {
  opacity: 0.7;
}

/* Large decorative ordinal */
.award-card-num {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,160,66,0.07);
  pointer-events: none;
  user-select: none;
}

/* Trophy icon container */
.award-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,160,66,0.08);
  border: 1px solid rgba(212,160,66,0.22);
  border-radius: 10px;
  color: #d4a042;
  flex-shrink: 0;
}

/* Tag pill */
.award-card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 12px;
  border: 1px solid color-mix(in srgb, var(--award-accent, #d4a042) 40%, transparent);
  background: color-mix(in srgb, var(--award-accent, #d4a042) 10%, transparent);
  color: var(--award-accent, #d4a042);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.award-card-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.award-card-body {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.68;
  flex: 1;
}

.award-card-link {
  margin-top: 4px;
  color: var(--award-accent, #d4a042);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.award-card-link:hover {
  opacity: 0.72;
}

@media (max-width: 900px) {
  .awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact section ───────────────────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  color: #fff;
  background: #8d9c6a;
}

.contact-section .section-kicker,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-list span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list strong {
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px clamp(18px, 5vw, 72px);
  background: #8d9c6a;
}

.footer-logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 1180px) {
  .company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .history-stage--dual,
  .history-stage--triple {
    grid-template-columns: 1fr;
  }

  .history-stage--dual .ht-track:first-child,
  .history-stage--triple .ht-track:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
  }
}

@media (max-width: 1080px) {
  .org-branch {
    width: 195px;
  }

  .sales-engine-shell {
    grid-template-columns: 1fr;
  }

  .sales-engine-intro {
    position: static;
    max-width: 560px;
  }

  .sales-engine-stack {
    grid-template-columns: 1fr;
  }

  .sales-engine-card--autoklass {
    grid-column: auto;
  }

  .sales-engine-card--autoklass .sales-engine-groups {
    grid-template-columns: 1fr;
  }

  .sales-engine-header {
    min-height: 0;
  }

  .sales-engine-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .sales-engine-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-engine-header strong {
    justify-self: start;
  }

  .org-branch {
    width: 178px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .intro-grid,
  .section-heading,
  .insight-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
    padding-top: 118px;
  }

  .hero-snapshot {
    max-width: 520px;
  }

  .company-grid,
  .sustainability-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .cc-name { font-size: 1.25rem; }
}

@media (max-width: 560px) {
  .org-branches {
    gap: 24px 14px;
  }
  .org-branch {
    width: 160px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-snapshot {
    grid-template-columns: 1fr;
  }

  .snapshot-item,
  .snapshot-item:nth-child(2n),
  .snapshot-item:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .snapshot-item:last-child {
    border-bottom: 0;
  }

  .metric-wall {
    grid-template-columns: 1fr;
  }

  .sales-engine-card {
    padding: 20px;
  }

  .sales-engine-intro {
    padding-left: 14px;
  }

  .sales-engine-metrics {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .section,
  .insight-section,
  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-footer {
    flex-direction: column;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Timeline company badge */
.timeline article {
  position: relative;
}

.timeline-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Company history accordion */
.company-history {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.company-history summary {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, var(--teal));
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-history summary::before {
  content: "▸";
  transition: transform 0.2s;
}

.company-history[open] summary::before {
  transform: rotate(90deg);
}

.history-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-list li {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 10px;
  border-left: 2px solid var(--accent, var(--teal));
}

.history-list li strong {
  color: var(--accent, var(--teal));
}

/* ── Mobile-first responsive fixes ──────────────────────────────────────── */

/* Prevent Chinese characters from wrapping inside toggle buttons */
.lang-opt,
.currency-opt {
  white-space: nowrap;
}

/* ≤ 640px — shrink header controls to fit narrow screens */
@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 10px 14px;
  }

  /* Hide Contact CTA — reachable via scroll */
  .header-cta { display: none; }

  .brand-logo { width: 120px; }

  .header-controls { gap: 5px; }

  .lang-opt,
  .currency-opt {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  /* Metric wall: 2 columns (more readable than 1 column) */
  .metric-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Metric card: reduce min-height so 2-col fits */
  .metric-card {
    min-height: 0;
    padding: 20px 16px;
  }

  /* Hero padding adjusted for shorter header */
  .hero { padding-top: 90px; }

  /* Contact section: single column + smaller logo */
  .contact-section {
    grid-template-columns: 1fr !important;
  }
  .contact-logo { width: 110px; margin-bottom: 18px; }

  /* Sales engine metrics: 2 columns on mobile */
  .sales-engine-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* History tabs: wrap so all 4 buttons fit on narrow screens */
  .history-tabs { flex-wrap: wrap; }

  /* Division cards: sync grid row height with image height */
  .division-main { grid-template-rows: 180px 1fr; }
  .division-main img { height: 180px; object-fit: cover; }
  .division-card-body { padding-top: 20px; }

  /* Org chart branches: scrollable horizontally */
  .org-tree { overflow-x: auto; }

  /* Company cards: full width search bar */
  [data-search] { width: 100%; }
}

/* ≤ 400px — extra-small phones */
@media (max-width: 400px) {
  .brand-logo { width: 100px; }

  .lang-opt,
  .currency-opt {
    padding: 4px 6px;
    font-size: 0.65rem;
  }

  .lang-toggle,
  .currency-toggle {
    padding: 2px;
  }

  h1 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}
