/* Leonard Harding Administrative Solutions */

:root {
  --dark: #262626;
  --teal: #1996b3;
  --text: #333333;
  --muted: #666666;
  --border: #dddddd;
  --footer-bg: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  position: relative;
  padding: 24px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.logo img {
  display: block;
  height: 60px;
  width: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.social-link:hover {
  background: var(--teal);
}

/* Nav */

.site-nav {
  background: var(--dark);
  padding: 0 24px;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.site-nav a {
  display: block;
  padding: 20px 24px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.site-nav li:first-child a {
  padding-left: 0;
}

.site-nav a:hover,
.site-nav li.active a {
  background: var(--teal);
}

.nav-accent {
  height: 6px;
  background: var(--teal);
}

/* Hero (home page) */

.hero {
  display: grid;
  background: #000;
}

.hero img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 450;
  object-fit: cover;
}

.hero-caption {
  grid-area: 1 / 1;
  align-self: end;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(38, 38, 38, 0.55);
  color: #fff;
  padding: 10px 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.3;
  font-weight: bold;
  text-align: center;
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .hero-caption {
    align-self: center;
    font-size: 18px;
    line-height: 1.5;
    padding: 16px 24px;
  }
}

@media (min-width: 900px) {
  .hero-caption {
    font-size: 26px;
  }
}

/* Main content */

.page-main {
  padding: 48px 0 64px;
}

.content-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.content-main {
  flex: 2 1 480px;
  min-width: 0;
}

.content-side {
  flex: 1 1 240px;
}

.content-main h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  margin-top: 0;
}

.content-main p {
  margin: 0 0 20px;
}

.headshot {
  float: right;
  margin: 0 0 20px 32px;
  max-width: 260px;
}

.headshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #f0f0f0;
}

.headshot figcaption {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.content-side h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  margin-top: 0;
}

.content-side address {
  font-style: normal;
  margin: 0 0 16px;
}

/* Footer */

.site-footer {
  background: var(--dark);
  height: 6px;
}

.site-footer-bottom {
  background: var(--footer-bg);
  padding: 20px 0;
  font-size: 14px;
  color: var(--muted);
}

.site-footer-bottom .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--teal);
}

/* Responsive */

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .site-nav ul {
    display: block;
  }

  .site-nav a {
    padding-left: 0;
  }

  .site-nav li {
    display: block;
  }

  .headshot {
    float: none;
    margin: 0 0 20px;
    max-width: 100%;
  }

  .footer-nav a {
    margin-left: 0;
    margin-right: 16px;
  }
}
