/* ===========================================================================
   AAC Enterprise — site stylesheet
   Consolidated from the seven standalone HTML pages this site was built as.
   Order: tokens -> base -> header -> page shells -> components -> footer
   =========================================================================== */

:root{
  --graphite:#17181A;
  --graphite-2:#202226;
  --titanium:#E5E6E3;
  --titanium-2:#EFF0ED;
  --steel:#9A9D9F;
  --steel-dark:#4B4E51;
  --accent:#3275A8;
  --accent-dim:#275C82;
  --accent-light:#6FA3CE;
  --line:rgba(255,255,255,0.12);
  --line-dark:rgba(0,0,0,0.12);
  --radius:2px;
  --maxw:1200px;
}

/* ===== BASE ===== */
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--titanium);
  color:var(--graphite);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}
.mono{
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--accent);
  display:flex; align-items:center; gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{content:''; width:22px; height:1px; background:var(--accent); display:inline-block;}

button, .btn{
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.01em;
  border-radius:var(--radius);
  cursor:pointer;
  border:1px solid transparent;
  padding:14px 26px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
button:focus-visible, .btn:focus-visible, a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}
.btn-primary{background:var(--accent); color:var(--graphite);}
.btn-primary:hover{background:var(--accent-light); color:var(--graphite); transform:translateY(-1px);}
.btn-ghost{background:transparent; color:var(--titanium); border-color:var(--line);}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent);}
.btn-ghost.on-light{color:var(--graphite); border-color:var(--line-dark);}
.btn-ghost.on-light:hover{border-color:var(--accent); color:var(--accent-dim);}

/* ===== HEADER ===== */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(23,24,26,0.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  max-width:var(--maxw); margin:0 auto; padding:0 32px;
  height:76px; display:flex; align-items:center; justify-content:space-between;
  color:var(--titanium); position:relative;
}
.logo{
  display:flex; align-items:center; gap:12px;
  font-weight:800; font-size:18px; letter-spacing:0.02em;
}
.logo-mark{
  width:34px; height:auto; display:block; flex-shrink:0;
}
.footer-logo{ color:var(--titanium); margin-bottom:14px; }
.footer-logo-img{
  height:56px; width:auto; display:block;
}
.logo-sub{display:block; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.18em; color:var(--steel); font-weight:400; margin-top:2px;}
.navlinks{display:flex; gap:36px; align-items:center;}
.navlinks a{font-size:14px; font-weight:500; color:var(--titanium); opacity:0.85; padding:4px 0; border-bottom:1px solid transparent;}
.navlinks a:hover{opacity:1; border-color:var(--accent); color:var(--accent);}
.navlinks a[aria-current="page"]{opacity:1; color:var(--accent); border-color:var(--accent);}
.navcta{display:flex; align-items:center; gap:18px;}
.navburger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;}
.navburger span{width:22px; height:2px; background:var(--titanium);}

/* ===== HOMEPAGE HERO ===== */
.hero{
  background:var(--graphite);
  color:var(--titanium);
  padding:90px 0 64px;
  overflow:hidden;
}
.hero-grid{
  max-width:760px;
  padding-bottom:36px;
}
.hero h1{
  font-size:clamp(34px, 4.4vw, 56px);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.01em;
  margin-bottom:22px;
}
.hero h1 em{
  font-style:normal;
  color:var(--accent);
}
.hero p.lead{
  font-size:17px;
  color:#C7C8C6;
  max-width:480px;
  margin-bottom:34px;
}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:44px;}
.hero-meta{
  display:flex; gap:28px; flex-wrap:wrap;
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.06em;
  color:var(--steel); border-top:1px solid var(--line); padding-top:20px;
}
.hero-meta strong{color:var(--titanium); font-weight:500;}

