/* PCI Procoaters prototype — local only, not production */
:root {
  --ink: #12161c;
  --ink-2: #2a313c;
  --muted: #5c6673;
  --line: #d7dde5;
  --paper: #f6f7f9;
  --white: #ffffff;
  --steel: #3d4f63;
  --navy: #1b2a3d;
  --accent: #c45c26;
  --accent-2: #9a4318;
  --ok: #2f6b4f;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 22, 28, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #dfe6ef;
  font-size: .9rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: .55rem 0; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px) saturate(1.15);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s ease, background-color .35s ease, border-color .35s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 28px rgba(18, 22, 28, 0.08);
  border-bottom-color: rgba(215, 221, 229, 0.85);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: inherit;
  min-width: 0;
}
.brand img {
  height: 76px;
  width: auto;
  max-width: min(480px, 68vw);
  object-fit: contain;
}
.brand-text { display: none; } /* wordmark is inside logo artwork */

.nav { display: flex; align-items: center; gap: .15rem 1rem; flex-wrap: wrap; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .35rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .cta {
  background: var(--accent); color: #fff !important; padding: .55rem .9rem; border-radius: 999px;
}
.nav .cta:hover { background: var(--accent-2); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: .45rem .7rem; font-weight: 700;
}

/* Hero — MotionSites cues: soft parallax, ambient gradient shift, staged enter */
.hero {
  --hero-shift: 0px;
  position: relative; color: #fff;
  background-color: #0f1720;
  background-position: center calc(50% + var(--hero-shift));
  background-size: cover;
  background-repeat: no-repeat;
  min-height: clamp(420px, 62vh, 620px);
  display: grid; align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(12,18,26,.90) 0%, rgba(12,18,26,.64) 48%, rgba(12,18,26,.38) 100%),
    linear-gradient(0deg, rgba(12,18,26,.58), transparent 48%);
}
/* Ambient warm steel wash — percentage keyframes only (CSS vars in @keyframes don't animate in most browsers) */
.hero::after {
  content: ""; position: absolute; inset: -30% -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 42% at 72% 28%, rgba(196,92,38,.34), transparent 58%),
    radial-gradient(ellipse 42% 48% at 18% 70%, rgba(90,120,155,.32), transparent 62%),
    radial-gradient(ellipse 35% 30% at 50% 50%, rgba(255,255,255,.06), transparent 70%);
  animation: hero-wash 9s ease-in-out infinite alternate;
  mix-blend-mode: soft-light;
  opacity: .95;
}
@keyframes hero-wash {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); opacity: .75; }
  50%  { transform: translate3d(2%, 3%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(4%, -1%, 0) scale(1.12); opacity: .85; }
}
.hero .wrap { position: relative; z-index: 1; padding: 4.5rem 0 3.2rem; }
.kicker {
  display: inline-block; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; font-weight: 700; color: #f0c2a5; margin-bottom: .8rem;
  padding: .28rem .65rem; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(240,194,165,.28);
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin: 0 0 1rem; max-width: 16ch;
  font-size: clamp(2rem, 4.5vw, 3.35rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.hero .lede {
  max-width: 42rem; font-size: 1.08rem; color: #e8edf3; margin: 0 0 1.5rem;
}
/* Hero staged entrance — keyframe animations (transitions were skipping on fast paint) */
@keyframes pci-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 42px, 0);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.hero-animate .kicker,
.hero-animate h1,
.hero-animate .lede,
.hero-animate .actions {
  opacity: 0;
}
.hero-animate.is-in .kicker {
  animation: pci-enter .9s cubic-bezier(.22,1,.36,1) .1s both;
}
.hero-animate.is-in h1 {
  animation: pci-enter .95s cubic-bezier(.22,1,.36,1) .28s both;
}
.hero-animate.is-in .lede {
  animation: pci-enter .95s cubic-bezier(.22,1,.36,1) .46s both;
}
.hero-animate.is-in .actions {
  animation: pci-enter .95s cubic-bezier(.22,1,.36,1) .64s both;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 999px; padding: .8rem 1.15rem; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font: inherit;
  position: relative; overflow: hidden;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 20px rgba(196, 92, 38, 0.28);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 62%);
  transform: translateX(-120%);
}
.btn-primary:hover {
  background: var(--accent-2); color: #fff;
  box-shadow: 0 10px 24px rgba(154, 67, 24, 0.32);
}
.btn-primary:hover::after { animation: btn-shimmer 1.1s ease; }
@keyframes btn-shimmer {
  to { transform: translateX(120%); }
}
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #24384f; color: #fff; }
.btn-outline {
  background: #fff; color: var(--navy); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--steel); color: var(--ink); }

/* Sections */
section { padding: 3.5rem 0; }
.section-head { max-width: 44rem; margin-bottom: 1.75rem; }
.section-head h2 {
  margin: 0 0 .55rem; font-size: clamp(1.55rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em;
}
.section-head p { margin: 0; color: var(--muted); }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.band-navy { background: var(--navy); color: #eef3f8; border: 0; }
.band-navy .section-head p, .band-navy p { color: #c5d0dc; }
.band-navy h2, .band-navy h3 { color: #fff; }

.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.05rem; box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.trust article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 22, 28, 0.1);
}
.trust strong { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.trust span { color: var(--muted); font-size: .92rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow); height: 100%;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18, 22, 28, 0.12);
  border-color: #c8d0db;
}
.card h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.card li { margin: .25rem 0; }
.card .meta { margin-top: .75rem; font-size: .82rem; color: var(--muted); }

/* Process page — visual steps */
.process-lead {
  max-width: 720px;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.check-list li {
  position: relative;
  padding: .15rem 0 .15rem 1.55rem;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.45;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: var(--accent, #c45c26);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, .15);
}
.process-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.process-step { margin: 0; }
.process-step-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.process-step:nth-child(even) .process-step-card {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}
.process-step:nth-child(even) .process-step-media { order: 2; }
.process-step:nth-child(even) .process-step-body { order: 1; }
.process-step-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: #1a222c;
}
.process-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 260px;
  transform: scale(1.001);
  transition: transform 1.05s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.process-step-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(12,18,26,.35) 100%),
    linear-gradient(90deg, rgba(196,92,38,.12), transparent 40%);
  opacity: .5;
  pointer-events: none;
  transition: opacity .4s ease;
}
.process-step-num {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 2;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .14em;
  color: #fff;
  background: rgba(12, 18, 26, .72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: .4rem .7rem;
  backdrop-filter: blur(6px);
}
.process-step-body {
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-step-body h3 {
  margin: 0 0 .55rem;
  font-size: 1.28rem;
}
.process-step-body ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-2);
}
.process-step-body li {
  margin: .35rem 0;
  line-height: 1.4;
}
.process-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 92, 38, .28);
  box-shadow: 0 18px 40px rgba(18, 22, 28, .14);
}
.process-step-card:hover .process-step-media img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}
.process-step-card:hover .process-step-media::after { opacity: .72; }
html.motion-on .process-step-card .process-step-media img {
  transform: scale(1.07);
  filter: saturate(.92);
}
html.motion-on .process-step.is-revealed .process-step-media img,
html.motion-on .process-step-card.reveal.is-revealed .process-step-media img {
  animation: cap-media-settle 1.1s cubic-bezier(.22,1,.36,1) both;
}
.process-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.5rem 0 2rem;
}
.process-cta-band h2 { margin: 0 0 .25rem; }
.process-cta-band p { margin: 0; color: var(--ink-2); }

