
/* Sirocco Publishing — brand theme */
:root{
  --bg:#faf9f6;
  --ink:#0f172a;
  --muted:#475569;
  --line:#e5e7eb;
  --accent:#6b2c7a;   /* deep purple */
  --accent-2:#b53781; /* berry */
  --surface:#f7f5f2;
  --radius:16px;
  --shadow:0 10px 30px rgba(17,12,24,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--ink);
  background:
    radial-gradient(1000px 600px at 70% -10%, rgba(181,55,129,.06) 0, transparent 60%),
    var(--bg);
  line-height:1.6;
}
a{color:var(--accent-2); text-decoration: none}
a:hover{text-decoration: underline}
.container{max-width:1100px; margin:0 auto; padding:0 20px}

header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(250,249,246,.84); backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand img{height:36px; width:auto; border-radius:6px}
.brand .name{font-weight:700; letter-spacing:.3px}
nav a{margin:0 10px; padding:8px 10px; border-radius:12px}
nav a:hover{background:var(--surface)}

.hero{padding:56px 0 28px}
.hero h1{font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-size: clamp(28px, 6vw, 48px); line-height:1.1; margin:0 0 10px}
.hero p{color:var(--muted); max-width:70ch}

.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:20px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:1000px; padding:12px 18px; border:1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f7f5f2);
  color:var(--ink); font-weight:600; text-decoration:none; box-shadow:var(--shadow);
}
.btn:hover{transform:translateY(-1px); box-shadow:0 12px 40px rgba(17,12,24,.12)}
.btn.primary{background: linear-gradient(180deg, var(--accent), var(--accent-2)); color:#fff; border-color:#7d2f7d}
.btn.ghost{background: transparent; box-shadow:none; border-color: var(--accent); color: var(--accent)}

.section{padding:40px 0}
.section h2{font-size: clamp(22px, 5vw, 34px); margin:0 0 18px; font-family: ui-serif, Georgia, Cambria, Times, serif}
.section p.lead{color:var(--muted); max-width:70ch}

.grid{
  display:grid; gap:20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card{
  background: linear-gradient(180deg, #fff, #f7f5f2);
  border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
  display:flex; flex-direction:column;
}
.card .media{aspect-ratio: 3/4; background:var(--surface); overflow:hidden}
.card img{width:100%; height:100%; object-fit:cover; display:block}
.card .body{padding:16px}
.card h3{margin:0 0 6px}
.badge{display:inline-block; font-size:12px; color:#541b5c; background: #f8ecf4; border:1px solid #f4c6dd; border-radius:999px; padding:4px 10px}

.actions{margin-top:auto; display:flex; gap:10px; padding:16px; border-top:1px solid var(--line)}

.subscribe{
  display:grid; gap:14px;
  grid-template-columns:1fr auto;
  max-width:560px; margin-top:10px;
}
label[for=email]{position:absolute; left:-9999px}
input[type=email]{
  width:100%; border-radius:1000px; border:1px solid var(--line); padding:14px 16px;
  font-size:16px; background:#fff; outline:none;
}
button[type=submit]{border:0}
.note{font-size:14px; color:var(--muted)}

.callout{
  background: linear-gradient(90deg, rgba(107,44,122,.08), rgba(181,55,129,.08));
  border:1px solid var(--line);
  padding:16px; border-radius:14px; font-size:14px; color:#351b3b;
}

footer{border-top:1px solid var(--line); margin-top:40px; padding:24px 0; color:var(--muted); font-size:14px}

.main-content{padding:28px 0 12px}
.prose p{max-width:70ch}
.prose ul{max-width:70ch}

.hero-book{display:grid; gap:24px; grid-template-columns: 1fr 1.3fr; align-items:center}
@media (max-width:900px){ .hero-book{grid-template-columns:1fr} }

audio{width:100%}

hr.sep{border:0; border-top:1px dashed var(--line); margin:24px 0}

.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{position:static; width:auto; height:auto; padding:4px 8px; background:#fff; border:1px solid var(--line)}

small.code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background: #f1f5f9; border:1px solid #e2e8f0; padding:2px 6px; border-radius:6px}

.social{display:flex; align-items:center; gap:10px}
.social a{display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:999px; border:1px solid var(--line)}
.social a:hover{ background: var(--surface) }

.event-bar{
  background: linear-gradient(90deg, rgba(107,44,122,.08), rgba(181,55,129,.08));
  border-bottom:1px solid var(--line);
  font-size:14px; color:#351b3b;
}
.event-bar .inner{max-width:1100px; margin:0 auto; padding:10px 20px; display:flex; gap:12px; align-items:center; justify-content:center; flex-wrap:wrap}
.event-bar .inner strong{font-weight:700}