/* ===== SUB-PAGE HERO ===== */
.page-hero{
  background:var(--graphite); color:var(--titanium); padding:64px 0 56px;
}
.page-hero h1{
  font-size:clamp(32px,4vw,50px); font-weight:800; line-height:1.08; letter-spacing:-0.01em; margin-bottom:18px; max-width:760px;
}
.page-hero p.lead{ font-size:17px; color:#C7C8C6; max-width:640px; margin-bottom:30px; }
.breadcrumb{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.08em; color:var(--steel); margin-bottom:20px; }
.breadcrumb a{ color:var(--steel); }
.breadcrumb a:hover{ color:var(--accent-light); }

/* ===== TRUST STRIP ===== */
.trust{
  background:var(--titanium-2);
  border-bottom:1px solid var(--line-dark);
}
.trust .wrap{
  display:flex; flex-wrap:wrap; gap:14px 40px;
  padding:20px 32px;
  justify-content:space-between;
  align-items:center;
}
.trust-item{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--steel-dark);
  display:flex; align-items:center; gap:8px;
  white-space:nowrap;
}
.trust-item::before{content:'\25CF'; color:var(--accent); font-size:8px;}

/* ===== SECTION SHARED ===== */
section{padding:96px 0;}
.section-head{
  max-width:640px; margin-bottom:56px;
}
.section-head h2{
  font-size:clamp(26px,3vw,38px);
  font-weight:800;
  letter-spacing:-0.01em;
  line-height:1.15;
}
.section-head p{
  margin-top:16px; color:var(--steel-dark); font-size:16px; max-width:520px;
}
.on-dark{background:var(--graphite); color:var(--titanium);}
.on-dark .section-head p{color:#B8BAB8;}
/* Full-bleed-within-wrap: lets an edge-to-edge grid sit inside the wrap. */
.wrap-flush{padding:0;}
.section-h2{font-size:clamp(24px,3vw,32px); font-weight:800; margin-bottom:18px; letter-spacing:-0.01em;}

/* ===== SERVICE CARDS (homepage) ===== */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line-dark);
  border:1px solid var(--line-dark);
}
.service-card{
  background:var(--titanium-2);
  padding:40px 34px;
  display:flex; flex-direction:column;
  min-height:320px;
}
.service-icon{
  width:44px; height:44px;
  border:1px solid var(--accent);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:28px;
  color:var(--accent);
}
.service-card h3{font-size:21px; font-weight:700; margin-bottom:12px;}
.service-card p{color:var(--steel-dark); font-size:15px; flex:1;}
.service-card .learn{
  margin-top:24px; font-size:13px; font-weight:600; color:var(--accent-dim);
  display:inline-flex; align-items:center; gap:6px;
  transition:gap .2s ease;
}
.service-card:hover .learn{gap:10px;}

/* ===== FEATURE ROWS ===== */
.features{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line);
}
.feature{
  padding:32px 28px; border-right:1px solid var(--line);
}
.feature:last-child{border-right:none;}
.feature .num{font-family:'IBM Plex Mono',monospace; color:var(--accent); font-size:12px; margin-bottom:14px; display:block;}
.feature h4{font-size:16px; font-weight:700; margin-bottom:10px;}
.feature p{font-size:13.5px; color:#B8BAB8;}

.features-light{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line-dark);
}
.feature-light{ padding:32px 28px; border-right:1px solid var(--line-dark); }
.feature-light:last-child{ border-right:none; }
.feature-light .num{ font-family:'IBM Plex Mono',monospace; color:var(--accent); font-size:12px; margin-bottom:14px; display:block; }
.feature-light h4{ font-size:15.5px; font-weight:700; margin-bottom:10px; color:var(--graphite); }
.feature-light p{ font-size:13.5px; color:var(--steel-dark); }

/* ===== PROCESS STEPS ===== */
.process{
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px;
}
.step{position:relative; padding-top:16px; border-top:2px solid var(--graphite);}
.step .step-num{
  font-family:'Bebas Neue',sans-serif; font-size:44px; color:var(--accent); line-height:1;
  display:block; margin-bottom:14px;
}
.step h4{font-size:16px; font-weight:700; margin-bottom:8px;}
.step p{font-size:14px; color:var(--steel-dark);}

