:root{
  --cream:#f3efe9; --white:#fff; --dark:#282828; --muted:#5c5952;
  --orange:#ff462e; --line:rgba(40,40,40,.09);
  --sans:"Inter","Inter Placeholder",-apple-system,BlinkMacSystemFont,sans-serif;
  --display:"Inter Display","Inter",-apple-system,BlinkMacSystemFont,sans-serif;
  --wrap:1040px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--dark);font-family:var(--sans);
  font-size:16.5px;line-height:1.55;letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased}
a{color:inherit}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:20;background:rgba(242,238,233,.72);
  backdrop-filter:saturate(160%) blur(14px);-webkit-backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid transparent}
.hdr.scrolled{border-bottom-color:var(--line)}
.hdr .wrap{display:flex;align-items:center;gap:22px;height:84px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;margin-right:auto}
.brand .tile{width:36px;height:36px;border-radius:11px;background:#17151f;
  display:grid;place-items:center;flex:none}
.brand .tile img{height:21px;width:auto;display:block}
.brand span{font-family:var(--display);font-size:22px;font-weight:600;letter-spacing:-.22px}
.nav{display:flex;align-items:center;gap:26px}
.nav a{text-decoration:none;font-size:15px;color:var(--dark);opacity:.86;
  transition:opacity .18s}
.nav a:hover{opacity:1}
.nav a[aria-current="page"]{opacity:1;font-weight:500}
.cta{display:inline-flex;align-items:center;gap:9px;background:var(--orange);color:#fff;
  text-decoration:none;padding:13px 27px;border-radius:999px;font-size:15.5px;font-weight:500;
  letter-spacing:-.008em;white-space:nowrap;box-shadow:0 1px 32px rgba(0,0,0,.10);
  transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s,filter .22s}
.cta:hover{transform:translateY(-1.5px);filter:brightness(1.04);
  box-shadow:0 8px 24px rgba(255,70,46,.26)}
.cta svg{transition:transform .22s cubic-bezier(.2,.7,.3,1)}
.cta:hover svg{transform:translateX(3px)}
.burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.burger span{display:block;width:20px;height:2px;background:var(--dark);border-radius:2px}
.burger span+span{margin-top:5px}

/* ---------- hero ---------- */
.hero{padding:clamp(56px,7vw,104px) 0 clamp(30px,4vw,48px)}
.eyebrow{font-size:15px;font-weight:600;color:var(--orange);margin:0 0 14px;
  letter-spacing:-.01em}
h1{font-family:var(--display);font-size:clamp(38px,5.4vw,66px);font-weight:600;
  letter-spacing:-.032em;line-height:1.04;margin:0 0 20px;max-width:15ch;text-wrap:balance}
.lede{font-size:18px;color:var(--muted);margin:0;max-width:56ch;line-height:1.55}

/* ---------- posts ---------- */
.posts{padding:clamp(24px,4vw,44px) 0 clamp(72px,9vw,120px)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.card{background:var(--white);border:1px solid rgba(40,40,40,.07);border-radius:22px;
  padding:28px;display:flex;flex-direction:column;gap:12px;text-decoration:none;
  box-shadow:0 1px 1px rgba(40,40,40,.03),0 10px 28px -14px rgba(40,40,40,.14);
  transition:transform .22s cubic-bezier(.2,.7,.3,1),box-shadow .22s}
.card:hover{transform:translateY(-3px);
  box-shadow:0 1px 1px rgba(40,40,40,.03),0 18px 40px -16px rgba(40,40,40,.22)}
.card .meta{font-size:13.5px;color:var(--muted);display:flex;gap:8px;align-items:center}
.card .meta .dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.5}
.card h2{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.02em;
  line-height:1.25;margin:0;text-wrap:balance}
.card p{margin:0;font-size:15.5px;color:var(--muted);line-height:1.5}

/* empty state, shown until the first post ships */
.empty{background:var(--white);border:1px solid rgba(40,40,40,.07);border-radius:26px;
  padding:clamp(38px,5vw,64px);display:grid;grid-template-columns:1fr auto;gap:38px;
  align-items:center;
  box-shadow:0 1px 1px rgba(40,40,40,.03),0 14px 38px -16px rgba(40,40,40,.14)}
