/* ============================================================
   CY Seal — Clean Lab design system
   Tokens follow the scheme confirmed by the client on 2026-10-15:
   near-white surfaces, one teal accent, Inter, soft cards, hairlines.
   Interior pages extend the same tokens; no second visual language.
   ============================================================ */

:root {
  --bg: #f7fafa;
  --surface: #ffffff;
  --ink: #10222a;
  --muted: #5f7177;
  --accent: #0f9d8a;
  --accent-hover: #0b7a6c;
  --tint: #d6ecea;
  --hairline: #e0eceb;
  --radius-card: 18px;
  --radius-photo: 24px;
  --shadow: 0 2px 6px rgba(16, 34, 42, 0.05), 0 16px 40px rgba(16, 34, 42, 0.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #7dd3c7; outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.muted { color: var(--muted); }
.icon { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5vw, 3.7rem); letter-spacing: -0.025em; line-height: 1.06; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-hover); margin-bottom: 16px;
}
.section-sub, .hero-sub, .page-hero__lede { color: var(--muted); max-width: 58ch; }
.hero-sub { margin-top: 24px; font-size: 1.08rem; }
.page-hero__lede { margin-top: 18px; font-size: 1.06rem; }
.micro-note { color: var(--muted); font-size: 0.82rem; margin-top: 18px; max-width: 52ch; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn-nav { padding: 10px 20px; font-size: 0.88rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 600; font-size: 0.95rem; color: var(--accent-hover); }
.text-link:hover { color: var(--accent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip, .tag {
  font-size: 0.8rem; font-weight: 500; color: var(--accent-hover);
  background: var(--tint); border-radius: 999px; padding: 6px 13px;
}
.tag { font-size: 0.76rem; background: var(--bg); border: 1px solid var(--hairline); color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-mark { width: 34px; height: 34px; background: var(--accent); border-radius: 10px; display: grid; place-items: center; }
.brand-ring { position: relative; width: 16px; height: 16px; border: 3px solid #fff; border-radius: 50%; }
.brand-ring::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: #fff; }
.brand-word { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.015em; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 26px; }
.primary-nav a, .primary-nav summary {
  font-size: 0.9rem; font-weight: 500; color: var(--ink); cursor: pointer;
}
.primary-nav a:hover, .primary-nav summary:hover { color: var(--accent-hover); }
.primary-nav details { position: relative; }
.primary-nav summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; }
.primary-nav summary::-webkit-details-marker { display: none; }
.primary-nav .chevron { width: 13px; height: 13px; transition: transform .2s ease; }
.primary-nav details[open] .chevron { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -18px; min-width: 260px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; z-index: 70;
}
.submenu li a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 0.9rem; }
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.submenu li a:hover { background: var(--bg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 21px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--hairline); background: var(--surface); padding: 20px 28px 26px; }
.mobile-group { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 14px; border-bottom: 1px solid var(--hairline); }
.mobile-group:last-of-type { border-bottom: 0; }
.mobile-group__title { font-weight: 700; font-size: 1rem; }
.mobile-group__link { font-size: 0.92rem; color: var(--muted); padding-left: 12px; }
.mobile-menu .btn { margin-top: 8px; width: 100%; }
.mobile-contact { color: var(--muted); font-size: 0.85rem; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 92px; background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.photo-card { position: relative; border-radius: var(--radius-photo); overflow: hidden; box-shadow: var(--shadow); background: var(--tint); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 5 / 4.5; }
.hero-photo img { animation: kenburns 44s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, 1%); } }
.caption-pill {
  position: absolute; left: 18px; bottom: 18px; background: #fff; border: 1px solid var(--hairline);
  color: var(--ink); font-size: 0.8rem; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  box-shadow: 0 2px 12px rgba(16, 34, 42, .1);
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 38px 0; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 4px 26px; border-left: 1px solid var(--hairline); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font-variant-numeric: tabular-nums; }
.fact-num { font-size: 2rem; font-weight: 300; color: var(--accent); letter-spacing: -0.02em; }
.fact-num--text { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.015em; }
.fact-unit { font-size: 1rem; font-weight: 500; color: var(--accent-hover); margin-left: 4px; }
.fact dd { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; background: var(--surface); }
.section-tint { background: var(--bg); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { max-width: 730px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 18px; }
.section-rfq { background: var(--surface); }

/* ---------- Family cards ---------- */
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family-tile {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-card); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.family-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--tint); }
.family-tile__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.family-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.family-tile__body { display: flex; flex-direction: column; gap: 7px; padding: 22px 22px 24px; flex: 1; }
.family-tile__kicker { font-size: 0.7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hover); }
.family-tile h3 { font-size: 1.12rem; }
.family-tile p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.family-tile__link { margin-top: auto; padding-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--accent-hover); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Materials ---------- */
.materials {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-photo); padding: 44px;
}
.materials-photo { aspect-ratio: 3 / 2; }
.materials-copy h3 { font-size: 1.4rem; margin-bottom: 14px; }
.materials-copy p { color: var(--muted); }
.spec-list { margin-top: 18px; }
.spec-list li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--hairline); font-size: 0.94rem; }
.spec-list li:last-child { border-bottom: 1px solid var(--hairline); }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--tint); border: 2px solid var(--accent); }