/* Ordering steps (laser services, catalogs) — always sit on a dark ground */
.order-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.order-step{ padding-top:16px; border-top:2px solid var(--accent); }
.order-step .step-num{ font-family:'Bebas Neue',sans-serif; font-size:40px; color:var(--titanium); line-height:1; display:block; margin-bottom:12px; opacity:0.9; }
.order-step h4{ font-size:16px; font-weight:700; margin-bottom:8px; color:var(--titanium); }
.order-step p{ font-size:14px; color:#B8BAB8; }
.order-step p a{ color:var(--accent-light); font-weight:600; }
.order-panel{ background:var(--graphite); padding:40px 32px; border-radius:var(--radius); }

/* ===== TRAINING TIERS (homepage) ===== */
.training-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.tier{
  border:1px solid var(--line);
  padding:32px 28px;
  display:flex; flex-direction:column;
}
.tier.featured{border-color:var(--accent); background:rgba(50,117,168,0.08);}
.tier .tier-days{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--accent); letter-spacing:0.1em; margin-bottom:10px;}
.tier h3{font-size:20px; font-weight:700; margin-bottom:10px;}
.tier p.desc{font-size:14px; color:#B8BAB8; margin-bottom:22px; flex:1;}
.tier .price{font-family:'IBM Plex Mono',monospace; font-size:22px; font-weight:600; color:var(--titanium); margin-bottom:20px;}
.tier .price span{font-size:12px; color:var(--steel); font-weight:400; margin-left:6px;}
.tier ul{list-style:none; margin-bottom:24px;}
.tier li{font-size:13px; color:#B8BAB8; padding:6px 0; border-top:1px solid var(--line); display:flex; gap:8px;}
.tier li:first-child{border-top:none;}
.tier li::before{content:'\2014'; color:var(--accent);}
.training-more{ margin-top:14px; }
.training-more a{ color:var(--accent-light); font-size:14px; font-weight:600; }

/* ===== INTRO SPLIT + CALLOUTS ===== */
.intro-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start; }
.intro-grid p{ font-size:15.5px; color:var(--steel-dark); margin-bottom:16px; }
.intro-figures{ display:flex; flex-direction:column; gap:0; border:1px solid var(--line-dark); }
.intro-figure{ padding:20px 22px; border-bottom:1px solid var(--line-dark); }
.intro-figure:last-child{ border-bottom:none; }
.intro-figure .num{ font-family:'Bebas Neue',sans-serif; font-size:34px; color:var(--accent); line-height:1; display:block; margin-bottom:6px; }
.intro-figure .lbl{ font-size:13px; color:var(--steel-dark); }

.note-band{
  border:1px solid var(--accent); background:rgba(50,117,168,0.06);
  padding:20px 24px; font-size:14px; color:var(--steel-dark); margin-top:22px;
}
.note-band strong{ color:var(--graphite); }

.cta-band{
  background:var(--graphite-2); color:var(--titanium); text-align:center; padding:60px 0;
}
.cta-band h2{ font-size:clamp(24px,3vw,32px); font-weight:800; margin-bottom:14px; }
.cta-band p{ color:#B8BAB8; margin-bottom:26px; max-width:520px; margin-left:auto; margin-right:auto; }
.cta-buttons{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ===== WORK GALLERY (cerakote, laser services, catalogs) =====
   flex-wrap rather than fixed columns: the card count differs per page, and a
   fixed-column grid leaves a phantom empty cell at some breakpoints. */
.work-grid{ display:flex; flex-wrap:wrap; gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); margin-top:8px; }
.work-card{ background:var(--titanium-2); flex:1 1 220px; }
.work-card .work-photo{ aspect-ratio:4/3; overflow:hidden; }
.work-card .work-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.work-card .work-cap{ padding:14px 16px; font-size:12.5px; color:var(--steel-dark); }

/* ===== CONTACT / FORMS ===== */
.contact{background:var(--graphite-2);}
.contact-grid{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:64px;
}
.contact-info h2{
  color:var(--titanium); font-size:clamp(26px,3vw,36px); font-weight:800; margin-bottom:18px; line-height:1.15;
}
.contact-info p{color:#B8BAB8; font-size:15.5px; margin-bottom:28px; max-width:400px;}
.contact-line{
  font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--steel);
  display:flex; flex-direction:column; gap:10px;
}
.contact-line b{color:var(--titanium); font-weight:500;}
form{
  background:var(--titanium-2); padding:36px; border:1px solid var(--line-dark);
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.field{display:flex; flex-direction:column; gap:6px; margin-bottom:16px; min-width:0;}
.field label{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-dark);
}
.field input, .field select, .field textarea{
  font-family:'Inter',sans-serif;
  border:1px solid var(--line-dark);
  background:#fff;
  padding:12px 14px;
  font-size:14px;
  border-radius:var(--radius);
  color:var(--graphite);
  /* Form controls carry an intrinsic minimum width (file inputs especially).
     Without min-width:0 that minimum propagates up through the grid tracks and
     pushes the whole contact section wider than the viewport on phones. */
  min-width:0;
}
.contact-grid > *{ min-width:0; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--accent);
}
form .btn-primary{width:100%; justify-content:center; margin-top:6px;}
form .disclaimer{font-size:11.5px; color:var(--steel); margin-top:14px; text-align:center;}

/* Honeypot. Moved off-screen rather than display:none — some bots skip fields
   that are display:none, and this keeps the label available to a screen
   reader. See the form scripts for the caveat about JS-less bots. */
.hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; opacity:0; }

