/* Ads by Sam: site styles, built from the Ads by Sam brand guide. */
:root{
  /* brand */
  --navy:#14213D;
  --cream:#F4F1EA;
  --blue:#1D5FAE;
  --blue-on-navy:#7FB2EE;
  --orange:#C2501F;
  --orange-on-navy:#E8743F;
  --pine:#3F6E52;
  --pine-deep:#2B4A38;
  --on-orange:#FFFFFF;
  /* roles (older names kept so every page keeps working) */
  --bg:var(--cream);
  --bg-alt:#E9E4D9;
  --ink:var(--navy);
  --ink-soft:#3E475E;
  --ink-faint:#5A6276;
  --ink-on-navy:#C9CEDA;
  --blue-deep:var(--navy);
  --teal:var(--pine);
  --teal-light:#E3ECE5;
  --coral:var(--orange);
  --border:#D3CCBD;
  --white:#FFFFFF;
  --radius:4px;
  --max:1120px;
  --font-display:'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:'Barlow', system-ui, sans-serif;
  --shadow-pinned:0 2px 0 #D3CCBD;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.05;
  font-weight:700;
}
h1{font-weight:800; text-transform:uppercase; letter-spacing:0.005em;}
h2{font-weight:800; text-transform:uppercase; letter-spacing:0.01em;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 24px;}
section{padding:80px 0;}
:focus-visible{outline:3px solid var(--blue); outline-offset:2px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:0 24px;
  font-family:var(--font-display); font-weight:700; font-size:19px;
  letter-spacing:0.04em; text-transform:uppercase;
  border-radius:0; border:2px solid var(--navy);
  background:var(--navy); color:var(--cream);
  cursor:pointer;
  transition:background .15s ease, border-color .15s ease;
}
.btn:hover{background:#0B1426; border-color:#0B1426;}
.btn.ghost{background:transparent; color:var(--ink); border-color:var(--navy);}
.btn.ghost:hover{background:var(--navy); color:var(--cream);}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:var(--cream);
  border-bottom:3px solid var(--navy);
}
nav{
  max-width:var(--max); margin:0 auto; padding:12px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.logo{display:flex; align-items:center; flex-shrink:0;}
.logo img{height:52px; width:auto;}
.nav-links{display:flex; gap:28px; font-size:16px; color:var(--ink-soft); font-weight:500;}
.nav-links a:hover{color:var(--ink); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px;}
@media(max-width:760px){ .nav-links{display:none;} .logo img{height:44px;} }

/* ---------- Navy hero band (stripe + tree line) ---------- */
.band{
  position:relative; background:var(--navy); color:var(--cream);
  overflow:hidden;
}
.band::before{
  content:""; position:absolute; left:0; right:0; top:18px; height:22px;
  background:
    linear-gradient(var(--cream),var(--cream)) top/100% 4px no-repeat,
    linear-gradient(var(--orange-on-navy),var(--orange-on-navy)) center/100% 4px no-repeat,
    linear-gradient(var(--cream),var(--cream)) bottom/100% 4px no-repeat;
}
.band::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:80px;
  background:url(/img/treeline.svg) left bottom/1440px 80px repeat-x;
  pointer-events:none;
}
.band h1, .band h2, .band h3{color:var(--cream);}
.band p{color:var(--ink-on-navy);}
.band a{color:var(--blue-on-navy);}
.band .btn-cta{background:var(--orange-on-navy); border-color:var(--orange-on-navy); color:var(--navy);}
.band .btn-cta:hover{background:#F08A5D; border-color:#F08A5D;}

/* ---------- Homepage hero ---------- */
.hero{padding:96px 0 150px;}
.hero-grid{display:grid; grid-template-columns:260px 1fr; gap:56px; align-items:center;}
.hero-seal{width:260px; height:260px;}
.hero h1{font-size:72px; line-height:0.97; margin-bottom:20px; max-width:760px;}
.hero p.lede{font-size:20px; max-width:620px; margin-bottom:28px;}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr; gap:28px;}
  .hero-seal{width:150px; height:150px;}
  .hero h1{font-size:52px;}
}
@media(max-width:600px){ .hero{padding:64px 0 130px;} .hero h1{font-size:42px;} .hero p.lede{font-size:18px;} }