/* ---------- Equipment ---------- */
.equip-card {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-photo); padding: 52px;
}
.equip-copy h2 { margin-bottom: 18px; }
.equip-copy p { color: var(--muted); }
.equip-copy .btn { margin-top: 22px; }
.equip-photo { aspect-ratio: 3 / 2; }

/* ---------- Process ---------- */
.process-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: start; }
.process-photo { aspect-ratio: 4 / 4.6; position: sticky; top: 100px; }
.process-copy h2 { margin-bottom: 16px; }
.process-copy > p { color: var(--muted); margin-bottom: 32px; }
.timeline { position: relative; padding-top: 6px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 12px; bottom: 30px; width: 2px; background: var(--tint); }
.timeline li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--tint); color: var(--accent-hover); font-size: .8rem; font-weight: 600;
  font-variant-numeric: tabular-nums; display: grid; place-items: center; position: relative; z-index: 1;
}
.timeline h3 { margin-bottom: 3px; }
.timeline p { font-size: .92rem; color: var(--muted); }

/* ---------- Quality ---------- */
.quality-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.quality-copy h2 { margin-bottom: 16px; }
.quality-copy > p { color: var(--muted); margin-bottom: 28px; }
.quality-photo { aspect-ratio: 3 / 2; }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cert-tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px 22px; }
.cert-tile h3 { font-size: 1rem; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 3px solid var(--tint); display: inline-block; }
.cert-tile p { font-size: .89rem; color: var(--muted); line-height: 1.55; }

/* ---------- About ---------- */
.about-inner { max-width: 840px; }
.about-title { font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom: 22px; }
.about-lede { font-size: 1.08rem; color: var(--muted); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--hairline); padding-top: 32px; gap: 24px; }
.about-facts dt { font-variant-numeric: tabular-nums; }
.about-facts dd { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Applications ---------- */
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.application-tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 28px 24px; }
.application-tile > .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.application-tile h3 { margin-bottom: 6px; }
.application-tile p { font-size: .9rem; color: var(--muted); }

/* ---------- RFQ / form ---------- */
.rfq-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.rfq-copy h2 { margin-bottom: 16px; }
.rfq-copy > p { color: var(--muted); }
.rfq-photo { aspect-ratio: 3 / 2; margin-top: 30px; }
.rfq-phone { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.rfq-phone a { color: var(--accent-hover); font-weight: 600; }
.rfq-form, .contact-form-card {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-photo);
  padding: 36px; box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: .95rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color .2s ease, background .2s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface); }