/* Capability photo cards */
.cap-section .cap-grid { align-items: stretch; }
.cap-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.cap-card .cap-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #1a222c;
}
.cap-card .cap-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.001);
  transition: transform 1.05s cubic-bezier(.22,1,.36,1), filter .5s ease;
  will-change: transform;
}
.cap-card .cap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(12, 18, 26, 0.42) 100%),
    linear-gradient(90deg, rgba(196, 92, 38, 0.12), transparent 42%);
  opacity: 0.55;
  transition: opacity .45s ease;
  pointer-events: none;
}
.cap-card .cap-body {
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cap-card .cap-body h3 { margin-top: 0; }
.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 92, 38, 0.28);
  box-shadow: 0 18px 40px rgba(18, 22, 28, 0.14);
}
.cap-card:hover .cap-media img {
  transform: scale(1.07);
  filter: saturate(1.06) contrast(1.03);
}
.cap-card:hover .cap-media::after { opacity: 0.75; }
html.motion-on .cap-card .cap-media img {
  transform: scale(1.08);
  filter: saturate(.92);
}
html.motion-on .cap-card.is-revealed .cap-media img,
html.motion-on .cap-card.reveal.is-revealed .cap-media img {
  animation: cap-media-settle 1.15s cubic-bezier(.22,1,.36,1) both;
}
@keyframes cap-media-settle {
  from {
    transform: scale(1.1);
    filter: saturate(.88) brightness(.94);
  }
  to {
    transform: scale(1.001);
    filter: none;
  }
}

