:root {
  --navy: #10233f;
  --navy-2: #18375f;
  --ink: #172033;
  --muted: #64748b;
  --line: #d9e2ee;
  --bg: #f4f7fb;
  --white: #ffffff;
  --accent: #c9a24b;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
}
a { color: inherit; }

/* Header */
.metal-lab-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.metal-lab-header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 32px 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.metal-lab-logo {
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .06em;
  text-decoration: none;
  font-size: 20px;
}
.metal-lab-logo--image {
  display: block;
  flex-shrink: 0;
  width: 540px;
  max-width: min(540px, 44vw);
  height: 66px;
  background-image: url("../assets/images/metal-lab-logo-header-web.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}
.metal-lab-logo__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.metal-lab-nav {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}
.metal-lab-nav a {
  text-decoration: none;
  transition: color .15s;
}
.metal-lab-nav a:hover { color: var(--navy); }

/* Hero */
.metal-lab-hero {
  position: relative;
  color: var(--white);
  padding: 72px 24px 64px;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-color: var(--navy);
  background-image: url("../assets/images/top-fv-pc.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.metal-lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 35, 63, 0.94) 0%,
    rgba(16, 35, 63, 0.82) 38%,
    rgba(16, 35, 63, 0.28) 62%,
    rgba(16, 35, 63, 0.08) 100%
  );
  pointer-events: none;
}
.metal-lab-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
.metal-lab-hero__content {
  max-width: 560px;
}
.metal-lab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8c9e4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.metal-lab-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.2;
  margin: 16px 0 12px;
  letter-spacing: .04em;
}
.metal-lab-hero__sub {
  color: #e8eef7;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.5;
}
.metal-lab-hero__lead {
  color: #c5d4e8;
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.85;
}
.metal-lab-hero__panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 28px;
  font-size: 14px;
  line-height: 1.85;
  color: #c5d4e8;
}
.metal-lab-hero__panel strong {
  color: var(--white);
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}
.metal-lab-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.metal-lab-button {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.metal-lab-button:hover { background: #eef3f9; }
.metal-lab-button--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.metal-lab-button--ghost:hover {
  background: rgba(255,255,255,.08);
  color: var(--white);
}

/* Main layout */
.metal-lab-main { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; }
.metal-lab-section {
  margin: 0;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.metal-lab-section:last-child { border-bottom: none; }
.metal-lab-section--alt {
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
  background: #eef3f9;
  border-bottom-color: #dde5f0;
}
.metal-lab-section__head { margin: 0 0 28px; }
.metal-lab-section__head h2 {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: .02em;
}
.metal-lab-section__head p { color: var(--muted); margin: 0; font-size: 15px; }

/* About */
.metal-lab-about-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.metal-lab-about {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, .05);
}
.metal-lab-about-block__media {
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
  background: #eef3f9;
}
.metal-lab-about-block__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center center;
}
.metal-lab-about > p {
  margin: 0 0 20px;
  color: #334155;
  font-size: 15px;
}
.metal-lab-about__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.metal-lab-about__list li {
  position: relative;
  padding-left: 20px;
  color: #334155;
  font-size: 14px;
}
.metal-lab-about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-2);
}

/* Discover cards */
.metal-lab-discover-block {
  display: grid;
  gap: 24px;
}
.metal-lab-discover-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
  background-color: var(--navy);
  background-image: url("../assets/images/top-section-search-pc.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.metal-lab-discover-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 35, 63, 0.94) 0%,
    rgba(16, 35, 63, 0.82) 38%,
    rgba(16, 35, 63, 0.28) 62%,
    rgba(16, 35, 63, 0.08) 100%
  );
  pointer-events: none;
}
.metal-lab-discover-banner__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: 32px 36px;
  color: var(--white);
}
.metal-lab-discover-banner__label {
  display: inline-flex;
  align-items: center;
  color: #b8c9e4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.metal-lab-discover-banner__title {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: .02em;
}
.metal-lab-discover-banner__text {
  margin: 0;
  color: #c5d4e8;
  font-size: 14px;
  line-height: 1.75;
}
.metal-lab-discover-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.metal-lab-discover-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.metal-lab-discover-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 20px;
}
.metal-lab-discover-card p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 14px;
  flex: 1;
}
.metal-lab-discover-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-2);
  text-decoration: none;
}
.metal-lab-discover-card__link:hover { text-decoration: underline; }

