/* CNCPME · cool steel blue · Chakra Petch + Raleway · browser-chrome tabs */
:root {
  --ink: #0B1220;
  --accent: #3B82F6;
  --accent-ink: #1D4ED8;
  --surface: #F5F7FA;
  --soft: #DBEAFE;
  --mute: #64748B;
  --line: #C7D2E0;
  --bg: #F5F7FA;
  --line: #C7D2E0;
  --footer: #0B1220;
  --footer-ink: #F5F7FA;
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 0.28s; animation-timing-function: var(--ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-alt, .parallax, .hero-media img { transform: none !important; opacity: 1 !important; }
  .bg-video { display: none !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 6.5rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { width: min(1120px, 92vw); margin-inline: auto; }
.container-wide { width: min(1360px, 94vw); margin-inline: auto; }
.container.narrow, .narrow { width: min(720px, 92vw); margin-inline: auto; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-ink);
}
h1, h2, h3, .display {
  font-family: var(--font-display); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.01em; text-wrap: balance; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { text-wrap: pretty; }
.lead, .lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--mute); max-width: 40rem; }
.muted { color: var(--mute); }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.25rem; border-radius: 4px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 80; pointer-events: none;
}

/* Browser-chrome tab strip */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 96%, #1e293b);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 80%, #334155);
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.18);
}
.chrome-bar {
  width: min(1360px, 94vw); margin-inline: auto;
  display: flex; align-items: flex-end; gap: 0.75rem;
  padding: 0.55rem 0 0; min-height: 3.4rem;
}
.chrome-dots {
  display: flex; gap: 0.35rem; padding: 0 0.35rem 0.85rem 0.15rem; flex-shrink: 0;
}
.chrome-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: color-mix(in srgb, var(--mute) 55%, #94a3b8);
}
.chrome-dots span:nth-child(1) { background: #f87171; }
.chrome-dots span:nth-child(2) { background: #fbbf24; }
.chrome-dots span:nth-child(3) { background: #34d399; }
.logo-link {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--surface); padding: 0 0.6rem 0.75rem 0; flex-shrink: 0;
  letter-spacing: -0.01em;
}
.logo-link img { width: 28px; height: 28px; }
.logo-link .word span { color: var(--accent); }
.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  flex-direction: column; gap: 5px; margin-left: auto; margin-bottom: 0.35rem;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--surface); }
.tab-strip {
  display: flex; align-items: flex-end; gap: 0.2rem;
  flex: 1; overflow-x: auto; scrollbar-width: none;
  padding-right: 0.25rem;
}
.tab-strip::-webkit-scrollbar { display: none; }
.tab-strip a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 0.55rem 1rem 0.65rem;
  font-size: 0.82rem; font-weight: 600;
  color: color-mix(in srgb, var(--surface) 62%, var(--mute));
  background: color-mix(in srgb, var(--ink) 70%, #1e293b);
  border: 1px solid color-mix(in srgb, #334155 80%, transparent);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.tab-strip a:hover { color: var(--surface); background: color-mix(in srgb, var(--ink) 55%, #334155); }
.tab-strip a.active {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  z-index: 1;
}
.tab-strip a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--surface);
}
@media (max-width: 960px) {
  .chrome-dots { display: none; }
  .nav-toggle { display: flex; }
  .tab-strip {
    position: fixed; inset: 3.5rem 0 auto 0;
    background: var(--ink); border-bottom: 1px solid #334155;
    flex-direction: column; align-items: stretch; gap: 0.35rem;
    padding: 0.85rem 1rem 1.1rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: 0.3s var(--ease); overflow: auto; max-height: 70vh;
  }
  .tab-strip.open { transform: none; opacity: 1; pointer-events: auto; }
  .tab-strip a {
    border-radius: 6px; border: 1px solid #334155; border-bottom: 1px solid #334155;
    padding: 0.7rem 1rem;
  }
  .tab-strip a.active { background: var(--soft); color: var(--ink); }
}