/* ===== CERAKOTE PAGE ===== */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); }
.cat-card{ background:var(--titanium-2); padding:26px 24px; color:var(--graphite); }
.cat-card.muted{ background:#E3E2DC; }
.cat-card.span-2{ grid-column:span 2; }
.cat-card h4{ font-size:15px; font-weight:700; margin-bottom:12px; color:var(--graphite); }
.cat-card ul{ list-style:none; }
.cat-card ul.two-col{ columns:2; }
.cat-card li{ font-size:13px; color:var(--steel-dark); padding:4px 0; }

.price-block{ border:1px solid var(--line-dark); background:var(--titanium-2); }
.price-head{ padding:18px 24px; border-bottom:1px solid var(--line-dark); display:flex; justify-content:space-between; align-items:baseline; }
.price-head h4{ font-size:16px; font-weight:700; }
.price-head .base{ font-family:'IBM Plex Mono',monospace; font-size:15px; color:var(--accent-dim); font-weight:600; }
.price-rows{ padding:6px 24px 18px; }
.price-row{ display:flex; justify-content:space-between; padding:8px 0; border-top:1px solid var(--line-dark); font-size:13.5px; }
.price-row:first-child{ border-top:none; }
.price-row .amt{ font-family:'IBM Plex Mono',monospace; color:var(--steel-dark); }
.price-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }

.addon-table{ width:100%; border-collapse:collapse; font-size:14.5px; }
.addon-table th{ text-align:left; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel); font-weight:500; padding:10px 0; border-bottom:1px solid var(--line); }
.addon-table th.right, .addon-table td.amt{ text-align:right; }
.addon-table td{ padding:14px 0; border-bottom:1px solid var(--line); color:#C7C8C6; }
.addon-table tr:last-child td{ border-bottom:none; }
.addon-table td.amt{ font-family:'IBM Plex Mono',monospace; color:var(--titanium); font-weight:600; font-size:15px; }

/* ===== LASER SERVICES PAGE ===== */
.cap-tabs{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); margin-top:8px; }
.cap-card{ background:var(--titanium-2); padding:32px 30px; }
.cap-card .cap-photo{ margin:-32px -30px 24px; aspect-ratio:4/3; overflow:hidden; }
.cap-card .cap-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.cap-card .cap-eyebrow{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-dim); margin-bottom:10px; }
.cap-card h3{ font-size:19px; font-weight:700; margin-bottom:12px; color:var(--graphite); }
.cap-card p{ font-size:14px; color:var(--steel-dark); margin-bottom:16px; }
.cap-card .mat-row{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px; }
.cap-card .examples{ list-style:none; font-size:13px; color:var(--steel-dark); }
.cap-card .examples li{ padding:4px 0; border-top:1px solid var(--line-dark); }
.cap-card .examples li:first-child{ border-top:none; }

