:root{
  --bg:#fbfaf8;
  --surface:#ffffff;
  --text:#121417;
  --muted:#5b6676;
  --border:#e9e5df;
  --tan:#111;
  --tan2:#111;
  --ink:#1b1f26;
  --blue:#111;
  --shadow:0 18px 46px rgba(18,20,23,.08);
  --radius:18px;
  --maxw:1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 10% -10%, rgba(201,167,126,.18), transparent 60%),
    radial-gradient(900px 520px at 92% 6%, rgba(10,94,168,.08), transparent 62%),
    var(--bg);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--maxw); margin:0 auto; padding:0 20px}

header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,250,248,.88);
  backdrop-filter: blur(14px) saturate(175%);
  border-bottom:1px solid rgba(233,229,223,.95);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; font-weight:900; letter-spacing:.2px}
.mark{
  width:40px; height:40px; border-radius:14px;
  background: linear-gradient(135deg, rgba(201,167,126,.22), rgba(10,94,168,.08));
  border:1px solid rgba(201,167,126,.35);
  display:grid; place-items:center;
  box-shadow:0 10px 26px rgba(18,20,23,.06);
}
.brand small{display:block; color:var(--muted); font-weight:700; margin-top:2px}
nav ul{list-style:none; display:flex; gap:18px; padding:0; margin:0; align-items:center}
nav a{font-weight:850; color:var(--ink)}
nav a.active{color:var(--tan2)}
@media(max-width: 980px){ nav ul{display:none} }

.btnrow{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--ink);
  font-weight:900;
  box-shadow:0 2px 0 rgba(18,20,23,.05);
  transition: transform .12s ease, border-color .12s ease, filter .12s ease;
  white-space:nowrap;
}
.btn:hover{border-color:#ddd6cd; transform:translateY(-1px); text-decoration:none}
.btn.primary{
  background:linear-gradient(135deg, var(--tan), var(--tan2));
  border-color:transparent;
  color:#fff;
}
.btn.primary:hover{filter:saturate(1.03) brightness(1.02)}
.btn.ghost{
  background:rgba(201,167,126,.10);
  border-color:rgba(201,167,126,.35);
  color:var(--ink);
}

main{padding:0 0 40px}
.hero{padding:42px 0 18px}
.heroGrid{
  display:grid; gap:18px;
  grid-template-columns: 1.05fr .95fr;
  align-items:stretch;
}
@media(max-width:980px){ .heroGrid{grid-template-columns:1fr} }

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.heroCopy{padding:26px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(201,167,126,.35);
  background:rgba(201,167,126,.10);
  font-weight:900;
  color:var(--ink);
  font-size:13px;
}
.kicker code{font-family:var(--mono); font-weight:900; color:var(--tan2); background:none; padding:0}
h1{
  margin:14px 0 10px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.7px;
}
@media(max-width:520px){ h1{font-size:36px} }
.lede{margin:0 0 16px; color:var(--muted); font-size:17px}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  font-weight:850;
  font-size:14px;
}

.media{position:relative; overflow:hidden; border-radius:var(--radius)}
.media img{width:100%; height:100%; object-fit:cover; display:block}
.badge{
  position:absolute; left:14px; top:14px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(233,229,223,.95);
  font-weight:950;
  font-size:13px;
}
.badge b{color:var(--tan2)}

.section{padding:26px 0}
.section h2{margin:0 0 8px; font-size:28px; letter-spacing:-.35px}
.section p{margin:0; color:var(--muted)}

.grid3{display:grid; gap:14px; grid-template-columns:repeat(3,1fr); margin-top:14px}
@media(max-width:980px){ .grid3{grid-template-columns:1fr} }
.feature{padding:18px}
.feature h3{margin:0 0 6px; font-size:16px}
.feature p{margin:0; font-size:14px}

.gallery{
  display:grid; gap:12px;
  grid-template-columns: repeat(12, 1fr);
  margin-top:14px;
}
.shot{
  position:relative; overflow:hidden;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 10px 26px rgba(18,20,23,.06);
}
.shot img{width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s ease}
.shot:hover img{transform:scale(1.03)}
.s1{grid-column:span 7; height:340px}
.s2{grid-column:span 5; height:340px}
.s3{grid-column:span 4; height:260px}
.s4{grid-column:span 4; height:260px}
.s5{grid-column:span 4; height:260px}
@media(max-width:980px){
  .s1,.s2,.s3,.s4,.s5{grid-column:span 12; height:260px}
}