/* ---------- Section heads ---------- */
.section-head{max-width:640px; margin-bottom:40px;}
.section-head h2{font-size:52px; line-height:1; margin-bottom:12px;}
.section-head p{color:var(--ink-soft); font-size:18px;}
@media(max-width:600px){ .section-head h2{font-size:40px;} }

/* ---------- Services list ---------- */
.help-list{list-style:none; max-width:800px; border-top:3px solid var(--navy);}
.help-list li{padding:22px 0; border-bottom:1px solid var(--border); font-size:17px; color:var(--ink-soft);}
.help-list strong{display:block; font-family:var(--font-display); font-weight:700; font-size:26px; line-height:1.15; color:var(--ink); margin-bottom:4px;}
.help-list a{color:var(--blue); font-weight:600;}

/* ---------- About ---------- */
.about{background:var(--bg-alt);}
.about-grid{display:grid; grid-template-columns:auto 1fr; gap:36px; align-items:center; max-width:880px;}
@media(max-width:600px){ .about-grid{grid-template-columns:1fr; gap:20px;} }
.about-photo{width:128px; height:128px;}
.about h3{font-size:40px; font-weight:800; text-transform:uppercase; margin-bottom:12px;}
.about p{color:var(--ink-soft); font-size:18px; max-width:620px; margin-bottom:10px;}

