/* ==========================================================================
   Rafferty Custom Guns — shared stylesheet
   ========================================================================== */

:root{
  --black:#0A0B08;
  --charcoal:#14160F;
  --panel:#1B1E15;
  --bone:#ECE9DD;
  --steel:#FFFFFF;
  --steel-dim:#FFFFFF;
  --green:#3FAE58;
  --green-bright:#5FD97A;
  --green-dim:#2C7A3E;
  --gold:#C9A24B;
  --hairline:rgba(236,233,221,0.10);
}
*{margin:0;padding:0;box-sizing:border-box;}
/* overflow-x:hidden on body alone doesn't reliably stop horizontal
   swipe/bounce on mobile Safari — the scrollable viewport there is
   often the html element itself, so it needs to be set on both to
   actually lock out side-to-side panning. */
html{scroll-behavior:smooth;overflow-x:hidden;max-width:100%;}
body{
  background:var(--black);
  color:var(--bone);
  font-family:'Inter',sans-serif;
  overflow-x:hidden;
  max-width:100%;
}
h1,h2,h3,.display{
  font-family:'Anton',sans-serif;
  text-transform:uppercase;
  letter-spacing:0.01em;
  font-weight:400;
}
.mono{font-family:'JetBrains Mono',monospace;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

/* shamrock signature mark */
.mark{display:inline-flex;align-items:center;gap:8px;}
.mark img{width:16px;height:16px;}

/* ---------- NAV ---------- */
header{
  position:fixed;top:0;left:0;right:0;
  z-index:100;
  background:rgba(10,11,8,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--hairline);
}
nav{
  display:flex;align-items:center;justify-content:space-between;
  max-width:1180px;margin:0 auto;padding:16px 32px;
}
.logo{display:flex;align-items:center;gap:10px;}
.logo-img{height:56px;width:auto;display:block;}
footer .logo-img{height:52px;}
.navlinks{display:flex;gap:34px;font-size:13px;letter-spacing:0.08em;text-transform:uppercase;color:var(--steel);font-weight:600;}
.navlinks a{transition:color .2s;}
.navlinks a:hover{color:var(--green-bright);}
.nav-ctas{display:flex;align-items:center;gap:12px;}
.nav-cta{
  border:1px solid var(--green-dim);
  color:var(--green-bright);
  padding:10px 22px;
  font-size:12px;letter-spacing:0.1em;text-transform:uppercase;
  font-family:'Inter',sans-serif;font-weight:600;
  transition:all .2s;
}
.nav-cta:hover{background:var(--green);color:var(--black);border-color:var(--green);}

.nav-toggle-input{display:none;}
.nav-toggle-btn{
  display:none;flex-direction:column;gap:5px;cursor:pointer;
  padding:8px;background:none;border:none;
}
.nav-toggle-btn span{width:22px;height:2px;background:var(--bone);display:block;transition:transform .2s ease, opacity .2s ease;}
.mobile-menu{
  display:none;position:fixed;inset:0;
  background:rgba(10,11,8,0.98);
  z-index:200;
  flex-direction:column;align-items:center;justify-content:center;gap:26px;
}
.mobile-menu a{
  font-family:'Anton',sans-serif;font-size:24px;
  text-transform:uppercase;letter-spacing:0.03em;color:var(--bone);
}
.mobile-menu a:hover{color:var(--green-bright);}
.mobile-menu-cta{
  border:1px solid var(--green-dim);color:var(--green-bright) !important;
  padding:12px 28px;margin-top:10px;font-family:'Inter',sans-serif;font-size:14px;
}
.mobile-menu-close{position:absolute;top:28px;right:28px;width:28px;height:28px;cursor:pointer;}
.mobile-menu-close::before,.mobile-menu-close::after{content:"";position:absolute;top:50%;left:0;width:100%;height:2px;background:var(--bone);}
.mobile-menu-close::before{transform:rotate(45deg);}
.mobile-menu-close::after{transform:rotate(-45deg);}
.nav-toggle-input:checked ~ .mobile-menu{display:flex;}
.nav-toggle-input:checked ~ .nav-toggle-btn span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle-input:checked ~ .nav-toggle-btn span:nth-child(2){opacity:0;}
.nav-toggle-input:checked ~ .nav-toggle-btn span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
/* hamburger menu takes over earlier than 900px now that the nav has five
   links (plus two buttons and, on the auction page, a Log in button) —
   between 900 and ~1180px they wrapped onto two lines and crowded the logo */
@media(max-width:1180px){
  .nav-ctas{display:none;}
  .nav-toggle-btn{display:flex;}
  .navlinks{display:none;}
}

/* ---------- HERO ---------- */
.hero{
  min-height:100vh;
  display:flex;align-items:center;
  position:relative;
  z-index:2;
  padding-top:96px;
}
/* the hero's backdrop (image + dark gradient) lives on its own layer,
   separate from .hero itself, specifically so it can be faded out at the
   bottom independently of the text content. .hero overlaps the pistol
   video below it (see .pistol-video's negative margin-top) so the stats
   can sit visually over the top of the video — but the backdrop image is
   fully opaque, and without this it would block the video from ever
   showing through behind the stats, even though the text itself is
   correctly stacked above the video. This fades ONLY the backdrop over a
   fixed 340px at the bottom (not a %, so it doesn't scale away to nothing
   on tall 100vh screens) while .hero-stats, being a separate unmasked
   element, stays fully legible. */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(180deg, rgba(10,11,8,0.1) 0%, rgba(10,11,8,0.5) 62%, var(--black) 100%),
    url('../images/hero-bg-2.jpg') center 30%/cover no-repeat;
  mask-image:linear-gradient(to top, transparent 0, black 340px);
  -webkit-mask-image:linear-gradient(to top, transparent 0, black 340px);
}
.hero .wrap{position:relative;z-index:2;}
.eyebrow{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;letter-spacing:0.18em;
  color:var(--green-bright);
  text-transform:uppercase;
  margin-bottom:22px;
  display:flex;align-items:center;gap:12px;
}
.eyebrow::before{content:"";width:28px;height:1px;background:var(--green-bright);}
.hero h1{
  font-size:clamp(38px,6.2vw,78px);
  line-height:1.02;
  color:var(--bone);
  max-width:780px;
}
.hero h1 .accent{color:var(--green-bright);}
.hero-sub{max-width:540px;color:var(--steel);font-size:17px;line-height:1.7;margin-top:26px;}
.hero-actions{display:flex;gap:16px;margin-top:40px;flex-wrap:wrap;}
.btn-primary{
  background:var(--green);color:var(--black);
  padding:16px 32px;
  font-family:'Inter',sans-serif;font-weight:700;
  font-size:13px;letter-spacing:0.08em;text-transform:uppercase;
  transition:all .2s;border:1px solid var(--green);
  display:inline-block;
}
.btn-primary:hover{background:transparent;color:var(--green-bright);}
.btn-ghost{
  padding:16px 32px;border:1px solid var(--hairline);
  font-family:'Inter',sans-serif;font-weight:700;
  font-size:13px;letter-spacing:0.08em;text-transform:uppercase;
  color:var(--bone);transition:all .2s;display:inline-block;
}
.btn-ghost:hover{border-color:var(--steel);}

