/* 4 Hour Startup — static site
   Colours & type approximated from the original Squarespace theme:
   orange  #F46542   dark text #3C3D3E   headline font: Futura PT -> Jost (close free match) */

:root {
  --orange: #F46542;
  --ink: #3C3D3E;
  --rule: #e4e4e4;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Jost", "Century Gothic", "Futura", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.62;
  font-size: 15px;
}

a { color: var(--orange); }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--orange);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 132px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.brand {
  display: block;
  flex: 0 0 auto;
}
.brand img {
  width: 132px;
  height: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 6px;
  cursor: pointer;
  line-height: 0;
}
.nav-toggle svg { display: block; }

.site-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 4px 0;
  transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; }

/* ---------- Page banner ---------- */
.page-banner {
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 164px;
  display: flex;
  align-items: flex-end;
}
.page-banner .wrap { width: 100%; }
.page-title {
  display: inline-block;
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 20px;
  transform: translateY(34%);
  position: relative;
  z-index: 2;
}

/* ---------- Page body ---------- */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 66px 24px 90px;
}

h2 {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .03em;
  font-size: 20px;
  margin: 0 0 16px;
}

.lead {
  margin: 0 auto 58px;
  text-align: center;
  max-width: 820px;
}

strong { font-weight: 600; }

/* ---------- 3-column feature grid ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.cols .col h2 { text-align: center; }
.col-icon {
  height: 54px;
  margin: 6px auto 26px;
  width: auto;
}
.col ul { padding-left: 20px; margin: 12px 0; }
.col li { margin: 4px 0; }

/* ---------- Who we are ---------- */
.bio {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 820px;
  margin: 0 auto;
}
.bio img { border-radius: 3px; }
.bio h2 { margin-top: 0; }

/* ---------- Clients ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px 40px;
}
.client { text-align: center; }
.client .logo {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.client .logo img { max-height: 88px; width: auto; }
.client h2 { text-align: center; font-size: 17px; }
.client ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #5b5c5d;
}
.client li { margin: 6px 0; }

/* ---------- Contact form ---------- */
form { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #666;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font: inherit;
  font-size: 16px;
  background: #fbfbfb;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
button[type="submit"] {
  background: var(--orange);
  color: #fff;
  border: 0;
  padding: 13px 34px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
}
button[type="submit"]:hover { filter: brightness(.94); }
.form-note {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 13px;
  color: #999;
  text-align: center;
}

/* ---------- Cert / misc ---------- */
.cert { text-align: center; margin-top: 76px; }
.cert img { width: 210px; margin: 0 auto 10px; }
.cert a { font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  text-align: center;
  padding: 28px 24px;
  font-size: 12px;
  letter-spacing: .08em;
  color: #9a9a9a;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; gap: 50px; }
  .clients { grid-template-columns: 1fr 1fr; }
  .bio { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .bio img { width: 170px; }
}

@media (max-width: 768px) {
  .site-header .wrap {
    min-height: 0;
    align-items: center;
  }
  .nav-toggle { display: block; order: 2; }
  .site-nav {
    order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.35);
    margin-top: 4px;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 13px 2px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }
  .page-banner { height: 140px; }
  .page-title { font-size: 23px; padding: 11px 15px; }
}

@media (max-width: 520px) {
  main { padding: 44px 20px 62px; }
  .clients { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
}
