/* ==========================================================================
   Super State LLC — superstatellc.com static rebuild
   Design tokens extracted from the original site theme
   ========================================================================== */

:root {
  --color-brand: #1c50a3;        /* rgb(28,80,163) */
  --color-alt-brand: #1d2240;    /* rgb(29,34,64) */
  --color-text: #00000b;
  --color-text-alt: #ffffff;
  --color-complementary: #f7f8fa;
  --color-footer: #002764;       /* rgb(0,39,100) */
  --font-primary: 'Roboto', sans-serif;
  --font-secondary: 'Oswald', sans-serif;
  --header-height: 75px;
  --container: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
}

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

a { color: var(--color-brand); }
a:hover { opacity: .85; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Typography — Oswald headings, sized per original theme scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 .5em;
}

h1 { font-size: 48px; }
h2 { font-size: 40px; line-height: 1.25; }
h3 { font-size: 30px; }
h4 { font-size: 24px; line-height: 1.3; }
h5 { font-size: 20px; }

.hero-title { font-size: 72px; line-height: 1.1; }
.eyebrow {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 12px;
}

p { margin: 0 0 1em; }

@media (max-width: 1024px) {
  h1 { font-size: 38px; }
  h2 { font-size: 32px; }
  h3 { font-size: 26px; }
  .hero-title { font-size: 52px; }
}

@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
  .hero-title { font-size: 38px; }
}

/* --------------------------------------------------------------------------
   Buttons — square corners, brand blue, per original theme
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--color-brand);
  color: var(--color-text-alt);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  padding: 14px 36px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .8; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.site-logo { flex-shrink: 0; }
.site-logo img { height: 46px; width: auto; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.site-nav a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 38px;
  padding: 0 11px;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--color-brand); opacity: 1; }

.header-phone {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--color-brand); opacity: 1; }

/* Mobile nav (checkbox toggle, no JS required) */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  position: relative;
  content: "";
}
.nav-toggle-label span::before { position: absolute; top: -8px; }
.nav-toggle-label span::after { position: absolute; top: 8px; }

@media (max-width: 1120px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .site-nav a { line-height: 48px; padding: 0 24px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--complementary { background: var(--color-complementary); }
.section--white { background: #fff; }

@media (max-width: 1366px) { .section { padding: 83px 0; } .section--tight { padding: 60px 0; } }
@media (max-width: 1024px) { .section { padding: 66px 0; } .section--tight { padding: 48px 0; } }
@media (max-width: 767px)  { .section { padding: 44px 0; } .section--tight { padding: 32px 0; } }

/* Tagline band (home) */
.tagline-band { text-align: center; }
.tagline-band .hero-title { margin-bottom: .2em; }
.tagline-band .subtitle {
  font-family: var(--font-secondary);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}
@media (max-width: 1024px) { .tagline-band .subtitle { font-size: 30px; } }
@media (max-width: 767px)  { .tagline-band .subtitle { font-size: 22px; } }

/* Full-width image band (home hero photo) */
.image-band {
  background-size: cover;
  background-position: center;
  padding: 195px 0;
}
@media (max-width: 1366px) { .image-band { padding: 147px 0; } }
@media (max-width: 1024px) { .image-band { padding: 117px 0; } }
@media (max-width: 767px)  { .image-band { padding: 78px 0; } }

.image-band--home { background-image: url('/images/home-hero-cleared-land.jpg'); }
@media (max-width: 800px) {
  .image-band--home { background-image: url('/images/home-hero-cleared-land-800.jpg'); }
}

/* Two-column rows */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.row--text-wide { grid-template-columns: 7fr 5fr; }
@media (max-width: 1024px) {
  .row, .row--text-wide { grid-template-columns: 1fr; gap: 36px; }
  .row--img-first-mobile .row-image { order: -1; }
}

.row-image img { width: 100%; height: 100%; object-fit: cover; }

.feature-image img { width: 100%; max-height: 460px; object-fit: cover; }

/* Page hero (interior pages) */
.page-hero { text-align: left; }
.page-hero .lead { max-width: 900px; }
.page-hero .btn { margin-top: 12px; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-left: auto; margin-right: auto; }

/* Service blocks */
.service-block + .service-block { margin-top: 40px; }
.service-block .btn { margin-top: 8px; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gallery-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog-list { max-width: 860px; margin: 0 auto; }
.blog-card { padding: 40px 0; border-bottom: 1px solid #e2e5ea; }
.blog-card:first-child { padding-top: 0; }
.blog-card h2 { font-size: 30px; margin-bottom: 6px; }
.blog-card h2 a { color: var(--color-text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--color-brand); opacity: 1; }

.post-meta {
  font-size: 14px;
  color: #5a5e6b;
  margin-bottom: 16px;
}
.post-meta .divider { margin: 0 8px; }

.post { max-width: 860px; margin: 0 auto; }
.post h1 { margin-bottom: 8px; }
.post h2 { font-size: 28px; margin-top: 1.4em; }
.post h3 { font-size: 22px; margin-top: 1.2em; }
.post ul { margin: 0 0 1.2em; padding-left: 24px; }
.post li { margin-bottom: .6em; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #e2e5ea;
  font-size: 15px;
}
.post-nav a { text-decoration: none; }

/* Contact CTA band (embedded on every page) */
.cta-band .row { align-items: start; }
.cta-band .contact-form { margin-top: 8px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form label { display: block; margin-bottom: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-primary);
  font-size: 16px;
  border: 1px solid #ccd1da;
  border-radius: 0;
  background: #fff;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--color-brand); outline-offset: -1px; }

.contact-info h5 { margin: 22px 0 4px; font-size: 18px; }
.contact-info h5:first-child { margin-top: 0; }
.contact-info p { margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-footer);
  color: var(--color-text-alt);
  padding: 64px 0 28px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4, .site-footer h5 { color: var(--color-text-alt); }
.site-footer h5 { font-size: 18px; margin-bottom: 6px; }
.site-footer a { color: var(--color-text-alt); text-decoration: underline; }
.site-footer a:hover { opacity: .8; }

.footer-logo img { height: 90px; width: auto; margin-bottom: 18px; }

.footer-socials { list-style: none; margin: 0 0 14px; padding: 0; }
.footer-socials li { margin-bottom: 4px; }

.footer-licenses { font-size: 14px; line-height: 1.7; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .2);
  padding-top: 22px;
  text-align: center;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Cookie / analytics notice
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-alt-brand);
  color: var(--color-text-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 24px;
  font-size: 14px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, .25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 720px; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 26px; font-size: 15px; }
.btn--ghost {
  background: transparent;
  color: var(--color-text-alt);
  border: 1px solid rgba(255, 255, 255, .6);
}
