/* ==========================================================================
   Hangbo Alloy - main stylesheet
   Light theme, industrial palette, zero external requests.
   ========================================================================== */

:root {
  --navy: #0d3b66;
  --navy-700: #0a2f52;
  --navy-900: #07253d;
  --accent: #f26b21;
  --accent-600: #d95a13;
  --ink: #16212c;
  --ink-soft: #3d4c5a;
  --muted: #5c6b7a;
  --line: #e0e6ee;
  --line-strong: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-tint: #eef4fa;
  --ok: #0f7b4f;
  --warn: #a8580a;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(13, 59, 102, .06), 0 8px 24px rgba(13, 59, 102, .07);
  --shadow-sm: 0 1px 2px rgba(13, 59, 102, .07);
  --maxw: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: var(--navy-900); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.7rem); }
h2 { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.85rem); margin-top: 2.2em; }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.28rem); margin-top: 1.8em; }
h4 { font-size: 1.02rem; margin-top: 1.4em; }
p { margin: 0 0 1.05em; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent-600); text-decoration: underline; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; color: var(--navy-900); }
code {
  font-family: var(--mono);
  font-size: .92em;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .38em;
  color: var(--navy-700);
}
svg { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
main { display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 650; font-size: .96rem; border: 1px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  /* Long labels such as "Request a quotation for Inconel 625" must wrap on a
     phone, not force the whole page into a horizontal scroll. */
  max-width: 100%; white-space: normal;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-tint); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: #eaf0f6; color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

/* ------------------------------------------------------------------ topbar */
.topbar { background: var(--navy-900); color: #c9d7e6; font-size: .84rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding: 7px 22px; }
.topbar-inner p { margin: 0; }
.topbar a { color: #e6eef7; }
.topbar a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 16px 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 1.12rem; letter-spacing: .16em; color: var(--navy-900); }
.logo-text small { font-size: .66rem; letter-spacing: .34em; color: var(--accent); font-weight: 700; }
.site-desc { margin: 0 0 0 auto; font-size: .88rem; color: var(--muted); max-width: 380px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-burger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 10px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

.site-nav { background: var(--navy); }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.nav-list > li { position: relative; margin: 0; }
.nav-list > li > a, .nav-list > li > span.caret-wrap {
  display: inline-block; padding: 13px 16px; color: #e9f0f7; font-size: .95rem; font-weight: 550;
}
.nav-list > li > a:hover, .nav-list > li.active > a { color: #fff; background: var(--navy-700); text-decoration: none; }
.nav-list > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.caret {
  position: absolute; top: 50%; right: 5px; width: 0; height: 0; margin-top: -2px;
  border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #9fb6cd;
}
.has-sub { padding-right: 14px; }
.sub {
  position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; list-style: none;
  margin: 0; padding: 8px 0; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); display: none; z-index: 60;
}
.sub li { margin: 0; }
.sub a { display: block; padding: 9px 16px; font-size: .92rem; color: var(--ink-soft); }
.sub a:hover { background: var(--bg-tint); color: var(--navy); text-decoration: none; }
.nav-list > li:hover .sub, .nav-list > li:focus-within .sub { display: block; }

/* ------------------------------------------------------------- breadcrumbs */
.crumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 11px 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------------- hero */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, #12507e 100%);
  color: #eaf1f8; padding: 62px 0 54px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px; pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700;
  color: #ffb98a; margin: 0 0 10px;
}
.hero h1 { color: #fff; max-width: 22ch; margin-bottom: .5em; }
.hero-lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); color: #cfdfee; max-width: 68ch; margin-bottom: 1.5em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: .88rem; color: #a9c2d8; margin-top: 1.4em; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin: 34px 0 0; }
.stat { border-left: 3px solid var(--accent); padding-left: 14px; }
.stat dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #a2bcd3; }
.stat dd { margin: 2px 0 0; font-size: 1.32rem; font-weight: 700; color: #fff; }

/* ------------------------------------------- hero with rotating product art */
/* Light, brand-blue-free variant: off-white copy zone + dark type on top. */
/* min-height clears the tallest slide (a 1920x900 jpg at 84% of the hero width
   is ~567 px tall) so the art is never clipped on a short page. */
.hero-media { background: #f4f6f8; padding: 76px 0 64px; color: #22323f; min-height: 600px; }
.hero-media::after {
  background-image: linear-gradient(rgba(7,37,61,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,37,61,.045) 1px, transparent 1px);
}
.hero-media .eyebrow { color: var(--accent-600); text-shadow: none; }
.hero-media h1 { color: var(--navy-900); text-shadow: none; }
.hero-media .hero-lead { color: #42525f; text-shadow: none; max-width: min(600px, 52%); }
.hero-media .hero-note { color: #5c6b78; }
.hero-media .stat-row {
  max-width: min(600px, 52%); gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.hero-media .stat dt { color: #5f6f7d; text-shadow: none; font-size: .73rem; letter-spacing: .06em; }
.hero-media .stat dd { color: var(--navy-900); text-shadow: none; font-size: 1.15rem; }
.hero-media .btn-ghost {
  background: #fff; color: var(--navy-900); border-color: var(--line-strong);
}
.hero-media .btn-ghost:hover { background: #eef2f7; color: var(--navy-900); }
.hero-slides {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  display: grid;
  align-items: center;
  justify-items: end;
}
/* Every slide shares the same grid cell so they stack, and the artwork is sized
   as a share of the hero width. `contain` is the belt-and-braces part: even if a
   page's copy ends up shorter than the art, the product shrinks instead of being
   cropped - the whole subject stays in frame at any width. */
.hero-slide {
  grid-area: 1 / 1;
  width: 84%; height: 100%; max-width: none;
  object-fit: contain; object-position: right center;
  opacity: 0;
  /* Four slides at 7 s each: the cycle and the keyframe percentages below are
     tied together (25% of 28 s = 7 s) - change one and you must change both. */
  animation: heroFade 28s linear infinite, heroDrift 28s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 7s);
}
/* A page pinned to a single image: it must sit still, not fade out and leave a gap. */
.hero-slides--single .hero-slide { opacity: 1; animation: none; }
@keyframes heroFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  25% { opacity: 1; }
  31% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroDrift {
  0% { transform: scale(1.015); }
  31% { transform: scale(1.07); }
  100% { transform: scale(1.07); }
}
.hero-dots {
  display: none; position: absolute; z-index: 2; bottom: 20px; left: 50%;
  transform: translateX(-50%); width: 100%; max-width: var(--maxw);
  padding: 0 22px; gap: 9px;
}
.hero-media.is-js .hero-dots { display: flex; }
.hero-media.is-js .hero-slide { animation: none; opacity: 0; transition: opacity .9s ease; }
.hero-media.is-js .hero-slide.is-active { opacity: 1; }
.hero-dot {
  appearance: none; -webkit-appearance: none; border: 0; padding: 0; cursor: pointer;
  width: 30px; height: 4px; border-radius: 999px; background: rgba(7,37,61,.26);
  transition: background .25s ease;
}
.hero-dot:hover { background: rgba(7,37,61,.45); }
.hero-dot[aria-current="true"] { background: var(--accent); }
/* Below this width the folded slide would shrink past usefulness, so it goes
   back to a full-bleed backdrop behind a light scrim. */
@media (max-width: 1100px) {
  .hero-slide { width: 100%; height: 100%; object-fit: cover; object-position: 76% center; }
  /* full-bleed backdrop again: the copy may use the whole width */
  .hero-media .hero-lead,
  .hero-media .stat-row { max-width: none; }
  .hero-slides::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg,
      rgba(244,246,248,.96) 0%, rgba(244,246,248,.90) 45%,
      rgba(244,246,248,.34) 72%, rgba(244,246,248,.05) 100%);
  }
}
@media (max-width: 780px) {
  .hero-media { padding: 54px 0 52px; min-height: 0; }
  .hero-slide { object-position: 70% center; }
  .hero-slides::after {
    background: linear-gradient(180deg,
      rgba(244,246,248,.93) 0%, rgba(244,246,248,.86) 52%, rgba(244,246,248,.95) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:first-child { opacity: 1; }
}

/* ------------------------------------------------------------------ blocks */
main { padding: 0 0 10px; }
main > * > .wrap { max-width: var(--maxw); }
.block, .faq, .faq-like { padding: 0 22px; max-width: var(--maxw); margin: 0 auto; }
.block h2 + p { margin-top: -.2em; }
.section-intro { color: var(--muted); font-size: 1.02rem; max-width: 75ch; margin-top: -.3em; margin-bottom: 1.4em; }
main > .hero + .block > h2:first-child { margin-top: 1.6em; }

.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* two column content with sidebar */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
/* The single-column track must keep the 0 minimum: with a plain 1fr the track's
   automatic minimum is min-content, and a table.data (min-width 560px) inside a
   .table-wrap then pushes the whole page ~600px wide on a phone. */
@media (max-width: 940px) { .layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* -------------------------------------------------------------------- boxes */
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0; background: #fff; }
.box-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 12px; color: var(--navy); }
.box-key { border-left: 4px solid var(--accent); background: #fffaf6; border-color: #f7d9c4; }
.box-key ul { margin: 0; padding-left: 1.1em; }
.box-key li { margin-bottom: .6em; }
.box-foot { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.box-answer { border-left: 4px solid var(--navy); background: var(--bg-tint); border-color: #d7e4ef; }
.box-answer p { margin: 0; font-size: 1.03rem; }
.box-answer .box-title { color: var(--navy); }

.note { border-radius: var(--radius-sm); padding: 14px 18px; font-size: .96rem; margin: 20px 0; border: 1px solid var(--line); }
.note-tag { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.note-info { background: #f1f7fd; border-color: #d6e5f2; }
.note-info .note-tag { color: var(--navy); }
.note-warn { background: #fff7ed; border-color: #f6d5b0; }
.note-warn .note-tag { color: var(--warn); }
.note-tip { background: #f2fbf6; border-color: #c8e8d7; }
.note-tip .note-tag { color: var(--ok); }

.ul-check { list-style: none; padding-left: 0; }
.ul-check li { position: relative; padding-left: 26px; }
.ul-check li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ------------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 560px; }
table.data caption {
  text-align: left; padding: 14px 18px; font-weight: 650; color: var(--navy-900);
  background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .95rem;
}
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 11px 16px; text-align: left; vertical-align: top; }
table.data thead th { background: #fafcfe; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
table.data tbody th { font-weight: 650; color: var(--navy-900); background: #fcfdff; white-space: nowrap; }
table.data tbody tr:nth-child(even) td { background: #fbfcfe; }
table.data tbody tr:hover td { background: var(--bg-tint); }
.data-kv tbody th { width: 38%; }
.table-note { font-size: .87rem; color: var(--muted); margin: -12px 0 26px; }

/* ------------------------------------------------------------------- cards */
.cards { list-style: none; display: grid; gap: 20px; margin: 24px 0; padding: 0; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 0 0 .4em; font-size: 1.05rem; }
.card h3 a { color: var(--navy); }
.card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.card-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 650; margin-bottom: .3em !important; }
.card-link { margin-top: .8em !important; }
.card-link a { font-weight: 650; font-size: .92rem; }

/* --------------------------------------- knowledge archive: one article a row */
.art-list { list-style: none; display: grid; gap: 18px; margin: 24px 0; padding: 0; }
.art-row {
  display: grid; grid-template-columns: 268px 1fr; gap: 24px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 16px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease;
}
.art-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.art-media { display: block; border-radius: var(--radius-sm); overflow: hidden; background: #f4f6f8; }
.art-media img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.art-meta { margin: 0 0 .35em; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); font-weight: 650; }
.art-body h3 { margin: 0 0 .4em; font-size: 1.14rem; line-height: 1.3; }
.art-body h3 a { color: var(--navy); }
.art-teaser { margin: 0 0 .7em; font-size: .95rem; color: var(--ink-soft); }
.art-link { margin: 0; }
.art-link a { font-weight: 650; font-size: .92rem; }
@media (max-width: 760px) {
  .art-row { grid-template-columns: 1fr; gap: 14px; }
  .art-media img { aspect-ratio: 16 / 9; }
}
.article-figure { margin: 22px 0 26px; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.article-figure figcaption { margin-top: .6em; font-size: .88rem; color: var(--muted); }

/* --------------------------------------------------------------------- toc */
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; position: sticky; top: 18px; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 10px; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .93rem; }
.toc li { margin-bottom: .3em; }

/* --------------------------------------------------------------------- faq */
.faq { margin: 42px auto 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 16px 44px 16px 0; font-weight: 650; color: var(--navy-900);
  position: relative; list-style: none; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 12px; font-size: 1.4rem; color: var(--accent); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--accent-600); }
.faq-body { padding: 0 40px 18px 0; color: var(--ink-soft); }
.faq-body p:last-child { margin-bottom: 0; }

.dl-faq dt { font-weight: 650; color: var(--navy-900); margin-top: 1em; }
.dl-faq dd { margin: 0 0 .3em 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------ author */
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 30px 0; background: var(--bg-soft); }
.author-avatar { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; letter-spacing: .04em; }
.author-box h3 { margin: 0 0 .25em; font-size: 1rem; }
.author-box p { margin: 0; font-size: .92rem; color: var(--muted); }
/* Direct contact line added to every article: email + WhatsApp. */
.author-box .author-contact { margin-top: 10px; }
.author-box .author-contact a { color: var(--navy-700); font-weight: 650; white-space: nowrap; border-bottom: 1px solid rgba(10,47,82,.3); }
.author-box .author-contact a:hover { border-bottom-color: var(--navy-700); }

/* ---------------------------------------------------------------- meta row */
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .87rem; color: var(--muted); margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.meta-row span { white-space: nowrap; }
.tag { display: inline-block; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 100px; padding: 3px 12px; font-size: .8rem; color: var(--navy-700); margin: 0 6px 6px 0; }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--navy-900); color: #e7f0f8; padding: 44px 0; margin-top: 56px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 .3em; color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.cta-band p { margin: 0; max-width: 58ch; color: #b8cde0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #0a2c48; color: #b9cde0; padding: 48px 0 20px; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #7ea5c6; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { color: #d7e6f3; }
.site-footer a:hover { color: #fff; }
.logo-foot { margin-bottom: 14px; }
.logo-foot span { display: flex; flex-direction: column; line-height: 1.05; }
.logo-foot strong { color: #fff; font-size: 1.05rem; letter-spacing: .16em; }
.logo-foot small { color: var(--accent); font-size: .62rem; letter-spacing: .3em; font-weight: 700; }
.foot-cert { color: #7ea5c6; font-size: .84rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: .85rem; color: #8db0cd; }
.foot-bottom p { margin: 0; }
.foot-legal a { color: #b9cde0; }

/* ------------------------------------------------------------------- forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .9rem; font-weight: 650; color: var(--navy-900); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 11px 13px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  /* A textarea keeps its intrinsic cols-based width otherwise, which pushed the
     contact page ~20px wider than the viewport on a phone. */
  width: 100%; min-width: 0;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field-full { grid-column: 1 / -1; }
.form-note { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------------- misc */
.breadcrumb-fallback { display: none; }
.lead-block { font-size: 1.06rem; color: var(--ink-soft); max-width: 78ch; }
.center { text-align: center; }
.quiet { color: var(--muted); font-size: .9rem; }
.grade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 18px 0; }
.grade-grid li { margin: 0; }
.grade-grid a { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .93rem; font-weight: 550; }
.grade-grid a:hover { border-color: var(--navy); background: var(--bg-tint); text-decoration: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }

/* ------------------------------------------------- feature rows: image + text */
.feat-rows { display: flex; flex-direction: column; gap: 34px; }
.feat-row {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feat-row:hover { box-shadow: var(--shadow); }
.feat-media { margin: 0; background: var(--bg-soft); }
.feat-media img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.feat-caption { margin: 0; padding: 10px 14px; font-size: .82rem; color: var(--muted); background: var(--bg-soft); border-top: 1px solid var(--line); }
.feat-body { padding: 26px 30px 28px; }
.feat-meta { margin: 0 0 6px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.feat-body h3 { margin-top: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); }
.feat-body h3 a { color: var(--navy-900); }
.feat-body h3 a:hover { color: var(--accent-600); }
.feat-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.feat-facts li { position: relative; margin: 0; padding-left: 20px; font-size: .93rem; color: var(--ink-soft); }
.feat-facts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feat-actions { margin: 0; }

/* product page hero figure */
.product-figure { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.product-figure img { display: block; width: 100%; height: auto; }
.product-figure figcaption { padding: 10px 16px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }

/* progressive disclosure for long tables and FAQ lists */
.table-more, .faq-more { margin: 12px 0 0; }
.table-more > summary, .faq-more > summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.table-more > summary::-webkit-details-marker, .faq-more > summary::-webkit-details-marker { display: none; }
.table-more > summary:hover, .faq-more > summary:hover { border-color: var(--navy); background: var(--bg-tint); color: var(--navy); }
.table-more > summary::after, .faq-more > summary::after { content: "▾"; font-size: .8em; color: var(--accent); }
.table-more[open] > summary::after, .faq-more[open] > summary::after { content: "▴"; }
.faq-more > .faq-body { display: none; }

/* mega menu (alloy series) - full width panel anchored under the nav bar */
.nav-list > li.has-mega { position: static; }
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 18px 44px rgba(13, 59, 102, .18);
}
.nav-list > li:hover .mega, .nav-list > li:focus-within .mega { display: block; }
.site-nav .mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px 48px;
  padding: 24px 22px 30px;
  align-items: start;
}
.mega-col h3 { margin: 0 0 12px; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent-600); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.mega-col li { margin: 0; }
.mega-col a { display: block; padding: 6px 0; font-size: .93rem; line-height: 1.4; color: var(--ink-soft); }
.mega-col a:hover { color: var(--navy); text-decoration: none; }
.mega-col-families ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px 34px; }
.mega-col-featured { border-left: 1px solid var(--line); padding-left: 44px; }
.mega-col-featured a { font-weight: 550; color: var(--navy); }

/* --------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .site-desc { display: none; }
  .header-inner { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .topbar-inner { justify-content: flex-start; }
  .topbar-right { display: none; }
  .nav-burger { display: flex; }
  .site-nav .nav-list { display: none; }
  .nav-toggle:checked ~ .site-nav .nav-list { display: block; }
  .site-nav .wrap { padding: 0; }
  .nav-list > li { width: 100%; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-list > li > a { display: block; padding: 12px 22px; }
  .has-sub { padding-right: 0; }
  .caret { display: none; }
  .sub { position: static; display: block; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 8px; min-width: 0; background: var(--navy-700); }
  .sub a { color: #d8e6f3; padding: 9px 38px; }
  .sub a:hover { background: var(--navy-900); color: #fff; }
  .mega { position: static; display: block !important; border-top: 0; box-shadow: none; background: var(--navy-700); }
  .site-nav .mega-inner { grid-template-columns: 1fr; gap: 4px; padding: 6px 22px 14px; }
  .mega-col-families ul { grid-template-columns: 1fr; }
  .mega-col-featured { border-left: 0; padding-left: 0; }
  .mega-col h3 { color: var(--accent); padding-left: 16px; }
  .mega-col a, .mega-col-featured a { color: #d8e6f3; padding: 7px 16px; }
  .mega-col a:hover { color: #fff; }
  .feat-row { grid-template-columns: 1fr; }
  .feat-media img { min-height: 0; }
  .feat-body { padding: 20px 22px 24px; }
}
@media (max-width: 620px) {
  .feat-row { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .topbar, .crumbs, .cta-band, .toc, .site-footer,
  .hero-slides, .hero-dots { display: none !important; }
  body { font-size: 11pt; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1, .hero-lead { color: #000; }
  a { color: #000; }
}