.hero {
  position: relative; min-height: min(84vh, 780px);
  display: grid; align-items: end; padding: 3.5rem 0 3rem; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.25rem; align-items: end;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--soft);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.section { padding: 4.5rem 0; }
.section.tight { padding: 3rem 0; }
.section-soft { background: color-mix(in srgb, var(--soft) 55%, var(--surface)); }
.section-ink { background: var(--ink); color: var(--footer-ink); }
.section-ink h2, .section-ink .eyebrow { color: var(--soft); }
.section-ink .lede, .section-ink p { color: color-mix(in srgb, var(--footer-ink) 78%, transparent); }
.section-head {
  display: flex; justify-content: space-between; gap: 2rem; align-items: end;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.page-hero { padding: 3.25rem 0 2rem; }
.page-hero--bleed { background: linear-gradient(180deg, var(--soft) 0%, var(--surface) 100%); }
.breadcrumbs { font-size: 0.85rem; color: var(--mute); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--accent-ink); }
.breadcrumbs span { margin: 0 0.35rem; }

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  container-type: inline-size;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img, .card-media img, .card-grid .card > img {
  width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.card-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-link { margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.04em; }

.split-editorial {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.split-editorial.flip { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 900px) {
  .split-editorial, .split-editorial.flip { grid-template-columns: 1fr; }
}
.asymmetric {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center;
}
@media (max-width: 900px) { .asymmetric { grid-template-columns: 1fr; } }
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.range-atlas {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem;
}
.atlas-tile {
  grid-column: span 4; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.atlas-tile--wide { grid-column: span 8; }
.atlas-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.atlas-tile .af-body { padding: 1rem 1.1rem 1.2rem; }
@media (max-width: 900px) {
  .atlas-tile, .atlas-tile--wide { grid-column: span 12; }
}
.floor-matrix {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.floor-matrix a, .chip {
  display: inline-flex; padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 0.85rem; font-weight: 600;
}
.floor-matrix a:hover, .chip:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }

.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; color: var(--mute); font-weight: 600; }
.check-list { margin: 1rem 0; display: grid; gap: 0.45rem; }
.check-list li {
  position: relative; padding-left: 1.4rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent);
}
.prose p + p { margin-top: 1rem; }
.prose h2 { margin: 2rem 0 0.75rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat {
  padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent-ink); }

.cta-band {
  position: relative; padding: 4.5rem 0; background: var(--ink); color: var(--footer-ink);
  text-align: center; overflow: hidden;
}
.cta-band h2 { color: var(--surface); }
.cta-video-wrap { position: absolute; inset: 0; opacity: 0.28; pointer-events: none; }
.cta-video-wrap video, .cta-video-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.cta-band .container { position: relative; z-index: 1; }
@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .cta-video-wrap video { display: none; }
}