.hero-stats{display:flex;flex-wrap:wrap;gap:20px 0;margin-top:52px;padding-top:26px;max-width:100%;}
.hero-stats div{padding-right:36px;margin-right:36px;}
.hero-stats div:last-child{margin-right:0;padding-right:0;}
.hero-stats .num{font-family:'Anton',sans-serif;font-size:30px;color:var(--green-bright);}
.hero-stats .lbl{font-size:11px;color:var(--steel-dim);text-transform:uppercase;letter-spacing:0.08em;margin-top:4px;}
/* empty on desktop — the video stays in its own .pistol-video section
   below the hero. On mobile (see the max-width:800px block further down)
   the video element itself gets moved into this slot by JS so it can sit
   in a flex row next to hero-stats instead of stacked underneath it. */
.hero-video-slot{display:none;}
@media(max-width:600px){
  .hero-stats{flex-direction:column;gap:0;}
  .hero-stats div{
    padding:4px 0;margin:0;width:100%;
  }
  .hero-stats div:first-child{padding-top:0;}
  .hero-stats .num{font-size:24px;}
}

/* ---------- ROTATING PISTOL VIDEO ---------- */
.pistol-video{
  background:var(--black);
  line-height:0;
  position:relative;
  z-index:1;
  /* .hero is min-height:100vh with its content vertically centered — so the
     empty space below the stats before the section ends is exactly half of
     (100vh - hero's own content height), since the other half sits above
     the eyebrow. hero's content height is ~540px on desktop and doesn't
     scale with vh, so a plain -Xvh pull either over- or under-shoots
     depending on viewport height. calc(-50vh + 20px) cancels the vh term
     against that fixed content height, landing on the video overlapping
     ~150px up behind the hero text (so the hero content, stacked above via
     z-index, sits over the top of the video) at any viewport height. max()
     caps how far it can pull on unusually tall viewports. */
  margin-top:max(-750px, calc(-50vh + 120px));
}
.pistol-video video{
  display:block;
  width:100%;
  /* the section itself stays full-bleed, but the video's own box is capped
     here so its aspect ratio stays reasonably close to the source footage
     (~1.5:1) instead of stretching across the whole wide section — that's
     what was causing the empty letterbox bars. cover (tried first) made it
     worse: filling a box that's still much wider than the video meant
     scaling up by width, which cropped so far in vertically that mostly
     empty background showed instead of the gun. contain, on a box already
     close to the video's own proportions, needs very little letterboxing. */
  max-width:900px;
  height:clamp(260px,48vw,560px);
  object-fit:contain;
  margin:0 auto;
  /* fades all four edges to transparent so the video's rectangular frame
     never reads as a hard edge against the page background */
  mask-image:radial-gradient(ellipse 60% 62% at center, black 32%, transparent 92%);
  -webkit-mask-image:radial-gradient(ellipse 60% 62% at center, black 32%, transparent 92%);
}
/* The hero-overlaps-video design above is tuned for hero's ~540px desktop
   content height. On narrow screens hero-actions and hero-stats stack
   vertically (see the max-width:600px block above), pushing real content
   height well past that — so the same negative pull no longer lands in
   empty space, it drags the video up into the stats/buttons themselves.
   Below this breakpoint the whole overlap trick is switched off in favor
   of plain stacked sections: hero's own backdrop goes back to fully
   opaque (nothing to reveal behind it since there's no overlap), the
   video sits in normal flow with a small gap, and story-bg's pull-up is
   reset the same way. */
