/* Summit Construction Group — navy lockup, steel bar */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071422;
  --navy-mid: #122844;
  --steel: #3B7FBF;
  --steel-dim: rgba(59, 127, 191, 0.28);
  --white: #ffffff;
  --text: #f4f7fb;
  --muted: #b7c4d4;
  --line: rgba(255, 255, 255, 0.12);
  --focus: #8ec0ef;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

body {
  font-family: Outfit, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.55;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--white);
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  color: var(--white);
  line-height: 1;
}

.lockup-summit {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-right: 0.22em;
}

.lockup-bar {
  display: block;
  height: 3px;
  background: var(--steel);
  margin: 0.34em 0 0.38em;
  width: 100%;
}

.lockup-group {
  font-weight: 500;
  font-size: 0.42rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: justify;
  text-align-last: justify;
  width: 100%;
  white-space: nowrap;
}

.lockup--hero .lockup-summit {
  font-size: clamp(2.75rem, 9vw, 5.4rem);
  letter-spacing: 0.16em;
  padding-right: 0.16em;
}

.lockup--hero .lockup-bar {
  height: clamp(6px, 1vw, 10px);
  margin: 0.22em 0 0.28em;
}

.lockup--hero .lockup-group {
  font-size: clamp(0.62rem, 1.85vw, 1.05rem);
  font-weight: 500;
}

.lockup--footer .lockup-summit {
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  padding-right: 0.2em;
}

.lockup--footer .lockup-bar { height: 3px; }

.lockup--footer .lockup-group { font-size: 0.4rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 3px solid var(--steel);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

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

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--steel);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 108px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.82) 8%, rgba(7, 20, 34, 0.94) 100%),
    url("assets/logo-hero.jpeg") center 42% / cover no-repeat;
  filter: saturate(0.55) brightness(0.72);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero .lockup--hero { margin: 0 0 28px; }

.hero h1 {
  margin: 0 0 14px;
  max-width: 22ch;
}

.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 38rem;
}

.hero .actions { justify-content: center; }

.page-mast {
  padding: 64px 0 8px;
  background:
    radial-gradient(900px 320px at 0% -20%, rgba(59, 127, 191, 0.16), transparent 65%),
    var(--navy);
}

.page-mast h1 { margin-bottom: 12px; }

.kicker {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42rem;
}

.prose {
  max-width: 42rem;
  color: var(--muted);
}

.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--white); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--steel);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--steel);
}

.btn:hover { filter: brightness(1.08); }

.btn.ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }

.block {
  padding: 88px 0;
}

.block.alt {
  background: var(--navy-mid);
  border-block: 1px solid var(--line);
}

.block.tight { padding: 56px 0 88px; }

.trades {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trades li {
  background: var(--navy-mid);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  padding: 22px 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trades.compact {
  grid-template-columns: repeat(4, 1fr);
}

.trades li strong {
  font-weight: 600;
}

.trades li span {
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
  max-width: 40rem;
}

.contact-grid.pair {
  grid-template-columns: 1fr 1fr;
  max-width: 40rem;
}

.contact-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-grid a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-grid a:hover { border-bottom-color: var(--white); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.project-card {
  background: var(--navy-mid);
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.block.alt .project-card,
.hero + .block .project-card {
  background: var(--navy-deep);
}

.project-card .market {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.project-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.2;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.project-card .loc {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.empty-dir {
  margin-top: 28px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--steel);
  background: var(--navy-mid);
  max-width: 40rem;
}

.empty-dir p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 3px solid var(--steel);
  padding: 40px 0 32px;
  background: var(--navy-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px 48px;
  align-items: start;
}

.footer-brand-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand-text strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta a {
  color: var(--white);
  text-decoration: none;
}

.footer-meta a:hover { text-decoration: underline; }

.footer-meta p { margin: 0; }

.footer-legal {
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .trades,
  .project-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 12px;
    min-height: 0;
  }

  .nav {
    width: 100%;
    padding-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(1140px, calc(100% - 32px)); }

  .hero { padding: 56px 0 64px; }
  .block { padding: 56px 0; }
  .page-mast { padding-top: 36px; }

  .trades,
  .trades.compact,
  .project-grid,
  .contact-grid,
  .contact-grid.pair,
  .footer-grid,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .project-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
