/* Placeholder styling; replace with the real design */
:root {
  --bg: #0F172A;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --border: #334155;
  --accent: #ffffff;
  --cta: #ea580c;
  --cta-hover: #c2410c;
  --cta-alt: #2dd4bf;
  --cta-alt-border: #0d9488;
  --cta-alt-hover: #1e293b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}
.site-header nav a { margin-left: 1rem; }
.brand { font-weight: 700; text-decoration: none; color: inherit; }

main { max-width: 60rem; margin: 0 auto; padding: 1rem; }

.cards, .services, .tags { list-style: none; padding: 0; margin: 0; }
.cards { display: flex; flex-direction: column; gap: 3rem; }
.card + .card { padding-top: 3rem; border-top: 1px solid var(--border); }
.card a { text-decoration: none; color: inherit; }
.card img { width: 100%; max-height: 18rem; object-fit: cover; border-radius: 0.5rem; }
.card h3 { margin: 1rem 0 0.5rem; font-size: 1.5rem; }
.card p { margin: 0 0 1rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { font-size: 0.8rem; padding: 0.1rem 0.6rem; border: 1px solid var(--border); border-radius: 1rem; color: var(--muted); }

.experience .summary { font-size: 1.2rem; color: var(--muted); }
.experience .secondary { margin-top: 2rem; }

.prev-next { display: flex; justify-content: space-between; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border); }

.contact-form div { margin-bottom: 1rem; }
.contact-form label { display: block; }
.contact-form input, .contact-form textarea { width: 100%; max-width: 30rem; padding: 0.5rem; font: inherit; }

.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; margin-top: 1.5rem; }
.intro .body > :first-child { margin-top: 0; }
@media (min-width: 40rem) { .intro { grid-template-columns: 14rem 1fr; } }
.headshot { border-radius: 0.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-block; padding: 0.85rem 1.75rem; border: 1px solid transparent; font: inherit; cursor: pointer; border-radius: 0.375rem; font-size: 1.1rem; font-weight: 500; transition: background-color 0.15s, color 0.15s; }
.button:hover { text-decoration: none; }
.button-primary { background: var(--cta); color: #fff; }
.button-primary:hover { background: var(--cta-hover); }
.button-secondary { border-color: var(--cta-alt-border); color: var(--cta-alt); }
.button-secondary:hover { background: var(--cta-alt-hover); }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 1.25rem 0 1.75rem; }
.store-links a { display: block; line-height: 0; }
.store-links img { display: block; }
/* Google's badge has transparent padding built in; this sizes its visible part to match Apple's 40px */
.badge-google { height: 60px; width: auto; margin: -10px -9px; }
.logo { height: 1.5rem; width: auto; display: inline; vertical-align: middle; margin-right: 0.5rem; }

.page .hero, .experience .hero { width: 100%; max-height: 16rem; object-fit: cover; border-radius: 0.5rem; margin-bottom: 1.5rem; }
.intro-text { color: var(--muted); max-width: 40rem; margin-bottom: 2rem; }
.engagement-terms h2, .related h2 { margin-top: 3rem; }
.service + .service { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.service h2 { margin-top: 0; }
.breadcrumb { color: var(--muted); margin-bottom: 0.5rem; }

.site-footer {
  max-width: 60rem;
  margin: 3rem auto 0;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
@media (min-width: 40rem) { .site-footer { grid-template-columns: repeat(4, 1fr); } }
.site-footer address { font-style: normal; }
.site-footer p { margin: 0.2rem 0; }
.site-footer a { color: inherit; }
.copyright { margin: 0; }
@media (min-width: 40rem) { .copyright { text-align: right; } }