/* ---------- Proof wall (results) ---------- */
.results-grid{display:grid; gap:56px;}
.result-card{display:grid; grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr); gap:40px; align-items:start; border-top:3px solid var(--navy); padding-top:28px;}
@media(max-width:860px){ .result-card{grid-template-columns:1fr; gap:24px;} }
.result-tag{
  display:inline-block; margin-bottom:12px;
  font-family:var(--font-display); font-weight:700; font-size:15px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--cream); background:var(--navy); padding:4px 10px;
}
.result-tag.takeover{background:var(--orange);}
.result-card h3{font-size:34px; margin-bottom:10px;}
.result-card .context{font-size:17px; color:var(--ink-soft);}
.metric-row{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
@media(max-width:560px){ .metric-row{grid-template-columns:1fr 1fr;} }
.metric{background:var(--white); border:1px solid var(--border); box-shadow:var(--shadow-pinned); padding:16px;}
.metric:nth-child(3n+1){transform:rotate(-2deg);}
.metric:nth-child(3n+2){transform:rotate(1.5deg);}
.metric:nth-child(3n+3){transform:rotate(-1deg);}
.metric .num{font-family:var(--font-display); font-weight:800; font-size:46px; line-height:1; color:var(--blue); display:block;}
.metric .label{font-size:14px; color:var(--ink-soft); display:block; margin-top:6px; line-height:1.4;}
.results-note{font-size:14px; color:var(--ink-faint); margin-top:28px; line-height:1.6; max-width:720px;}
@media(prefers-reduced-motion:reduce){ .metric{transform:none !important;} }

/* ---------- Gem product ---------- */
.gem-card{background:var(--navy); color:var(--cream); border-radius:var(--radius); padding:44px;}
@media(max-width:600px){ .gem-card{padding:28px;} }
.gem-top{display:flex; justify-content:space-between; align-items:flex-start; gap:24px; flex-wrap:wrap; margin-bottom:28px;}
.gem-top h2{color:var(--cream); font-size:44px; margin-bottom:10px;}
.gem-top p{color:var(--ink-on-navy); font-size:17px; max-width:460px;}
.price-box{text-align:right;}
.price-box .amount{font-family:var(--font-display); font-size:56px; font-weight:800; line-height:1; color:var(--cream);}
.price-box .note{font-size:14px; color:var(--ink-on-navy);}
.gem-features{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:24px;}
@media(max-width:700px){ .gem-features{grid-template-columns:1fr 1fr;} }
@media(max-width:460px){ .gem-features{grid-template-columns:1fr;} }
.gem-feature{border:1px solid #33415F; padding:14px; font-size:15px; color:var(--cream);}
.gem-how{color:var(--ink-on-navy); font-size:16px; margin-bottom:28px;}
.gem-card .btn{background:var(--orange-on-navy); border-color:var(--orange-on-navy); color:var(--navy);}
.gem-card .btn:hover{background:#F08A5D; border-color:#F08A5D;}

/* ---------- Blog cards ---------- */
.blog-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
@media(max-width:700px){ .blog-grid{grid-template-columns:1fr;} }
.blog-card{border:1px solid var(--border); border-top:3px solid var(--navy); padding:24px; background:var(--white);}
a.blog-card:hover h3, a.blog-card:hover h2{color:var(--blue);}
.blog-card h3{font-size:24px; margin-bottom:8px; line-height:1.1;}
.blog-card p{font-size:15px; color:var(--ink-soft);}
.blog-card summary{list-style:none; cursor:pointer;}
.blog-card summary::-webkit-details-marker{display:none;}
.blog-card summary h3{font-size:22px; margin-bottom:6px;}
.blog-card summary p{font-size:14px; color:var(--ink-soft);}
.blog-card summary::after{content:"Read more"; display:inline-block; margin-top:10px; font-size:14px; font-weight:600; color:var(--blue);}
.blog-card[open] summary::after{content:"Close";}
.blog-card[open] summary{margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid var(--border);}
.blog-body h4{font-size:19px; margin:18px 0 8px;}
.blog-body h4:first-child{margin-top:0;}
.blog-body p{font-size:15px; color:var(--ink-soft); margin-bottom:10px; line-height:1.65;}

/* ---------- Multi-step contact form ---------- */
.contact{background:var(--bg-alt);}
.contact-box{background:var(--white); border:1px solid var(--border); border-top:3px solid var(--navy); padding:36px; max-width:660px; margin:0 auto;}
@media(max-width:600px){ .contact-box{padding:24px;} }
.step-progress{display:flex; gap:6px; margin-bottom:24px;}
.step-progress .bar{flex:1; height:4px; background:var(--border);}
.step-progress .bar.active{background:var(--orange);}
.form-step{display:none;}
.form-step.active{display:block;}
.form-step label{display:block; font-size:15px; font-weight:600; margin-bottom:8px; color:var(--ink);}
.form-step input, .form-step select, .form-step textarea{
  width:100%; border:2px solid var(--navy); border-radius:0; padding:12px 14px;
  font-family:var(--font-body); font-size:16px; background:var(--white); color:var(--ink); margin-bottom:18px;
}
.choice-row{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:6px;}
.choice{border:2px solid var(--border); padding:10px 16px; font-size:15px; cursor:pointer; user-select:none; background:var(--white);}
.choice:hover{border-color:var(--navy);}
.choice.selected, .choice[aria-pressed="true"]{border-color:var(--navy); background:var(--navy); color:var(--cream);}
.form-nav{display:flex; justify-content:space-between; align-items:center; margin-top:8px;}
.form-nav .btn[type="submit"]{background:var(--orange); border-color:var(--orange); color:var(--on-orange);}
.error-msg{color:#A63F14; font-size:14px; margin-top:-10px; margin-bottom:14px; display:none;}
.form-success{text-align:center; padding:20px 0;}
.form-success h3{font-size:32px; margin-bottom:8px;}
.form-success p{color:var(--ink-soft);}

/* ---------- Footer ---------- */
footer{position:relative; background:var(--navy); color:var(--ink-on-navy); padding:56px 0 120px; overflow:hidden;}
footer::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:80px;
  background:url(/img/treeline.svg) left bottom/1440px 80px repeat-x;
}
.footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px;}
footer .logo img{height:64px;}
.footer-links{display:flex; flex-wrap:wrap; gap:10px 24px; font-size:16px;}
.footer-links a{color:var(--cream);}
.footer-links a:hover{text-decoration:underline;}
.footer-legal{font-size:14px; color:var(--ink-on-navy); margin-top:24px;}
.footer-legal a{color:var(--cream);}
