/* Business Now, Calm urgent SME toolkit · Literata + Karla · compact top bar */
:root {
  --ink: #0B132B;
  --deep: #1C2541;
  --mid: #3A506B;
  --accent: #5BC0BE;
  --accent-ink: #1B6B69;
  --bg: #F0F4F8;
  --surface: #FFFFFF;
  --mute: #3A506B;
  --mist: #C9D6E3;
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --font-display: "Literata", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, sans-serif;
  --nav-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.65rem;
  --shadow: 0 20px 50px rgba(11, 19, 43, 0.10);
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@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-side.reveal-alt { opacity: 1 !important; transform: none !important; }
  .bg-video { display: none !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 1.02rem;
  padding-top: var(--nav-h);
}
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(1100px, 92vw); margin-inline: auto; }
.container-wide { width: min(1280px, 94vw); margin-inline: auto; }
.narrow { width: min(720px, 92vw); margin-inline: auto; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
h1, h2, h3.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 4.2vw, 3.05rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 48ch;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  text-wrap: pretty;
}
.muted { color: var(--mute); font-size: 0.95rem; }

.scroll-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 200;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--mid));
}

/* Compact top bar, solid from first paint; wordmark left; underlined text links right */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--mist);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 19, 43, 0.08); }
.header-inner {
  width: min(1180px, 94vw);
  margin-inline: auto;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem;
}
.logo-link {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-link img { width: 30px; height: 30px; border-radius: 7px; }
.logo-link .word span { color: var(--accent-ink); font-weight: 500; margin-left: 0.15em; }

.nav-links {
  display: flex; align-items: center; gap: 0.15rem 1.15rem;
  font-size: 0.88rem; font-weight: 550;
}
.nav-links a:not(.btn) {
  padding: 0.2rem 0;
  border-bottom: 1.5px solid transparent;
  opacity: 0.78;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
}
.nav-links a:not(.btn):hover.nav-links a:not(.btn).active {
  opacity: 1;
  color: var(--deep);
  border-bottom-color: var(--accent);
}
.nav-links .btn-outline-nav {
  margin-left: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--mid);
  color: var(--deep);
  opacity: 1;
  border-bottom: 1.5px solid var(--mid);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-links .btn-outline-nav:hover {
  background: var(--ink);
  color: #F0F4F8;
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.4rem; height: 2.4rem;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border: 1px solid var(--mist); border-radius: var(--radius); background: var(--surface);
}
.nav-toggle span { display: block; width: 1.05rem; height: 1.5px; background: var(--ink); }

/* Hamburger raised 900 -> 980px (2026-10-06): full menu needs ~920px on one line */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto;
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--mist);
    transform: translateY(-110%);
    opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    gap: 0; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--mist); opacity: 1; }
  .nav-links .btn-outline-nav { margin: 1rem 0 0; justify-content: center; text-align: center; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.88rem; font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-primary { background: var(--ink); color: #F0F4F8; }
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 12%, white); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--bg); }

