/* ==========================================================================
   FRONT PAGE - extracted from the approved static design
   (homepage/index.html). GENERATED - do not hand-edit.
   Regenerate with: split_front_css.py
   Markup in front-page.php uses THIS file's class names.
   Chrome lives in chrome-design.css and loads on every page.
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    background: var(--base); color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
    scroll-padding-top: calc(var(--nav-height) + 24px);
  }

body {
    min-height: 100vh; overflow-x: clip; position: relative;
    line-height: 1.55; -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
  }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.03em; }

h1 { font-size: clamp(40px, 8vw, 108px); line-height: .88; }

h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: .98; letter-spacing: -.025em; }

h3 { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.015em; font-weight: 600; }

p { color: var(--ink-light); max-width: 62ch; }

a { color: inherit; }

.eyebrow {
    display: block; margin-bottom: 1rem;
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .18em; color: var(--copper);
  }

.eyebrow-light { color: var(--copper-hot); }

.mono-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }

.js .reveal.is-visible { opacity: 1; transform: none; }
/* Grain */
.grain {
    position: fixed; inset: 0; pointer-events: none; z-index: 999;
    mix-blend-mode: multiply; opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
/* Outlined variant: gradient border so the stroke follows the chamfer exactly.
     An inset box-shadow would ignore clip-path and leave square inner corners. */
.btn-outline {
    border: 1.5px solid transparent;
    background:
      linear-gradient(var(--base) 0 0) padding-box,
      linear-gradient(var(--ink) 0 0) border-box;
    color: var(--ink);
  }

.btn-outline:hover {
    background:
      linear-gradient(var(--ink) 0 0) padding-box,
      linear-gradient(var(--ink) 0 0) border-box;
    color: var(--surface);
  }
/* Ghost variant for dark grounds: subtle solid fill, no stroke artefacts */
.btn-ghost {
    background: rgba(255,255,255,.10); color: #fff; border: none;
  }

.btn-ghost:hover { background: #fff; color: var(--ink); }
/* Outline sitting on a white surface rather than the grey base */
.btn-outline-surf {
    background:
      linear-gradient(var(--surface) 0 0) padding-box,
      linear-gradient(var(--ink) 0 0) border-box;
  }

.btn-sm { height: 42px; padding: 0 20px; font-size: .875rem; }
/* CTA button living inside a section's own content */
.section-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }

.section-cta-inline { margin-top: 28px; }

.section-cta-stack { flex-direction: column; align-items: center; gap: 20px; }

.section-cta-title { font-size: clamp(24px, 3.2vw, 38px); text-align: center; }
/* left-aligned inside its own column, not centred in the viewport */
.tech .section-cta-inline, #fab .section-cta-inline, #founder .section-cta-inline, .about .section-cta-inline, .mfg .section-cta-inline {
    justify-content: flex-start; margin-top: 32px;
  }

#founder .section-cta-inline, .about .section-cta-inline { margin-top: 28px; }
/* process: heading left, button right, on one row */
.process-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; margin-bottom: 72px;
  }

.process-header .section-cta-inline { margin-top: 0; justify-content: flex-end; }
/* work: two CTAs side by side, solid first */
.work-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
/* reviews: button grouped with the carousel arrows */
.test-actions { display: flex; align-items: center; gap: 20px; }

.test-actions .section-cta-inline { margin-top: 0; }
/* the packages footnote must centre as a block, not just its text */
.pricing-note { margin-inline: auto; }

.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

.btn-sm { height: 42px; padding: 0 20px; font-size: .875rem; }
/* inline CTA used at the end of each section */
.cta-inline {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--support);
  }

.cta-inline p { margin: 0; font-size: .9375rem; max-width: 46ch; }

.cta-inline p b { color: var(--ink); font-weight: 600; }

.tech .cta-inline, .work .cta-inline { border-top-color: var(--glass-border); }