/* Theme cards */
.metal-lab-grid { display: grid; gap: 18px; }
.metal-lab-grid--3 { grid-template-columns: repeat(3, 1fr); }
.metal-lab-grid--2 { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.metal-lab-grid--themes { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.metal-lab-theme-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.metal-lab-theme-card:hover {
  border-color: #b8c9e0;
  box-shadow: 0 8px 24px rgba(16,35,63,.07);
}
.metal-lab-theme-card__thumb {
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef3f9;
}
.metal-lab-theme-card__thumb img {
  display: block;
  width: 100%;
  height: 125px;
  object-fit: cover;
  object-position: center center;
}
.metal-lab-theme-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 20px;
}
.metal-lab-theme-card h3 {
  color: var(--navy);
  margin: 10px 0 8px;
  font-size: 17px;
}
.metal-lab-theme-card p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}

/* Article cards */
.metal-lab-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(16,35,63,.04);
  transition: border-color .15s, box-shadow .15s;
}
.metal-lab-grid--articles .metal-lab-card {
  text-decoration: none;
  display: block;
}
.metal-lab-grid--articles .metal-lab-card:hover {
  border-color: #b8c9e0;
  box-shadow: 0 8px 24px rgba(16,35,63,.08);
}
.metal-lab-card--article {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.metal-lab-card__thumb {
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef3f9;
}
.metal-lab-card__thumb img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center center;
}
.metal-lab-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.metal-lab-card--article h3 {
  color: var(--navy);
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}
.metal-lab-card--article p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.metal-lab-card h3 {
  color: var(--navy);
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.4;
}
.metal-lab-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}
.metal-lab-tag {
  display: inline-flex;
  background: #eef3f9;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .02em;
}

/* Checklist */
.metal-lab-checklist-visual {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
  background: #eef3f9;
}
.metal-lab-checklist-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center center;
}
.metal-lab-checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.metal-lab-checklist__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.metal-lab-checklist__item strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 6px;
}
.metal-lab-checklist__item p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
}

/* Policy visual */
.metal-lab-policy-visual {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
  background: #eef3f9;
}
.metal-lab-policy-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center center;
}

/* Table */
.metal-lab-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.metal-lab-table th,
.metal-lab-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.metal-lab-table tr:last-child th,
.metal-lab-table tr:last-child td { border-bottom: none; }
.metal-lab-table th {
  background: #eef3f9;
  color: var(--navy);
  width: 20%;
  font-weight: 700;
}
.metal-lab-table td { color: #334155; }

/* Article page */
.metal-lab-main--article {
  max-width: 1160px;
  padding-top: 40px;
  padding-bottom: 72px;
}
.metal-lab-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 32px 52px;
  box-shadow: 0 10px 32px rgba(16, 35, 63, .06);
}
.metal-lab-article__header {
  margin-bottom: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.metal-lab-article:has(.metal-lab-visual--hero) .metal-lab-article__header {
  margin-bottom: 0;
  padding-bottom: 10px;
}
.metal-lab-article__title {
  color: var(--navy);
  font-size: clamp(1.65rem, 2.8vw, 2.05rem);
  line-height: 1.35;
  margin: 0;
  letter-spacing: .02em;
  font-weight: 800;
}

/* Prose typography */
.metal-lab-prose {
  --article-prose-width: 840px;
  --article-intro-width: 820px;
  --article-section-width: 980px;
  font-size: 15px;
  line-height: 1.92;
  color: #334155;
}
.metal-lab-prose > :first-child { margin-top: 0; }

/* Intro paragraphs before the first h2 */
.metal-lab-prose > p:not(h2 ~ p) {
  max-width: var(--article-intro-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 0 22px 14px;
  background: #f8fafc;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  line-height: 1.95;
}
.metal-lab-prose > p:not(h2 ~ p):first-of-type {
  margin-top: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  border-left: 3px solid var(--accent);
  font-size: 1.02rem;
}
.metal-lab-prose > p:not(h2 ~ p):has(+ h2) {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  margin-bottom: 0.25rem;
}
.metal-lab-prose > p:not(h2 ~ p):has(+ .metal-lab-visual--diagram),
.metal-lab-prose > p:not(h2 ~ p):has(+ .metal-lab-visual--section) {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  margin-bottom: 0;
}
.metal-lab-prose > .metal-lab-visual--hero:first-child + p:not(h2 ~ p) {
  margin-top: 0;
}
.metal-lab-prose > h2:first-of-type {
  margin-top: 2rem;
}
.metal-lab-prose > .metal-lab-visual--diagram + .metal-lab-topic-links + h2:first-of-type,
.metal-lab-prose > .metal-lab-visual--section + .metal-lab-topic-links + h2:first-of-type,
.metal-lab-prose > .metal-lab-topic-links + h2:first-of-type {
  margin-top: 2.5rem;
}

/* Article visuals */
.metal-lab-prose .metal-lab-visual {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
}
.metal-lab-prose .metal-lab-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, .07);
  background: #f8fafc;
}
.metal-lab-prose .metal-lab-visual--hero {
  margin-top: 1.25rem;
}
.metal-lab-prose > .metal-lab-visual--hero:first-child {
  margin-top: 0;
  margin-bottom: 0.8rem;
  margin-left: -32px;
  margin-right: -32px;
  width: calc(100% + 64px);
  max-width: none;
}
.metal-lab-prose > .metal-lab-visual--hero:first-child img {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(16, 35, 63, .1);
}
.metal-lab-prose .metal-lab-visual--diagram {
  margin-bottom: 1.25rem;
}
.metal-lab-prose .metal-lab-visual--section {
  max-width: none;
  width: calc(100% + 64px);
  margin-left: -32px;
  margin-right: -32px;
  margin-top: 2.1rem;
  margin-bottom: 2.3rem;
}
.metal-lab-prose .metal-lab-visual--section img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center center;
}