.split{
  display:grid; gap:14px; grid-template-columns: 1fr 1fr;
  padding:18px;
  align-items:start;
}
@media(max-width:980px){ .split{grid-template-columns:1fr} }
.box{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
}
.kv{display:grid; gap:10px}
.row{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 0; border-bottom:1px dashed #e8e2da;
  font-weight:900;
}
.row:last-child{border-bottom:none}
.row span{color:var(--muted); font-weight:900}

form{display:grid; gap:10px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}
textarea{min-height:120px; resize:vertical}
.helper{color:var(--muted); font-size:13px; margin-top:8px}

footer{
  padding:30px 0 36px;
  border-top:1px solid rgba(233,229,223,.95);
  color:var(--muted);
}
.foot{
  display:grid; gap:18px;
  grid-template-columns: 1.2fr .8fr .8fr;
}
@media(max-width:980px){ .foot{grid-template-columns:1fr} }
footer h4{margin:0 0 8px; color:var(--ink)}
footer ul{list-style:none; padding:0; margin:0; display:grid; gap:8px}
footer li a{color:var(--muted); font-weight:900}
footer li a:hover{color:var(--ink); text-decoration:none}
.smallprint{margin-top:14px; color:#7a6f64; font-size:12px}


/* Wordmark logo */
.brand{gap:14px}
.brand .mark{display:none} /* hide old icon mark */
.wordmark{display:flex; align-items:center}
.wordmark img{height:34px; width:auto; display:block}
.brand small{display:none} /* keep header clean; location can live in hero/footer */
@media(max-width:520px){
  .wordmark img{height:30px}
}


/* Logo sizing override */
.wordmark img{height:52px; width:auto;}
@media(max-width:520px){ .wordmark img{height:42px;} }


/* ===== HEADER REDESIGN ===== */
header{
  padding: 18px 0;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.wordmark img{
  height:68px;
}
nav a{
  font-weight:600;
  margin:0 14px;
  font-size:16px;
}
.cta-group{
  display:flex;
  gap:14px;
}
@media(max-width:768px){
  .wordmark img{height:54px;}
}


/* ===== LOGO SIZE GUARANTEE (OVERRIDE) ===== */
header{ padding: 44px 0 !important; }
.wordmark img{ height: 240px !important; width: auto !important; max-height: none !important; }
@media(max-width:768px){ .wordmark img{ height: 160px !important; } }


/* ===== MOBILE HEADER FIX ===== */
/* Prevent horizontal overflow on small screens */
html, body { overflow-x: hidden; }

/* Make header layout wrap safely */
.header-inner{ flex-wrap: wrap; gap: 14px; }

/* Make sure logo image can't cause overflow */
.wordmark img{ max-width: 100%; height: 240px !important; width: auto !important; }

/* Mobile: stack and hide desktop nav */
@media(max-width: 820px){
  header{ padding: 18px 0 !important; }
  .header-inner{ flex-direction: column; align-items: flex-start; }
  nav{ display:none !important; }
  .cta-group{ width:100%; flex-wrap: wrap; }
  .wordmark img{ height: 120px !important; } /* still big, but not insane on mobile */
}

/* Smaller phones */
@media(max-width: 420px){
  .wordmark img{ height: 96px !important; }
}

/* ===== HEADER LOGO SIZE (SANE) ===== */
.wordmark img{
  height: 110px !important;
  width: auto !important;
  max-height: none !important;
  background: transparent !important;
}
header{ padding: 22px 0 !important; }
@media(max-width:820px){
  .wordmark img{ height: 78px !important; }
}
@media(max-width:420px){
  .wordmark img{ height: 64px !important; }
}

/* ===== SLAMCO CREDIT (SHSC STYLE) ===== */
.site-by{
  margin: 18px 0 8px;
  text-align: center;
}
.site-by a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  opacity: 0.7;
}
.site-by img{
  height: 18px;
  width: auto;
  display: inline-block;
  margin-top: 2px;
}


/* ===== FOOTER BOTTOM (CLEAN) ===== */
.footer-bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.site-by{
  text-align:center;
}
.site-by a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: inherit;
  opacity: 0.75;
}
.site-by img{
  height: 18px !important;
  max-height: 18px !important;
  width: auto !important;
  max-width: 90px !important;
  display: inline-block;
}
/* Ensure no global img rule can balloon it */
footer img{ max-width: 100%; height: auto; }