.tech .cta-inline p, .work .cta-inline p { color: #98A2B3; }

.tech .cta-inline p b, .work .cta-inline p b { color: #fff; }

.btn-ghost:hover { background: #fff; color: var(--ink); }
/* Image slots */
figure.slot { position: relative; margin: 0; overflow: hidden; background: var(--support); }

figure.slot::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
/* Empty slots read as a technical drawing, not a broken image */
figure.slot.is-empty {
    background-color: #E7EAEE;
    background-image:
      linear-gradient(var(--copper),var(--copper)), linear-gradient(var(--copper),var(--copper)),
      linear-gradient(var(--copper),var(--copper)), linear-gradient(var(--copper),var(--copper)),
      linear-gradient(to right, rgba(10,13,20,.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(10,13,20,.05) 1px, transparent 1px),
      linear-gradient(to right, rgba(10,13,20,.09) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(10,13,20,.09) 1px, transparent 1px);
    background-size: 2px 16px, 16px 2px, 2px 16px, 16px 2px, 16px 16px, 16px 16px, 128px 128px, 128px 128px;
    background-position: 10px 10px, 10px 10px, calc(100% - 10px) calc(100% - 16px), calc(100% - 10px) calc(100% - 16px), -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    background-repeat: no-repeat;
  }

figure.slot.is-empty::after { opacity: .04; mix-blend-mode: multiply; }

figure.slot.is-empty::before {
    content: attr(data-slot); position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; padding: 0 24px; text-align: center;
    font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(10,13,20,.32);
  }

figure.slot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }

figure.slot.is-empty img { display: none; }
/* CAD crosshairs (1asd1) */
.cad-node { position: relative; }

.cad-node:not(.slot)::before, .cad-node::after { content: ""; position: absolute; width: 11px; height: 11px; pointer-events: none; z-index: 10; }

.cad-node.top-left:not(.slot)::before { top: -6px; left: -6px; border-top: 1px solid var(--copper-hot); border-left: 1px solid var(--copper-hot); }

.cad-node.bottom-right::after { bottom: -6px; right: -6px; border-bottom: 1px solid var(--copper-hot); border-right: 1px solid var(--copper-hot); }
/* ---------- Marquee (from pcb.html) ---------- */
.marquee-section { padding: 40px 0; background: var(--ink); color: var(--surface); overflow: hidden; display: flex; }
/* width:max-content + two identical groups + translateX(-50%) = seamless loop */
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }

.marquee-group { display: flex; flex-shrink: 0; align-items: center; }

.marquee-item {
    display: flex; align-items: center; gap: 40px;
    font-family: var(--font-display); font-size: clamp(24px, 4vw, 40px);
    font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
    padding-right: 40px;
  }

.marquee-item::after {
    content: ""; display: block; width: 12px; height: 12px;
    background: var(--copper); border-radius: 50%; flex-shrink: 0;
  }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {

.marquee-track { animation: none; }
}

.caps { padding: var(--section-pad) 0; background: var(--base); }

.caps-header { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }

.caps-header h2 { margin: 10px 0 0; }

.caps-lede { margin: 16px 0 0; color: var(--ink-light); font-size: 1rem; line-height: 1.6; }

.caps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(16px, 2vw, 24px); }

.card-proj {
    background: var(--surface); box-shadow: var(--shadow-card);
    padding: clamp(16px, 3vw, 32px);
    display: flex; flex-direction: column; gap: 24px;
    clip-path: var(--chamfer-m); height: 100%;
  }

.card-proj .slot {
    aspect-ratio: 16 / 10; width: 100%; margin: 0;
    clip-path: var(--chamfer-m); background: var(--support);
    outline: 1px solid rgba(10,13,20,.10); outline-offset: -1px;
  }

.card-proj:hover .slot img { transform: scale(1.03); }

.card-proj h3 { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; }

.card-proj p { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--ink-light); }

.card-proj .meta {
    display: flex; justify-content: space-between; gap: 12px;
    border-top: 1px solid var(--support); padding-top: 16px; margin-top: auto;
    font-size: .6875rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--copper);
  }

.card-proj .slot img { transition: transform .5s var(--ease); }

.card-proj .card-cta { margin-top: 4px; justify-content: center; width: 100%; }

.card-proj .card-cta span { flex: 0 1 auto; }

@media (max-width: 1100px) {

.caps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px) {

.caps-grid { grid-template-columns: 1fr; }
}
/* ==================================================================
     2. HERO — design from pcb.html (giant chamfered type)
     ================================================================== */
.hero {
    min-height: max(640px, 100vh); display: flex; align-items: center;
    padding-top: calc(var(--nav-height) + 16px); position: relative;
    background: url('../img/hero-bg.webp') center / cover no-repeat;
  }

.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); width: 100%; position: relative; align-items: center; }

.hero-title { grid-column: 1 / -1; grid-row: 1; text-align: center; z-index: 10; pointer-events: none; }

