/*
Theme Name: Al Chami Modern Industry
Theme URI: https://chamilb.com/
Author: Al Chami Modern Industry
Description: Custom dark fire-inspired WooCommerce theme for Al Chami Modern Industry.
Version: 1.0.0
Text Domain: al-chami-industry
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,500&family=Barlow+Condensed:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#050505; --bg2:#090909; --panel:#0d0d0d; --panel2:#12100e;
  --line:rgba(237,106,26,.20); --line-strong:rgba(237,106,26,.48);
  --orange:#ea6718; --orange2:#ff8a28; --amber:#ffb14c;
  --cream:#f3eee7; --muted:#a99f95; --white:#fffdfa; --max:1450px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#030303}
body{margin:0;background:#030303;color:var(--white);font-family:"Barlow",Arial,sans-serif;line-height:1.55;overflow-x:hidden}
body::before{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(circle at 15% 0%,rgba(255,105,21,.08),transparent 28%),
    radial-gradient(circle at 90% 35%,rgba(232,83,5,.055),transparent 28%),
    linear-gradient(#050505,#030303 75%);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}
button{color:inherit}
.site-shell{min-height:100%;background:
  linear-gradient(180deg,rgba(255,125,32,.015),transparent 700px),
  #050505}
.container{width:min(var(--max),calc(100% - 60px));margin:auto}
.route-page[hidden]{display:none!important}
.route-page{animation:pageIn .45s ease both}
@keyframes pageIn{from{opacity:.2}to{opacity:1}}

.eyebrow{
  color:var(--orange2);font-size:11px;font-weight:700;letter-spacing:.25em;
  text-transform:uppercase
}
.display{
  font-family:"Barlow Condensed",Impact,sans-serif;
  font-weight:800;letter-spacing:.005em;text-transform:uppercase;line-height:.88
}
.section-title,.serif{
  font-family:"Barlow Condensed",Arial,sans-serif;
  font-weight:600;letter-spacing:-.02em;line-height:.98
}
.muted{color:var(--muted)}
.orange{color:var(--orange2)}

/* Header */
.header{
  position:sticky;top:0;z-index:80;
  background:rgba(4,4,4,.84);backdrop-filter:blur(18px) saturate(1.1);
  border-bottom:1px solid rgba(236,101,18,.17);
}
.header::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,126,36,.75),transparent);
  opacity:.42
}
.header-inner{height:94px;display:flex;align-items:center;gap:30px}
.brand{display:flex;align-items:center;min-width:280px}
.brand img{width:250px;max-height:70px;object-fit:contain;object-position:left center;filter:drop-shadow(0 0 16px rgba(255,75,20,.08))}
.nav{margin-left:auto;display:flex;align-items:center;gap:34px}
.nav a{
  position:relative;padding:35px 0 31px;
  color:#ddd6ce;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase
}
.nav a::after{
  content:"";position:absolute;left:50%;right:50%;bottom:20px;height:2px;
  background:linear-gradient(90deg,var(--orange),var(--orange2));
  box-shadow:0 0 9px rgba(255,110,22,.6);transition:.32s ease
}
.nav a:hover,.nav a.active{color:#fff}
.nav a:hover::after,.nav a.active::after{left:0;right:0}
.quote-btn{
  margin-left:10px;border:1px solid rgba(255,133,43,.72);padding:13px 20px;
  text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:700;
  transition:.3s;background:linear-gradient(180deg,rgba(244,112,26,.04),rgba(0,0,0,.08))
}
.quote-btn:hover{border-color:#ff9b4c;box-shadow:0 0 28px rgba(240,91,0,.18);transform:translateY(-1px)}
.menu-toggle{display:none;margin-left:auto;background:none;border:0;font-size:27px;cursor:pointer}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 23px;
  border:1px solid #703b1c;background:rgba(18,12,9,.82);color:#fff;
  text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:.09em;
  cursor:pointer;transition:transform .25s,box-shadow .25s,border-color .25s,background .25s
}
.btn.primary{
  background:linear-gradient(180deg,#f58029,#ca4b00);border-color:#ff9b4c;
  box-shadow:0 10px 34px rgba(213,78,0,.18)
}
.btn:hover{transform:translateY(-3px);border-color:#f27b2c;box-shadow:0 13px 36px rgba(224,82,7,.2)}

/* Hero */
.hero{
  position:relative;isolation:isolate;min-height:720px;overflow:hidden;
  border-bottom:1px solid rgba(232,105,17,.18)
}
.hero-bg{
  position:absolute;inset:0;z-index:-4;background-image:url("assets/images/site/home-hero.webp");
  background-size:cover;background-position:center center;transform:scale(1.018);
  animation:heroBreath 14s ease-in-out infinite alternate
}
@keyframes heroBreath{to{transform:scale(1.07)}}
.hero::before{
  content:"";position:absolute;inset:0;z-index:-3;
  background:
    linear-gradient(90deg,rgba(0,0,0,.65),rgba(0,0,0,.12) 40%,rgba(0,0,0,.08) 67%,rgba(0,0,0,.36)),
    radial-gradient(ellipse at center 46%,transparent 15%,rgba(0,0,0,.1) 55%,rgba(0,0,0,.7) 100%),
    linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.3) 55%,#070707 96%)
}
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:-110px;height:260px;z-index:-1;
  background:radial-gradient(ellipse at 52% 95%,rgba(255,95,0,.2),rgba(255,87,0,.07) 28%,transparent 68%);
  filter:blur(8px);animation:fireGlow 3.2s ease-in-out infinite alternate
}
@keyframes fireGlow{from{opacity:.58;transform:scaleX(.94)}to{opacity:1;transform:scaleX(1.08)}}
.hero-content{
  position:relative;z-index:8;max-width:790px;margin:auto;padding-top:138px;text-align:center
}
.hero .eyebrow{text-shadow:0 1px 12px #000}
.hero h1{
  font-size:92px;margin:12px 0 18px;color:#f7f2eb;
  text-shadow:0 3px 25px rgba(0,0,0,.9)
}
.hero h1 em{
  display:inline-block;font-style:normal;color:var(--orange2);
  background:linear-gradient(180deg,#ff9841,#dc5404);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 10px rgba(255,95,0,.18))
}
.hero-copy{max-width:640px;margin:0 auto 28px;color:#d6cfc6;font-size:17px;text-shadow:0 2px 14px #000}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.curve{
  position:absolute;z-index:10;left:-7%;right:-7%;bottom:94px;height:185px;pointer-events:none
}
.curve svg{width:100%;height:100%;overflow:visible}
.curve path.main{
  fill:none;stroke:#ff7721;stroke-width:2.1;
  filter:drop-shadow(0 0 5px #ff6812) drop-shadow(0 0 20px rgba(255,83,0,.55));
  stroke-dasharray:2200;stroke-dashoffset:2200;animation:drawCurve 2.2s cubic-bezier(.2,.8,.2,1) .35s forwards
}
.curve path.soft{fill:none;stroke:rgba(255,112,25,.33);stroke-width:1.2;filter:blur(5px)}
@keyframes drawCurve{to{stroke-dashoffset:0}}
.fire-effects{position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden}
.ember{
  position:absolute;bottom:-18px;border-radius:50%;background:#ff9b3d;
  box-shadow:0 0 9px #ff5a00,0 0 18px rgba(255,87,0,.6);
  animation:emberRise var(--dur) linear var(--delay) infinite;
  opacity:0
}
@keyframes emberRise{
  0%{opacity:0;transform:translate3d(0,15px,0) scale(.5)}
  12%{opacity:.85}
  70%{opacity:.55}
  100%{opacity:0;transform:translate3d(var(--drift),-620px,0) scale(1.35)}
}
.stats{position:absolute;z-index:14;left:0;right:0;bottom:18px}
.stats-inner{
  display:grid;grid-template-columns:repeat(5,1fr);
  border-top:1px solid rgba(244,111,20,.2);border-bottom:1px solid rgba(244,111,20,.14);
  background:rgba(4,4,4,.58);backdrop-filter:blur(14px)
}
.stat{padding:18px 20px;display:flex;align-items:center;gap:13px;border-right:1px solid rgba(244,111,20,.16)}
.stat:last-child{border-right:0}
.stat b{font-family:"Barlow Condensed";font-weight:600;font-size:26px;color:#f2e9dd}
.stat small{display:block;color:#a89c90;font-size:9px;letter-spacing:.13em;text-transform:uppercase}
.icon{
  width:32px;height:32px;border:1px solid #ad5a22;border-radius:50%;
  display:grid;place-items:center;color:#f0832a;font-size:13px
}

/* Page hero */
.page-hero{
  isolation:isolate;position:relative;min-height:530px;display:flex;align-items:center;overflow:hidden;
  border-bottom:1px solid rgba(231,104,19,.18)
}
.page-hero-art{position:absolute;inset:0;z-index:-3;background-size:cover;background-position:center;animation:heroBreath 16s ease-in-out infinite alternate}
.product-art{background-image:url("assets/images/site/wood-stove.webp");background-position:center 55%}
.about-art{background-image:url("assets/images/site/custom-fabrication.webp");background-position:center 38%}
.contact-art{background-image:url("assets/images/site/residential-fireplace.webp");background-position:center 52%}
.page-hero::before{
  content:"";position:absolute;inset:0;z-index:-2;
  background:linear-gradient(90deg,rgba(3,3,3,.94) 0%,rgba(3,3,3,.7) 42%,rgba(3,3,3,.18) 78%),linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.6))
}
.page-hero::after{
  content:"";position:absolute;inset:auto 0 0;height:170px;z-index:-1;
  background:radial-gradient(ellipse at center bottom,rgba(255,87,0,.14),transparent 65%);
  animation:fireGlow 4s ease-in-out infinite alternate
}
.page-hero .container{position:relative;z-index:5}
.page-hero h1{font-size:78px;margin:12px 0 20px}
.page-hero .display span{color:var(--orange2)}
.page-hero p{max-width:640px;color:#c8beb4;font-size:17px}
.page-curve{bottom:-32px;height:145px}

/* Sections */
.section{position:relative;padding:92px 0;border-bottom:1px solid rgba(232,105,17,.12)}
.section.compact{padding:62px 0}
.section-title{font-size:55px;margin:9px 0 18px}
.story{
  min-height:610px;display:grid;grid-template-columns:39% 61%;align-items:center;
  background:
    linear-gradient(90deg,#080808 0 36%,rgba(0,0,0,.08) 49%),
    url("assets/images/site/story-fireplace-mountain.webp") center/cover no-repeat
}
.story::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:130px;
  border-bottom:1.8px solid rgba(246,108,22,.86);border-radius:0 0 50% 50%;
  filter:drop-shadow(0 0 13px rgba(255,88,0,.32));pointer-events:none
}
.story-card{
  margin-left:max(30px,calc((100vw - var(--max))/2));max-width:520px;padding:46px;
  background:linear-gradient(180deg,rgba(7,7,7,.97),rgba(7,7,7,.82));
  border:1px solid rgba(231,104,19,.24);box-shadow:0 26px 80px rgba(0,0,0,.42)
}
.story .section-title{font-size:59px}

.craft-grid{display:grid;grid-template-columns:1.02fr 1.18fr .78fr;grid-template-rows:220px 175px;gap:10px}
.craft-intro{
  grid-row:1/3;padding:37px 32px;background:linear-gradient(135deg,#0b0b0b,#15100d);border:1px solid #2c1a10
}
.craft-intro h2{font-size:46px}
.tile{position:relative;overflow:hidden;border:1px solid #342015;background:#111}
.tile img{width:100%;height:100%;object-fit:cover;filter:saturate(.88) brightness(.7);transition:.55s cubic-bezier(.2,.7,.2,1)}
.tile:hover img{transform:scale(1.06);filter:saturate(1.07) brightness(.88)}
.tile .cap{position:absolute;left:18px;bottom:16px;z-index:2}
.tile .cap b{font-size:13px;text-transform:uppercase;letter-spacing:.09em;color:#ff922f}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 22%,rgba(0,0,0,.8) 100%)}
.tile.large{grid-row:1/3}

.process-wrap{display:grid;grid-template-columns:260px 1fr;gap:50px;align-items:center}
.timeline{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.timeline::before{content:"";position:absolute;left:4%;right:4%;top:30px;height:1px;background:linear-gradient(90deg,transparent,#c86420 8% 92%,transparent)}
.step{position:relative;text-align:center;z-index:2}
.step .dot{
  width:60px;height:60px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;
  border:1px solid #8a441d;background:#0b0b0b;box-shadow:0 0 0 7px rgba(10,10,10,.92),0 0 18px rgba(255,110,24,.08)
}
.step b{display:block;color:#f6eee4;font-size:11px;text-transform:uppercase}
.step small{color:#8f8579;font-size:9px}

.projects-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:28px}
.project-mosaic{display:grid;grid-template-columns:1.2fr .9fr .65fr;grid-template-rows:260px 160px;gap:10px}
.project-mosaic .tile:first-child{grid-row:1/3}
.project-mosaic .tile:nth-child(2){grid-column:2/4}

.solutions{display:grid;grid-template-columns:260px repeat(5,1fr);gap:10px}
.solution-intro{padding:30px 24px;border:1px solid #2f1c10;background:#0b0b0b}
.solution-card{
  min-height:180px;padding:30px 18px;display:flex;flex-direction:column;justify-content:center;text-align:center;
  border:1px solid #392115;background:radial-gradient(circle at 50% 30%,#1c110b,#0c0c0c 70%);
  transition:.35s cubic-bezier(.2,.7,.2,1)
}
.solution-card:hover{transform:translateY(-6px);border-color:#b75b21;box-shadow:0 20px 40px rgba(0,0,0,.25),0 0 24px rgba(235,96,11,.07)}
.solution-icon{font-size:34px;color:#f2852c;margin-bottom:12px}
.solution-card b{font-size:12px;text-transform:uppercase;letter-spacing:.08em}

.product-strip{display:grid;grid-template-columns:260px 1fr;gap:16px;align-items:start}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.products-grid.full{grid-template-columns:repeat(3,1fr);gap:18px}
.product-card{
  background:linear-gradient(180deg,#15100d,#0a0a0a);border:1px solid #362115;overflow:hidden;
  transition:.35s cubic-bezier(.2,.7,.2,1)
}
.product-card:hover{transform:translateY(-7px);border-color:#98501f;box-shadow:0 22px 50px rgba(0,0,0,.36),0 0 26px rgba(234,103,24,.07)}
.product-img{aspect-ratio:1.28/1;background:#0d0d0d;overflow:hidden}
.product-img img{width:100%;height:100%;object-fit:cover;filter:brightness(.85) saturate(.9);transition:.55s}
.product-card:hover .product-img img{transform:scale(1.055);filter:brightness(1) saturate(1)}
.product-body{padding:17px}
.product-cat{font-size:10px;color:var(--orange2);text-transform:uppercase;letter-spacing:.12em}
.product-name{font-family:"Barlow Condensed";font-size:22px;font-weight:600;margin:4px 0 10px}
.product-price{font-size:14px;color:#f5e7d9;margin-bottom:12px}
.product-body .btn{min-height:38px;padding:0 14px;font-size:9px}
.loading{grid-column:1/-1;padding:40px;text-align:center;color:#9a8f84;border:1px dashed #392215}

/* Home lower cinematic */
.cinema-split{
  display:grid;grid-template-columns:1fr .8fr 1fr;min-height:420px;
  border-top:1px solid #4b2914;border-bottom:1px solid #4b2914;background:#070707
}
.cinema-img{background-size:cover;background-position:center;filter:saturate(.9) brightness(.76)}
.cinema-img.fireplace{background-image:url("assets/images/site/warm-fireplace.webp")}
.cinema-img.welder{background-image:url("assets/images/site/craftsman-at-work.webp")}
.cinema-copy{
  padding:55px 36px;text-align:center;display:flex;flex-direction:column;justify-content:center;
  background:radial-gradient(circle at center,rgba(230,91,9,.11),transparent 65%)
}
.cinema-copy h2{font-size:44px;margin:10px 0 16px}

/* Products */
.product-intro-band{padding-top:42px;padding-bottom:42px;background:linear-gradient(180deg,#080808,#0c0907)}
.visual-band{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.visual-band img{width:100%;height:190px;object-fit:cover;border:1px solid #402417;filter:saturate(.9) contrast(1.05)}
.catalog-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:26px}
.catalog-head>div:first-child{max-width:650px}
.filterbar{display:flex;flex-wrap:wrap;gap:8px}
.filterbar button{
  border:1px solid #452719;background:#0b0b0b;color:#bcae9f;padding:10px 14px;cursor:pointer;
  text-transform:uppercase;font-size:9px;letter-spacing:.1em
}
.filterbar button.active,.filterbar button:hover{border-color:#c96320;color:#fff;background:#1a100a}
.image-callout{
  display:grid;grid-template-columns:1.15fr .85fr;min-height:430px;border-top:1px solid #4a2611;border-bottom:1px solid #4a2611;background:#080808
}
.image-callout-media{overflow:hidden}
.image-callout-media img{width:100%;height:100%;object-fit:cover;filter:brightness(.78) saturate(.9)}
.image-callout-copy{
  padding:72px 7vw;display:flex;flex-direction:column;justify-content:center;
  background:radial-gradient(circle at 0 50%,rgba(229,90,7,.13),transparent 50%)
}
.image-callout-copy h2{font-size:55px;margin:8px 0 18px}

/* About */
.about-split{display:grid;grid-template-columns:1fr 1.1fr;gap:26px;align-items:stretch}
.about-photo{
  min-height:500px;background:
    linear-gradient(180deg,transparent 55%,rgba(0,0,0,.45)),
    url("assets/images/site/factory-sunset.webp") center/cover no-repeat;
  border:1px solid #362115
}
.about-gallery{
  display:grid;grid-template-columns:1.05fr repeat(4,1fr);min-height:410px;
  border-top:1px solid #3a2114;border-bottom:1px solid #3a2114;background:#080808
}
.about-gallery-copy{padding:54px 38px;display:flex;flex-direction:column;justify-content:center}
.about-gallery-copy h2{font-size:48px;margin:8px 0 18px}
.about-gallery>img{width:100%;height:100%;object-fit:cover;filter:saturate(.82) brightness(.73);border-left:1px solid #2e1b12;transition:.45s}
.about-gallery>img:hover{filter:saturate(1) brightness(.94)}
.values-intro{text-align:center;max-width:760px;margin:0 auto 34px}
.values{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.value{padding:34px 18px;border:1px solid #352014;background:#0d0d0d;text-align:center;display:grid;gap:7px}
.legacy-banner{display:grid;grid-template-columns:1.4fr .8fr;min-height:480px;background:#070707;border-top:1px solid #4a2611;border-bottom:1px solid #4a2611}
.legacy-media{background:linear-gradient(90deg,rgba(0,0,0,.1),rgba(0,0,0,.74)),url("assets/images/site/factory-sunset.webp") center/cover no-repeat}
.legacy-copy{padding:66px 7vw;display:flex;flex-direction:column;justify-content:center}
.legacy-copy h2{font-size:54px;margin:10px 0 20px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:34px}
.contact-card{background:#0d0d0d;border:1px solid #352014;padding:34px}
.contact-info-card{overflow:hidden;padding-top:0}
.contact-photo{height:230px;margin:0 -34px 32px;overflow:hidden;border-bottom:1px solid #422313}
.contact-photo img{width:100%;height:100%;object-fit:cover;filter:brightness(.84) saturate(.95)}
.contact-list{display:grid;gap:19px;margin-top:26px}
.contact-item{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start}
.form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form .full{grid-column:1/-1}
.field{width:100%;background:#070707;border:1px solid #3b2618;color:#fff;padding:14px 15px;outline:none}
.field:focus{border-color:#d86a1a;box-shadow:0 0 0 2px rgba(216,106,26,.08)}
textarea.field{min-height:160px;resize:vertical}
.form-status{min-height:20px;color:#e98a3c;font-size:12px}
.contact-visual-band{
  display:grid;grid-template-columns:.9fr 1.1fr;min-height:380px;
  background:linear-gradient(90deg,#080808,#120b07);border-top:1px solid #4a2611;border-bottom:1px solid #4a2611
}
.contact-visual-copy{padding:62px 7vw;display:flex;flex-direction:column;justify-content:center}
.contact-visual-copy h2{font-size:50px;margin:10px 0 16px}
.contact-visual-band img{width:100%;height:100%;object-fit:cover;filter:brightness(.78) saturate(.92)}

/* Footer */
.footer{padding:52px 0 18px;background:#060606;border-top:1px solid rgba(229,100,19,.17)}
.footer-grid{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.35fr;gap:34px}
.footer .brand{min-width:0;margin-bottom:18px}
.footer .brand img{width:280px}
.footer p,.footer a{display:block;color:#a89d92;font-size:12px;margin:6px 0}
.footer a:hover{color:#f38a34}
.footer h4{font-size:11px;color:#f27a25;text-transform:uppercase;letter-spacing:.14em;margin:6px 0 18px}
.footer-bottom{
  margin-top:40px;padding-top:18px;border-top:1px solid #1d1713;display:flex;justify-content:space-between;
  color:#6f665f;font-size:10px
}

/* Reveal and motion */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
.reveal.in-view{opacity:1;transform:none}
.reveal.delay-1{transition-delay:.08s}.reveal.delay-2{transition-delay:.16s}.reveal.delay-3{transition-delay:.24s}
.fire-divider{
  height:1px;background:linear-gradient(90deg,transparent,#ed6a1a 22%,#ffb04a 50%,#ed6a1a 78%,transparent);
  box-shadow:0 0 16px rgba(244,92,5,.35)
}


/* Product quick view */
.product-modal{
  position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;
  padding:24px;background:rgba(0,0,0,.82);backdrop-filter:blur(12px)
}
.product-modal.open{display:flex}
.product-modal-card{
  width:min(920px,100%);max-height:90vh;overflow:auto;
  display:grid;grid-template-columns:1fr 1fr;background:#0a0a0a;
  border:1px solid rgba(234,103,24,.45);box-shadow:0 30px 90px rgba(0,0,0,.7),0 0 55px rgba(234,103,24,.09)
}
.product-modal-media{min-height:420px;background:#111;overflow:hidden}
.product-modal-media img{width:100%;height:100%;object-fit:cover}
.product-modal-copy{padding:38px;position:relative}
.product-modal-close{
  position:absolute;right:18px;top:18px;width:42px;height:42px;border:1px solid #4c2b18;
  background:#080808;color:#fff;cursor:pointer;font-size:21px
}
.product-modal-copy h3{font-family:"Barlow Condensed";font-size:44px;line-height:.95;margin:10px 48px 12px 0}
.product-modal-copy .modal-cat{color:#ff8a28;text-transform:uppercase;letter-spacing:.13em;font-size:10px;font-weight:700}
.product-modal-copy .modal-price{font-size:18px;color:#fff0e0;margin:12px 0 18px}
.product-modal-copy p{color:#a99f95}
.product-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}
@media(max-width:720px){
  .product-modal{padding:12px}
  .product-modal-card{grid-template-columns:1fr}
  .product-modal-media{min-height:260px}
  .product-modal-copy{padding:26px}
  .product-modal-copy h3{font-size:36px}
}


/* Global ambient background motion */
body{
  position:relative;
}
body::before{
  animation:ambientGradient 18s ease-in-out infinite alternate;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.22;
  background:
    radial-gradient(circle at 20% 18%,rgba(255,93,0,.10),transparent 22%),
    radial-gradient(circle at 78% 62%,rgba(255,133,40,.07),transparent 28%),
    radial-gradient(circle at 48% 88%,rgba(255,72,0,.05),transparent 26%);
  filter:blur(34px);
  animation:ambientDrift 22s ease-in-out infinite alternate;
}
@keyframes ambientGradient{
  0%{background-position:0% 0%,100% 40%,0 0}
  50%{background-position:7% 3%,94% 44%,0 0}
  100%{background-position:2% 8%,88% 34%,0 0}
}
@keyframes ambientDrift{
  0%{transform:translate3d(-1.5%,0,0) scale(1)}
  50%{transform:translate3d(1.8%,-1%,0) scale(1.035)}
  100%{transform:translate3d(-.5%,1.5%,0) scale(1.02)}
}

.ambient-fire{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  overflow:hidden;
}
.ambient-fire::before,
.ambient-fire::after{
  content:"";
  position:absolute;
  width:44vw;
  height:44vw;
  min-width:420px;
  min-height:420px;
  border-radius:50%;
  filter:blur(70px);
  opacity:.08;
  mix-blend-mode:screen;
}
.ambient-fire::before{
  left:-12vw;
  top:12%;
  background:radial-gradient(circle,rgba(255,106,22,.85),rgba(255,60,0,.22) 38%,transparent 72%);
  animation:smokeGlowA 18s ease-in-out infinite alternate;
}
.ambient-fire::after{
  right:-14vw;
  top:48%;
  background:radial-gradient(circle,rgba(255,145,45,.55),rgba(255,70,0,.18) 42%,transparent 72%);
  animation:smokeGlowB 23s ease-in-out infinite alternate;
}
@keyframes smokeGlowA{
  from{transform:translate3d(0,0,0) scale(.94)}
  to{transform:translate3d(8vw,5vh,0) scale(1.13)}
}
@keyframes smokeGlowB{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(-9vw,-6vh,0) scale(1.16)}
}
.ambient-ember{
  position:absolute;
  bottom:-30px;
  width:2px;
  height:2px;
  border-radius:50%;
  background:#ff9a3d;
  box-shadow:0 0 8px #ff6b16,0 0 20px rgba(255,93,0,.45);
  opacity:0;
  animation:ambientEmberRise var(--aDur) linear var(--aDelay) infinite;
}
@keyframes ambientEmberRise{
  0%{opacity:0;transform:translate3d(0,0,0) scale(.4)}
  10%{opacity:.38}
  55%{opacity:.28}
  100%{opacity:0;transform:translate3d(var(--aDrift),-110vh,0) scale(1.3)}
}

/* Subtle moving fireline in dark section backgrounds */
.section::before,
.footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(255,116,31,.18) 20%,rgba(255,166,71,.5) 50%,rgba(255,116,31,.18) 80%,transparent 100%);
  background-size:220% 100%;
  animation:sectionFireLine 8s linear infinite;
  opacity:.34;
}
@keyframes sectionFireLine{
  from{background-position:200% 0}
  to{background-position:-20% 0}
}

/* Slight breathing glow on cards/panels to keep the site alive without distraction */
.product-card,
.contact-card,
.solution-card,
.value{
  position:relative;
}
.product-card::before,
.contact-card::before,
.solution-card::before,
.value::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 50% 0%,rgba(255,114,26,.055),transparent 42%);
  opacity:.35;
  animation:cardWarmth 6.5s ease-in-out infinite alternate;
}
@keyframes cardWarmth{
  from{opacity:.18}
  to{opacity:.52}
}

@media(prefers-reduced-motion:reduce){
  .ambient-fire::before,
  .ambient-fire::after,
  .ambient-ember,
  body::before,
  body::after,
  .section::before,
  .footer::before,
  .product-card::before,
  .contact-card::before,
  .solution-card::before,
  .value::before{
    animation:none!important;
  }
}


/* V5 refinements: rounded geometry, sharper imagery, map and logo fire */
img{
  image-rendering:auto;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.tile,
.story-card,
.product-card,
.contact-card,
.solution-card,
.value,
.about-photo,
.visual-band img,
.image-callout,
.image-callout-media,
.image-callout-copy,
.legacy-banner,
.legacy-media,
.legacy-copy,
.product-modal-card,
.product-modal-media,
.contact-photo,
.about-gallery > img,
.map-frame,
.stats-inner,
.craft-intro,
.solution-intro,
.cinema-img,
.cinema-copy,
.field,
.btn,
.quote-btn,
.dot{
  border-radius:14px;
}
.tile,
.story-card,
.product-card,
.contact-card,
.solution-card,
.value,
.about-photo,
.visual-band img,
.image-callout,
.legacy-banner,
.product-modal-card,
.contact-photo,
.about-gallery > img,
.map-frame,
.craft-intro,
.solution-intro,
.cinema-img,
.cinema-copy{
  overflow:hidden;
}
.btn,.quote-btn,.field{border-radius:9px}
.stats-inner{overflow:hidden}
.product-img{border-radius:13px 13px 0 0;overflow:hidden}
.product-card .product-body{position:relative;z-index:2}
.project-mosaic,.craft-grid,.visual-band,.products-grid{gap:14px}
.location-link{
  display:inline-flex!important;
  align-items:flex-start;
  gap:7px;
  transition:color .25s ease,transform .25s ease;
}
.location-link:hover{color:#f38a34!important;transform:translateX(2px)}

/* Small live fire under the header logo */
.header .brand{
  position:relative;
  overflow:visible;
  padding-bottom:8px;
}
.header .brand::before{
  content:"";
  position:absolute;
  left:38px;
  bottom:2px;
  width:44px;
  height:20px;
  pointer-events:none;
  border-radius:55% 55% 50% 50%;
  background:
    radial-gradient(ellipse at 50% 100%,rgba(255,231,131,.96) 0 12%,transparent 13%),
    radial-gradient(ellipse at 35% 95%,rgba(255,126,24,.95) 0 24%,transparent 25%),
    radial-gradient(ellipse at 67% 95%,rgba(255,70,0,.85) 0 28%,transparent 29%);
  filter:blur(.15px) drop-shadow(0 0 4px rgba(255,106,13,.9)) drop-shadow(0 0 10px rgba(255,70,0,.55));
  transform-origin:50% 100%;
  animation:logoFireA .72s ease-in-out infinite alternate;
  opacity:.95;
}
.header .brand::after{
  content:"";
  position:absolute;
  left:47px;
  bottom:5px;
  width:22px;
  height:27px;
  pointer-events:none;
  border-radius:70% 20% 65% 30%;
  background:linear-gradient(165deg,#fff2ad 0 18%,#ffad2e 35%,#ff5a00 66%,rgba(255,42,0,.1) 100%);
  filter:blur(.45px) drop-shadow(0 0 7px rgba(255,83,0,.75));
  transform:rotate(9deg) scale(.8);
  transform-origin:50% 100%;
  animation:logoFireB .54s ease-in-out infinite alternate;
}
@keyframes logoFireA{
  from{transform:scaleX(.88) scaleY(.82) skewX(-5deg);opacity:.74}
  to{transform:scaleX(1.1) scaleY(1.12) skewX(5deg);opacity:1}
}
@keyframes logoFireB{
  from{transform:rotate(-8deg) scale(.72,.9);opacity:.72}
  to{transform:rotate(12deg) scale(.9,1.18);opacity:1}
}

/* Location map */
.contact-map-section{
  background:
    radial-gradient(circle at 20% 20%,rgba(237,106,26,.055),transparent 28%),
    #070707;
}
.map-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:26px;
}
.map-frame{
  border:1px solid rgba(237,106,26,.42);
  background:#0a0a0a;
  box-shadow:0 24px 60px rgba(0,0,0,.35),0 0 35px rgba(237,106,26,.05);
}
.map-frame iframe{
  width:100%;
  height:460px;
  display:block;
  border:0;
  filter:grayscale(.92) invert(.9) contrast(1.08) hue-rotate(165deg) brightness(.72);
}
@media(max-width:720px){
  .map-head{align-items:flex-start;flex-direction:column}
  .map-frame iframe{height:360px}
  .header .brand::before{left:28px;bottom:1px;width:38px;height:17px}
  .header .brand::after{left:36px;bottom:3px;width:18px;height:23px}
}

/* Responsive */
@media(max-width:1100px){
  .brand{min-width:230px}.brand img{width:220px}
  .nav{display:none}.menu-toggle{display:block}
  .quote-btn{margin-left:auto}
  .header-inner{height:80px}
  .nav.mobile-open{
    display:flex!important;position:absolute;top:80px;left:0;right:0;z-index:90;
    padding:18px 30px 22px;background:rgba(5,5,5,.98);border-bottom:1px solid #3a2115;
    flex-direction:column;align-items:flex-start;gap:3px
  }
  .nav.mobile-open a{width:100%;padding:13px 0}
  .nav.mobile-open a::after{bottom:5px}
  .hero h1{font-size:74px}
  .stats-inner{grid-template-columns:repeat(3,1fr)}.stat:nth-child(n+4){display:none}
  .craft-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.craft-intro{grid-column:1/-1;grid-row:auto}.tile.large{grid-row:auto}
  .process-wrap{grid-template-columns:1fr}.timeline{grid-template-columns:repeat(3,1fr);row-gap:28px}
  .project-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:220px 220px}.project-mosaic .tile:first-child{grid-row:auto}.project-mosaic .tile:nth-child(2){grid-column:auto}
  .solutions{grid-template-columns:1fr 1fr 1fr}.solution-intro{grid-column:1/-1}
  .product-strip{grid-template-columns:1fr}.products-grid,.products-grid.full{grid-template-columns:repeat(2,1fr)}
  .about-split,.contact-grid{grid-template-columns:1fr}
  .about-gallery{grid-template-columns:1fr 1fr 1fr}.about-gallery-copy{grid-column:1/-1}
  .image-callout,.legacy-banner,.contact-visual-band,.cinema-split{grid-template-columns:1fr}
  .image-callout-media,.legacy-media,.contact-visual-band img,.cinema-img{min-height:300px}
  .cinema-img.welder{display:none}
  .visual-band{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr}
  .footer-grid>div:last-child{grid-column:1/-1}
}
@media(max-width:720px){
  .container{width:min(var(--max),calc(100% - 28px))}
  .brand{min-width:0}.brand img{width:190px}
  .quote-btn{display:none}.header-inner{height:72px}.nav.mobile-open{top:72px}
  .hero{min-height:750px}
  .hero-bg{background-position:57% center}
  .hero::before{background:linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.58) 48%,#070707 90%)}
  .hero-content{padding:106px 16px 0}
  .hero h1{font-size:58px}.hero-copy{font-size:14px}
  .curve{bottom:156px;height:125px}
  .stats{bottom:22px}.stats-inner{grid-template-columns:1fr 1fr}.stat:nth-child(3){display:none}
  .section{padding:68px 0}.section-title{font-size:44px}
  .story{display:block;min-height:660px;padding:325px 14px 40px;background-position:68% center}
  .story-card{margin:0;max-width:none;padding:28px}.story .section-title{font-size:46px}
  .craft-grid{grid-template-columns:1fr}.tile{min-height:220px}
  .timeline{grid-template-columns:1fr 1fr}
  .projects-head{display:block}.project-mosaic{grid-template-columns:1fr;grid-template-rows:none}.project-mosaic .tile{min-height:220px}
  .solutions{grid-template-columns:1fr 1fr}.solution-intro{grid-column:1/-1}
  .products-grid,.products-grid.full{grid-template-columns:1fr 1fr}
  .page-hero{min-height:500px}.page-hero h1{font-size:55px}
  .page-hero::before{background:linear-gradient(180deg,rgba(4,4,4,.28),rgba(4,4,4,.93) 76%)}
  .visual-band img{height:150px}
  .about-gallery{grid-template-columns:1fr 1fr}.about-gallery-copy{padding:44px 22px}
  .about-gallery>img{min-height:230px}
  .image-callout-copy,.legacy-copy,.contact-visual-copy{padding:48px 22px}
  .image-callout-copy h2,.legacy-copy h2,.contact-visual-copy h2{font-size:40px}
  .form{grid-template-columns:1fr}
  .values{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
  .footer-bottom{display:block}
}
@media(max-width:480px){
  .brand img{width:165px}.hero h1{font-size:49px}
  .products-grid,.products-grid.full,.solutions,.values{grid-template-columns:1fr}
  .stat{padding:14px 10px}.stat b{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
}

/* V7: logo fire removed */
.header .brand::before,
.header .brand::after{
  content:none !important;
  display:none !important;
}
.header .brand{
  padding-bottom:0 !important;
}


/* V11: brighten hero highlight text */
.hero h1 em{
  color:#ff7a1a !important;
  background:none !important;
  -webkit-background-clip:initial !important;
  background-clip:initial !important;
  -webkit-text-fill-color:#ff7a1a !important;
  filter:none !important;
  text-shadow:
    0 0 10px rgba(255,122,26,.34),
    0 0 24px rgba(255,92,0,.18),
    0 3px 18px rgba(0,0,0,.42) !important;
}


/* WordPress / WooCommerce integration */
.admin-bar .header{top:32px}
@media(max-width:782px){.admin-bar .header{top:46px}}
body{min-height:100vh}.site-shell{position:relative;z-index:0}
.woocommerce-notices-wrapper{width:min(var(--max),calc(100% - 60px));margin:18px auto}
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;margin:0;padding:14px 18px;background:#0d0d0d;border:1px solid rgba(237,106,26,.35);border-radius:10px;color:#eee}
.product-card .product-img{background:linear-gradient(180deg,#16120f,#090909);display:flex;align-items:center;justify-content:center}
.product-card .product-img img{object-fit:contain;padding:8px}
.product-price:empty{display:none}
.shop-empty{grid-column:1/-1;text-align:center;padding:60px;border:1px dashed rgba(237,106,26,.3);border-radius:14px;color:#aaa}
.single-product-shell{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start}
.single-product-image{background:linear-gradient(180deg,#17120f,#090909);border:1px solid #392115;border-radius:16px;padding:28px;overflow:hidden}
.single-product-image img{width:100%;height:auto;object-fit:contain}
.single-product-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:24px 0}
.spec{padding:15px;background:#0c0c0c;border:1px solid #332014;border-radius:10px}.spec small{display:block;color:#8f8579;text-transform:uppercase;letter-spacing:.1em;font-size:9px}.spec b{display:block;margin-top:4px;color:#f5eee7}
.product-description{color:#b7ada3}.product-description p{margin:0 0 15px}
@media(max-width:800px){.single-product-shell{grid-template-columns:1fr}.single-product-meta{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.single-product-meta{grid-template-columns:1fr}}