/* ---------- PAGE HEADER (interior pages) ---------- */
.page-header{
  position:relative;
  padding:180px 0 70px;
  background:
    linear-gradient(180deg, rgba(10,11,8,0.75), var(--black) 90%),
    url('../images/hero-bg.jpg') center 20%/cover no-repeat;
  overflow:hidden;
}
/* gallery-only override — source photo is a tall portrait shot (hand/gun
   mid-frame), so it needs a specific vertical crop point rather than the
   generic 20% used on the other interior pages' wide landscape photos. */
.gallery-header{
  background:
    linear-gradient(180deg, rgba(10,11,8,0.0), var(--black) 90%),
    url('../images/gallery-header-bg.jpg') center 48%/cover no-repeat;
}
/* about-only override — a real photo again instead of the rope emblem,
   same dark-gradient-over-photo treatment as .gallery-header. */
.about-header{
  background:
    linear-gradient(180deg, rgba(10,11,8,0.2), var(--black) 100%),
    url('../images/6bf1f77a-39e0-4de6-8f2c-fde9abcae70f.JPG') center 35%/140% no-repeat;
}
/* the rope pattern sits directly behind this label, and --green-dim is
   already a muted, low-contrast color by design — a dark halo behind
   the text plus a brighter green here lifts it off the busy line art
   without changing the label's look on every other page. */
.about-header .section-label{color:var(--green-bright);text-shadow:0 2px 10px rgba(0,0,0,0.95), 0 0 16px rgba(0,0,0,0.9);}
.about-header .section-label::before{background:var(--green-bright);box-shadow:0 0 8px rgba(0,0,0,0.9);}
.page-header h1{font-size:clamp(34px,5vw,58px);max-width:720px;}
.page-header p{color:var(--steel);max-width:520px;margin-top:18px;font-size:16px;line-height:1.7;}
.page-watermark{
  position:absolute;right:-60px;top:-10%;width:420px;height:auto;
  opacity:0.09;pointer-events:none;
}
/* .hero is much taller (min-height:100vh) than the short page-header
   banners this was designed for, so the -10% offset would push it way
   off the top — fixed instead, and given an explicit z-index so it
   reliably sits above .hero::before's background (z-index:0) without
   competing with .wrap's text content (z-index:2). */
/* dialed back from an earlier, much bigger/bolder version — at that
   size it read as a second focal point competing with the headline
   instead of a quiet accent, which made the section feel busier rather
   than cleaner. Small and faint enough to recede into the photo. */
/* back to plain opacity, no blend mode/shadow — tried screen (invisible,
   since this is black line art and screen is a no-op on black), overlay
   with a blur, and overlay with a drop-shadow; none of it clearly beat
   just a quiet, simple, faint mark, so keeping it plain. */