.chip{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.04em; color:var(--steel-dark); border:1px solid var(--line-dark); padding:4px 10px; border-radius:20px; }
.materials-row{ display:flex; flex-wrap:wrap; gap:10px; }
.materials-row .chip{ font-size:12px; padding:8px 16px; background:var(--titanium-2); }

.stat-band{
  display:flex; align-items:center; gap:28px; border:1px solid var(--line-dark);
  background:rgba(50,117,168,0.06); padding:26px 30px; margin-top:36px;
}
.stat-band .big{ font-family:'Bebas Neue',sans-serif; font-size:56px; color:var(--accent); line-height:1; flex-shrink:0; }
.stat-band p{ font-size:14px; color:var(--steel-dark); margin:0; }

/* ===== CATALOGS PAGE ===== */
.catalog-grid{ display:flex; flex-wrap:wrap; gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); }
.catalog-card{
  background:var(--titanium-2); padding:28px 22px; flex:1 1 260px;
  display:flex; flex-direction:column; align-items:flex-start; gap:14px;
}
.catalog-card .cat-icon{
  width:38px; height:38px; border:1px solid var(--accent); display:flex; align-items:center; justify-content:center; color:var(--accent);
}
.catalog-card h4{ font-size:14.5px; font-weight:700; color:var(--graphite); }
.catalog-card .blurb{ font-size:12.5px; color:var(--steel-dark); margin:-6px 0 0; }
.catalog-card a{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--accent-dim); font-weight:600; margin-top:auto;
}
.catalog-card a:hover{ color:var(--accent); }

.feature-photo{ width:100%; aspect-ratio:1200/700; overflow:hidden; border:1px solid var(--line-dark); }
.feature-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.feature-photo-cap{ font-size:12.5px; color:var(--steel); text-align:center; margin-top:10px; }

.catalog-note{
  border:1px dashed var(--steel); padding:16px 20px; font-size:13px; color:var(--steel-dark); margin-top:24px;
  font-family:'IBM Plex Mono',monospace;
}

/* ===== TRAINING PAGE ===== */
.shop-photos{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); }
.shop-photos figure{ margin:0; background:var(--titanium-2); }
.shop-photos img{ width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.shop-photos figcaption{ padding:14px 16px; font-size:12.5px; color:var(--steel-dark); }

.incl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--line-dark); border:1px solid var(--line-dark); }
.incl-col{ background:var(--titanium-2); padding:28px 30px; }
.incl-col h4{ font-size:15px; font-weight:700; margin-bottom:14px; }
.incl-col.yes h4{ color:var(--accent-dim); }
.incl-col.no h4{ color:var(--steel-dark); }
.incl-col ul{ list-style:none; }
.incl-col li{ font-size:13.5px; color:var(--steel-dark); padding:6px 0; border-top:1px solid var(--line-dark); }
.incl-col li:first-child{ border-top:none; }