/* Live shop video in capability cards */
.cap-media-video {
  background: #0f141b;
}
.cap-media-video .cap-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.cap-media-video .cap-video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cap-media-video .cap-video {
  background: #0f141b;
}
/* Prefer live video when it is ready; fallback stays underneath */
.cap-media-video.is-playing .cap-video-fallback { opacity: 0; }

.cap-card-motion:hover .cap-media-video .cap-video {
  transform: scale(1.1);
  filter: saturate(1.08) contrast(1.04);
}
html.motion-on .cap-card-motion.is-revealed .cap-media-video .cap-video {
  animation: cap-video-drift 14s ease-in-out infinite alternate;
}
@keyframes cap-video-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* ===== Intake (Contact + RFQ) ===== */
.intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
  gap: 1.5rem;
  align-items: start;
}
.intake-aside { display: grid; gap: 1rem; }
.intake-aside .card h2 { margin: 0 0 .6rem; font-size: 1.1rem; }
.intake-path-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin: 0 0 1rem;
  padding: .35rem;
  background: #eef2f6;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.intake-path {
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-2);
  padding: .65rem .8rem;
  border-radius: 999px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intake-path:hover { color: var(--accent-2); }
.intake-path.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(18,22,28,.08);
}
.check-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
}
.check-list li { margin: .4rem 0; }

.dropzone {
  position: relative;
  border: 2px dashed #b9c3d0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 100%);
  padding: 1.35rem 1rem;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.dropzone:hover, .dropzone:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(196,92,38,.12);
}
.dropzone.is-dragover {
  border-color: var(--accent);
  background: #fff8f2;
  box-shadow: 0 0 0 4px rgba(196,92,38,.18);
}
.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 0;
}
.dropzone-inner {
  pointer-events: none;
  text-align: center;
  display: grid;
  gap: .25rem;
  justify-items: center;
}
.dropzone-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(196,92,38,.12);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .25rem;
}
.dropzone-title {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
}
.dropzone-sub { margin: 0; color: var(--muted); font-size: .92rem; }
.dropzone-meta { margin: .35rem 0 0; color: var(--muted); font-size: .82rem; }
.dropzone .linkish {
  pointer-events: auto;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: underline;
  cursor: pointer;
}

