/* Schemaport – colors and sizes match the original WordPress.com theme */
:root {
  --orange: #ff6900;
  --ink: #0f0f0f;
  --white: #ffffff;
  --hero-dim: rgba(16, 19, 35, 0.4);
  --engage-dim: rgba(24, 28, 53, 0.2);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;

  --fs-display: clamp(2.441rem, 2.441rem + ((1vw - 0.2rem) * 1.286), 3.052rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
  --fs-body: clamp(1rem, 0.95rem + 0.3vw, 1.23rem);

  --gutter: 1.75rem;
  --space-section: clamp(5.25rem, 12.3vw, 8.75rem);
  --content: 720px;
  --wide: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.011em;
  margin: 0 0 1rem;
}

.display { font-size: var(--fs-display); }

a { color: inherit; }

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 10;
  background: var(--white); padding: 0.5rem 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  padding: 0.875rem 2.625rem;
  border-radius: 999px;
  transition: filter 0.15s ease;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.1); }

/* Orange top bar and footer */
.bar {
  background: var(--orange);
  color: var(--ink);
  padding: 0.5rem var(--gutter);
  display: flex;
  justify-content: center;
}
.bar img { width: 300px; }
.bar--footer p {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 695px;
  color: var(--white);
  background:
    linear-gradient(var(--hero-dim), var(--hero-dim)),
    url("images/hero.jpg") center / cover no-repeat;
  padding: 0 var(--gutter) var(--gutter);
}
.hero__inner {
  max-width: var(--wide);
  margin: 0 auto;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}
.site-title {
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}
.hero nav a { font-size: 0.85em; text-decoration: none; }
.hero nav a:hover, .site-title:hover { text-decoration: underline; }

.hero__body {
  margin: auto 0;
  padding: 2rem 0 3rem;
  text-align: center;
}
.hero__areas {
  list-style: none;
  padding: 0;
  margin: 2rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.15;
}

/* Sections */
.section {
  padding: var(--space-section) var(--gutter);
}
.narrow {
  max-width: var(--content);
  margin: 0 auto;
}
.lead { font-family: var(--font-head); }

.services {
  max-width: var(--wide);
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.services article { padding: var(--gutter) var(--gutter) 0; }
.services h3 {
  font-size: var(--fs-h3);
  text-align: center;
  margin-bottom: 1.5rem;
}
.services ul { padding-left: 1.25rem; margin: 0; }
.services li { margin-bottom: 0.25rem; }

/* About */
#about { padding-top: 0; }
.bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0 3rem;
}

/* Engage call-to-action */
.engage {
  min-height: 417px;
  color: var(--white);
  background:
    linear-gradient(var(--engage-dim), var(--engage-dim)),
    url("images/manufacturing-banner.jpg") center / cover no-repeat;
  padding: var(--gutter);
  display: flex;
  align-items: center;
}
.engage__box {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  border: 1px solid var(--white);
  padding: clamp(1.75rem, 3.5vw, 3.5rem);
}
.engage__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

/* Phones and small tablets */
@media (max-width: 781px) {
  .hero__areas,
  .services,
  .bio { grid-template-columns: minmax(0, 1fr); }
  .hero__areas { gap: 1.25rem; }
  .services { margin: 2rem auto; gap: 1rem; }
  .services article { padding: 1rem 0 0; }
  .bio img { width: 100%; max-width: 360px; margin: 0 auto; }
  .btn { padding: 0.875rem 1.75rem; }
  .engage__buttons .btn { white-space: normal; }
}