/* Point box & section bridge */
.metal-lab-prose .metal-lab-point-box {
  max-width: var(--article-intro-width);
  width: 100%;
  margin: 1.35rem auto 1.65rem;
  padding: 18px 22px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  box-sizing: border-box;
}
.metal-lab-prose .metal-lab-point-box__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.45;
}
.metal-lab-prose .metal-lab-section-bridge {
  margin: 1.5rem auto 1.75rem;
  padding: 16px 20px 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metal-lab-prose .metal-lab-section-bridge__label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.4;
}
.metal-lab-prose .metal-lab-section-bridge__text {
  margin: 0.55rem 0 0;
  color: var(--ink);
  line-height: 1.85;
  font-size: 14px;
}
.metal-lab-prose .metal-lab-section-bridge__text:last-child {
  margin-bottom: 0;
}
.metal-lab-prose > h2 + ul.metal-lab-list {
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
}

/* Related topic chips */
.metal-lab-prose .metal-lab-topic-links {
  max-width: var(--article-prose-width);
  margin: 0 auto 2.25rem;
  padding: 16px 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.metal-lab-prose .metal-lab-topic-links__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
}
.metal-lab-prose .metal-lab-topic-links__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.metal-lab-prose .metal-lab-topic-links__items a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid #d9e2ee;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, color .15s;
}
.metal-lab-prose .metal-lab-topic-links__items a:hover {
  color: var(--navy-2);
  border-color: rgba(201, 162, 75, .55);
  box-shadow: 0 2px 8px rgba(16, 35, 63, .06);
  text-decoration: none;
}
.metal-lab-prose .metal-lab-topic-links__items .metal-lab-topic-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.4;
}
.metal-lab-prose .metal-lab-topic-links__items .metal-lab-topic-links__item.is-disabled {
  color: var(--muted);
  background: #f8fafc;
  cursor: default;
}