.hero-title span { display: block; }

.hero-title .accent { color: var(--copper); }

.hero-visual {
    grid-column: 4 / 10; grid-row: 1; z-index: 5; position: relative;
    aspect-ratio: 16/9; clip-path: var(--chamfer-m); background: var(--support);
  }

.hero-badge {
    grid-column: 4 / 10; grid-row: 1; justify-self: end; align-self: start;
    position: relative; z-index: 20;
    background: var(--ink); color: #fff; padding: 12px 18px;
    display: flex; flex-direction: column; gap: 2px;
    margin: 22px -20px 0 0;
    transform: rotate(3deg); transform-origin: top right;
  }

.hero-badge .mono-label { color: var(--support); font-size: .6875rem; }

.hero-badge strong { font-family: var(--font-display); font-size: .9375rem; letter-spacing: .02em; }

.hero-sub { grid-column: 1 / -1; grid-row: 2; margin-top: clamp(20px, 3vw, 36px); text-align: center; }

.hero-sub p { margin: 0 auto 24px; font-size: 1.0625rem; max-width: 56ch; }

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* ==================================================================
     3. TOOLS RAIL — design from studiosad (11)
     ================================================================== */
.tools { padding: 64px 0; border-block: var(--border); background: var(--surface); }

.tools h2 { text-align: center; font-size: .75rem; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-light); margin-bottom: 36px; }
/* natural aspect per logo, common optical height */
.tool-logo { height: 26px; width: auto; flex-shrink: 0; color: inherit; }
/* official brand colours - do not recolour */
.tool-altium { fill: #A5915F; }

.tool-easyeda { fill: #1765F6; }

.tool-kicad { fill: #314CB0; }

.tool-cadence { fill: #D31C2E; transform: scale(.72); margin: -3px 0; }

.tools-logo { align-items: center; }

.tools-rail { display: flex; gap: clamp(32px, 6vw, 80px); align-items: center; justify-content: center; flex-wrap: wrap; }

.tools-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; color: var(--ink);
    opacity: .55; transition: opacity .2s;
  }

.tools-logo:hover { opacity: 1; }

.tools-logo i { color: var(--copper); font-size: 1.25em; }
/* ==================================================================
     4. ENGINEERED FOR SCALE — design from (1asd1) overlap grid
     ================================================================== */
.tech { padding: var(--section-pad) var(--gutter); background: var(--graphite); }

.tech-container { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(12,1fr); align-items: center; gap: 40px; }

.tech-plate { grid-column: 1 / 8; grid-row: 1; z-index: 1; width: 100%; aspect-ratio: 1; background: var(--void); border: 1px solid var(--glass-border); clip-path: var(--chamfer-m); }

.tech figure.slot.is-empty { background: #0A0F0C; }

.tech figure.slot.is-empty::before { color: #5A6560; }

.tech-content { grid-column: 6 / -1; grid-row: 1; z-index: 2; background: var(--void); border: 1px solid var(--glass-border); padding: clamp(32px, 5vw, 64px); margin-top: 8vw; margin-bottom: -4vw; }

.tech-content h2 { color: #fff; margin-bottom: 24px; }

.tech-content > p { color: var(--support); }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }

.tech-item h3 { color: var(--copper-hot); margin-bottom: 12px; font-size: 1.25rem; }

.tech-item p { color: #98A2B3; font-size: .9375rem; }
/* ==================================================================
     5. SHOWCASE — merged (1asd1) sticky split + asdsad case cards
     ================================================================== */
.work { padding: var(--section-pad) var(--gutter); background: var(--void); }

.work-grid { display: grid; grid-template-columns: 4fr 6fr; gap: 64px; max-width: 1600px; margin: 0 auto; align-items: start; }

.work-text { position: sticky; top: calc(var(--nav-height) + 40px); padding-right: 24px; }

.work-text h2 { color: #fff; margin-bottom: 24px; }

.work-text p { color: #98A2B3; margin-bottom: 32px; }

.work-list { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); min-width: 0; }

.work-card { position: relative; border: 1px solid var(--glass-border); background: var(--graphite); }

.work-card:nth-child(even) { transform: translateX(clamp(0px, 3vw, 40px)); }

.work-img { width: 100%; aspect-ratio: 16/9; }

.work-card:hover .work-img img { transform: scale(1.03); }

.work-meta { padding: clamp(20px, 3vw, 32px); border-top: 1px solid var(--glass-border); }

.work-meta h3 { color: #fff; margin-bottom: 10px; }

.work-meta p { color: #98A2B3; font-size: .9375rem; }

.work-tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }

.work-tag {
    font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    padding: 5px 10px; background: var(--glass); border: 1px solid var(--glass-border);
    color: var(--support);
  }
/* ==================================================================
     6. PROCESS — design from (221) dashed copper connector
     ================================================================== */
.process { padding: var(--section-pad) 0; background: var(--surface); border-top: var(--border); }

.process-header { margin-bottom: 72px; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; position: relative; }

.process-step { position: relative; z-index: 1; display: flex; flex-direction: column; }

.step-num {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border: 1px solid var(--copper); border-radius: 50%;
    background: var(--surface); color: var(--copper);
    font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
    margin-bottom: 24px;
  }

.process-step h3 { margin-bottom: 12px; }

.process-step p { font-size: .9375rem; }
/* ==================================================================
     7. JLCPCB / FABRICATION — design from asdsad
     ================================================================== */
.mfg { padding: var(--section-pad) 0; background: var(--base); }

.mfg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 96px); align-items: center; }

.mfg-img { width: 100%; aspect-ratio: 1; border-radius: var(--radius); outline: 1px solid rgba(10,13,20,.1); outline-offset: -1px; }

.mfg-text h2 { margin-bottom: 24px; }

.mfg-text p { margin-bottom: 24px; }

.mfg-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 24px; margin-top: 32px; }

.mfg-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--ink-light); }

.mfg-list i { color: var(--copper); font-size: 1.125rem; flex-shrink: 0; }
/* ==================================================================
     8. FOUNDER — design from studiosad (11) about card
     ================================================================== */
.about { padding: var(--section-pad) 0; background: var(--base); }

.about-container { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow-card); }

.about-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 64px); align-items: center; }

