/*
Theme Name: Boston Iron Works North
Theme URI: https://bostonironworks.com/
Author: ChatGPT
Description: Custom WordPress theme for Boston Iron Works North, inspired by the Boston Iron Works brand style.
Version: 1.0.2
License: GPL-2.0-or-later
Text Domain: biw-north
*/

:root{
  --biw-green:#173f12;
  --biw-green-2:#214f18;
  --biw-deep:#071008;
  --biw-cream:#f2ebe4;
  --biw-cream-2:#fbf8f3;
  --biw-gold:#f3b71b;
  --biw-orange:#d36d18;
  --biw-text:#24321c;
  --biw-muted:#60684f;
  --biw-white:#ffffff;
  --biw-shadow:0 22px 70px rgba(9,22,10,.25);
  --biw-radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--biw-text);
  font-family:Arial, Helvetica, sans-serif;
  background:var(--biw-cream);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.biw-container{max-width:1180px;margin:0 auto;padding:0 28px}
.biw-serif{font-family:Georgia,"Times New Roman",serif}
.biw-btn{
  display:inline-block;
  background:var(--biw-green);
  color:#fff;
  padding:15px 24px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 16px 32px rgba(23,63,18,.22);
  border:0;
  cursor:pointer;
}
.biw-btn:hover{filter:brightness(1.08)}
.biw-btn--gold{background:var(--biw-gold);color:#fff}

.biw-site-header{
  position:absolute;
  z-index:20;
  top:0;left:0;right:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 34px;
  color:#fff;
}
.biw-logo{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:.85;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:700;
  text-shadow:0 2px 18px rgba(0,0,0,.55);
}
.biw-logo__image{
  width:190px;
  max-width:26vw;
  height:auto;
  filter:drop-shadow(0 3px 12px rgba(0,0,0,.48));
}
.biw-logo .custom-logo{
  width:190px;
  max-width:26vw;
  height:auto;
  filter:drop-shadow(0 3px 12px rgba(0,0,0,.48));
}

.biw-logo__boston{font-size:33px}
.biw-logo__iron{
  display:inline-block;
  margin-top:2px;
  font-size:17px;
  border-top:2px solid rgba(255,255,255,.85);
  border-bottom:2px solid rgba(255,255,255,.85);
  padding:3px 7px;
}
.biw-logo__north{
  display:block;
  margin-top:8px;
  margin-left:4px;
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  font-weight:900;
  letter-spacing:.42em;
  color:var(--biw-gold);
  text-shadow:0 2px 10px rgba(0,0,0,.65);
}
.biw-nav{display:flex;align-items:center;gap:30px;font-weight:700;font-size:15px}
.biw-nav a{opacity:.96}
.biw-nav a:hover{color:var(--biw-gold)}
.biw-nav .current-menu-item a,.biw-nav .biw-active{border-bottom:4px solid var(--biw-orange);padding-bottom:9px}
.biw-nav__cta{
  background:var(--biw-gold);
  color:#fff!important;
  border-radius:999px;
  padding:15px 25px!important;
  box-shadow:0 15px 30px rgba(0,0,0,.22);
  border:0!important;
}

.biw-hero{
  min-height:560px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
  background:linear-gradient(rgba(8,42,21,.67),rgba(8,42,21,.67)), var(--biw-hero-image), linear-gradient(125deg,#142b18 0%,#1b4f2c 34%,#111911 100%);
  background-size:cover;
  background-position:center;
}
.biw-hero:before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(0,0,0,.38),transparent 28%,transparent 70%,rgba(0,0,0,.35));
}
.biw-hero__inner{position:relative;z-index:2;padding:120px 22px 90px}
.biw-eyebrow{text-transform:uppercase;letter-spacing:.72em;font-size:15px;font-weight:700;margin-bottom:28px}
.biw-hero h1{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(48px,6vw,86px);
  letter-spacing:.035em;
  line-height:.95;
  text-transform:uppercase;
  text-shadow:0 6px 35px rgba(0,0,0,.42);
}
.biw-since{margin-top:20px;letter-spacing:.62em;font-size:14px;font-weight:700}
.biw-pill-white{
  display:inline-block;
  margin-top:25px;
  background:#f3f1ec;
  color:var(--biw-green-2);
  border-radius:999px;
  padding:13px 29px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.biw-phone{display:block;font-weight:900;font-size:42px;margin-top:14px;line-height:1;text-shadow:0 4px 24px rgba(0,0,0,.4)}

.biw-trustbar{
  background:linear-gradient(90deg,var(--biw-green),#245919);
  color:#fff;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  padding:19px max(24px,calc((100vw - 1180px)/2));
}
.biw-trust-item{display:flex;align-items:center;gap:15px;justify-content:center;min-height:50px}
.biw-icon{width:39px;height:39px;border:3px solid #fff;border-radius:12px;display:grid;place-items:center;font-size:22px;font-weight:900;flex:0 0 auto}
.biw-trust-item strong{display:block;font-size:17px;line-height:1.05}
.biw-trust-item span{display:block;font-size:13px;opacity:.85;line-height:1.2}

.biw-section{padding:86px 0}
.biw-intro-grid{display:block;max-width:980px;margin:0 auto;text-align:center}
.biw-intro h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,54px);line-height:1.14;margin:0 auto 28px;color:#28351d;max-width:980px}
.biw-intro p{font-size:18px;line-height:1.75;color:#515844;margin:0 auto 28px;max-width:840px}
.biw-image-collage{position:relative;min-height:500px}
.biw-photo{position:absolute;border-radius:22px;overflow:hidden;box-shadow:var(--biw-shadow);border:1px solid rgba(255,255,255,.55);background:#d7d7d1;background-size:cover;background-position:center}
.biw-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(10,40,16,.04),rgba(10,40,16,.22));opacity:.92}
.biw-photo:after{content:attr(data-label);position:absolute;left:20px;bottom:18px;background:rgba(21,63,18,.88);color:#fff;border-radius:999px;padding:8px 13px;font-weight:800;font-size:13px;letter-spacing:.04em}
.biw-photo--large{left:0;bottom:0;width:68%;height:245px}
.biw-photo--tall{right:0;top:0;width:50%;height:370px}
.biw-photo--mid{left:21%;top:135px;width:54%;height:225px}
.biw-placeholder-lines{background-image:repeating-linear-gradient(90deg,#1b1b18 0 7px,transparent 7px 36px),linear-gradient(#c4c8be,#eee6d6)}

.biw-services{background:var(--biw-cream-2);border-top:1px solid rgba(0,0,0,.06);border-bottom:1px solid rgba(0,0,0,.06)}
.biw-section-title{text-align:center;margin:0 auto 44px;max-width:860px}
.biw-section-title--left{text-align:left;margin:0 0 24px}
.biw-small{color:var(--biw-orange);font-weight:900;letter-spacing:.3em;text-transform:uppercase;font-size:13px;margin-bottom:10px}
.biw-section-title h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,54px);line-height:1.12}
.biw-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.biw-card{background:#fff;border-radius:22px;padding:30px;box-shadow:0 14px 46px rgba(31,35,22,.09);border:1px solid rgba(23,63,18,.08)}
.biw-card__num{color:var(--biw-orange);font-size:13px;font-weight:900;letter-spacing:.18em}
.biw-card h3{font-family:Georgia,"Times New Roman",serif;font-size:28px;margin:14px 0 12px;color:#27341d}
.biw-card p{margin:0;color:#5e6553;line-height:1.65;font-size:16px}

.biw-dark-cta{background:linear-gradient(rgba(13,42,15,.9),rgba(13,42,15,.9)),repeating-linear-gradient(90deg,rgba(255,255,255,.10) 0 3px,transparent 3px 44px),#173f12;color:#fff;text-align:center}
.biw-dark-cta h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,58px);margin:0 0 18px}
.biw-dark-cta p{max-width:760px;margin:0 auto 28px;line-height:1.7;font-size:18px;opacity:.9}

.biw-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.biw-step{padding:26px;border-left:5px solid var(--biw-orange);background:#fff;border-radius:18px;box-shadow:0 12px 34px rgba(0,0,0,.06)}
.biw-step b{color:var(--biw-orange);font-size:12px;letter-spacing:.25em}
.biw-step h3{margin:10px 0 8px;font-family:Georgia,"Times New Roman",serif;font-size:24px}
.biw-step p{margin:0;color:#626856;line-height:1.55}

.biw-quote-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.biw-quote p{font-size:18px;line-height:1.75;color:#5e6553;margin:0 0 22px}
.biw-form{background:#fff;border-radius:24px;padding:30px;box-shadow:var(--biw-shadow);border:1px solid rgba(23,63,18,.08)}
.biw-form label{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#354229;margin:0 0 8px}
.biw-form input,.biw-form textarea,.biw-form select{width:100%;border:1px solid #ded8cf;border-radius:12px;padding:15px 14px;margin-bottom:17px;font:inherit;background:#fbfaf7}
.biw-form textarea{min-height:118px;resize:vertical}
.biw-form__note{font-size:13px!important;color:#777!important;margin:14px 0 0!important;line-height:1.5!important}

.biw-footer{background:#071008;color:#fff;padding:36px 28px;text-align:center}
.biw-footer .biw-logo{display:inline-block;margin-bottom:14px}
.biw-footer p{margin:0;color:rgba(255,255,255,.72)}
.biw-page-content{padding:120px 0 80px;background:var(--biw-cream-2)}
.biw-page-content h1{font-family:Georgia,"Times New Roman",serif;font-size:52px;color:var(--biw-green);margin:0 0 20px}
.biw-page-content p{font-size:18px;line-height:1.75;color:#515844}

@media(max-width:900px){
  .biw-site-header{padding:18px 20px}
  .biw-nav a:not(.biw-nav__cta){display:none}
  .biw-logo__boston{font-size:24px}
  .biw-hero{min-height:620px}
  .biw-trustbar{grid-template-columns:repeat(2,1fr);gap:12px;padding:18px}
  .biw-quote-grid{grid-template-columns:1fr;gap:34px}
  .biw-service-grid,.biw-process-grid{grid-template-columns:1fr}
  .biw-phone{font-size:34px}
}
@media(max-width:560px){
  .biw-container{padding:0 20px}
  .biw-eyebrow{letter-spacing:.38em;font-size:12px}
  .biw-since{letter-spacing:.35em}
  .biw-trustbar{grid-template-columns:1fr}
  .biw-nav__cta{padding:12px 16px!important;font-size:13px}
  .biw-section{padding:64px 0}
  .biw-photo--large{width:80%}
  .biw-photo--tall{width:58%}
  .biw-photo--mid{left:10%;width:72%}
}


/* v1.0.2 updates: real logo + centered intro copy */
@media(max-width:900px){
  .biw-logo__image,
  .biw-logo .custom-logo{width:145px;max-width:42vw}
  .biw-logo__north{font-size:10px;letter-spacing:.34em}
}
@media(max-width:560px){
  .biw-logo__image,
  .biw-logo .custom-logo{width:120px;max-width:45vw}
}
