/* breezewaylabs.com — minimal, readable, mobile-first */

:root {
  --bg: #fbf9f4;
  --ink: #1d1f1c;
  --muted: #5a5d57;
  --accent: #5a7c4a;
  --rule: #d9d6cd;
  --max: 36rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  padding: 2.5rem 1.25rem 4rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

header.site {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

header.site a.brand {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
  font-weight: 600;
}

p { margin: 0.6rem 0; }

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

ul.projects {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

ul.projects li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}

ul.projects li:last-child { border-bottom: 0; }

ul.projects a {
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

ul.projects a:hover { color: var(--accent); }

ul.projects .desc {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
}

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

dl.meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
dl.meta dt { color: var(--muted); }
dl.meta dd { margin: 0; }

.callout {
  background: #f1eee5;
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

/* ── Homepage ──────────────────────────────────────────────────────────────── */

body.home {
  padding: 0;
}

.home-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.home-header {
  margin-bottom: 3.5rem;
}

.home-header .brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.home-hero {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.home-lede {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-bottom: 3.5rem;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bar);
}

.product-card .eyebrow {
  margin: 6px 0 8px;
}

.product-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.product-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.product-card h2 a:hover {
  color: var(--accent);
}

.product-card > p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.62;
  margin: 0 0 1.2rem;
  flex: 1;
}

.badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 99px;
}

.badge-live {
  background: #eef4eb;
  color: #3a5828;
}

.badge-dev {
  background: #f5f0e8;
  color: #7a5a2a;
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.home-footer nav {
  display: flex;
  gap: 1.25rem;
}

.home-footer a {
  color: var(--muted);
  text-decoration: none;
}

.home-footer a:hover {
  color: var(--ink);
}

@media (max-width: 600px) {
  .home-hero h1 {
    font-size: 2.2rem;
  }

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