.about-fig { aspect-ratio: 3/4; border-radius: 999px; width: 100%; }

.about-text h2 { margin-bottom: 12px; }

.about-role { display: block; color: var(--copper); font-weight: 600; margin-bottom: 24px; font-size: 1rem; }

.about-stats { display: flex; gap: clamp(24px, 5vw, 56px); margin-top: 32px; border-top: var(--border); padding-top: 32px; flex-wrap: wrap; }

.astat b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; }

.astat span { display: block; font-size: .75rem; color: var(--ink-light); margin-top: 6px; }
/* ==================================================================
     9. PACKAGES — design from studiosad (11) pricing tiers
     ================================================================== */
.pricing { padding: var(--section-pad) 0; background: var(--ink); color: #fff; }

.pricing-header { text-align: center; margin-bottom: 72px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: center; }

.price-card {
    background: rgba(255,255,255,.05); border: 1px solid var(--glass-border);
    padding: 48px 32px; display: flex; flex-direction: column;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  }

.price-card.featured { background: var(--surface); color: var(--ink); z-index: 2; transform: scale(1.04); padding: 64px 32px; }

.price-card h3 { margin-bottom: 8px; }

.price-card .cost { font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 24px; line-height: 1; }

.price-card .cost-note { font-family: var(--font-body); font-size: .8125rem; font-weight: 400; color: #98A2B3; margin-top: 10px; }

.price-card.featured .cost-note { color: var(--ink-light); }

.price-card ul { list-style: none; margin: 0 0 40px; font-size: .875rem; }

.price-card li { margin-bottom: 14px; display: flex; gap: 12px; color: var(--support); }

.price-card.featured li { color: var(--ink-light); }

.price-card li i { color: var(--copper-hot); flex-shrink: 0; }

.price-card.featured li i { color: var(--copper); }

.pricing-note { text-align: center; margin-top: 48px; font-size: .8125rem; color: #98A2B3; }
/* ==================================================================
     10. TESTIMONIALS — design from (1221) rail, as a carousel
     ================================================================== */
.test-sec { padding: var(--section-pad) 0; background: var(--base); overflow: hidden; }

.test-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

.test-nav { display: flex; gap: 8px; }

.test-btn {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--ink); border: var(--border); border-radius: 50%;
    cursor: pointer; font-size: 1.125rem; transition: background .2s, color .2s, opacity .2s;
  }

.test-btn:hover { background: var(--ink); color: #fff; }

.test-btn[disabled] { opacity: .35; cursor: default; }

.test-btn[disabled]:hover { background: var(--surface); color: var(--ink); }

.rail-wrap {
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
    scroll-behavior: smooth;
  }

.rail-wrap::-webkit-scrollbar { display: none; }

.rail { display: flex; gap: 24px; width: max-content; padding-bottom: 24px; }

.review {
    width: clamp(300px, 38vw, 420px); background: var(--surface);
    padding: clamp(24px, 3vw, 40px); border-radius: var(--radius);
    box-shadow: var(--shadow-card); border: var(--border);
    scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between;
  }

.stars { color: #F59E0B; margin-bottom: 24px; display: flex; gap: 4px; font-size: 1.125rem; }

.review q { display: block; font-size: 1.0625rem; color: var(--ink); margin-bottom: 32px; line-height: 1.5; }

.review q::before, .review q::after { display: none; }

.r-author strong { display: block; font-weight: 600; font-size: .9375rem; }

.r-author span { color: var(--ink-light); font-size: .8125rem; }
/* ==================================================================
     11. FAQ — design from (221) accordion
     ================================================================== */
.faq { padding: var(--section-pad) 0; background: var(--surface); border-top: var(--border); }

.faq-header { text-align: center; margin-bottom: 56px; }

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item { border-bottom: var(--border); }

.faq-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 28px 0; background: none; border: none; cursor: pointer; text-align: left;
    font-family: var(--font-display); font-size: clamp(17px, 2vw, 21px); font-weight: 600;
    letter-spacing: -.015em; color: var(--ink);
  }

.faq-ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }

.faq-ans-inner { overflow: hidden; }

.faq-ans-inner p { padding-right: 48px; padding-bottom: 28px; color: var(--ink-light); }

.faq-item.is-open .faq-ans { grid-template-rows: 1fr; }

.faq-icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%;
    transition: transform .3s, background .3s, border-color .3s;
  }

.faq-icon i { color: var(--ink); transition: color .3s; }

.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--copper); border-color: var(--copper); }

