/* FibreLaser SA , Dark industrial precision · Orbitron + Inter · left thin icon rail */
:root {
  --ink: #0A0A0A;
  --panel: #171717;
  --accent: #A3E635;
  --accent-ink: #A3E635;
  --surface: #FAFAF9;
  --mute: #A3A3A3;
  --line: #2A2A2A;
  --bg: #0A0A0A;
  --paper: #FAFAF9;
  --rail-w: 3.75rem;
  --rail-expanded: 13.5rem;
  --radius: 0.28rem;
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.45);
}
@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-alt, .reveal-side { opacity: 1 !important; transform: none !important; }
  .bg-video { display: none !important; }
}
body {
  font-family: var(--font-body);
  color: var(--surface);
  background: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 1.02rem;
  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(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: 650; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600; line-height: 1.12; letter-spacing: 0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 4.2vw, 3.05rem); }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.95rem); }
h3 { font-size: clamp(1.02rem, 1.6vw, 1.22rem); letter-spacing: 0.01em; }
.lede, .lead {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  max-width: 48ch;
  color: color-mix(in srgb, var(--surface) 72%, 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(--panel), var(--accent));
}

/* LEFT thin icon rail , icons only; expands labels on hover (≠ 3dscanner full text rail, ≠ dropshippers right rail) */
.icon-rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 50;
  background: var(--panel);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0.45rem;
  overflow: hidden;
  transition: width 0.28s var(--ease);
}
.icon-rail:hover,
.icon-rail:focus-within {
  width: var(--rail-expanded);
}
.rail-logo {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.35rem 0.4rem 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.55rem;
  min-height: 2.75rem;
}
.rail-logo img { flex-shrink: 0; }
.rail-nav {
  display: flex; flex-direction: column; gap: 0.1rem; flex: 1;
}
.rail-nav a,
.rail-cta .btn {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0.45rem;
  color: var(--mute);
  white-space: nowrap;
  min-height: 2.35rem;
}
.rail-nav a .ico,
.rail-cta .btn .ico {
  width: 1.35rem; text-align: center; font-size: 0.95rem;
  flex-shrink: 0; opacity: 0.9; color: var(--accent);
}
.rail-label {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  pointer-events: none;
}
.icon-rail:hover .rail-label,
.icon-rail:focus-within .rail-label {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.rail-nav a:hover,
.rail-nav a.active {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--surface);
}
.rail-cta {
  margin-top: auto;
  padding-top: 0.85rem;
  padding-bottom: 6.5rem; /* clear Ask AI bottom-left */
  border-top: 1px solid var(--line);
}
.rail-cta .btn {
  width: 100%;
  justify-content: flex-start;
  background: var(--accent);
  color: var(--ink);
  border-radius: 0.55rem;
}
.rail-cta .btn .ico { color: var(--ink); }
.rail-cta .btn:hover { filter: brightness(1.06); }
.rail-meta {
  margin-top: 0.55rem;
  font-size: 0.62rem;
  color: var(--mute);
  padding-inline: 0.4rem;
  line-height: 1.35;
  opacity: 0;
  transition: opacity 0.2s;
}
.icon-rail:hover .rail-meta,
.icon-rail:focus-within .rail-meta { opacity: 1; }

.nav-toggle {
  display: none;
  position: fixed;
  top: 0.75rem; right: 0.85rem;
  z-index: 70;
  width: 2.5rem; height: 2.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-direction: column; justify-content: center; align-items: center; gap: 0.28rem;
}
.nav-toggle span {
  display: block; width: 1.1rem; height: 1.5px; background: var(--surface);
}
.rail-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0,0,0,0.55);
}

.site-main {
  margin-left: var(--rail-w);
  min-height: 100vh;
}

@media (max-width: 900px) {
  .icon-rail {
    width: min(80vw, 16rem);
    transform: translateX(-105%);
    transition: transform 0.28s var(--ease);
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
    padding-bottom: 1rem;
  }
  .icon-rail .rail-label,
  .icon-rail .rail-meta { opacity: 1; transform: none; pointer-events: auto; }
  .icon-rail.open { transform: translateX(0); }
  .icon-rail:hover { width: min(80vw, 16rem); }
  .nav-toggle { display: flex; }
  .site-main { margin-left: 0; }
  .rail-cta { padding-bottom: 6.5rem; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.62rem 1.05rem;
  font-size: 0.84rem; font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--surface) 22%, transparent);
  color: var(--surface);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.logo-link, .brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.logo-link .word span { color: var(--accent); }