.metal-lab-prose h2 {
  max-width: var(--article-prose-width);
  margin-left: auto;
  margin-right: auto;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: .02em;
  margin-top: 3.25rem;
  margin-bottom: 1.15rem;
  padding: 2.15rem 0 0.85rem;
  border-top: 2px solid #c5d4e8;
}
.metal-lab-prose > h2 ~ p,
.metal-lab-prose > h2 ~ ul,
.metal-lab-prose > h2 ~ ol,
.metal-lab-prose > h2 ~ table,
.metal-lab-prose > h2 ~ h3,
.metal-lab-prose > h2 ~ .metal-lab-table,
.metal-lab-prose > h2 ~ .metal-lab-point-box,
.metal-lab-prose > h2 ~ .metal-lab-section-bridge,
.metal-lab-prose > h2 ~ .metal-lab-company-card {
  max-width: var(--article-prose-width);
  margin-left: auto;
  margin-right: auto;
}
.metal-lab-prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-2);
  margin-bottom: 0.75rem;
}
.metal-lab-prose > h2:first-child + p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  margin: 0 0 0.5rem;
}
.metal-lab-prose > h2:first-child + ul {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin: 0;
}

/* Company block headings (exclude reference subsection h3) */
.metal-lab-prose h3:not(h2:last-of-type ~ h3),
.metal-lab-prose .metal-lab-company-card {
  --company-card-pad-x: 20px;
}
.metal-lab-prose h3:not(h2:last-of-type ~ h3) {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .015em;
  margin: 3rem auto 0;
  padding: 16px var(--company-card-pad-x) 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--article-prose-width);
}
.metal-lab-prose h2 + h3:not(h2:last-of-type ~ h3) {
  margin-top: 1.75rem;
}
.metal-lab-prose .metal-lab-company-card {
  margin: 0 auto 2.25rem;
  padding: 0 var(--company-card-pad-x) 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(16, 35, 63, .04);
  box-sizing: border-box;
  width: 100%;
  max-width: var(--article-prose-width);
}
.metal-lab-prose .metal-lab-company-card > p:last-child {
  margin-bottom: 0;
}
.metal-lab-prose .metal-lab-company-summary {
  margin: 0 calc(var(--company-card-pad-x) * -1) 1rem;
  padding: 14px var(--company-card-pad-x) 15px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  box-sizing: border-box;
}
.metal-lab-prose .metal-lab-company-summary__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.45;
}
.metal-lab-prose .metal-lab-company-summary .metal-lab-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.metal-lab-prose .metal-lab-company-summary .metal-lab-list > li {
  position: relative;
  padding-left: 1.15em;
  margin: 0.4rem 0;
  line-height: 1.78;
  font-size: 14px;
  color: #475569;
  overflow-wrap: anywhere;
}
.metal-lab-prose .metal-lab-company-summary .metal-lab-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: var(--navy-2);
}
.metal-lab-prose h3:not(h2:last-of-type ~ h3) + .metal-lab-company-card {
  margin-top: 0;
}
.metal-lab-prose .metal-lab-company-card + h3:not(h2:last-of-type ~ h3) {
  margin-top: 2.5rem;
}
.metal-lab-prose .metal-lab-company-card > p {
  margin-bottom: 0.85rem;
}
.metal-lab-prose h3:not(h2:last-of-type ~ h3) + p {
  margin-top: 0;
  margin-bottom: 0.9rem;
}

.metal-lab-prose h2:last-of-type + h3 {
  margin-top: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-2);
}

.metal-lab-prose p { margin: 0 0 1.1rem; }
.metal-lab-prose p:last-child { margin-bottom: 0; }

.metal-lab-prose p:has(> strong:only-child) {
  margin: 0.5rem 0 0;
}
.metal-lab-prose p:has(> strong:only-child) strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.metal-lab-prose h3 + p:has(> strong:only-child) {
  margin-top: 0;
  padding: 0 18px;
}
.metal-lab-prose h3 + p:has(> strong:only-child) + p {
  padding: 0 18px 0.5rem;
  margin-top: 0;
  margin-bottom: 0;
}

/* Regular body lists — align with prose paragraphs (exclude reference) */
.metal-lab-prose > h2 ~ ul.metal-lab-list:not(h2:last-of-type ~ ul) {
  max-width: var(--article-prose-width);
  width: 100%;
  margin-top: 0.35rem;
  margin-bottom: 1.35rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem 0;
  list-style: none;
  box-sizing: border-box;
}
.metal-lab-prose > h2 ~ ul.metal-lab-list:not(h2:last-of-type ~ ul) > li {
  position: relative;
  padding-left: 0;
  margin: 0.4rem 0;
  line-height: 1.78;
}
.metal-lab-prose > h2 ~ ul.metal-lab-list:not(h2:last-of-type ~ ul) > li::before {
  content: "";
  position: absolute;
  left: -0.75em;
  top: 0.78em;
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--navy-2);
}