.faq-item.is-open .faq-icon i { color: #fff; }
/* CTA */
.cta { padding: clamp(80px, 12vw, 160px) 0; background: var(--copper); color: #fff; text-align: center; }

.cta h2 { color: #fff; max-width: 18ch; margin: 0 auto 24px; }

.cta p { color: rgba(255,255,255,.9); margin: 0 auto 40px; max-width: 52ch; }

.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }

.cta .btn-outline:hover { background: #fff; color: var(--ink); }
/* Mobile bar */
.bottom-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: var(--surface); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    border-top: var(--border);
  }
/* ==================================================================
     RESPONSIVE
     ================================================================== */
@media (max-width: 1100px) {

.tech-content { grid-column: 5 / -1; }
}

@media (max-width: 900px) {

.hero { min-height: max(560px, 100vh); padding-top: 120px; }

.hero-grid { display: flex; flex-direction: column; text-align: center; }

.hero-visual { width: 100%; aspect-ratio: 1/1; clip-path: var(--chamfer-sm); }

.hero-badge { bottom: -20px; right: 16px; transform: rotate(0); }

.hero-sub { margin-top: 40px; }

.tech-container { display: flex; flex-direction: column; }

.tech-plate { max-width: 420px; margin: 0 auto; }

.tech-content { margin: 0; width: 100%; }

.tech-grid { grid-template-columns: 1fr; }

.work-grid { grid-template-columns: 1fr; gap: 40px; }

.work-text { position: static; padding-right: 0; }

.work-card:nth-child(even) { transform: none; }

.process-grid { grid-template-columns: 1fr 1fr; }

.mfg-grid { grid-template-columns: 1fr; gap: 40px; }

.mfg-img { max-width: 420px; }

.mfg-list { grid-template-columns: 1fr; }

.about-grid { grid-template-columns: 1fr; gap: 40px; }

.about-fig { max-width: 240px; margin: 0 auto; aspect-ratio: 1; }

.pricing-grid { grid-template-columns: 1fr; gap: 24px; }

.price-card.featured { transform: none; }

.bottom-bar { display: block; }
}

@media (max-width: 560px) {

h1 { font-size: clamp(36px, 11vw, 56px); }

.process-grid { grid-template-columns: 1fr; gap: 28px; }

.step-num { width: 48px; height: 48px; margin-bottom: 16px; }

.review { width: min(84vw, 340px); }

.test-header { flex-direction: column; align-items: flex-start; }

.faq-btn { font-size: 1.0625rem; }

.faq-ans-inner p { padding-right: 0; }

.about-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {

*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }

html { scroll-behavior: auto; }

.js .reveal { opacity: 1; transform: none; }
}
/* Inline links inside section copy - must read as links, not body text */
.hero-sub p a, .mfg-text p a, .about-text p a, .process-step p a, .tech-item p a, .tech-content > p a, .review q a, .page-aside a, .toc a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

.work-text p a, .tech-item p a, .tech-content > p a, .price-card p a, .pricing-note a, .cta p a, .cta-dark p a, .author-box a { color: var(--copper-hot); text-decoration: underline; text-underline-offset: 3px; }

.cta p a, .cta-dark p a { color: #fff; }

.mfg-text p a:hover, .about-text p a:hover { color: var(--ink); }

.work-text p a:hover { color: #fff; }
/* ---------- project card: 16:9 featured -> 4:3 on hover ---------- */
.work-img .pk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.work-img .pk-b { opacity: 0; transform: scale(1.06); }

.work-card:hover .work-img .pk-a, .pf-card:hover .work-img .pk-a { opacity: 0; transform: scale(1.04); }

.work-card:hover .work-img .pk-b, .pf-card:hover .work-img .pk-b { opacity: 1; transform: scale(1); }

.work-img .pk { transition: opacity .55s var(--ease), transform .7s var(--ease); }

.work-card:hover .work-meta h3, .pf-card:hover .work-meta h3 { color: var(--copper-hot); }

.work-meta h3 { transition: color .3s ease; }
/* ---------- archive grid ---------- */
.pf { padding: var(--section-pad) var(--gutter); background: var(--base); }

.pf-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }

.pf-head h2 { margin: 10px 0 0; }

.pf-lede { margin: 16px 0 0; color: var(--ink-light); font-size: 1rem; line-height: 1.6; }

.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }

.pf-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; background: var(--surface); color: var(--ink-light);
    border: 1px solid rgba(10,13,20,.10); cursor: pointer;
    font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.pf-chip span { font-size: .6875rem; color: var(--support); font-variant-numeric: tabular-nums; }

.pf-chip:hover { border-color: var(--copper); color: var(--ink); }

.pf-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.pf-chip.is-on span { color: var(--copper-hot); }

.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 2vw, 24px); }

