/* GONGSHENG export website - design system
   Palette follows the corporate brochure: deep navy, engineering blue, crimson accent. */

:root {
  --navy-900: #071528;
  --navy: #0b2142;
  --navy-600: #16325c;
  --blue: #1b5fd9;
  --blue-soft: #e8eefb;
  --red: #a7171d;
  --red-soft: #fbeceb;
  --ink: #0e1a2b;
  --body: #46566f;
  --muted: #74839a;
  --line: #e2e8f0;
  --line-strong: #ccd6e4;
  --bg: #f5f7fa;
  --white: #fff;
  --shadow-sm: 0 1px 2px rgba(11, 33, 66, .06), 0 8px 24px rgba(11, 33, 66, .05);
  --shadow-md: 0 2px 4px rgba(11, 33, 66, .06), 0 20px 48px rgba(11, 33, 66, .10);
  --wrap: 1240px;
  --radius: 4px;
  --font: "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--ink); font-weight: 650; }

/* ------------------------------------------------------------------ layout */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--bg { background: var(--bg); }
.section--navy { background: var(--navy-900); color: #b9c6da; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy .lead { color: #a9b8cd; }

.section-head { max-width: 780px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}
.section--navy .eyebrow { color: #ff8b90; }
.section--navy .eyebrow::before { background: #ff8b90; }

.lead {
  font-size: 1.08rem;
  color: var(--body);
  max-width: 68ch;
}

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 78px;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 33, 66, .06);
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .18em;
  color: #fff;
  transition: color .25s ease;
}
.brand-sub {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  transition: color .25s ease;
}
.is-solid .brand-name { color: var(--navy); }
.is-solid .brand-sub { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .84);
  border-radius: var(--radius);
  transition: color .2s ease, background .2s ease;
}
.is-solid .nav a { color: var(--navy-600); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.is-solid .nav a:hover { color: var(--navy); background: var(--bg); }
.nav a.is-active { color: #fff; }
.is-solid .nav a.is-active { color: var(--red); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  opacity: .85;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.is-solid .nav-toggle { border-color: var(--line-strong); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}
.is-solid .nav-toggle span { background: var(--navy); }
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: inherit;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--accent { background: var(--red); color: #fff; }
.btn--accent:hover { background: #8e1218; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #cdd8e8;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, .42) 0%, rgba(7, 21, 40, .12) 34%, rgba(7, 21, 40, .18) 100%),
    linear-gradient(100deg, rgba(7, 21, 40, .95) 0%, rgba(7, 21, 40, .8) 42%, rgba(7, 21, 40, .34) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { font-size: 1.12rem; color: #b8c6db; max-width: 62ch; }
.hero .btn-row { margin-top: 34px; }

.hero-inner--wide { max-width: 880px; }

/* page hero for interior pages */
.page-hero {
  position: relative;
  padding: 170px 0 96px;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #c3d0e2;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, .35) 0%, rgba(7, 21, 40, .1) 40%, rgba(7, 21, 40, .28) 100%),
    linear-gradient(100deg, rgba(7, 21, 40, .95) 0%, rgba(7, 21, 40, .78) 55%, rgba(7, 21, 40, .52) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { max-width: 66ch; color: #b3c1d6; font-size: 1.06rem; }

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }

/* -------------------------------------------------------------- trust strip */
.trust {
  background: var(--navy);
  color: #b7c6dc;
  padding: 16px 0;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  justify-content: center;
  font-size: 13px;
  letter-spacing: .04em;
}
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* ------------------------------------------------------------------- stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}
.section--navy .stats { border-color: rgba(255, 255, 255, .14); }
.section--navy .stat { border-right-color: rgba(255, 255, 255, .14); }
.section--navy .stat b { color: #fff; }
.section--navy .stat span { color: #93a4bd; }

/* ------------------------------------------------------------------- cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { font-size: 15px; margin-bottom: 16px; }
.card-list { list-style: none; padding: 0; margin: 0 0 20px; }
.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--body);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
}
.card-link {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card-link::after { content: "\2192"; transition: transform .2s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* feature tiles */
.feature {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--navy);
}
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin: 0; }
.section--navy .feature {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  border-top-color: var(--red);
}
.section--navy .feature p { color: #a7b6cb; }

/* ------------------------------------------------------------------- bands */
.band {
  position: relative;
  padding: 110px 0;
  color: #fff;
  overflow: hidden;
  background-color: var(--navy-900);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 40, .3) 0%, rgba(7, 21, 40, .12) 50%, rgba(7, 21, 40, .3) 100%),
    linear-gradient(90deg, rgba(7, 21, 40, .94) 0%, rgba(7, 21, 40, .78) 50%, rgba(7, 21, 40, .56) 100%);
}
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: #fff; max-width: 30ch; }
.band p { color: #b3c2d8; max-width: 62ch; }
.band .grid { margin-top: 46px; }

/* -------------------------------------------------------------- media block */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(7, 21, 40, .92);
  color: #fff;
  padding: 18px 24px;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------- lists */
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: .55em;
  background: var(--red);
  border-radius: 1px;
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: inherit;
  cursor: default;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
button.chip { cursor: pointer; }
button.chip:hover { border-color: var(--navy); color: var(--navy); }
button.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.section--navy .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .18); color: #cfd9e8; }

/* --------------------------------------------------------------- spec table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table {
  min-width: 480px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--line);
}
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.spec-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.spec-table tbody tr { border-bottom: 1px solid var(--line); }
.spec-table tbody tr:nth-child(even) { background: #fafbfd; }
.spec-table tbody tr:last-child { border-bottom: 0; }
.spec-table td:first-child { width: 46%; color: var(--navy-600); font-weight: 550; }
.spec-table td:last-child { color: var(--body); font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------- product sections */
.product-block { padding: 60px 0; border-top: 1px solid var(--line); }
.product-block:first-of-type { border-top: 0; }
.product-block .split { align-items: start; gap: 56px; }
.product-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.product-head h2 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.product-cn { color: var(--muted); font-size: 14px; letter-spacing: .06em; }
.product-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
}
.product-media { border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.product-media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.product-block .product-media img { aspect-ratio: 21 / 9; object-fit: contain; background: #eef2f7; }
.product-block .split > .product-media { align-self: start; }
@media (min-width: 1081px) {
  .product-block .split > .product-media { position: sticky; top: 106px; }
}
.product-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 30px; }
.mini-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

/* --------------------------------------------------------------- timeline */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 132px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line-strong);
}
.timeline-item { display: grid; grid-template-columns: 132px 1fr; gap: 34px; padding: 26px 0; }
.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.timeline-body { position: relative; padding-left: 34px; }
.timeline-body::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 12px;
  width: 11px;
  height: 11px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}
.timeline-body h3 { margin-bottom: 6px; }
.timeline-body p { margin: 0; font-size: 15px; }

/* ------------------------------------------------------------------ honors */
.honor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.honor {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.honor:nth-child(3n) { border-right: 0; }
.honor:nth-last-child(-n+3) { border-bottom: 0; }
.honor strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.honor span { font-size: 13px; color: var(--muted); }

/* ----------------------------------------------------------------- project */
.project-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.project-card + .project-card { margin-top: 26px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.project-body { padding: 34px 38px; }
.project-cap {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 650;
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.project-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.project-table th, .project-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.project-table th { font-weight: 600; color: var(--navy-600); width: 58%; }
.project-table td { color: var(--body); font-variant-numeric: tabular-nums; text-align: right; }

/* -------------------------------------------------------------------- cta */
.cta-band { background: var(--navy); color: #c2cfe1; }
.cta-band .split { align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #adbbd0; margin-bottom: 0; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--navy-900); color: #93a4bd; padding: 72px 0 34px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; }
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: #b9c7db; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-brand img { height: 42px; }
.footer-brand strong { color: #fff; font-size: 15.5px; letter-spacing: .16em; display: block; }
.footer-brand span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #7f90a9; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact b { color: #cbd7e8; font-weight: 600; min-width: 54px; }
.footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  font-size: 13px;
  color: #74869f;
}

/* ------------------------------------------------------------------- form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy-600);
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 95, 217, .14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.contact-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-panel h3 { margin-bottom: 16px; }
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line b { min-width: 66px; color: var(--navy-600); font-weight: 600; }

/* ------------------------------------------------------------------ misc */
.note {
  border-left: 3px solid var(--red);
  background: var(--bg);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--body);
}
.divider { height: 1px; background: var(--line); margin: 64px 0; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honor:nth-child(3n) { border-right: 1px solid var(--line); }
  .honor:nth-child(2n) { border-right: 0; }
  .honor:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .honor:nth-last-child(-n+2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .product-cols { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 18px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { color: var(--navy-600) !important; padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a:hover { background: transparent; color: var(--red) !important; }
  .nav a.is-active::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: inline-flex; }
  .site-header .wrap { gap: 16px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { min-height: auto; padding: 130px 0 72px; }
  .page-hero { padding: 130px 0 70px; }
  .wrap { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 20px; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .section--navy .stat { border-bottom-color: rgba(255, 255, 255, .14); }
  .honor-grid { grid-template-columns: 1fr; }
  .honor { border-right: 0 !important; }
  .honor:last-child { border-bottom: 0 !important; }
  .project-card { grid-template-columns: 1fr; }
  .project-body { padding: 26px 22px; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0 20px 30px; position: relative; }
  .timeline-body { padding-left: 0; }
  .timeline-body::before { left: -30px; top: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-panel { padding: 24px 20px; }

  /* Spec tables read better as stacked label/value rows on phones. */
  .table-scroll { overflow-x: visible; }
  .spec-table { min-width: 0; border: 0; background: transparent; }
  .spec-table thead { display: none; }
  .spec-table tbody tr {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 15px;
    margin-bottom: 8px;
  }
  .spec-table tbody tr:nth-child(even) { background: #fff; }
  .spec-table td { display: block; width: auto; padding: 1px 0; }
  .spec-table td:first-child {
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .spec-table td:last-child { font-size: 15.5px; color: var(--ink); }
  .project-table th { width: 60%; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 14px; }
}