.logi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.logi-card{ border:1px solid var(--line); padding:24px 26px; }
.logi-card h4{ font-size:15px; font-weight:700; margin-bottom:10px; color:var(--titanium); }
.logi-card p{ font-size:13.5px; color:#B8BAB8; }

.cancel-table{ width:100%; border-collapse:collapse; font-size:14px; }
.cancel-table th{ text-align:left; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel); font-weight:500; padding:10px 0; border-bottom:1px solid var(--line-dark); }
.cancel-table td{ padding:14px 0; border-bottom:1px solid var(--line-dark); color:var(--steel-dark); }
.cancel-table tr:last-child td{ border-bottom:none; }
.cancel-table td.window{ color:var(--graphite); font-weight:600; }

.faq-list{ border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); padding:6px 0; }
.faq-item summary{
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
  padding:18px 4px; font-size:15.5px; font-weight:600; color:var(--titanium);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:'+'; font-family:'IBM Plex Mono',monospace; font-size:20px; color:var(--accent-light);
  margin-left:16px; flex-shrink:0; transition:transform .2s ease;
}
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ font-size:14px; color:#B8BAB8; padding:0 4px 20px; max-width:760px; }

/* ===== FIREARM SERVICES PAGE (deliberately plain, low-key treatment) ===== */
.plain-hero{
  background:var(--titanium-2); border-bottom:1px solid var(--line-dark);
  padding:48px 0 40px;
}
.plain-hero h1{
  font-size:clamp(26px,3vw,36px); font-weight:800; letter-spacing:-0.01em; margin-bottom:14px; max-width:680px; color:var(--graphite);
}
.plain-hero p.lead{ font-size:15.5px; color:var(--steel-dark); max-width:600px; margin-bottom:0; }

.plain-section{ padding:56px 0; border-bottom:1px solid var(--line-dark); }
.plain-section.no-rule{ border-bottom:none; }
.plain-section.pad-bottom{ padding-bottom:64px; }
.plain-section h2{ font-size:20px; font-weight:700; margin-bottom:14px; color:var(--graphite); }
.plain-section p{ font-size:14.5px; color:var(--steel-dark); max-width:680px; margin-bottom:12px; }
.plain-section p.spaced{ margin-top:16px; }
.plain-section ul{ margin:12px 0 0 0; padding-left:18px; max-width:680px; }
.plain-section li{ font-size:14.5px; color:var(--steel-dark); padding:4px 0; }
.plain-section a.inline-link{ color:var(--accent-dim); font-weight:600; }
.plain-section a.inline-link:hover{ color:var(--accent); }

.plain-photo{ max-width:680px; margin-top:18px; }
.plain-photo .plain-photo-frame{ border:1px solid var(--line-dark); aspect-ratio:1100/1202; overflow:hidden; }
.plain-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.plain-photo figcaption{ padding:10px 2px 0; font-size:12.5px; color:var(--steel); }

.nfa-note{
  border:1px dashed var(--steel); padding:16px 20px; font-size:13px; color:var(--steel-dark); margin-top:20px; max-width:680px;
  font-family:'IBM Plex Mono',monospace; line-height:1.6;
}
.nfa-steps{ display:flex; flex-direction:column; border:1px solid var(--line-dark); margin-top:18px; max-width:680px; }
.nfa-step{ display:flex; gap:16px; padding:16px 20px; border-bottom:1px solid var(--line-dark); }
.nfa-step:last-child{ border-bottom:none; }
.nfa-step .n{ font-family:'IBM Plex Mono',monospace; color:var(--accent-dim); font-weight:600; font-size:13px; flex-shrink:0; }
.nfa-step p{ margin:0; font-size:14px; }

/* ===== ERROR / NOT-FOUND PAGES ===== */
.error-page{ padding:96px 0 120px; }
.error-page h1{ font-size:clamp(28px,3vw,38px); font-weight:800; margin-bottom:14px; }
.error-page p{ font-size:15.5px; color:var(--steel-dark); max-width:640px; margin-bottom:16px; }
.error-page code{ font-family:'IBM Plex Mono',monospace; font-size:13px; }

/* Signposts on the 404 — flex-wrap, since six cards in a fixed grid would
   leave a phantom cell at some widths. */