.hero.page-hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}
.hero { min-height: 82vh; display: grid; align-items: end; padding: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img.hero-video-wrap.bg-video.bg-video-poster {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-wrap { position: absolute; inset: 0; }
.bg-video { position: absolute; inset: 0; object-fit: cover; }
.bg-video-poster { position: absolute; inset: 0; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,19,43,0.35) 0%, rgba(11,19,43,0.58) 48%, rgba(11,19,43,0.88) 100%),
    radial-gradient(ellipse at 75% 12%, rgba(91,192,190,0.22), transparent 55%);
}
.hero-content { position: relative; z-index: 1; color: #F0F4F8; padding: 4rem 0 3.25rem; }
.hero-content .eyebrow { color: var(--accent); }
.hero-content h1 { color: #FFFFFF; }
.hero-content .lede { color: color-mix(in srgb, #F0F4F8 84%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.section { padding: 4.25rem 0; }
.section-surface { background: var(--surface); }
.section--contrast {
  background: var(--ink); color: #F0F4F8;
}
.section--contrast .eyebrow { color: var(--accent); }
.section--contrast .lede.section--contrast a { color: color-mix(in srgb, #F0F4F8 88%, transparent); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card-grid--journal { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  height: auto;
}
.card-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-link { margin-top: auto; font-size: 0.88rem; font-weight: 650; color: var(--accent-ink); }
.card--journal .card-body h3 { font-size: 1.15rem; }

.range-atlas.machine-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.atlas-tile {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.atlas-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.atlas-tile--wide { grid-column: span 6; }
.atlas-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.af-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
@media (max-width: 900px) {
  .atlas-tile.atlas-tile--wide { grid-column: span 12; }
}

.split-editorial {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split-editorial img { border-radius: var(--radius); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.asymmetric {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.media-frame img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 800px) {
  .split-editorial.asymmetric { grid-template-columns: 1fr; }
}

.product-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.product-hero-visual img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 800px) { .product-hero-grid { grid-template-columns: 1fr; } }

.spec-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.spec-item {
  background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.spec-item strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.spec-item span { font-size: 0.8rem; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 700px) { .spec-rail { grid-template-columns: 1fr 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th.spec-table td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--mist); }
.spec-table th { color: var(--mute); font-weight: 550; width: 38%; }

.check-list { margin-top: 1rem; }
.check-list li {
  position: relative; padding: 0.4rem 0 0.4rem 1.4rem;
  border-bottom: 1px solid color-mix(in srgb, var(--mist) 70%, transparent);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.75rem;
  width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.chip {
  display: inline-flex; padding: 0.4rem 0.8rem;
  border: 1px solid var(--mist); border-radius: 999px;
  font-size: 0.85rem; background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }

.play-matrix {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.play-matrix a {
  padding: 0.55rem 0.95rem;
  background: var(--deep); color: #F0F4F8;
  border-radius: 999px; font-size: 0.85rem; font-weight: 550;
  transition: background 0.2s;
}
.play-matrix a:hover { background: var(--accent-ink); }

.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.matrix-table th.matrix-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--mist); }
.matrix-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }

.proof-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.proof-rail article {
  background: var(--surface); border: 1px solid var(--mist);
  border-radius: var(--radius); padding: 1.35rem 1.4rem;
}
@media (max-width: 700px) { .proof-rail { grid-template-columns: 1fr; } }

.breadcrumbs { font-size: 0.85rem; color: var(--mute); margin-bottom: 0.85rem; }
.breadcrumbs span { opacity: 0.5; margin: 0 0.25rem; }
.byline { margin-top: 1rem; font-size: 0.95rem; color: var(--mute); }
.journal-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.journal-section { margin-bottom: 1.75rem; }
.journal-section h2 { margin-bottom: 0.5rem; }
.soft-cta {
  margin-top: 2.5rem; padding: 1.5rem;
  background: color-mix(in srgb, var(--accent) 10%, white);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--mist));
  border-radius: var(--radius);
}

.cta-band {
  position: relative; overflow: hidden;
  padding: 4.5rem 0; text-align: center; color: #F0F4F8;
  background: var(--deep);
}
.cta-band h2 { color: #fff; }
.cta-video-wrap { position: absolute; inset: 0; }
.cta-video-wrap .bg-video.cta-video-wrap .bg-video-poster { opacity: 0.35; }
.cta-band .container { position: relative; z-index: 1; }

.site-footer {
  background: var(--ink); color: color-mix(in srgb, #F0F4F8 88%, transparent);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { margin-top: 0.85rem; font-size: 0.92rem; max-width: 36ch; }
.footer-company { margin-top: 1rem !important; opacity: 0.75; font-size: 0.85rem !important; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.95rem; color: #fff;
  margin-bottom: 0.75rem;
}
.footer-col a {
  display: block; padding: 0.25rem 0; font-size: 0.9rem; opacity: 0.78;
}
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, #F0F4F8 12%, transparent);
  padding-top: 1.25rem; font-size: 0.85rem; opacity: 0.7;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Scroll entry/exit (modern-web-guidance) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes bn-in {
    from { opacity: 0.15; transform: translateY(18px); }
  }
  @keyframes bn-side {
    from { opacity: 0.15; transform: translateX(-22px); }
  }
  @keyframes bn-alt {
    from { opacity: 0.15; transform: translateY(10px) scale(0.985); }
  }
  .reveal {
    animation: bn-in 0.7s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
  .reveal-side {
    animation: bn-side 0.75s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 50%;
  }
  .reveal-alt {
    animation: bn-alt 0.8s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 5% entry 55%;
  }
}

.page-hero--bleed { padding-bottom: 1.5rem; }
.page-hero--split { padding-bottom: 2rem; }


/* 3.js widget clearance (Eric): WhatsApp bottom-right + Ask AI bottom-left.
   Never position fixed page CTAs in bottom corners; never restyle/hide 3.js widgets.
   In-flow mailto buttons in content/CTA bands are fine. */
body {
  padding-bottom: 6.5rem;
}
.site-footer {
  padding-bottom: calc(1.5rem + 6.5rem);
}
.site-footer .footer-bottom {
  margin-bottom: 0;
}

/* ── 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); }
}
/* Header state: CSS scroll-state query (Chrome/Edge 133+) mirrors the scrolled class.
   The JS toggle in main.js stays as the fallback for other browsers. */
@supports (container-type: scroll-state) {
  html { container-type: scroll-state; }
  /* A scroll-state root stops body overflow propagating to the viewport, so clip on html
     (viewport) and body instead; clip, unlike hidden, never turns body into a scroller. */
  html { overflow-x: clip; }
  body { overflow-x: clip; }
  @container scroll-state(scrollable: top) {
    .site-header:not(.is-static) { box-shadow: 0 6px 24px rgba(11, 19, 43, 0.08); }
  }
}

/* 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; }

/* 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: #FFFFFF;
  --amr-card-border: #C9D6E3;
  --amr-text: #0B132B;
  --amr-muted: #3A506B;
  --amr-star: #f5c518;
  --amr-link: #5BC0BE;
  --amr-radius: 0.65rem;
  --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; }
}