.field input[type="file"] { padding: 9px; background: var(--surface); }
.field-note { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.btn-submit { width: 100%; margin-top: 6px; padding: 15px; font-size: 1rem; }
.form-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 13px; }
.form-note a { text-decoration: underline; }
.form-status { font-size: .88rem; color: #b44; margin-top: 10px; min-height: 1em; }
.form-status.is-success { color: var(--accent-hover); }
.enquiry-form--compact .field-row { grid-template-columns: 1fr; }

/* ---------- Page hero / body ---------- */
.page-hero { padding: 72px 0 64px; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.page-hero--compact { padding: 60px 0 50px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.page-hero__photo { aspect-ratio: 3 / 2; }
.page-hero h1 { max-width: 18ch; }
.page-hero--compact h1 { max-width: 22ch; }
.page-hero__lede { max-width: 62ch; }
.breadcrumbs { margin-top: 26px; font-size: .8rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--hairline); }
.breadcrumbs a:hover { color: var(--accent-hover); }
.page-body { padding: 64px 0 84px; background: var(--surface); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.65rem; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose p, .prose li { color: #2b4248; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose ul li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; margin-bottom: 8px; }
.prose a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 3px solid var(--tint); padding: 12px 18px; color: var(--muted); margin: 22px 0; background: var(--bg); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--hairline); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); }
.prose figure { margin: 28px 0; }
.prose img { border-radius: var(--radius-card); }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 36px 0; }
.page-body .prose { max-width: 820px; }

/* Structured page blocks used by the seeded page HTML */
.page-body .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.page-body .card { border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px; background: var(--surface); }
.page-body .card h3 { margin-bottom: 8px; }
.page-body .card p { font-size: .92rem; color: var(--muted); }
.page-body .split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 30px 0; }
.page-body .step-list { counter-reset: step; margin: 24px 0; }
.page-body .step-list li { list-style: none; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid var(--hairline); }
.page-body .step-list li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--tint); color: var(--accent-hover); font-size: .78rem; font-weight: 600; display: grid; place-items: center; }
.page-body .check-list li { list-style: none; position: relative; padding-left: 26px; }
.page-body .check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.page-body .note { background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 22px 24px; margin: 26px 0; }
.page-body .cta-inline { margin-top: 32px; }

/* ---------- Archive cards ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-chip { font-size: .84rem; font-weight: 500; border: 1px solid var(--hairline); border-radius: 999px; padding: 8px 16px; color: var(--muted); }
.filter-chip:hover { border-color: var(--accent); color: var(--accent-hover); }
.filter-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.record-grid--three { grid-template-columns: repeat(3, 1fr); }
.record-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-card); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.record-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.record-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.record-card__media img { width: 100%; height: 100%; object-fit: cover; }
.record-card__body { display: flex; flex-direction: column; gap: 7px; padding: 22px; flex: 1; }
.record-card__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-hover); }
.record-card h2 { font-size: 1.18rem; }
.record-card p { font-size: .9rem; color: var(--muted); line-height: 1.55; }
.record-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.record-card__link { margin-top: auto; padding-top: 12px; font-size: .85rem; font-weight: 600; color: var(--accent-hover); display: inline-flex; align-items: center; gap: 6px; }
.record-card--text { background: var(--surface); }

/* ---------- Record single ---------- */
.record-hero { padding: 64px 0 56px; background: var(--surface); border-bottom: 1px solid var(--hairline); }
.record-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.record-hero__photo { aspect-ratio: 4 / 3; }
.record-body { padding: 64px 0 80px; background: var(--surface); }
.record-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.record-main { min-width: 0; }
.record-section { padding: 30px 0; border-top: 1px solid var(--hairline); }
.record-section:first-child { border-top: 0; padding-top: 0; }
.record-section h2 { font-size: 1.45rem; margin-bottom: 14px; }
.record-section p, .record-section li { color: #2b4248; }
.record-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.aside-card { background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 24px; }
.aside-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-facts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.aside-facts div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--hairline); padding-bottom: 9px; font-size: .86rem; }
.aside-facts dt { color: var(--muted); }
.aside-facts dd { text-align: right; font-weight: 500; }
.aside-card .btn { width: 100%; }
.aside-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.aside-gallery figure { border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--tint); }
.aside-gallery img { width: 100%; height: 100%; object-fit: cover; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--hairline); border-radius: 12px; }
.fact-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fact-table th, .fact-table td { padding: 11px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.fact-table th { background: var(--bg); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.fact-table tr:last-child td { border-bottom: 0; }
.option-list { display: flex; flex-direction: column; gap: 0; }
.option-row { padding: 14px 0; border-top: 1px solid var(--hairline); }
.option-row:first-child { border-top: 0; }
.option-row h3 { font-size: 1rem; margin-bottom: 4px; }
.option-row p { font-size: .92rem; color: var(--muted); }
.timeline--inline { margin-top: 10px; }
.notice-card { margin-top: 40px; background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-photo); padding: 32px; }
.notice-card h2 { font-size: 1.35rem; margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-block { background: var(--bg); border: 1px solid var(--hairline); border-radius: var(--radius-card); padding: 22px; }
.contact-block h3 { font-size: 1rem; margin-bottom: 10px; }
.contact-block p { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.contact-block a { color: var(--accent-hover); font-weight: 600; }
.contact-block--note { background: var(--surface); }
.mini-steps { counter-reset: mini; }
.mini-steps li { counter-increment: mini; position: relative; padding: 8px 0 8px 30px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--hairline); }
.mini-steps li:first-child { border-top: 0; }
.mini-steps li::before { content: counter(mini); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint); color: var(--accent-hover); font-size: .68rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 68px 0; }
.cta-band .eyebrow { color: #8fe0d3; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #b9c9cb; max-width: 62ch; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--tint); }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--hairline); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .8fr) 1fr; gap: 32px; }
.footer-brand p { color: var(--muted); font-size: .9rem; margin-top: 14px; max-width: 34ch; }
.footer-legal { font-size: .78rem !important; color: #8a9a9f !important; }
.footer-col h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .9rem; color: var(--ink); }
.footer-col a:hover { color: var(--accent-hover); }
.footer-contact p { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.footer-contact a { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--hairline); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: var(--muted); }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--accent-hover); }

