/* NW Bild LLC: shared site styles. Plain CSS, no build step. */

:root {
  --bg: #121417;
  --bg-alt: #17191d;
  --surface: #1e2126;
  --surface-line: #2c3038;
  --text: #ece9e2;
  --text-muted: #b3afa4;
  --accent: #c19a5b;
  --accent-dark: #9a783f;
  --focus: #e8c88a;
  --radius: 10px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--text);
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--focus);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.container.narrow {
  max-width: 780px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #121417;
  padding: 0.6rem 1rem;
  font-weight: 600;
  z-index: 20;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  color: #121417;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(18, 20, 23, 0.97);
  border-bottom: 1px solid var(--surface-line);
  z-index: 10;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  text-decoration: none;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-left: 0.35rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0.1rem;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

.site-nav a.nav-cta:hover {
  color: #121417;
  background: var(--accent);
}

/* Hero */

.hero {
  background: linear-gradient(180deg, #1a1d21 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--surface-line);
  padding: 4rem 0 3.5rem;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.button-accent {
  background: var(--accent);
  color: #121417;
}

.button-accent:hover {
  background: var(--focus);
  color: #121417;
}

.button-outline {
  border-color: var(--accent-dark);
  color: var(--accent);
  background: transparent;
}

.button-outline:hover {
  background: var(--surface);
  color: var(--focus);
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--surface-line);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
}

.section-intro {
  color: var(--text-muted);
  max-width: 720px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.card h3 {
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--text-muted);
}

.person-card h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.person-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

/* Projects */

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.project {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.project-meta {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.project-body p:last-child {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Lists */

.check-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
}

.check-list li strong {
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* Contact */

.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, #1a1d21 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-block h3 {
  margin-bottom: 0.2rem;
}

.contact-block p {
  color: var(--text-muted);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.contact-note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--surface-line);
  padding: 2.5rem 0;
  background: #0e1013;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  color: var(--text);
}

.footer-compliance {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 820px;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Larger screens */

@media (min-width: 720px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    padding: 5.5rem 0 4.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-two {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Portfolio, case study, forms, and founders photo (Nov 10, 2026 additions) */

.subsection-heading {
  margin-top: 2.75rem;
  font-size: 1.45rem;
}

.project-list-single {
  max-width: 900px;
}

.project-portfolio {
  border-left-color: var(--surface-line);
}

.step-list {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0;
  padding: 0;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3.1rem;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.step-list li strong {
  color: var(--text);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--accent-dark);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-note {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0;
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2.25rem;
}

.form-panel h3 {
  margin-bottom: 0.4rem;
}

.form-panel p {
  color: var(--text-muted);
}

.site-form {
  margin-top: 1.25rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-field input,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--surface-line);
  border-radius: 6px;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 1rem;
}

.form-field input:focus-visible,
.form-field select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--focus);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

.form-consent {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

button.button {
  font: inherit;
  cursor: pointer;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.signup-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.signup-card p {
  color: var(--text-muted);
}

.signup-card .site-form {
  margin-top: 1rem;
}

.founders-photo {
  margin: 1.75rem 0 0;
}

.founders-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--surface-line);
}

.founders-photo figcaption {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

@media (min-width: 720px) {
  .project-list-single {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
    gap: 2.5rem;
  }
}
