/*
Theme Name: Stanton Contracting
Description: Single-page business website for Stanton Contracting LLC.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: stanton-contracting
*/

:root {
  --orange: #ff8200;
  --gray: #63666a;
  --black: #1f1f1f;
  --white: #fff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 1rem/1.55 system-ui, sans-serif;
  text-align: center;
}

main { padding: clamp(2.5rem, 7vw, 5rem) 1rem 3rem; }
.logo { display: block; width: min(100%, 37rem); height: auto; margin: 0 auto; }
h1 { margin: 0; }
.services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .2rem 1.35rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.08rem, 3.6vw, 1.55rem);
  font-weight: 750;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .65rem 1.35rem;
  border: 2px solid var(--orange);
  border-radius: .3rem;
  color: var(--black);
  background: var(--orange);
  font-weight: 750;
  text-decoration: none;
}
.button.secondary { background: transparent; color: var(--white); border-color: var(--gray); }
.button:hover { background: var(--white); border-color: var(--white); color: var(--black); }
a:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
footer {
  border-top: 1px solid var(--gray);
  padding: 1.25rem 1rem;
  color: #e6e6e6;
  font-size: .875rem;
}
footer a { color: inherit; text-underline-offset: .2em; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 34rem) {
  .services { flex-direction: column; }
  .actions { display: grid; width: min(100%, 20rem); margin-inline: auto; }
}