.hero, .page-hero { padding: 4.5rem 0 3rem; position: relative; }
.hero.has-bg-video, .cta-band.has-bg-video { overflow: hidden; }
.hero-video-wrap, .cta-video-wrap {
  position: absolute; inset: 0; z-index: 0;
}
.bg-video, .bg-video-poster {
  width: 100%; height: 100%; object-fit: cover;
}
.bg-video { position: absolute; inset: 0; opacity: 0.35; }
.bg-video-poster { opacity: 0.4; filter: brightness(0.45); }
.hero > .container, .cta-band > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: end;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.proof-rail {
  display: grid; gap: 0.85rem;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.proof-rail strong {
  display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--accent);
}
.proof-rail span { color: var(--mute); font-size: 0.8rem; }

.section { padding: 3.5rem 0; }
.section-panel, .section-surface { background: var(--panel); }
.section--contrast {
  background: color-mix(in srgb, var(--accent) 8%, var(--ink));
  border-block: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.card-grid--notes { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.section-panel .card { background: var(--ink); }
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.05rem 1.1rem 1.2rem; display: grid; gap: 0.35rem; }
.card-link { font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-top: 0.35rem; }

.range-atlas, .machine-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.atlas-tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel);
  min-height: 16rem;
}
.atlas-tile--wide { grid-column: span 2; }
.atlas-tile img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; filter: brightness(0.72); }
.atlas-tile .af-body {
  position: absolute; inset: auto 0 0; padding: 1.1rem;
  background: linear-gradient(transparent, rgba(10,10,10,0.92));
}

.split-editorial {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem; align-items: center;
}
.split-editorial img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line);
}

.product-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
}
.product-hero-visual img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line);
}
.spec-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
}
.spec-item {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem;
}
.spec-item strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: var(--accent); }
.spec-item span { color: var(--mute); font-size: 0.75rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line);
}
.spec-table th { color: var(--mute); font-weight: 600; width: 38%; }

.chip-row, .route-matrix { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip, .route-matrix a {
  display: inline-flex; padding: 0.4rem 0.75rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--mute);
  background: var(--panel);
}
.chip:hover, .route-matrix a:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); }

.matrix-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.matrix-table th, .matrix-table td {
  text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line);
}

.check-list { display: grid; gap: 0.45rem; margin-top: 1rem; }
.check-list li {
  padding-left: 1.2rem; position: relative; color: color-mix(in srgb, var(--surface) 88%, transparent);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.45rem; height: 0.45rem; border-radius: 1px; background: var(--accent);
}

.breadcrumbs { font-size: 0.78rem; color: var(--mute); margin-bottom: 0.85rem; }
.breadcrumbs span { margin: 0 0.35rem; opacity: 0.5; }
.byline { margin-top: 0.85rem; font-size: 0.9rem; color: var(--mute); }
.note-hero-img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover;
  margin-bottom: 1.75rem; border: 1px solid var(--line);
}
.note-section { margin-bottom: 1.75rem; }
.note-section h2 { margin-bottom: 0.55rem; }
.soft-cta {
  margin-top: 2rem; padding: 1.25rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
}

.cta-band {
  position: relative; padding: 4rem 0; text-align: center;
  background: var(--panel); border-top: 1px solid var(--line);
}
.cta-band h2 { color: var(--surface); }
.cta-band .lede { margin-inline: auto; color: var(--mute); }

.site-footer {
  background: #050505; color: var(--mute);
  padding: 3.25rem 0 1.5rem; border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-brand p { margin-top: 0.75rem; font-size: 0.9rem; max-width: 36ch; }
.footer-company { margin-top: 1rem !important; font-size: 0.82rem !important; }
.footer-col { display: grid; gap: 0.4rem; align-content: start; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--surface); margin-bottom: 0.35rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.78rem;
}
.footer-bottom a { color: var(--accent); }

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