.hero-watermark{top:24px;right:-30px;width:200px;opacity:0.2;z-index:1;}
@media(min-width:801px){
  .hero-watermark{width:350px;top:16px;right:-40px;}
}

/* ---------- SECTION generic ---------- */
section{padding:96px 0;position:relative;}
.section-label{
  font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--green-bright);
  letter-spacing:0.15em;text-transform:uppercase;margin-bottom:18px;
  display:flex;align-items:center;gap:12px;
}
.section-label::before{content:"";width:28px;height:1px;background:var(--green-bright);}
.section-head h2{font-size:clamp(30px,4vw,50px);color:var(--bone);max-width:660px;line-height:1.05;}
.section-head p{color:var(--steel);max-width:500px;margin-top:20px;line-height:1.75;font-size:16px;}

.process-head{
  padding:48px 44px;
  border:1px solid var(--hairline);
  background:
    linear-gradient(100deg, rgba(10,11,8,0.93) 20%, rgba(10,11,8,0.6) 60%, rgba(10,11,8,0.88) 100%),
    url('../images/what-i-do-bg.jpg') center 45%/cover no-repeat;
}
@media(max-width:700px){.process-head{padding:32px 24px;}}

/* ---------- STORY / TWO-COL layout ---------- */
.story{background:var(--charcoal);}
.story-bg{
  background:
    linear-gradient(100deg, rgba(20,22,17,0.6) 30%, rgba(20,22,17,0.4) 65%, rgba(20,22,17,0.6) 100%),
    url('../images/c12f5820-905c-488f-9b2b-fa4724c79c11.JPG') center 25%/cover no-repeat;
  /* pulled up to close the dead gap left after .pistol-video. Needs its own
     z-index above the video's (z-index:1) — without one this section is
     z-index:auto, which loses to the video's explicit z-index and gets
     painted underneath it, hiding content in the overlap area. */
  position:relative;
  z-index:2;
  margin-top:-100px;
}
/* The hero-overlaps-video design (see .hero::before and .pistol-video
   above) is tuned for hero's ~540px desktop content height. On narrow
   screens hero-actions and hero-stats stack vertically (see the
   max-width:600px block earlier), pushing real content height well past
   that — so the same negative pull no longer lands in empty space, it
   drags the video up into the stats/buttons themselves. Below this
   breakpoint the whole overlap trick is switched off in favor of plain
   stacked sections: hero's own backdrop goes back to fully opaque
   (nothing to reveal behind it since there's no overlap), the video sits
   in normal flow with a small gap, and story-bg's pull-up is reset the
   same way. Placed here, after .story-bg's own rule, on purpose — a rule
   inside an earlier media query still loses the cascade to a later
   same-specificity rule outside it, even when the query matches. */