.pf-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--void); border: 1px solid rgba(10,13,20,.10); overflow: hidden;
    transition: border-color .3s ease, transform .3s var(--ease), opacity .3s ease;
}

.pf-card:hover { border-color: rgba(222,73,22,.55); transform: translateY(-3px); }

.pf-card[hidden] { display: none; }

.pf-card .work-img { aspect-ratio: 16/9; }

.pf-card .work-meta { padding: 20px 22px 22px; border-top: 1px solid var(--glass-border); }

.pf-card .work-meta h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 8px; }

.pf-card .work-meta p { color: #98A2B3; font-size: .875rem; line-height: 1.55; }

.pf-card .work-tags { margin-top: 16px; }

.pf-card .work-tag { font-size: .625rem; padding: 4px 9px; }

.pf-empty { margin-top: 32px; color: var(--ink-light); text-align: center; }
/* ---------- pagination ---------- */
.pf-pager { display: flex; align-items: center; justify-content: center; gap: 8px;
            flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); }

.pf-pager[hidden] { display: none; }

.pg {
    min-width: 42px; height: 42px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--ink-light);
    border: 1px solid rgba(10,13,20,.10); cursor: pointer;
    font-family: var(--font-body); font-size: .875rem; font-weight: 600;
    font-variant-numeric: tabular-nums;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.pg:hover:not(:disabled):not(.is-on) { border-color: var(--copper); color: var(--ink); }

.pg.is-on { background: var(--copper); border-color: var(--copper); color: #fff; }

.pg:disabled { opacity: .32; cursor: not-allowed; }

.pg-arrow { font-size: 1rem; line-height: 1; }

.pf-range { color: var(--ink-light); font-size: .8125rem; margin-left: 10px;
            font-variant-numeric: tabular-nums; }

.pf-range b { color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {

.pf-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {

.pf-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {

.work-img .pk { transition: none; }

.pf-card:hover { transform: none; }
}