.site-footer {
  background: var(--footer); color: var(--footer-ink); padding: 3.5rem 0 7rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-link { color: var(--surface); padding: 0; }
.footer-brand p { color: color-mix(in srgb, var(--footer-ink) 72%, transparent); margin-top: 0.85rem; max-width: 28rem; font-size: 0.95rem; }
.footer-company { margin-top: 1rem !important; font-size: 0.88rem !important; }
.footer-company a { color: var(--soft); text-decoration: underline; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.85rem; color: var(--soft);
}
.footer-col a {
  display: block; color: color-mix(in srgb, var(--footer-ink) 72%, transparent);
  font-size: 0.92rem; padding: 0.2rem 0;
}
.footer-col a:hover { color: var(--surface); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #1e293b;
  font-size: 0.85rem; color: color-mix(in srgb, var(--footer-ink) 55%, transparent);
}
.footer-bottom a { color: var(--soft); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    .reveal-alt {
      animation: fade-side linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 50%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-side {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

/* CTA video helpers + misc utilities */
.cta-band.has-bg-video { position: relative; overflow: hidden; }
.cta-video-wrap { position: absolute; inset: 0; pointer-events: none; }
.cta-video-wrap .bg-video,
.cta-video-wrap .bg-video-poster {
  width: 100%; height: 100%; object-fit: cover;
}
.cta-band.has-bg-video > .container { position: relative; z-index: 1; }
@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .cta-video-wrap .bg-video { display: none !important; }
}
.pill, .chip {
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 0.85rem; font-weight: 600;
}
.pill-row, .chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.breadcrumb, .breadcrumbs { font-size: 0.85rem; color: var(--mute); margin-bottom: 1rem; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--accent-ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.card-grid .card > img,
.card img,
.atlas-tile img,
.range-atlas img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── Parker craft 2026-10-05 ───────────────────────────────────────────── */
/* Scroll progress: compositor-driven scroll timeline animating transform only
   (no per-scroll width/layout writes). main.js keeps an rAF scaleX fallback. */
.scroll-progress { width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
@supports (animation-timeline: scroll()) {
  @keyframes parker-scroll-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .scroll-progress { animation: parker-scroll-progress linear both; animation-timeline: scroll(root block); }
}

/* Nav no-wrap lock 2026-10-06: header menu labels never wrap (Fancy design-system rule) */
header nav a, header nav li, .site-header nav a, nav[aria-label="Primary"] a, .nav-links a, .nav-cluster a { white-space: nowrap; }
/* Nav no-wrap lock: hamburger raised 960px -> 1060px so the menu never squeezes */
@media (min-width: 961px) and (max-width: 1060px) {
  .chrome-dots {display: none;}
  .nav-toggle {display: flex;}
  .tab-strip {position: fixed; inset: 3.5rem 0 auto 0;
    background: var(--ink); border-bottom: 1px solid #334155;
    flex-direction: column; align-items: stretch; gap: 0.35rem;
    padding: 0.85rem 1rem 1.1rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: 0.3s var(--ease); overflow: auto; max-height: 70vh;}
  .tab-strip.open {transform: none; opacity: 1; pointer-events: auto;}
  .tab-strip a {border-radius: 6px; border: 1px solid #334155; border-bottom: 1px solid #334155;
    padding: 0.7rem 1rem;}
  .tab-strip a.active {background: var(--soft); color: var(--ink);}
}

/* parker-am-reviews-20261006 */
.am-reviews {
  padding: 3.5rem 0 2.5rem;
}
.am-reviews .container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.am-reviews h2 {
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.am-reviews .amr-root {
  --amr-bg: #F5F7FA;
  --amr-card-border: #C7D2E0;
  --amr-text: #0B1220;
  --amr-muted: #64748B;
  --amr-star: #f5c518;
  --amr-link: #3B82F6;
  --amr-radius: 6px;
  --amr-font: inherit;
}
@media (max-width: 420px) {
  .am-reviews { padding: 2.5rem 0 1.75rem; }
  .am-reviews .container { width: calc(100% - 1.25rem); }
  .am-reviews .amr-root { --amr-pad: 1rem 1.05rem; --amr-photo-size: 40px; }
}

/* sense-check 2026-10-07: confident header lockup (pale on-dark cut on the dark tab-strip chrome) + mobile menu sits under the real header height */
.site-header .logo-primary { height: 2.6rem !important; width: auto; max-width: min(240px, 60vw) !important; }
@media (max-width: 600px) { .site-header .logo-primary { height: 2.2rem !important; } }
@media (max-width: 1060px) { .tab-strip { inset: var(--hdr-h, 3.5rem) 0 auto 0 !important; } }
.nav-toggle { justify-content: center; align-items: center; }
/* sense-check 2026-10-07: ghost button on the dark CTA band was pale text on a pale fill */
.cta-band .btn-ghost { background: transparent; color: #F5F7FA; }
.cta-band .btn-ghost:hover { background: rgba(245,247,250,0.08); color: #F5F7FA; border-color: var(--accent); }