@media(max-width:800px){
  .hero::before{
    mask-image:none;
    -webkit-mask-image:none;
    /* mobile's narrow, tall box is so much taller relative to this photo's
       landscape aspect that cover scales to match height exactly, with
       zero vertical slack — the Y offset used on desktop literally can't
       shift anything here, the full image height always shows. What's
       actually being cropped is width (huge horizontal slack), so the
       fix is an X shift, not Y. */
    background-position:55% center;
  }
  /* min-height:100vh (set on .hero further up) is what's leaving the big
     gap below the stats here — on desktop hero's content is short enough
     that 100vh makes sense, but stacked mobile content is much taller and
     doesn't need the extra reserved space at all. Sizing to content
     instead removes that dead space at the source. */
  .hero{min-height:auto;padding-top:72px;padding-bottom:24px;}
  .eyebrow{margin-bottom:14px;}
  .hero-sub{margin-top:18px;}
  .hero-actions{margin-top:26px;}
  /* the video element itself gets moved into #heroVideoSlot by the JS
     next to the markup (see index.html) so it can sit in a flex row
     beside hero-stats instead of stacked below the whole hero. its old
     section is left empty, so it's hidden entirely rather than styled. */
  .pistol-video{
    display:none;
  }
  /* video fills the whole row as a full-bleed background (position:absolute,
     inset:0, behind everything at z-index:0); hero-stats sits on top of it
     in normal flow, pinned to the left, with its own dark-to-transparent
     scrim behind the text so it stays legible over the moving footage —
     same gradient-over-photo pattern already used on .story-bg/.craft-bg. */
  .hero-facts-row{
    position:relative;
    display:flex;
    margin-top:32px;
    /* .wrap (the hero's own container) carries the site's standard 32px
       side padding, which was leaving this row's video background inset
       from the screen edges like a floating card instead of a full-bleed
       banner. Cancelling that padding with matching negative margins
       stretches the row itself (and hero-video-slot's inset:0, which
       fills to the row's outer edge regardless of its own padding) out
       to the true screen edges — then the same 32px is added back as
       this row's own padding so hero-stats stays visually aligned with
       the text above it instead of also touching the edge. */
    margin-left:-32px;
    margin-right:-32px;
    padding-left:32px;
    padding-right:32px;
    /* height follows hero-stats' own content height (its padding + the
       three stat rows) instead of a hardcoded guess — a fixed clamp()
       here previously fell out of sync whenever the stats' own spacing
       changed, leaving empty gaps above/below the (vertically centered)
       text. hero-video-slot is inset:0/absolute so it still fills
       whatever height this resolves to. */
    overflow:hidden;
  }
  /* the slot is full-bleed (matches the whole row, no visible container
     edge). Earlier attempts gave the <video> element itself a box whose
     shape didn't match the footage's own ~3:2 aspect ratio — contain then
     had to letterbox the mismatch, and browsers paint that empty letterbox
     area solid black, which read as a visible panel edge against the
     page's actual (lighter, textured) background. Giving the video's own
     box that same 3:2 aspect ratio instead means contain has no mismatch
     to letterbox at all — the element's box IS the picture, borderless,
     floating on the transparent slot — and flex + justify-content pushes
     that picture to the right. */
  .hero-video-slot{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    position:absolute;
    inset:0;
    z-index:0;
    line-height:0;
  }
  .hero-video-slot video{
    display:block;
    width:92%;
    aspect-ratio:3/2;
    height:auto;
    object-fit:contain;
    /* already flush against the slot's right edge via justify-content, so
       there's no room left to shift further just by realigning — this
       pushes it past that edge on purpose, letting hero-facts-row's own
       overflow:hidden quietly crop the (already faded-out) right sliver. */
    transform:translateX(16%);
    /* the footage's own studio backdrop (a lighter neutral gray, baked
       into the source) reads as a hard-edged rectangle against the
       page's darker background otherwise — fading it out blends the two
       instead of the video looking like a separate pasted-on box. */
    mask-image:radial-gradient(ellipse 88% 85% at center, black 45%, transparent 98%);
    -webkit-mask-image:radial-gradient(ellipse 88% 85% at center, black 45%, transparent 98%);
  }
  /* descendant selector (not just .hero-stats) so this reliably beats the
     .hero-stats{flex-wrap:wrap} rule further down (max-width:900px block,
     tuned for the plain horizontal stats bar at tablet widths) regardless
     of source order — without it stats overflow the scrim into a second
     unstyled column. */
  .hero-facts-row .hero-stats{
    position:relative;
    z-index:2;
    width:64%;
    max-width:300px;
    margin-top:0;
    /* hero-facts-row's own 32px left padding (added back to cancel its
       negative margin, see above) keeps the TEXT visually aligned with
       the content above — but that same padding was also pushing this
       element's own scrim background in from the edge, leaving a gap of
       bare video showing on the far left where the right side bleeds
       clean to its edge. Pulling the box out with a matching negative
       margin, then adding that 32px back onto this element's own padding
       instead, extends the scrim flush to the screen edge while leaving
       the text sitting at the exact same spot as before. */
    margin-left:-32px;
    padding:12px 20px 12px 48px;
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    justify-content:center;
    background:linear-gradient(to right, rgba(10,11,8,0.95) 0%, rgba(10,11,8,0.82) 65%, transparent 100%);
  }
  /* keeps the label text from stretching toward the video edge — it wraps
     onto its own extra line instead of reaching further right. */
  .hero-facts-row .hero-stats div{max-width:190px;}
  .story-bg{
    margin-top:0;
  }
  section{padding:64px 0;}
}
.craft-bg{
  background:
    linear-gradient(100deg, rgba(20,22,17,0.6) 30%, rgba(20,22,17,0.4) 65%, rgba(20,22,17,0.6) 100%),
    url('../images/6bf1f77a-39e0-4de6-8f2c-fde9abcae70f.JPG') center 35%/cover no-repeat;
}
.story-grid{display:grid;grid-template-columns:1.6fr 0.8fr;gap:64px;align-items:start;margin-top:60px;}
.story-grid-full{grid-template-columns:1fr;}
.story-grid-full .story-body{max-width:640px;}
.story-body p{color:var(--steel);line-height:1.9;font-size:16px;margin-bottom:20px;}
.story-body strong{color:var(--bone);font-weight:600;}
.story-panel{background:var(--panel);border:1px solid var(--hairline);padding:32px;position:sticky;top:120px;}
.story-panel .photo{aspect-ratio:4/5;overflow:hidden;margin-bottom:22px;border:1px solid var(--hairline);}
.story-panel .photo img{width:100%;height:100%;object-fit:cover;}
.story-panel h3{font-size:18px;color:var(--bone);margin-bottom:14px;text-transform:uppercase;font-family:'Anton',sans-serif;letter-spacing:0.02em;}
.story-panel ul{list-style:none;}
.story-panel li{font-size:14px;color:var(--steel);padding:12px 0;border-top:1px solid var(--hairline);display:flex;justify-content:space-between;}
.story-panel li span.mono{color:var(--gold);}