.file-chips {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.file-chip {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .65rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .9rem;
}
.file-chip-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-chip-size { color: var(--muted); font-variant-numeric: tabular-nums; }
.file-chip-remove {
  border: 0;
  background: #f1f3f6;
  color: var(--ink-2);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.file-chip-remove:hover { background: #e8b4b4; color: #6b1f1f; }

.upload-progress {
  margin-top: .35rem;
  background: #e8edf3;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  height: 1.55rem;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #e08a4f);
  transition: width .15s ease;
}
.upload-progress-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
}

.ref-pill {
  display: inline-block;
  margin-left: .25rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(47,107,79,.12);
  color: #1f4d2c;
  font-weight: 700;
}
.ref-pill code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}
#rfq-result, #contact-result { margin-top: .85rem; }
#rfq-result:focus, #contact-result:focus { outline: 2px solid rgba(196,92,38,.35); outline-offset: 2px; }

@media (max-width: 900px) {
  .intake-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .intake-path-switch { grid-template-columns: 1fr; border-radius: 14px; }
  .file-chip {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name remove"
      "size remove";
  }
  .file-chip-name { grid-area: name; }
  .file-chip-size { grid-area: size; }
  .file-chip-remove { grid-area: remove; }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-on .cap-card-motion.is-revealed .cap-media-video .cap-video {
    animation: none;
  }
}

/* Full capabilities gallery */
.cap-gallery-section { padding-block: clamp(2rem, 4vw, 3.25rem); }
.cap-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, 18vw);
  gap: .75rem;
}
.cap-gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #1a222c;
  box-shadow: var(--shadow);
  min-height: 0;
  grid-column: span 2;
}
.cap-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(.22,1,.36,1), filter .45s ease;
}
.cap-gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .7rem .85rem;
  font-size: .86rem;
  font-weight: 650;
  color: #f4f7fb;
  background: linear-gradient(180deg, transparent, rgba(10, 14, 20, 0.78));
  letter-spacing: .01em;
}
.cap-gallery-lg {
  grid-column: span 4;
  grid-row: span 2;
}
.cap-gallery-wide {
  grid-column: span 4;
}
.cap-gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.05) contrast(1.02);
}
html.motion-on .cap-gallery-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.98);
  filter: blur(6px);
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .85s cubic-bezier(.22,1,.36,1),
    filter .7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
html.motion-on .cap-gallery-item.is-revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
  counter-reset: step;
}
.process article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  position: relative;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.process article:hover {
  transform: translateY(-2px);
  border-color: #c5ceda;
  box-shadow: 0 12px 28px rgba(18, 22, 28, 0.08);
}
.process article::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 1.7rem; height: 1.7rem; border-radius: 999px;
  align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
  background: var(--navy); color: #fff; margin-bottom: .55rem;
}
.process h3 { margin: 0 0 .35rem; font-size: 1rem; }
.process p { margin: 0; font-size: .92rem; color: var(--muted); }

.media-card {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow);
}
.media-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.media-card:hover img { transform: scale(1.035); }
.media-card figcaption {
  padding: .75rem 1rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line);
}

