:root {
  --purple: #5b1f66;
  --purple-dark: #431749;
  --gold: #f5a91c;
  --ink: #26202a;
  --muted: #6b6270;
  --bg: #ffffff;
  --soft: #f7f3f8;
  --line: #e6dfe8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 3px solid var(--gold); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; display: block; }
.brand span { font-size: 1.5rem; font-weight: 700; color: var(--purple); letter-spacing: -0.01em; }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--gold); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; padding: 56px 0 52px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.hero p { margin: 0; max-width: 640px; color: #eadcee; font-size: 1.05rem; }
.hero .bar { width: 64px; height: 4px; background: var(--gold); margin-bottom: 18px; border-radius: 2px; }

main { padding: 44px 0 64px; }
h2 { color: var(--purple); font-size: 1.5rem; margin: 0 0 12px; }
h3 { color: var(--purple); font-size: 1.15rem; margin: 0 0 8px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 6px; padding: 22px 22px 20px; background: #fff; }
.card p { margin: 0 0 12px; }
.deliverables { font-size: 0.93rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin: 0; }
.deliverables strong { color: var(--ink); }
.samples-callout { margin-top: 36px; background: var(--soft); border-radius: 6px; padding: 22px; }
.samples-callout ul { margin: 8px 0 0; padding-left: 20px; }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 28px; }
.about .headshot { width: 237px; max-width: 100%; border-radius: 6px; }
.social { display: flex; gap: 14px; margin-top: 14px; }
.social a { font-size: 0.9rem; font-weight: 600; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.post-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.post-card .noimg { height: 8px; background: var(--gold); }
.post-card .body { padding: 18px 20px 20px; }
.post-card h3 { margin-bottom: 6px; }
.post-card time { font-size: 0.82rem; color: var(--muted); display: block; margin-bottom: 8px; }
.post-card p { margin: 0; font-size: 0.95rem; color: #3d3542; }

/* Contact */
.contact { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .contact { grid-template-columns: 1fr 1.2fr; } .about { grid-template-columns: 1fr 260px; } }
form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
form input, form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfc4d2; border-radius: 4px; font: inherit; margin-bottom: 14px; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form textarea { min-height: 140px; resize: vertical; }
button, .btn { background: var(--purple); color: #fff; border: 0; padding: 11px 26px; border-radius: 4px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: var(--purple-dark); color: #fff; }
.hp { position: absolute; left: -9999px; }

/* Blog post */
.post { max-width: 720px; margin: 0 auto; }
.post h1 { color: var(--purple); font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.25; margin: 6px 0 6px; }
.post time { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.post h2 { margin-top: 30px; }
.post .back { margin: 0 0 14px; font-size: 0.9rem; }
.post img { max-width: 100%; height: auto; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }

figure { margin: 24px 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; }
figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.post figure.wide { margin-left: -60px; margin-right: -60px; }
@media (max-width: 860px) { .post figure.wide { margin-left: 0; margin-right: 0; } }
.refs { font-size: 0.95rem; }

/* Footer */
footer { border-top: 3px solid var(--gold); background: var(--soft); padding: 26px 0; font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .brand span { font-size: 1.25rem; }
  nav ul { gap: 14px; }
  form .row { grid-template-columns: 1fr; }
}