/* ---------- STAT / PILLAR GRID ---------- */
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--hairline);margin-top:64px;border:1px solid var(--hairline);}
.stat-row div{background:var(--black);padding:40px 32px;}
.stat-row .num{font-family:'Anton',sans-serif;font-size:44px;color:var(--green-bright);}
.stat-row .lbl{font-size:12px;color:var(--steel);text-transform:uppercase;letter-spacing:0.06em;margin-top:8px;line-height:1.5;}
@media(max-width:800px){.stat-row{grid-template-columns:1fr;}}

.pillar-list{margin-top:56px;}
.pillar-row{
  display:grid;grid-template-columns:96px 1fr 1.4fr;gap:32px;
  padding:34px 0;border-top:1px solid var(--hairline);
  align-items:center;transition:background .2s;
}
.pillar-row:last-child{border-bottom:1px solid var(--hairline);}
.pillar-row:hover{background:rgba(63,174,88,0.03);}
.pillar-icon-wrap{
  width:96px;height:96px;
  display:flex;align-items:center;justify-content:center;
}
.pillar-icon{width:72px;height:72px;filter:invert(64%) sepia(38%) saturate(600%) hue-rotate(75deg) brightness(95%);}
.pillar-row h3{font-size:20px;color:var(--bone);text-transform:uppercase;letter-spacing:0.02em;}
.pillar-row p{color:var(--steel);font-size:15px;line-height:1.7;}
@media(max-width:800px){
  .pillar-row{grid-template-columns:76px 1fr;align-items:center;}
  .pillar-icon-wrap{width:76px;height:76px;}
  .pillar-icon{width:56px;height:56px;}
  .pillar-row h3{grid-column:2;}
  .pillar-row p{grid-column:1/-1;margin-top:16px;}
}

/* ---------- PROCESS ROWS ---------- */
.process-list{margin-top:64px;}
.process-row{display:grid;grid-template-columns:90px 1fr 1.4fr;gap:32px;padding:34px 0;border-top:1px solid var(--hairline);align-items:start;transition:background .2s;}
.process-row:last-child{border-bottom:1px solid var(--hairline);}
.process-row:hover{background:rgba(63,174,88,0.03);}
.process-num{font-family:'JetBrains Mono',monospace;color:var(--green-bright);font-size:14px;padding-top:4px;}
.process-row h3{font-size:22px;color:var(--bone);}
.process-row p{color:var(--steel);line-height:1.7;font-size:15px;}
@media(max-width:800px){.process-row{grid-template-columns:1fr;gap:10px;padding:20px 0;}}

/* ---------- PRODUCT / BUILD CARDS ---------- */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--hairline);margin-top:56px;border:1px solid var(--hairline);}
.product-card{background:var(--charcoal);display:flex;flex-direction:column;}
.product-card .thumb{aspect-ratio:4/5;overflow:hidden;background:#0d0f0a;}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.product-card:hover .thumb img{transform:scale(1.05);}
.product-card .info{padding:22px;flex:1;display:flex;flex-direction:column;}
.product-card h3{font-size:15px;color:var(--bone);text-transform:uppercase;letter-spacing:0.02em;font-family:'Inter',sans-serif;font-weight:700;}
.product-card .desc{color:var(--steel-dim);font-size:13px;margin-top:8px;line-height:1.6;flex:1;}
.product-card .price{margin-top:16px;font-family:'JetBrains Mono',monospace;color:var(--gold);font-size:15px;}
.product-card .badge{
  display:inline-block;margin-top:10px;font-size:10px;letter-spacing:0.1em;
  text-transform:uppercase;color:var(--steel-dim);border:1px solid var(--hairline);
  padding:4px 10px;width:fit-content;
}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:520px){.product-grid{grid-template-columns:1fr;}}