/* Point box lists — align item text with box title */
.metal-lab-prose .metal-lab-point-box .metal-lab-list {
  max-width: none;
  width: auto;
  margin: 0.55rem 0 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  list-style: none;
}
.metal-lab-prose .metal-lab-point-box .metal-lab-list > li {
  position: relative;
  padding-left: 0;
  margin: 0.4rem 0;
  line-height: 1.78;
}
.metal-lab-prose .metal-lab-point-box .metal-lab-list > li::before {
  content: "";
  position: absolute;
  left: -0.75em;
  top: 0.78em;
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--navy-2);
}

.metal-lab-prose a {
  color: var(--navy-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #b8c9e0;
}
.metal-lab-prose a:hover {
  color: var(--navy);
  text-decoration-color: var(--accent);
}

.metal-lab-prose .metal-lab-table {
  width: 100%;
  margin: 0.5rem 0 1.25rem;
  font-size: 14px;
  line-height: 1.65;
}
.metal-lab-prose .metal-lab-table th {
  width: auto;
  min-width: 7em;
  white-space: nowrap;
}
.metal-lab-prose .metal-lab-table td { min-width: 10em; }

.metal-lab-prose h2:last-of-type + h3 + p {
  padding-left: 1rem;
  border-left: 2px solid #dde5f0;
  margin-bottom: 1.25rem;
}

/* Reference section */
.metal-lab-prose h2:last-of-type {
  max-width: var(--article-prose-width);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-top: 2px solid var(--navy);
  padding-top: 2.35rem;
  margin-top: 3.5rem;
  box-sizing: border-box;
}
.metal-lab-prose h2:last-of-type + p {
  max-width: var(--article-prose-width);
  width: 100%;
  margin: 0 auto;
  padding: 18px 22px;
  background: #eef3f9;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
  box-sizing: border-box;
}
.metal-lab-prose h2:last-of-type ~ h3 {
  max-width: var(--article-prose-width);
  width: 100%;
  margin: 0 auto;
  padding: 16px 22px 10px;
  background: #eef3f9;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  box-sizing: border-box;
}
.metal-lab-prose h2:last-of-type ~ h3:not(:first-of-type) {
  padding-top: 20px;
  border-top: 1px solid #dde5f0;
}
.metal-lab-prose h2:last-of-type ~ ul {
  max-width: var(--article-prose-width);
  width: 100%;
  margin: 0 auto;
  padding: 6px 22px 18px;
  background: #eef3f9;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  list-style: none;
  box-sizing: border-box;
  overflow-wrap: break-word;
}
.metal-lab-prose h2:last-of-type ~ ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: var(--navy-2);
}
.metal-lab-prose h2:last-of-type ~ ul:last-of-type {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  padding-bottom: 22px;
  margin-bottom: 0;
}
.metal-lab-prose h2:last-of-type ~ ul > li {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 14px 1.15em;
  border-bottom: 1px solid #dde5f0;
  line-height: 1.78;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.metal-lab-prose h2:last-of-type ~ ul > li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.metal-lab-prose h2:last-of-type ~ ul li a {
  font-weight: 700;
  display: inline;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  text-decoration-color: rgba(201, 162, 75, .45);
}

.metal-lab-list {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}
.metal-lab-list > li {
  position: relative;
  margin: 4px 0;
  padding-left: 1.15em;
}
.metal-lab-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: var(--navy-2);
}
.metal-lab-note { background:#f8fafc; border:1px solid var(--line); border-radius:12px; padding:18px; color:#334155; }

/* Footer */
.metal-lab-footer { background: var(--navy); color: #c5d4e8; padding: 36px 24px; }
.metal-lab-footer__inner { max-width:1120px; margin:0 auto; font-size:13px; line-height:1.75; }
.metal-lab-footer strong { color: var(--white); }

@media (max-width: 1024px) {
  .metal-lab-grid--themes { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .metal-lab-header__inner {
    display: block;
    padding: 10px 16px 10px 24px;
  }
  .metal-lab-logo--image {
    width: 280px;
    max-width: min(280px, 72vw);
    height: 40px;
  }
  .metal-lab-nav { margin-top: 12px; flex-wrap: wrap; gap: 12px; }
  .metal-lab-hero {
    padding: 56px 24px 48px;
    min-height: 760px;
    align-items: flex-start;
    background-image: url("../assets/images/top-fv-sp.webp");
    background-position: center bottom;
  }
  .metal-lab-hero::before {
    background: linear-gradient(
      180deg,
      rgba(16, 35, 63, 0.92) 0%,
      rgba(16, 35, 63, 0.78) 46%,
      rgba(16, 35, 63, 0.34) 72%,
      rgba(16, 35, 63, 0.12) 100%
    );
  }
  .metal-lab-hero__inner { grid-template-columns: 1fr; }
  .metal-lab-hero__content { max-width: none; }
  .metal-lab-main { padding-top: 32px; }
  .metal-lab-about-block {
    grid-template-columns: 1fr;
  }
  .metal-lab-about-block__media {
    order: -1;
  }
  .metal-lab-about-block__media img {
    min-height: 180px;
    max-height: 220px;
    height: auto;
  }
  .metal-lab-discover-banner {
    min-height: 300px;
    align-items: flex-start;
  }
  .metal-lab-discover-banner::before {
    background: linear-gradient(
      180deg,
      rgba(16, 35, 63, 0.92) 0%,
      rgba(16, 35, 63, 0.78) 52%,
      rgba(16, 35, 63, 0.28) 78%,
      rgba(16, 35, 63, 0.1) 100%
    );
  }
  .metal-lab-discover-banner__content {
    max-width: none;
    padding: 28px 24px;
  }
  .metal-lab-discover-banner__title {
    font-size: 20px;
  }
  .metal-lab-checklist-visual img,
  .metal-lab-policy-visual img {
    max-height: 180px;
  }
  .metal-lab-theme-card__thumb img {
    height: 120px;
  }
  .metal-lab-card__thumb img {
    height: 150px;
  }
  .metal-lab-grid--3,
  .metal-lab-grid--2,
  .metal-lab-grid--themes,
  .metal-lab-checklist { grid-template-columns: 1fr; }
  .metal-lab-section { padding: 40px 0; }
  .metal-lab-section--alt {
    margin-left: -24px;
    margin-right: -24px;
  }
  .metal-lab-main--article { padding-top: 24px; }
  .metal-lab-article { padding: 28px 20px 32px; box-shadow: 0 6px 20px rgba(16, 35, 63, .05); }
  .metal-lab-article__header { padding-bottom: 20px; margin-bottom: 4px; }
  .metal-lab-article:has(.metal-lab-visual--hero) .metal-lab-article__header {
    padding-bottom: 10px;
    margin-bottom: 0;
  }
  .metal-lab-prose > p:not(h2 ~ p),
  .metal-lab-prose > h2,
  .metal-lab-prose > h2 ~ p,
  .metal-lab-prose > h2 ~ ul,
  .metal-lab-prose > h2 ~ ol,
  .metal-lab-prose > h2 ~ table,
  .metal-lab-prose > h2 ~ h3,
  .metal-lab-prose > h2 ~ .metal-lab-table,
  .metal-lab-prose > h2 ~ .metal-lab-point-box,
  .metal-lab-prose > h2 ~ .metal-lab-section-bridge,
  .metal-lab-prose > h2 ~ .metal-lab-company-card,
  .metal-lab-prose .metal-lab-topic-links {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .metal-lab-prose h3:not(h2:last-of-type ~ h3),
  .metal-lab-prose .metal-lab-company-card {
    --company-card-pad-x: 16px;
  }
  .metal-lab-prose h3:not(h2:last-of-type ~ h3) {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 13px var(--company-card-pad-x);
    font-size: 1rem;
  }
  .metal-lab-prose .metal-lab-company-card {
    padding-left: var(--company-card-pad-x);
    padding-right: var(--company-card-pad-x);
  }
  .metal-lab-prose .metal-lab-company-summary {
    margin-left: calc(var(--company-card-pad-x) * -1);
    margin-right: calc(var(--company-card-pad-x) * -1);
    padding-left: var(--company-card-pad-x);
    padding-right: var(--company-card-pad-x);
  }
  .metal-lab-prose .metal-lab-point-box,
  .metal-lab-prose .metal-lab-section-bridge {
    padding-left: 16px;
    padding-right: 16px;
  }
  .metal-lab-prose > p:not(h2 ~ p),
  .metal-lab-prose > p:not(h2 ~ p):first-of-type {
    padding-left: 16px;
    padding-right: 16px;
  }
  .metal-lab-prose h2 { font-size: 1.22rem; margin-top: 2.75rem; padding-top: 1.65rem; }
  .metal-lab-prose h2:last-of-type {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .metal-lab-prose h2:last-of-type + p,
  .metal-lab-prose h2:last-of-type ~ h3,
  .metal-lab-prose h2:last-of-type ~ ul {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
  .metal-lab-prose .metal-lab-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .metal-lab-prose .metal-lab-table th,
  .metal-lab-prose .metal-lab-table td {
    padding: 12px 14px;
    font-size: 13px;
    white-space: normal;
  }
  .metal-lab-prose .metal-lab-table th { min-width: 5.5em; }
  .metal-lab-prose .metal-lab-visual {
    margin-bottom: 1.35rem;
  }
  .metal-lab-prose .metal-lab-visual--hero {
    margin-top: 1rem;
  }
  .metal-lab-prose > .metal-lab-visual--hero:first-child {
    margin-top: 0;
    margin-bottom: 0.85rem;
    margin-left: -8px;
    margin-right: -8px;
    width: calc(100% + 16px);
  }
  .metal-lab-prose > .metal-lab-visual--hero:first-child img {
    border-radius: 12px;
  }
  .metal-lab-prose .metal-lab-visual--section {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
    margin-top: 1.75rem;
    margin-bottom: 2rem;
  }
  .metal-lab-prose .metal-lab-visual--section img {
    width: 100%;
    min-height: 150px;
    height: auto;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }
  .metal-lab-prose .metal-lab-topic-links {
    margin-bottom: 2rem;
    padding: 14px 16px;
  }
  .metal-lab-prose .metal-lab-topic-links__items a {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .metal-lab-logo--image {
    width: 40px;
    max-width: none;
    height: 40px;
    background-image: url("../assets/images/metal-lab-logo-mark.png");
  }
}

/* Trust pages and AI search credibility additions */
.metal-lab-site-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.metal-lab-site-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .15s, border-color .15s;
}
.metal-lab-site-links a:hover {
  background: #eef3f9;
  border-color: #c4d2e3;
}
.metal-lab-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.metal-lab-footer__links a {
  color: #e8eef7;
  text-decoration: none;
  opacity: .9;
}
.metal-lab-footer__links a:hover {
  opacity: 1;
  text-decoration: underline;
}
.metal-lab-article-meta {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--navy-2);
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}
.metal-lab-article-meta p {
  margin: 0 0 3px;
}
.metal-lab-article-meta p:last-child {
  margin-bottom: 0;
}
.metal-lab-trust-page {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px 32px 52px;
  box-shadow: 0 10px 32px rgba(16, 35, 63, .06);
}
.metal-lab-trust-page h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.35;
}
.metal-lab-trust-page h2 {
  margin: 34px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.45;
}
.metal-lab-trust-page p {
  margin: 0 0 14px;
  color: #334155;
  font-size: 15px;
  line-height: 1.95;
}
.metal-lab-trust-page ul {
  margin-top: 10px;
}

@media (max-width: 820px) {
  .metal-lab-trust-page {
    padding: 32px 20px 40px;
  }
  .metal-lab-site-links,
  .metal-lab-footer__links {
    gap: 10px;
  }
}


/* FAQ additions */
.metal-lab-prose .metal-lab-faq {
  margin: 24px 0 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fafc;
}
.metal-lab-prose .metal-lab-faq h3 {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dbe4ee;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.55;
}
.metal-lab-prose .metal-lab-faq h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.metal-lab-prose .metal-lab-faq p {
  margin-bottom: 0;
}
@media (max-width: 820px) {
  .metal-lab-prose .metal-lab-faq {
    padding: 18px 16px;
    border-radius: 14px;
  }
}