/* Product showcase — full product visible, no crop cutoffs */
.product-showcase {
  background: linear-gradient(180deg, #f3f6f9 0%, #fff 48%, #fff 100%);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.product-card {
  margin: 0;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 32, .12);
}
.product-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #eef2f6 62%, #e4eaf0 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.product-frame::after {
  content: "";
  position: absolute;
  inset: auto 12% 8% 12%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(15,23,32,.10), transparent 70%);
  pointer-events: none;
}
.product-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: .85rem .9rem .55rem;
  display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .product-frame img {
  transform: scale(1.03);
}
.product-card figcaption {
  padding: .85rem 1rem .95rem;
  font-size: .9rem;
  line-height: 1.35;
  color: var(--ink, #12161c);
  font-weight: 600;
  background: #fff;
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .product-frame { aspect-ratio: 5 / 4; }
}

.proof-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; align-items: stretch;
}
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem;
}
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: .9rem 1rem;
}
.stat strong { display: block; font-size: 1.25rem; color: #fff; }
.stat span { color: #c5d0dc; font-size: .9rem; }

/* Page hero compact */
.page-hero {
  background: linear-gradient(180deg, #eef2f6, #fff);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0 1.8rem;
}
.page-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; }
.page-hero p { margin: 0; max-width: 46rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef2f6; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--steel); }
tr:last-child td { border-bottom: 0; }

.form {
  display: grid; gap: .9rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: .7rem .75rem;
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(196,92,38,.35); border-color: var(--accent);
}
.help { font-weight: 500; color: var(--muted); font-size: .85rem; }
.note {
  background: #fff8f2; border: 1px solid #efd2bc; color: #5c3a22;
  border-radius: 8px; padding: .8rem 1rem; font-size: .92rem;
}
.note strong { color: #3f2716; }
.note.ok {
  background: #f1faf3; border-color: #b9dfc4; color: #1f4d2c;
}
.note.err {
  background: #fdf2f2; border-color: #e8b4b4; color: #6b1f1f;
}
.note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
}
/* Honeypot — visually hidden, not display:none (some bots skip display:none) */
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer {
  background: #0f1520; color: #c7d0db; padding: 2.5rem 0 1.5rem; margin-top: 0;
}
.footer a { color: #fff; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: .55rem .75rem;
  margin: 0 0 .9rem;
  max-width: 100%;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.footer-logo img {
  height: 46px;
  width: auto;
  max-width: min(280px, 100%);
  object-fit: contain;
}
.footer-logo:hover { opacity: .96; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
}
.footer h3 { color: #fff; margin: 0 0 .7rem; font-size: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: .35rem 0; }
.footer .fine {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem;
  font-size: .82rem; color: #8f9aab; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.draft-banner {
  background: #fff3cd; color: #5c4a00; border-bottom: 1px solid #e6d48a;
  font-size: .88rem;
}
.draft-banner .wrap { padding: .55rem 0; }

/* —— History timeline (line + bullets) —— */
.timeline-section {
  overflow: hidden;
  position: relative;
}
.timeline-section::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  transform: translateX(-50%);
  background:
    radial-gradient(circle at center, rgba(196, 92, 38, 0.10), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(27, 42, 61, 0.08), transparent 58%);
  pointer-events: none;
  z-index: 0;
}
.timeline-section > .wrap { position: relative; z-index: 1; }
.timeline-shell {
  position: relative;
  padding: 0.35rem 0 0.25rem;
}
.timeline {
  --tl-progress: 0;
  --tl-line-x: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  position: relative;
}
/* Base rail */
.timeline::before {
  content: "";
  position: absolute;
  left: var(--tl-line-x);
  top: 0.55rem;
  bottom: 0.55rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(196, 92, 38, 0.18) 0%,
    rgba(27, 42, 61, 0.22) 45%,
    rgba(27, 42, 61, 0.12) 100%
  );
  transform: translateX(-50%);
  z-index: 0;
}
/* Scroll-filled progress rail */
.timeline::after {
  content: "";
  position: absolute;
  left: var(--tl-line-x);
  top: 0.55rem;
  width: 3px;
  height: calc((100% - 1.1rem) * var(--tl-progress));
  max-height: calc(100% - 1.1rem);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, #d9783f 40%, var(--navy) 100%);
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(196, 92, 38, 0.35);
  z-index: 0;
  transition: height 0.12s linear;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  column-gap: 0.85rem;
  padding: 0 0 1.65rem;
  align-items: start;
  z-index: 1;
}
.timeline-item:last-child { padding-bottom: 0.2rem; }
.timeline-axis {
  position: relative;
  width: 2.3rem;
  display: flex;
  justify-content: center;
  padding-top: 0.95rem;
}
.timeline-bullet {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 3px solid var(--accent);
  box-shadow:
    0 0 0 5px rgba(196, 92, 38, 0.12),
    0 6px 16px rgba(18, 22, 28, 0.12);
  z-index: 2;
}
.timeline-bullet-core {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item:nth-child(even) .timeline-bullet {
  border-color: var(--navy);
  box-shadow:
    0 0 0 5px rgba(27, 42, 61, 0.1),
    0 6px 16px rgba(18, 22, 28, 0.12);
}
.timeline-item:nth-child(even) .timeline-bullet-core { background: var(--navy); }
.timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.05rem 1.15rem 1.15rem;
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.timeline-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(196, 92, 38, 0.35));
}
.timeline-item:nth-child(even) .timeline-card::before {
  background: linear-gradient(180deg, var(--navy), rgba(27, 42, 61, 0.35));
}
.timeline-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(196, 92, 38, 0.38);
  box-shadow: 0 18px 40px rgba(18, 22, 28, 0.12);
}
.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-size: 0.98rem;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  text-transform: uppercase;
}
.timeline-item:nth-child(even) .timeline-year { color: var(--navy); }
.timeline-text {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Desktop: center spine, alternating cards */
@media (min-width: 900px) {
  .timeline {
    --tl-line-x: 50%;
    padding-top: 0.5rem;
  }
  .timeline-item {
    grid-template-columns: 1fr 2.6rem 1fr;
    column-gap: 0;
    padding-bottom: 2.15rem;
    align-items: center;
  }
  .timeline-axis {
    grid-column: 2;
    width: 2.6rem;
    padding-top: 0;
    justify-self: center;
  }
  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
    max-width: 28rem;
    width: 100%;
  }
  .timeline-item:nth-child(odd) .timeline-card::before {
    left: auto;
    right: 0;
  }
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    max-width: 28rem;
    width: 100%;
  }
  .timeline-item:nth-child(odd) .timeline-axis { grid-row: 1; }
  .timeline-item:nth-child(even) .timeline-axis { grid-row: 1; }
}