/* ---------- GALLERY ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;margin-top:56px;}
.gallery-item{position:relative;overflow:hidden;aspect-ratio:1/1;cursor:pointer;background:#0d0f0a;}
.gallery-item.tall{aspect-ratio:1/1.35;}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease, filter .3s ease;filter:grayscale(0.15) contrast(1.05);}
.gallery-item:hover img{transform:scale(1.06);filter:grayscale(0) contrast(1.05);}
@media(max-width:1100px){.gallery-grid{grid-template-columns:repeat(4,1fr);}}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:650px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:400px){.gallery-grid{grid-template-columns:1fr;}}

.lightbox-overlay{
  position:fixed;inset:0;z-index:999;
  background:rgba(5,6,4,0.94);
  display:flex;align-items:center;justify-content:center;padding:60px;
  opacity:0;visibility:hidden;transition:opacity .25s ease;
}
.lightbox-overlay.active{opacity:1;visibility:visible;}
.lightbox-overlay img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 30px 80px rgba(0,0,0,0.7);}
.lightbox-close{
  position:absolute;top:20px;right:28px;
  width:44px;height:44px;display:flex;align-items:center;justify-content:center;
  font-size:30px;line-height:1;color:var(--bone);background:none;border:1px solid var(--hairline);
  cursor:pointer;transition:color .2s,border-color .2s;
}
.lightbox-close:hover{color:var(--green-bright);border-color:var(--green-bright);}

/* ---------- TESTIMONIALS ---------- */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--hairline);margin-top:56px;border:1px solid var(--hairline);}
.review-card{background:var(--charcoal);padding:32px;display:flex;flex-direction:column;}
.review-card .photo{aspect-ratio:16/10;overflow:hidden;margin:-32px -32px 24px;background:#0d0f0a;}
.review-card .photo img{width:100%;height:100%;object-fit:cover;filter:grayscale(0.35) contrast(1.08) brightness(0.92);transition:filter .3s ease;}
.review-card:hover .photo img{filter:grayscale(0) contrast(1.05) brightness(1);}
.review-card .stars{color:var(--green-bright);font-size:14px;letter-spacing:3px;font-family:'JetBrains Mono',monospace;margin-bottom:18px;}
.review-card p.quote{color:var(--bone);font-size:15px;line-height:1.75;flex:1;}
.review-card .attribution{margin-top:22px;padding-top:16px;border-top:1px solid var(--hairline);display:flex;justify-content:space-between;align-items:baseline;}
.review-card .attribution .name{font-family:'Inter',sans-serif;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:0.03em;color:var(--bone);}
.review-card .attribution .src{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--steel-dim);text-transform:uppercase;}
@media(max-width:900px){.review-grid{grid-template-columns:1fr;}}

.featured-quote{background:var(--panel);border:1px solid var(--hairline);padding:56px;margin-top:56px;position:relative;}
.featured-quote::before{content:"“";font-family:'Anton',sans-serif;font-size:120px;color:var(--green-dim);position:absolute;top:-10px;left:24px;opacity:0.5;line-height:1;}
.featured-quote p{color:var(--bone);font-size:19px;line-height:1.8;max-width:760px;position:relative;z-index:1;}
.featured-quote .attribution{margin-top:26px;font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--green-bright);}
.featured-quote .attribution span{color:var(--steel-dim);}

/* ---------- CTA ---------- */
.cta{
  text-align:center;padding:150px 0;
  background:linear-gradient(rgba(10,11,8,0.85), rgba(10,11,8,0.85)), url('../images/services-photo.jpg') center 30%/cover no-repeat;
}
.cta-flame{
  background:linear-gradient(rgba(10,11,8,0.5), rgba(10,11,8,0.5)), url('../images/gallery-flame-02.jpg') center 30%/cover no-repeat;
}
.cta-black{
  background:linear-gradient(rgba(10,11,8,0.85), rgba(10,11,8,0.85)), url('../images/gallery-black-06.jpg') center 30%/160% no-repeat;
}
.cta h2{font-size:clamp(32px,5.5vw,58px);color:var(--bone);max-width:760px;margin:0 auto;line-height:1.06;}
.cta h2 .accent{color:var(--green-bright);}
.cta p{color:var(--steel);margin:22px auto 0;max-width:480px;font-size:16px;}
.cta .hero-actions{justify-content:center;margin-top:36px;}

