@import url('//img1.wsimg.com/blobby/go/font/LeagueSpartan/league-spartan.css');

:root{
  --text:#0a0a0a;
  --muted:#2b2d31;
  --line:#e2e2e2;
  --soft:#f5f7f7;

  --radius: 14px;
  --shadow: 0 18px 45px rgba(0,0,0,0.10);
  --max: 1020px;

  --bodyFont: Helvetica, Arial, sans-serif;
  --headingFont: "League Spartan", Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--bodyFont);
  font-size: 16px;
  color: var(--text);
  background:#fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

a{ color: inherit; }
a:hover{ text-decoration: underline; }

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.brandline{ display:flex; flex-direction:column; }
.brandname{
  font-family: var(--headingFont);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: normal;
}
.brandsub{
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.topbar-actions{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.phone{
  font-weight: 700;
  text-decoration:none;
  color: var(--text);
}
.back{
  color: rgb(111, 120, 120);
  text-decoration:none;
}
.back:hover, .phone:hover{ text-decoration: underline; }

/* Hero banner */
.hero{ padding: 18px 0 4px; }

.hero-banner{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}
.hero-banner img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display:block;
}
.hero-overlay{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.58), rgba(0,0,0,0.06));
  color:#fff;
}
.hero-title{
  font-family: var(--headingFont);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  text-shadow: 0px 2px 30px rgba(0,0,0,0.12);
}
.hero-sub{
  margin-top: 6px;
  font-size: 14px;
  opacity: .95;
}

/* Page header */
.pagehead{
  padding: 22px 0 10px;
}
.page-title{
  margin:0;
  font-family: var(--headingFont);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.4;
  color: var(--text);
}
.divider{
  margin: 10px 0 12px;
  color: #999;
  letter-spacing: 4px;
  font-weight: 600;
}
.lead{
  margin:0;
  color: var(--muted);
  font-size: 17px;
  max-width: 75ch;
}

/* Filters */
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding: 12px 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  margin: 12px 0 22px;
}
.filter{
  background: transparent;
  border: 1px solid currentColor;
  color: rgb(111, 120, 120);
  padding: 8px 12px;
  border-radius: 48px;
  font-family: var(--bodyFont);
  font-size: 14px;
  cursor:pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.filter:hover{
  color: rgb(27, 27, 27);
  background: rgb(222, 228, 228);
  border-color: rgb(222, 228, 228);
  transform: translateY(-1px);
}
.filter.is-active{
  color: rgb(27, 27, 27);
  background: rgb(222, 228, 228);
  border-color: rgb(222, 228, 228);
  font-weight: 700;
}

/* Blocks */
.block{ padding: 10px 0 26px; }
.block-title{
  font-family: var(--headingFont);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 14px;
  color: rgb(27, 27, 27);
}

/* Gallery grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.thumb{
  display:block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: 0 12px 26px rgba(0,0,0,0.06);
  transition: transform .16s ease, box-shadow .16s ease;
}
.thumb:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.thumb img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  transition: transform .20s ease;
}
.thumb:hover img{ transform: scale(1.06); }

/* Page foot */
.pagefoot{ padding: 8px 0 34px; }
.footnote{
  margin:0;
  color: var(--muted);
  max-width: 80ch;
}

/* Lightbox */
.noscroll{ overflow:hidden; }
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 999;
}
.lightbox.open{ display:flex; }
.lb-img{
  max-width: min(1200px, 96vw);
  max-height: 86vh;
  background:#fff;
  border-radius: 16px;
  box-shadow: 0 35px 90px rgba(0,0,0,0.55);
}
.lb-close{
  position:absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  color:#fff;
  font-size: 28px;
  line-height: 1;
  cursor:pointer;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 14px 0;
  color: rgb(86, 87, 87);
  font-size: 13px;
}
.footer-inner{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer a{
  color: rgb(86, 87, 87);
  text-decoration:none;
}
.footer a:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .thumb img{ height: 220px; }
  .hero-banner img{ height: 260px; }
  .page-title{ font-size: 34px; }
}
@media (max-width: 560px){
  .topbar-inner{ flex-direction: column; align-items:flex-start; }
  .topbar-actions{ justify-content:flex-start; }
  .grid{ grid-template-columns: 1fr; }
  .thumb img{ height: 240px; }
  .hero-banner img{ height: 220px; }
  .page-title{ font-size: 30px; }
}

/* ==========================
   Contact widget + drawer
   ========================== */
.contact-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--headingFont);
  font-weight: 600;
  font-size: 14px;
  color: #1b1b1b;
  background: var(--soft);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.12);
}
.contact-fab:hover{ transform: translateY(-1px); }

.contact-drawer{
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
}
.contact-drawer.is-open{ display: block; }

.contact-drawer__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.contact-drawer__panel{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 92vw);
  background: #fff;
  border-left: 1px solid rgba(0,0,0,.12);
  box-shadow: -18px 0 60px rgba(0,0,0,.25);
  padding: 18px;
  overflow: auto;
  transform: translateX(110%);
  transition: transform .25s ease;
}
.contact-drawer.is-open .contact-drawer__panel{ transform: translateX(0); }

.contact-drawer__close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--soft);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.contact-drawer__title{
  margin: 6px 40px 10px 0;
  font-family: var(--headingFont);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
}
.contact-drawer__text{
  margin: 0 0 14px;
  font-family: var(--bodyFont);
  color: var(--muted);
  line-height: 1.5;
}

.contact-drawer__cta{
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--soft);
  color: #1b1b1b;
  font-family: var(--bodyFont);
  font-weight: 700;
  cursor: pointer;
}
.contact-pill--soft{
  background: #fff;
  color: rgb(111,120,120);
}
.contact-pill:hover{ filter: brightness(0.98); }

.email-panel{
  border-top: 1px solid rgba(0,0,0,.10);
  padding-top: 12px;
  margin-top: 4px;
}

.contact-form{
  display: grid;
  gap: 10px;
}
.field span{
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--bodyFont);
}
.field input, .field textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--bodyFont);
  font-size: 15px;
}

.contact-drawer__note{
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  font-family: var(--bodyFont);
}

.open-contact-link{
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.open-contact-link:hover{ text-decoration: underline; }


/* Gallery hero banner: match chawn.ca (wide banner with text) */
.hero-banner--logo{
  background:#fff;
}
.hero-banner--logo img{
  height: auto;         /* prevent cropping */
  max-height: 360px;
  object-fit: contain;  /* keep the banner text visible */
  background:#fff;
}