.notfound-links{
  display:flex; flex-wrap:wrap; gap:1px;
  background:var(--line-dark); border:1px solid var(--line-dark);
  margin:32px 0 36px;
}
.notfound-links a{
  flex:1 1 260px; min-width:0;
  background:var(--titanium-2); padding:20px 22px;
  display:flex; flex-direction:column; gap:5px;
}
.notfound-links a:hover{ background:#fff; }
.notfound-links strong{ font-size:15px; font-weight:700; color:var(--accent-dim); }
.notfound-links span{ font-size:13px; color:var(--steel-dark); }

/* ===== FOOTER ===== */
footer{background:var(--graphite); color:var(--steel); padding:64px 0 32px; border-top:1px solid var(--line);}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line);}
.foot-grid h5{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--titanium); margin-bottom:18px;
}
.foot-grid a{display:block; font-size:14px; color:var(--steel); margin-bottom:12px;}
.foot-grid a:hover{color:var(--accent);}
.foot-blurb{ font-size:13.5px; max-width:280px; color:var(--steel); }
.social-links{ display:flex; gap:12px; margin-top:18px; }
.social-links a{
  display:flex; align-items:center; justify-content:center;
  width:34px; height:34px; border:1px solid var(--line);
  color:var(--steel); flex-shrink:0;
  margin-bottom:0;
}
.social-links a:hover{ color:var(--accent); border-color:var(--accent); }
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top:28px; font-size:12.5px; flex-wrap:wrap; gap:12px;
}
.foot-meta{ display:flex; gap:18px; align-items:center; }
.foot-meta a, .foot-meta span{ color:var(--steel); font-size:12px; }

/* ===== RESPONSIVE ===== */
@media (max-width:920px){
  .services-grid{grid-template-columns:1fr;}
  .features{grid-template-columns:repeat(2,1fr);}
  .feature:nth-child(2){border-right:none;}
  /* .features-light is the light-ground twin of .features and needs the same
     collapse — it had none in the static pages, so the Cerakote page scrolled
     sideways on phones. */
  .features-light{grid-template-columns:repeat(2,1fr);}
  .feature-light:nth-child(2){border-right:none;}
  .process{grid-template-columns:repeat(2,1fr);}
  .training-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr; gap:40px;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:32px;}
  .intro-grid{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .price-grid{grid-template-columns:1fr;}
  .cap-tabs{grid-template-columns:1fr;}
  .order-steps{grid-template-columns:1fr;}
  .stat-band{flex-direction:column; align-items:flex-start; gap:14px;}
  .incl-grid{grid-template-columns:1fr;}
  .logi-grid{grid-template-columns:1fr;}
  .work-card{flex-basis:45%;}
  .catalog-card{flex-basis:45%;}
}

/* The nav drops to the hamburger earlier than the rest of the layout — the
   logo + 6 links + CTA button needs more room than 920px gives it. */
@media (max-width:1019px){
  .navlinks{display:none;}
  .navlinks.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:76px; left:0; right:0;
    background:var(--graphite); border-top:1px solid var(--line);
    padding:8px 32px 20px; box-shadow:0 12px 24px rgba(0,0,0,0.3);
  }
  .navlinks.open a{ padding:14px 0; border-bottom:1px solid var(--line); opacity:1; }
  .navburger{display:flex;}
  .navburger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .navburger.open span:nth-child(2){ opacity:0; }
  .navburger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .navburger span{ transition:transform .2s ease, opacity .2s ease; }
}

@media (max-width:600px){
  .form-row{grid-template-columns:1fr;}
  .foot-grid{grid-template-columns:1fr;}
  .shop-photos{grid-template-columns:1fr;}
  .cat-grid{grid-template-columns:1fr;}
  .cat-card.span-2{grid-column:span 1;}
  .features-light{grid-template-columns:1fr;}
  .feature-light{border-right:none;}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important; scroll-behavior:auto !important;}
}