/* ---------- FAQ ---------- */
.faq-list{margin-top:48px;}
.faq-item{border-top:1px solid var(--hairline);padding:26px 0;}
.faq-list .faq-item:last-child{border-bottom:1px solid var(--hairline);}
.faq-item summary{
  cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;
  font-family:'Inter',sans-serif;font-weight:700;font-size:15px;color:var(--bone);
  text-transform:uppercase;letter-spacing:0.02em;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-family:'Anton',sans-serif;font-size:20px;color:var(--green-bright);margin-left:16px;flex-shrink:0;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{color:var(--steel);font-size:15px;line-height:1.75;margin-top:16px;max-width:760px;}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:64px;margin-top:56px;align-items:start;}
.contact-info h3{font-size:20px;color:var(--bone);margin-bottom:16px;text-transform:uppercase;}
.contact-info p{color:var(--steel);line-height:1.8;font-size:15px;margin-bottom:32px;}
.contact-detail{padding:18px 0;border-top:1px solid var(--hairline);}
.contact-detail:last-child{border-bottom:1px solid var(--hairline);}
.contact-detail .lbl{font-size:11px;color:var(--steel-dim);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:6px;}
.contact-detail .val{font-size:16px;color:var(--bone);}
.contact-detail a:hover{color:var(--green-bright);}

.contact-form{display:flex;flex-direction:column;gap:20px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.form-field{display:flex;flex-direction:column;gap:8px;}
.form-field.full{grid-column:1/-1;}
.form-field label{font-size:11px;color:var(--steel-dim);text-transform:uppercase;letter-spacing:0.08em;}
.form-field input,.form-field select,.form-field textarea{
  background:var(--panel);border:1px solid var(--hairline);color:var(--bone);
  padding:14px 16px;font-family:'Inter',sans-serif;font-size:14px;
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:1px solid var(--green-dim);border-color:var(--green-dim);}
.form-field textarea{resize:vertical;min-height:130px;}
.form-submit{
  background:var(--green);color:var(--black);border:1px solid var(--green);
  padding:16px 32px;font-family:'Inter',sans-serif;font-weight:700;font-size:13px;
  letter-spacing:0.08em;text-transform:uppercase;cursor:pointer;transition:all .2s;width:fit-content;
}
.form-submit:hover{background:transparent;color:var(--green-bright);}
.form-submit:disabled{opacity:0.6;cursor:default;}
.gear-checklist{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;}
.gear-check{
  display:flex;align-items:center;gap:10px;padding:14px 16px;
  background:var(--panel);border:1px solid var(--hairline);
  color:var(--bone);font-size:14px;cursor:pointer;transition:border-color .2s;
}
.gear-check:hover{border-color:var(--green-dim);}
.gear-check input{accent-color:var(--green);width:16px;height:16px;flex-shrink:0;}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr;}.form-row{grid-template-columns:1fr;}}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--hairline);padding:64px 0 40px;position:relative;overflow:hidden;}
footer .wrap{position:relative;}
.footer-watermark{
  position:absolute;left:50%;bottom:-40px;transform:translateX(-50%);
  width:520px;max-width:70vw;height:auto;
  opacity:0.08;pointer-events:none;
}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;}
footer .logo{margin-bottom:16px;}
.footer-desc{color:var(--steel-dim);font-size:14px;max-width:280px;line-height:1.7;}
footer h4{font-size:12px;text-transform:uppercase;letter-spacing:0.1em;color:var(--steel);margin-bottom:18px;}
footer ul{list-style:none;}
footer li{margin-bottom:10px;}
footer a{color:var(--steel-dim);font-size:14px;transition:color .2s;}
footer a:hover{color:var(--green-bright);}
.footer-bottom{
  margin-top:60px;padding-top:24px;border-top:1px solid var(--hairline);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:12px;color:var(--steel-dim);font-family:'JetBrains Mono',monospace;
}

@media(max-width:900px){
  .story-grid{grid-template-columns:1fr;}
  .story-panel{position:static;}
  .footer-grid{grid-template-columns:1fr;gap:32px;}
  .hero-stats{flex-wrap:wrap;}
}
@media(max-width:600px){
  section{padding:56px 0;}
  .page-header{padding:150px 0 56px;}
  .cta{padding:96px 0;}
  footer{padding:48px 0 28px;}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}
:focus-visible{outline:2px solid var(--green-bright);outline-offset:3px;}

/* auction: footer legal links */
.footer-legal{display:flex;gap:18px;}.footer-legal a{color:inherit;text-decoration:none;}
.footer-legal a:hover{color:var(--green-bright);}
@media(max-width:700px){.footer-bottom{flex-direction:column;gap:12px;}}
