/* Creation Africa · Editorial atelier · Italiana + Montserrat · Ruled masthead · navy+brass */
:root {
  --ink: #0C1222;
  --accent: #C4A35A;
  --accent-ink: #8A7340;
  --surface: #FBF9F6;
  --soft: #F0E6D8;
  --mute: #6B7280;
  --bg: #FBF9F6;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --radius: 0.35rem;
  --font-display: "Italiana", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --shadow: 0 18px 48px rgba(12,18,34,.10);
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-late, .reveal-alt, .reveal-side { opacity: 1 !important; transform: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  text-wrap: pretty;
  padding-bottom: 6.5rem; /* 3.js Ask AI / WhatsApp clearance */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.6rem;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 0.55rem;
}
.lede { font-size: 1.1rem; max-width: 40rem; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.muted { color: var(--mute); }
.container { width: min(1100px, calc(100% - 2.5rem)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 2rem)); margin-inline: auto; }
.container.narrow { width: min(720px, calc(100% - 2.5rem)); }
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: linear-gradient(90deg, var(--accent), var(--ink));
  transform-origin: left; transform: scaleX(0);
}

/* Ruled masthead: double top rule, logo centred between rules, nav labels on lower rule */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
}
.masthead {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0 0;
}
.rule-double {
  height: 5px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.masthead-logo {
  display: flex; justify-content: center; align-items: center;
  padding: 0.75rem 0 0.55rem;
}
.logo-link {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em;
}
.logo-link img { width: 28px; height: 28px; }
.logo-link .word span { color: var(--accent-ink); }
.masthead-nav-wrap {
  position: relative;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0;
}
.nav-links {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 0.35rem; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0 0.15rem;
  transform: translateY(50%);
}
.nav-links a {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  padding: 0 0.35rem 0.15rem;
  opacity: 0.88;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent-ink); }
.nav-toggle {
  display: none; width: 42px; height: 42px; place-items: center;
  flex-direction: column; gap: 5px; border: 0; background: none; cursor: pointer;
  position: absolute; right: 0; top: -2.6rem;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .masthead-nav-wrap { border-bottom: 1px solid var(--line); }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    transform: none; padding: 0.75rem 0 1rem; background: var(--surface);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0.25rem; border-bottom: 1px solid var(--line);
    background: transparent; font-size: 0.8rem;
  }
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.35rem; border-radius: 999px;
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em;
  border: 1px solid transparent; text-decoration: none;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--soft); color: var(--ink); border-color: var(--soft); }

.hero {
  position: relative; padding: 4.5rem 0 3.5rem; overflow: hidden;
  background: linear-gradient(180deg, var(--soft) 0%, var(--surface) 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: end;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5; background: var(--soft); border: 1px solid var(--line);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

.section { padding: 4.5rem 0; }
.section.tight { padding: 3rem 0; }
.section-surface { background: var(--soft); }
.section-ink { background: var(--ink); color: var(--surface); }
.section-ink .eyebrow { color: var(--accent); }
.section-ink a { color: var(--accent); }
.section-head {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: end;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.page-hero { padding: 3.25rem 0 1.5rem; background: linear-gradient(180deg, var(--soft), var(--surface)); }
.page-hero--bleed { padding-bottom: 2.5rem; }
.breadcrumbs { font-size: 0.82rem; color: var(--mute); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--mute); text-decoration: none; }
.breadcrumbs a:hover { color: var(--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; text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .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: 100%; object-fit: cover; aspect-ratio: 16/10;
}
.card-media { aspect-ratio: 16/10; background: var(--soft); overflow: hidden; }
.card-body { padding: 1.1rem 1.15rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.card-body .kicker, .card-body .meta {
  font-size: 0.72rem; color: var(--mute); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
.card-link { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: var(--accent-ink); letter-spacing: 0.04em; }

.asymmetric, .split-editorial {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.asymmetric.flip, .split-editorial.flip { grid-template-columns: 0.85fr 1.15fr; }
@media (max-width: 900px) {
  .asymmetric, .asymmetric.flip, .split-editorial, .split-editorial.flip { grid-template-columns: 1fr; }
}
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); 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; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.atlas-tile--wide { grid-column: span 6; }
.atlas-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.atlas-tile .af-body { padding: 1rem 1.1rem 1.25rem; }
@media (max-width: 900px) {
  .atlas-tile, .atlas-tile--wide { grid-column: span 6; }
}
@media (max-width: 620px) {
  .atlas-tile, .atlas-tile--wide { grid-column: span 12; }
}

.proof-rail {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 700px) { .proof-rail { grid-template-columns: 1fr; } }
.proof-item {
  padding: 1.4rem 1.25rem; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
}
.proof-item strong {
  display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-ink); font-weight: 400;
}
.proof-item span { color: var(--mute); font-size: 0.92rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-block; padding: 0.4rem 0.75rem; border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.8rem; text-decoration: none; color: var(--ink); background: var(--surface);
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); }

.check-list { margin: 1rem 0; padding-left: 1.1rem; }
.check-list li { margin: 0.4rem 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0; 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 { width: 38%; color: var(--mute); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }

.cta-band {
  padding: 3.5rem 0; background: var(--ink); color: var(--surface); text-align: center;
  margin-top: 2rem;
}
.cta-band h2 { color: var(--surface); }
.cta-band .btn-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cta-band .btn-ghost { border-color: color-mix(in srgb, var(--surface) 35%, transparent); color: var(--surface); background: transparent; }

.site-footer {
  background: var(--ink); color: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 3.5rem 0 2rem; margin-top: 0;
}
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { color: var(--surface); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 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); margin-bottom: 0.85rem; }
.footer-brand p { font-size: 0.9rem; max-width: 28rem; }
.footer-company { margin-top: 1rem; font-size: 0.84rem; color: var(--mute); }
.footer-col h4 {
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.85rem;
}
.footer-col a { display: block; margin: 0.35rem 0; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--surface) 12%, transparent);
  font-size: 0.82rem; color: var(--mute);
}

@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise .8s both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .reveal-late { animation: rise .9s both; animation-timeline: view(); animation-range: entry 8% cover 36%; }
    .reveal-alt { animation: slide-in .85s both; animation-timeline: view(); animation-range: entry 4% cover 32%; }
    .reveal-side { animation: fade-side .9s both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade-side { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ── 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: #FBF9F6;
  --amr-card-border: color-mix(in srgb, var(--ink) 14%, transparent);
  --amr-text: #0C1222;
  --amr-muted: #6B7280;
  --amr-star: #f5c518;
  --amr-link: #C4A35A;
  --amr-radius: 0.35rem;
  --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; }
}
