:root{
  --bg:#f4f1ee;
  --paper:#ffffff;
  --ink:#1f2933;
  --muted:#5b6770;

  --plum:#5b2a3c;
  --plumSoft:#f1e8ec;

  --rust:#9a3412;
  --rustSoft:#fde8df;

  --border:rgba(31,41,55,.12);
  --shadow:0 18px 40px rgba(0,0,0,.08);

  --radius:18px;
  --max:980px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

main{
  max-width:var(--max);
  margin:auto;
  padding:34px 20px 80px;
}

/* Header */
header{
  background: rgba(255,255,255,.75);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner{
  max-width:var(--max);
  margin:auto;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.siteTitle{
  font-weight:950;
  letter-spacing:-.3px;
}

/* Desktop nav */
.headerNav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.headerNav a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
  background: rgba(255,255,255,.55);
}

.headerNav a:hover{
  border-color: var(--border);
  background: rgba(255,255,255,.85);
}

.navCta{
  color:var(--plum) !important;
  font-weight:850;
  background: rgba(91,42,60,.10) !important;
  border-color: rgba(91,42,60,.18) !important;
}

/* Mobile menu button */
.menuBtn{
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  cursor:pointer;
  font-weight:850;
  color: var(--ink);
}

.menuBtn__bars{
  width:18px;height:12px;position:relative;display:inline-block;
}
.menuBtn__bars::before,
.menuBtn__bars::after{
  content:"";
  position:absolute;left:0;right:0;height:2px;border-radius:2px;
  background: var(--plum);
}
.menuBtn__bars::before{top:0}
.menuBtn__bars::after{bottom:0}
.menuBtn__text{font-size:14px}

/* Mobile behavior */
@media (max-width: 820px){
  .menuBtn{display:inline-flex}

  .headerNav{
    width:100%;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 0 2px;
  }

  .headerNav.isOpen{display:flex}

  .headerNav a{
    background: rgba(255,255,255,.92);
    padding:12px 12px;
  }
}

/* Typography */
h1{
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing:-.6px;
  line-height: 1.12;
  margin: 10px 0 12px;
}

h2{
  font-size: 26px;
  letter-spacing:-.25px;
  margin: 0 0 10px;
}

h3{font-size:18px;margin: 18px 0 10px}

p{color:var(--muted); margin: 0 0 14px}

.introLead{
  font-size: 18px;
  color: var(--muted);
}

.section{margin-top:52px}

/* Intro bits */
.breadcrumbs{
  font-size: 13px;
  color: var(--muted);
}
.breadcrumbs a{color: var(--plum); font-weight: 750}
.breadcrumbs span{opacity:.75}

.introCallout{
  margin: 18px 0 0;
  padding: 16px 18px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.introCallout p{margin:0}

/* CTAs */
.ctaRow{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31,41,55,.10);
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.ctaRow--center{justify-content:flex-start}
.ctaRow--split{justify-content:flex-start}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(31,41,55,.14);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  text-decoration:none;
}

.btn:hover{background:#fff}

.btn--primary{
  background: var(--plum);
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover{
  background: var(--plum);
  filter: brightness(.98);
  text-decoration:none;
}

.btn--ghost{
  background: transparent;
  color: var(--plum);
  border-color: rgba(91,42,60,.22);
}

.btn--soft{
  background: rgba(154,52,18,.10);
  border-color: rgba(154,52,18,.22);
  color: var(--rust);
}

/* Inline CTA blocks */
.ctaInline{
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.80);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.ctaInline__sub{color: var(--muted); font-size: 14px; margin-top: 2px}
.ctaInline--soft{
  background: rgba(91,42,60,.06);
  border-color: rgba(91,42,60,.14);
}

/* Quote */
blockquote{
  margin:24px 0;
  padding:16px 20px;
  border-left:4px solid var(--plum);
  background: var(--plumSoft);
  border-radius: 14px;
  font-weight:700;
  color: #3d2a33;
}

/* Lists */
.list{padding-left:20px;color:var(--muted)}
.list li{margin:7px 0}

/* Author */
.author{margin: 28px 0}
.authorInner{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:18px;
  background:var(--paper);
  padding:20px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}
@media (max-width: 720px){
  .authorInner{grid-template-columns:1fr}
}

.authorAvatar{
  width:80px;height:80px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
}
.authorAvatar img{width:100%;height:100%;object-fit:cover;display:block}

.authorName{font-weight:950;letter-spacing:-.2px}
.authorRole{font-size:13px;color:var(--muted);margin:2px 0 10px}
.authorText{margin:0 0 10px}

.authorChips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(91,42,60,.10);
  border: 1px solid rgba(91,42,60,.18);
  color: var(--plum);
}

/* Alt section */
.sectionAlt{
  background:var(--paper);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

/* Two col */
.twoCol{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
@media (max-width: 900px){
  .twoCol{grid-template-columns:1fr}
}
.highlightBox{
  background:var(--rustSoft);
  padding:20px;
  border-radius:var(--radius);
  border: 1px solid rgba(154,52,18,.18);
}

/* Emergency */
.emergency{
  background:var(--paper);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border-left:6px solid var(--rust);
}
.emergencyList ul{padding-left:20px;color:var(--muted)}
.emergencyList li{margin:8px 0}

.ctaBlock{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(31,41,55,.10);
}
.ctaBlock__text{color: var(--muted); margin-bottom: 12px}
.ctaBlock__actions{display:flex;gap:12px;flex-wrap:wrap}

/* Takeaway */
.takeaway{
  background:var(--plumSoft);
  padding:36px;
  border-radius:var(--radius);
  margin-top:56px;
  border: 1px solid rgba(91,42,60,.14);
}
.footer{
  margin-top:48px;
  padding-top:24px;
  border-top:1px solid var(--border);
  font-size:13px;
  color:var(--muted);
}