.empty h2{font-family:var(--display);font-size:clamp(24px,2.6vw,32px);font-weight:600;
  letter-spacing:-.024em;line-height:1.12;margin:0 0 12px}
.empty p{margin:0;color:var(--muted);max-width:52ch}

/* ---------- footer ---------- */
.ftr{border-top:1px solid var(--line);padding:52px 0 44px;font-size:15px}
.ftr .wrap{display:flex;flex-wrap:wrap;gap:28px;align-items:center}
.ftr nav{display:flex;flex-wrap:wrap;gap:22px;margin-right:auto}
.ftr a{text-decoration:none;color:var(--muted);transition:color .18s}
.ftr a:hover{color:var(--dark)}
.ftr .copy{color:var(--muted)}

@media (max-width:809px){
  .hdr .wrap{height:72px;gap:12px}
  .nav{display:none}
  .nav.open{display:flex;position:absolute;top:72px;left:0;right:0;flex-direction:column;
    align-items:flex-start;gap:0;background:var(--cream);border-bottom:1px solid var(--line);
    padding:8px 20px 18px}
  .nav.open a{padding:12px 0;width:100%;font-size:17px}
  .burger{display:block}
  .empty{grid-template-columns:1fr;gap:26px}
  .hdr .cta{padding:11px 20px;font-size:14.5px}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none!important}
  html{scroll-behavior:auto}
}

/* ---------- article ---------- */
.article{padding:clamp(40px,5vw,64px) 0 clamp(72px,9vw,120px)}
.article .wrap{max-width:720px}
.back{display:inline-flex;align-items:center;gap:7px;font-size:15px;color:var(--muted);
  text-decoration:none;margin-bottom:26px;transition:color .18s}
.back:hover{color:var(--dark)}
.article h1{font-size:clamp(32px,4.4vw,52px);max-width:20ch;margin-bottom:18px}
.article .meta{font-size:14.5px;color:var(--muted);display:flex;gap:9px;align-items:center;
  margin:0 0 34px}
.article .meta .dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.5}
.prose{font-size:17.5px;line-height:1.68;color:#33312e}
.prose > *:first-child{margin-top:0}
.prose h2{font-family:var(--display);font-size:clamp(24px,2.7vw,31px);font-weight:600;
  letter-spacing:-.022em;line-height:1.2;margin:48px 0 16px;color:var(--dark);text-wrap:balance}
.prose h3{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.016em;
  margin:34px 0 12px;color:var(--dark)}
.prose p{margin:0 0 22px}
.prose a{color:var(--orange);text-decoration:underline;text-underline-offset:2px}
.prose strong{font-weight:600;color:var(--dark)}
.prose ul,.prose ol{margin:0 0 22px;padding-left:22px}
.prose li{margin:0 0 9px}
.prose li::marker{color:var(--orange)}
.prose blockquote{margin:30px 0;padding:2px 0 2px 22px;border-left:3px solid var(--orange);
  color:var(--muted);font-size:18px}
.prose blockquote p:last-child{margin-bottom:0}
.prose img{max-width:100%;height:auto;border-radius:14px;display:block;margin:30px 0}
.prose code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;
  background:rgba(40,40,40,.06);padding:2px 6px;border-radius:5px}
.prose pre{background:#17151f;color:#f3efe9;padding:20px 22px;border-radius:14px;
  overflow-x:auto;margin:26px 0;font-size:14.5px;line-height:1.55}
.prose pre code{background:none;padding:0;color:inherit}
.prose hr{border:0;border-top:1px solid var(--line);margin:40px 0}
.prose table{width:100%;border-collapse:collapse;margin:26px 0;font-size:16px;display:block;
  overflow-x:auto}
.prose th,.prose td{text-align:left;padding:11px 14px;border-bottom:1px solid var(--line)}
.prose th{font-weight:600;color:var(--dark)}
.endcta{margin-top:56px;padding-top:38px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.endcta p{margin:0;color:var(--muted);max-width:38ch}
@media (max-width:809px){.article .meta{margin-bottom:26px}}
