/* kingbox.ca - plain static site (moved off Weebly 2026-11-10). Colours follow the logo. */
:root {
  --navy: #0f2a4a;
  --blue: #3a76bb;
  --blue-dark: #2c5d96;
  --grey: #818286;
  --ink: #1d2733;
  --muted: #56616e;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue-dark); }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { display: block; height: 52px; width: auto; }
@media (max-width: 720px) { .brand img { height: 46px; } }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue-dark); border-bottom-color: var(--blue); }
.nav-toggle, .nav-button { display: none; }

@media (max-width: 720px) {
  .nav-button { display: block; width: 40px; height: 40px; cursor: pointer; position: relative; }
  .nav-button span, .nav-button span::before, .nav-button span::after {
    position: absolute; left: 9px; width: 22px; height: 2px; background: var(--navy); content: "";
  }
  .nav-button span { top: 19px; }
  .nav-button span::before { top: -7px; left: 0; }
  .nav-button span::after { top: 7px; left: 0; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 84px; background: #fff;
    flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* hero */
.hero {
  /* header photos = the old Weebly site's, same photo per page (Don msg 1080); overlay keeps text readable */
  background: linear-gradient(135deg, rgba(15,42,74,.80) 0%, rgba(28,71,120,.55) 60%, rgba(58,118,187,.25) 100%),
    var(--hero-photo, url(/images/header-keyboard.jpg) center bottom / cover no-repeat), var(--navy);
  color: #e9f0f8; padding: 88px 0 80px;
}
.hero-home { --hero-photo: url(/images/header-suit.jpg) center 35% / cover no-repeat; }
.hero-about { --hero-photo: url(/images/header-phone.jpg) center / cover no-repeat; }
.hero-services { --hero-photo: url(/images/header-laptop.jpg) center / cover no-repeat; }
.hero h1 { color: #fff; max-width: 820px; }
.hero h1, .hero p { text-shadow: 0 1px 12px rgba(10,25,45,.55); }
.hero .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #a9c6ea; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; max-width: 760px; color: #d6e3f2; }
.hero-sm { padding: 64px 0 56px; }
.btn {
  display: inline-block; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 6px; margin: 8px 12px 0 0;
}
.btn:hover { background: #e9f0f8; color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

/* sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.tagline { text-align: center; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); font-size: .9rem; margin-bottom: 8px; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-top: 0; }
.card h2 { font-size: 1.35rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote { text-align: center; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 700; color: var(--navy); margin: 0; }
.quote small { display: block; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }
.prose { max-width: 820px; }
ol.buy-list { padding-left: 1.3em; }
ol.buy-list li { margin-bottom: .4em; }

/* team */
.team .card { text-align: center; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 1.8rem; font-weight: 700;
}
.role { color: var(--blue-dark); font-weight: 600; margin-top: -.4em; }

/* contact */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.offices address { font-style: normal; }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* footer */
.site-footer { background: var(--navy); color: #c7d4e4; padding: 48px 0 24px; font-size: .95rem; }
.site-footer a { color: #e3ecf7; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 6px; }
.footer-name { color: #fff; font-weight: 700; }
.footer-logo { display: block; height: 40px; width: auto; margin-bottom: 16px; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .85rem; color: #93a6bf; }