@media (max-width: 960px) {
  .hero-grid, .split-editorial, .product-hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid--notes, .range-atlas, .machine-grid { grid-template-columns: 1fr 1fr; }
  .atlas-tile--wide { grid-column: span 2; }
  .spec-rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid--notes, .range-atlas, .machine-grid { grid-template-columns: 1fr; }
  .atlas-tile--wide { grid-column: span 1; }
  .hero { padding-top: 3.25rem; }
  .bg-video { display: none !important; }
}

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

/* 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: #FAFAF9;
  --amr-card-border: #2A2A2A;
  --amr-text: #0A0A0A;
  --amr-muted: #A3A3A3;
  --amr-star: #f5c518;
  --amr-link: #A3E635;
  --amr-radius: 0.28rem;
  --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; }
}
/* amr-contrast-1019 start */
/* WCAG AA review-card colours, tuned to this site palette */
html .amr-root .amr-date{color:#707070}
html .amr-root .amr-link{color:#527a0f}
/* amr-contrast-1019 end */

/* ── FibreLaser SA sense-check 2026-10-28: prose spacing, two-column hub notes, reduced-motion-safe hero image drift ── */
.fl-prose h2 { margin: 0 0 0.7rem; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.fl-prose p { margin: 0 0 0.95rem; color: #E7E7E5; max-width: 68ch; }
.fl-prose p a, .note-section p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.fl-prose .check-list { margin: 0.4rem 0 0.4rem; }
.fl-hubnote .fl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 3rem; }
.fl-hubnote .fl-prose { border-top: 1px solid var(--line); padding-top: 1.4rem; }
@media (max-width: 820px) { .fl-hubnote .fl-cols { grid-template-columns: 1fr; gap: 1.5rem; } }
.product-hero-visual { overflow: hidden; border-radius: var(--radius); }
@media (prefers-reduced-motion: no-preference) {
  .product-hero-visual img { animation: fl-drift 18s ease-in-out infinite alternate; transform-origin: 60% 40%; }
  @keyframes fl-drift { from { transform: scale(1); } to { transform: scale(1.06) translate(-1%, -1%); } }
}
@media (min-width: 901px) { :root { --rail-w: var(--rail-expanded); } .icon-rail .rail-label, .icon-rail .rail-meta { opacity: 1; transform: none; pointer-events: auto; } .site-main .container { width: min(1100px, 92%); } .site-main .container-wide { width: min(1280px, 94%); } .site-main .narrow { width: min(720px, 92%); } .site-main .pf-wrap { width: min(1180px, 92%); } }

/* Lockup in the rail and the mobile top bar (2026-10-31). */
.rail-logo img.rail-lockup { width: auto; height: auto; max-height: 2.75rem; max-width: 100%; }
@media (min-width: 901px) { .icon-rail .rail-logo { padding-inline: 0.5rem; } }
.m-brand { display: none; }
@media (max-width: 900px) {
  .m-brand {
    display: flex; align-items: center;
    position: fixed; top: 0; left: 0; right: 0; z-index: 45;
    height: 4rem; padding: 0 4.25rem 0 1rem;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }
  .m-brand img { width: auto; height: auto; max-height: 2.75rem; max-width: 100%; }
  .site-main { padding-top: 4rem; }
}

/* Intro contrast (2026-10-31 r2). */
.lede, .lead { color: color-mix(in srgb, var(--surface) 90%, transparent); }
.cta-band .lede { color: var(--mute); }

/* Logo v2 (2026-11-01): 5:2 lockup sized by height (desktop 56px, mobile 46px). */
header img[src*="logo-lockup"], .site-header img[src*="logo-lockup"], .rail-logo img[src*="logo-lockup"], .top-logo img[src*="logo-lockup"], footer img[src*="logo-lockup"]{width:auto!important;height:3.5rem!important;max-height:none!important;max-width:100%!important}
@media (max-width:640px){header img[src*="logo-lockup"], .site-header img[src*="logo-lockup"], .top-logo img[src*="logo-lockup"]{height:2.875rem!important}}
