/* WylieTek — colors sampled from WylieTek logo.png */
:root {
  --navy: #293039;        /* logo mark + wordmark */
  --navy-soft: #555c66;   /* secondary text */
  --red: #e02128;         /* logo accent — use sparingly */
  --red-dark: #b8191f;
  --line: #e4e6ea;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --max: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

a { color: var(--red); text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.75rem; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--navy); }
.brand img { width: 36px; height: 36px; }

.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.975rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* Hero */
.hero {
  text-align: center;
  padding-block: 4rem 4.5rem;
}
.hero-logo {
  width: min(340px, 75vw);
  margin: 0 auto 2rem;
}
.hero .lead {
  font-size: 1.2rem;
  color: var(--navy-soft);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.button {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--red-dark); color: #fff; }

/* Product strip on home */
.band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 3rem;
}
.product {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 0.4rem;
}
.product p:last-child { margin-bottom: 0; }
.text-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

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

/* Interior pages */
.page { padding-block: 3.5rem 4.5rem; }
.page .container { max-width: 720px; }
.page h1 {
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.page h2 { margin-top: 2.25rem; }

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.contact-card dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.contact-card dd { margin: 0.2rem 0 0; font-size: 1.15rem; font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--navy-soft);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
  padding-block: 1.5rem;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--navy-soft); }
.site-footer a:hover { color: var(--navy); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