/* Social icons in footer */
.footer-social{
  margin-top: 10px;
  display: flex;
  gap: 12px;
}
.social-link{
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}
.social-link:hover{ opacity: 1; transform: translateY(-1px); }
.social-link .icon{ width: 18px; height: 18px; fill: currentColor; }

/* Remove extra right-side header gap now that Instagram link is gone */
.header-inner{ gap: 18px; }


/* Social icons in footer contact list */
.footer-social-inline{
  display:flex;
  gap:12px;
  align-items:center;
  padding-top:4px;
}
.footer-social-inline .social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:8px;
  background: rgba(0,0,0,0.06);
}
.footer-social-inline .social-link .icon{
  width:16px;
  height:16px;
  fill: currentColor;
  opacity: .85;
}
.footer-social-inline .social-link:hover .icon{ opacity: 1; }

/* Site by SLAMCO alignment */
.footer-bottom{
  align-items:center;
}
.site-by{
  display:flex;
  align-items:center;
  gap:8px;
}
.site-by img{
  display:block;
  margin-top:2px; /* nudge down a skosh */
}


/* Home page gallery expansion (about 20 images) */
.home-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
  gap:12px;
  margin-top:18px;
}
.home-gallery .shot{
  display:block;
  height:140px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.home-gallery .shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media (min-width: 900px){
  .home-gallery .shot{ height:160px; }
}


/* Gallery page grid (matches homepage shots) */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:18px;
}
.gshot{
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
  border-radius:22px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.gshot img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}
@media(max-width:820px){
  .gshot img{ height:220px; }
}
@media(max-width:420px){
  .gshot img{ height:200px; }
}

/* Simple lightbox */
.no-scroll{ overflow:hidden; }
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:9999;
}
.lightbox.open{ display:flex; }
.lightbox-img{
  max-width:min(1100px, 95vw);
  max-height:85vh;
  border-radius:18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  background:#fff;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  font-size:28px;
  line-height:44px;
  background: rgba(255,255,255,.95);
}
/* Mobile menu */
.menu-btn{
  display:none;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  line-height:1;
}
.menu-btn svg{display:block}
.mobile-menu{
  display:none;
  position:absolute;
  left:16px;
  right:16px;
  top:88px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  padding:10px;
  z-index:9999;
}
.mobile-menu a{
  display:block;
  padding:12px 14px;
  border-radius:14px;
  color:#111;
  text-decoration:none;
  font-weight:700;
}
.mobile-menu a:active{transform:scale(.99)}
.mobile-menu a:hover{background:rgba(0,0,0,.04)}
.mobile-menu .menu-cta{
  margin-top:6px;
  display:flex;
  gap:10px;
}
.mobile-menu .menu-cta a{
  flex:1;
  text-align:center;
}





/* --- Mobile nav + logo sizing fixes (Round 3b) --- */
@media (max-width: 860px){
  .nav-links{display:none;}
  .menu-btn{display:inline-flex;}
  .brand img{height: 96px !important; width:auto !important;}
  .topbar{padding-top: 10px; padding-bottom: 10px;}
  .nav-inner{align-items:center;}
}
/* make sure logo isn't tiny on small phones */
@media (max-width: 420px){
  .brand img{height: 112px !important;}
}

/* Gallery page grid */
.gallery-page{
  display:grid;
  gap:16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items:stretch;
}
.gallery-page .shot{
  border-radius:22px;
  overflow:hidden;
  display:block;
  height: 260px;
  background: rgba(0,0,0,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.gallery-page .shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* --- Overrides: mobile header cleanup (logo + menu only) --- */
.brand-logo{height:72px; width:auto; display:block}
@media (max-width: 860px){
  .header-inner{flex-direction:row !important; align-items:center !important; justify-content:space-between !important; gap:12px !important}
  .brand{flex:1 1 auto}
  .cta-group{flex:0 0 auto}
  .brand-logo{height:120px}
  /* keep header compact */
  header{padding:14px 0}
}
/* remove any leftover empty gaps when primary button removed */