/* Timeline motion */
@keyframes timeline-in-left {
  from { opacity: 0; transform: translate3d(-42px, 22px, 0) scale(.96); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes timeline-in-right {
  from { opacity: 0; transform: translate3d(42px, 22px, 0) scale(.96); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes timeline-bullet-pop {
  0%   { opacity: 0; transform: scale(0.2); }
  70%  { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes timeline-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(196, 92, 38, 0.12), 0 6px 16px rgba(18, 22, 28, 0.12); }
  50% { box-shadow: 0 0 0 10px rgba(196, 92, 38, 0.18), 0 8px 20px rgba(18, 22, 28, 0.14); }
}
html.motion-on .timeline-item .timeline-card { opacity: 0; }
html.motion-on .timeline-item .timeline-bullet { opacity: 0; }
html.motion-on .timeline-item.is-revealed .timeline-card {
  animation: timeline-in-right .9s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms) both;
}
html.motion-on .timeline-item.is-revealed .timeline-bullet {
  animation:
    timeline-bullet-pop .55s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms) both,
    timeline-pulse 2.4s ease-in-out calc(var(--reveal-delay, 0ms) + 0.55s) 2;
}
@media (min-width: 900px) {
  html.motion-on .timeline-item:nth-child(odd).is-revealed .timeline-card {
    animation-name: timeline-in-left;
  }
  html.motion-on .timeline-item:nth-child(even).is-revealed .timeline-card {
    animation-name: timeline-in-right;
  }
}

/* —— Motion system —— */
html.motion-on .reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  filter: blur(10px);
  will-change: opacity, transform, filter;
}
html.motion-on .reveal.is-revealed {
  animation: pci-enter .95s cubic-bezier(.22,1,.36,1) var(--reveal-delay, 0ms) both;
  will-change: auto;
}
html.motion-on .page-hero .wrap > * {
  /* inherits .reveal via JS */
}
html.motion-on main > section {
  /* subtle section lift when first painted via children */
}

.stat {
  transition: transform .35s ease, background-color .35s ease, border-color .35s ease;
}
.stat:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}

