/* Pittsburgh Slice Co. — vanilla static site */
:root {
  --bg: #ffffff;
  --surface: #f7f7f8;
  --text: #1a1a1a;
  --muted: #555555;
  --accent: #b91c1c;
  --accent-hover: #991b1b;
  --border: #e5e5e5;
  --radius: 8px;
  --max-width: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

/* Header & Nav */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: .35rem .6rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 3rem 0;
}

/* Hero */
.hero {
  background: var(--surface);
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 .5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--text);
  color: #fff;
}

.btn-secondary:hover {
  background: #333;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.card h3 {
  margin: 0 0 .5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.service h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info p {
  margin: .4rem 0;
}

.contact-info a {
  color: var(--accent);
}

form label {
  display: block;
  margin: 1rem 0 .3rem;
  font-weight: 600;
  font-size: .95rem;
}

form input,
form textarea {
  width: 100%;
  padding: .6rem .75rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
}

form input:focus,
form textarea:focus {
  outline: 2px solid #bbb;
  outline-offset: 0;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

.hint {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .25rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Mobile */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 1rem; }
  section { padding: 2rem 0; }
}
