/* WatsonPlace — shared styles */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Tight:wght@600;700&display=swap");

:root {
  --bg:        #fafafa;
  --surface:   #ffffff;
  --border:    #e5e7eb;
  --text:      #111111;
  --muted:     #6b7280;
  --accent:    #2563eb;
  --accent-dk: #1d4ed8;
  --radius:    10px;
  --max-w:     860px;
  --nav-h:     60px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(circle, #b4bac6 1.25px, transparent 1.25px);
  background-size: 24px 24px;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* Page wrapper */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* Typography */
h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { color: var(--text); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Hero */
.hero {
  padding: 40px 0 40px;
  margin-bottom: 48px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 20px; }

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* Austin photo banner */
.austin-banner {
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 56px;
}

.austin-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 150ms, border-color 150ms;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-color: #d1d5db;
}

.card-icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
}

.card h3 { font-size: 16px; }

.card p {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.card-link:hover { text-decoration: underline; }

/* Section */
.section {
  margin-bottom: 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Post list */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-item {
  padding: 24px 0;
}

.post-item + .post-item {
  border-top: 1px solid var(--border);
}


.post-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.post-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.post-title:hover { color: var(--accent); text-decoration: none; }

.post-summary {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* Prose (for rendered Markdown) */
.prose {
  max-width: 680px;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: "Inter Tight", sans-serif;
  letter-spacing: -0.02em;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.prose h1 { font-size: 32px; margin-top: 0; }
.prose h2 { font-size: 22px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.prose h3 { font-size: 17px; }

.prose p { margin-bottom: 1.2em; }

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

.prose li { margin-bottom: 0.4em; }

.prose code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.875em;
  background: #f3f4f6;
  padding: 2px 5px;
  border-radius: 4px;
}

.prose pre {
  background: #1e1e2e;
  color: #cdd6f4;
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.prose pre code {
  background: none;
  padding: 0;
  font-size: 14px;
  color: inherit;
}

.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
  margin: 0 0 1.2em;
}

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

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 1.5em 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 150ms;
}

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

/* Inline block list (subsections) */
.block-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.block-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.block-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.block-body h3 { margin-bottom: 6px; }

.block-body p {
  font-size: 15px;
  color: var(--muted);
}

/* Footer */
footer {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 600px) {
  main { padding: 32px 16px 56px; }

  nav { height: auto; }
  .nav-inner { flex-direction: column; align-items: flex-start; padding: 10px 16px; gap: 6px; }
  .nav-links { gap: 16px; }

  h1 { font-size: 26px; }

  .hero { padding: 20px 0 24px; margin-bottom: 28px; }
  .hero-eyebrow { margin-bottom: 12px; }
  .hero h1 { margin-bottom: 12px; }
  .hero-lead { font-size: 16px; }

  .cards { margin-top: 24px; gap: 12px; }

  .section { margin-bottom: 36px; }
  .section-label { margin-bottom: 16px; }

  .divider { margin: 28px 0; }

  .block-list { gap: 24px; }
  .block-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .block-icon { width: 40px; height: 40px; font-size: 18px; }

  .austin-banner { height: 110px; margin-bottom: 36px; }

  .post-item { padding: 16px 0; }
  .post-title { font-size: 16px; }

  .back-link { margin-bottom: 28px; }

  .prose h1 { font-size: 24px; }
  .prose h2 { font-size: 19px; }
}