/* ---------- Thank you / 404 ---------- */
.thank-you { padding: 92px 0 100px; background: var(--surface); }
.thank-you__inner { max-width: 720px; }
.thank-you__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero--404 { background: var(--bg); }

/* ---------- Articles ---------- */
.article-list { max-width: 860px; }
.article-row { padding: 28px 0; border-top: 1px solid var(--hairline); }
.article-row:first-child { border-top: 0; padding-top: 0; }
.article-row__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.article-row h2 { font-size: 1.45rem; margin-bottom: 8px; }
.article-row h2 a:hover { color: var(--accent-hover); }
.article-row p { color: var(--muted); }
.article-hero { padding: 68px 0 42px; background: var(--surface); }
.article-hero__inner { max-width: 820px; }
.article-figure { margin-bottom: 36px; }
.article-figure .photo-card { aspect-ratio: 21 / 9; }
.article-body { padding-bottom: 64px; }

/* ---------- Pagination ---------- */
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.pagination .page-numbers, .nav-links a, .nav-links span {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--hairline); border-radius: 10px; font-size: .88rem;
}
.pagination .current, .nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-inner { gap: 18px; }
  .primary-nav > ul { gap: 18px; }
  .hero-grid, .page-hero__grid, .record-hero__grid { gap: 40px; }
  .family-grid, .application-grid, .record-grid--three { grid-template-columns: repeat(2, 1fr); }
  .materials, .equip-card { padding: 36px; gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: span 2; }
}
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-nav { display: none; }
  .hero, .section { padding: 68px 0; }
  .hero-grid, .page-hero__grid, .record-hero__grid, .process-layout, .quality-layout, .rfq-grid, .contact-layout, .record-layout, .materials, .equip-card, .page-body .split { grid-template-columns: 1fr; }
  .process-photo { position: static; aspect-ratio: 3 / 2; }
  .record-aside { position: static; }
  .fact-row { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-contact { grid-column: span 2; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .prose { max-width: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .hero { padding: 52px 0 60px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 52px 0 44px; }
  .page-body { padding: 44px 0 60px; }
  .fact-row { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding: 10px 0; border-top: 1px solid var(--hairline); }
  .fact:first-child { border-top: 0; }
  .family-grid, .application-grid, .cert-grid, .record-grid, .record-grid--three, .page-body .cards-3, .about-facts { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rfq-form, .contact-form-card { padding: 24px; }
  .materials, .equip-card, .notice-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cta-band { padding: 48px 0; }
  .cta-band .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Footer search ---------- */
.footer-search-wrap { margin-top: 30px; }
.footer-search { display: flex; gap: 8px; max-width: 440px; }
.footer-search input {
  flex: 1; font: inherit; font-size: .9rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; outline: none;
}
.footer-search input:focus { border-color: var(--accent); background: var(--surface); }
.footer-search .btn { padding: 10px 16px; font-size: .85rem; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.page-search { margin-top: 24px; max-width: 520px; }
