/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

img, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================= TYPOGRAPHY ================= */
body {
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: #34495e;
  background: #ffffff;
}

h1, h2, h3, h4 {
  font-family: "Josefin Slab", serif;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.25rem; }

/* ================= LAYOUT ================= */
.site-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

/* ================= SIDEBAR ================= */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 2rem 1.5rem;
  border-right: 1px solid #eee;
  background: #fff;
}

.brand {
  text-decoration: none;
  display: block;
  text-align: center;
}

.brand img {
  height: 160px;
  margin: 0 auto;
}

.brand-tagline {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7c8f;
  letter-spacing: 0.04em;
}

/* Sidebar nav */
.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  text-align: center;
}

.side-nav li {
  margin-bottom: 0.75rem;
}

.side-nav a {
  text-decoration: none;
  color: #34495e;
}

.side-nav a:hover {
  color: #55ba48;
}

.nav-current {
  font-weight: 700;
  font-style: italic;
  color: #34495e;
}

/* ================= MAIN CONTENT ================= */
.content {
  overflow-x: hidden;
}

.content main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= BANDS ================= */
.band {
  padding: 3rem 1.5rem;
}

.band.light {
  background: #fafafa;
}

.band.border {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* ================= HERO TAGLINE ================= */
.hero-tagline-band {
  padding-top: 0.75rem;
  padding-bottom: 0.25rem;
}

.hero-tagline {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c8f;
  text-align: left;
}

/* ================= VIDEO ================= */
.hero-video-band {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 0; /* critical: prevents "floating card" feel */
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ================= IMAGE GRID (THIRDS) ================= */
.grid.thirds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.grid.thirds img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* ================= UTILITIES ================= */
.center-text {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ================= SERVICES ================= */
.service-lists {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

/* ================= INFO ================= */
.info-grid {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= MAP ================= */
.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* ================= FOOTER ================= */
.site-footer {
  padding: 2.5rem 1rem;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.site-footer img {
  width: 32px;
  height: 32px;
}

.footer-links {
  margin-top: 0.75rem;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .site-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #eee;
  }

  .grid.thirds {
    flex-direction: column;
  }

  .hero-tagline {
    text-align: center;
  }
}
