/* Red Wall Consulting LLC — site styles */
:root {
  --red: #8b1f1f;
  --red-dark: #6d1717;
  --ink: #2b2b2b;
  --muted: #5c5c5c;
  --paper: #ffffff;
  --wash: #faf7f4;
  --line: #e8e2dc;
  --dark: #242424;
  --amber-bg: #fff8e8;
  --amber-line: #e6c96a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--red);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 56px;
  width: auto;
  border-radius: 6px;
}
.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red-dark);
  line-height: 1.25;
}
.brand-tag {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

/* Hero */
.hero {
  background: var(--red);
  color: #fff;
  padding: 3rem 0;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2.2rem;
  line-height: 1.2;
}
.hero .tagline { font-size: 1.2rem; margin: 0 0 1rem; }
.hero .lede { font-size: 1.1rem; max-width: 640px; }
.hero .btn { margin: 0.5rem 0.5rem 0 0; }

/* Sections */
.section { padding: 2.5rem 0; }
.section:nth-of-type(even) { background: var(--wash); }
.section h2 { color: var(--red-dark); margin-top: 0; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid var(--red);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn.secondary:hover { background: rgba(255,255,255,0.15); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
}
.card h3 { margin-top: 0; color: var(--red-dark); }
.readmore { color: var(--red); font-weight: 600; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; }
.steps li {
  counter-increment: step;
  margin: 0 0 1.5rem;
  padding-left: 3rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin: 0 0 0.25rem; }

/* Owner strip */
.owner-strip {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.owner-strip img {
  border-radius: 10px;
  max-width: 170px;
  height: auto;
}

/* Disclaimer + notes */
.disclaimer {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber-line);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.75rem 0;
  font-size: 0.95rem;
}

/* Prose pages */
.prose p, .prose ul { max-width: 720px; }
.page-title { color: var(--red-dark); }
.owner-photo { margin: 1.5rem 0; }
.owner-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.owner-photo figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Service blocks */
.service-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.service-block h2 { color: var(--red-dark); margin-top: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.contact-panel {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}
.email-line a { font-weight: 700; color: var(--red); word-break: break-all; }
.form-note {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber-line);
  padding: 0.8rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
}
.contact-form label { display: block; font-weight: 600; margin: 0.9rem 0 0.3rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-result {
  display: none;
  margin-top: 1rem;
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  border-radius: 6px;
  padding: 0.8rem 1rem;
}
.form-result.show { display: block; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #e8e8e8;
  padding: 2.5rem 0 0;
  margin-top: 1rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.site-footer h2, .site-footer h3 { color: #fff; margin-top: 0; }
.site-footer a { color: #ffd9d9; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid #444;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #bdbdbd;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .owner-strip { flex-direction: column; align-items: flex-start; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav ul { flex-wrap: wrap; gap: 0.75rem 1.25rem; }
}