.nav a {
  position: relative;
  transition: color .2s ease;
}
.nav a:not(.cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .1rem;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.nav a:not(.cta):hover::after,
.nav a[aria-current="page"]:not(.cta)::after {
  transform: scaleX(1);
}

/* —— Mobile optimization —— */
html, body { overflow-x: clip; }
img, video, svg, canvas { max-width: 100%; height: auto; }
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.table-wrap table { min-width: 520px; }
input, select, textarea, button { font-size: 16px; } /* prevent iOS zoom */

@media (max-width: 960px) {
  .trust, .process { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .proof-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .cap-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, 28vw);
  }
  .cap-gallery-item,
  .cap-gallery-lg,
  .cap-gallery-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .cap-gallery-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
  .process-step-card,
  .process-step:nth-child(even) .process-step-card {
    grid-template-columns: 1fr;
  }
  .process-step:nth-child(even) .process-step-media,
  .process-step:nth-child(even) .process-step-body {
    order: initial;
  }
  .process-step-media img { min-height: 200px; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
  }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: .35rem 0 .75rem;
    gap: .15rem;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: .7rem .2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav .cta {
    justify-content: center;
    margin-top: .25rem;
  }
  .site-header .wrap { flex-wrap: wrap; padding: .7rem 0; }
  .brand img { height: 58px; max-width: min(340px, 72vw); }
    .form-row { grid-template-columns: 1fr; }
  .trust, .process { grid-template-columns: 1fr; }
  .hero {
    min-height: min(78svh, 560px);
    background-position: center center;
  }
  .hero .wrap {
    padding: 2.4rem 0 2rem;
  }
  .hero h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.35rem);
    line-height: 1.12;
  }
  .hero .lede {
    font-size: 1rem;
    max-width: none;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .page-hero .wrap { padding-block: 1.6rem; }
  .page-hero h1 { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .section-head h2 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); }
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: .5rem 0;
  }
  .topbar .links { gap: .75rem; }
  .draft-banner .wrap { font-size: .82rem; line-height: 1.4; }
  .card, .timeline-card, .cap-body { padding-left: .95rem; padding-right: .95rem; }
  .cap-card .cap-media { aspect-ratio: 16 / 10; }
  .cap-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(190px, 52vw);
    gap: .65rem;
  }
  .cap-gallery-item,
  .cap-gallery-lg,
  .cap-gallery-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .timeline {
    --tl-line-x: 0.95rem;
  }
  .timeline-item {
    grid-template-columns: 1.9rem 1fr;
    column-gap: 0.7rem;
    padding-bottom: 1.35rem;
  }
  .timeline-axis {
    width: 1.9rem;
    padding-top: 0.85rem;
  }
  .timeline-bullet {
    width: 1.2rem;
    height: 1.2rem;
  }
  .timeline-text { font-size: 0.98rem; }
  .footer-grid { gap: 1.15rem; }
  .footer .fine { flex-direction: column; gap: .35rem; }
  .media-card figcaption,
  .cap-gallery-item figcaption {
    font-size: .8rem;
    line-height: 1.35;
  }
  /* Kill hover-only motion that can stick on touch */
  .cap-card:hover,
  .timeline-card:hover,
  .process-step-card:hover,
  .card:hover {
    transform: none;
  }
}
@media (max-width: 380px) {
  .wrap { width: min(var(--max), calc(100% - 1.1rem)); }
  .stat strong { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after,
  .btn-primary::after { animation: none !important; }
  .hero-animate .kicker,
  .hero-animate h1,
  .hero-animate .lede,
  .hero-animate .actions,
  html.motion-on .reveal,
  html.motion-on .reveal.is-revealed,
  html.motion-on .cap-gallery-item,
  html.motion-on .cap-gallery-item.is-revealed,
  html.motion-on .timeline-item .timeline-card,
  html.motion-on .timeline-item .timeline-bullet,
  html.motion-on .timeline-item.is-revealed .timeline-card,
  html.motion-on .timeline-item.is-revealed .timeline-bullet {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .timeline::after {
    transition: none !important;
  }
  .btn:hover,
  .card:hover,
  .cap-card:hover,
  .cap-gallery-item:hover img,
  .trust article:hover,
  .process article:hover,
  .stat:hover,
  .media-card:hover img,
  .cap-card:hover .cap-media img,
  .process-step-card:hover .process-step-media img,
  .timeline-card:hover {
    transform: none !important;
  }
  html.motion-on .cap-card .cap-media img,
  html.motion-on .cap-card.is-revealed .cap-media img,
  html.motion-on .cap-card.reveal.is-revealed .cap-media img {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}
