/* =====================================================================
   RelayPoint Technologies — site styles
   Direction: industrial precision. Black / white / one red. Big type,
   hairline rules, monospace labels, the red point as the recurring mark.
   ===================================================================== */

:root {
  --red: #E0222B;
  --red-deep: #B8161E;
  --black: #111111;
  --ink: #1a1a1a;
  --white: #ffffff;
  --paper: #f5f5f3;
  --line: #dcdcd8;
  --line-dark: #2a2a2a;
  --grey: #6b6b6b;
  --grey-light: #9a9a9a;

  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--black); }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-variation-settings: "wdth" 112; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-variation-settings: "wdth" 108; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-variation-settings: "wdth" 105; letter-spacing: -0.015em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* The red point ------------------------------------------------------ */
.dot { display: inline-block; width: .55em; height: .55em; border-radius: 50%; background: var(--red); margin-right: .6em; vertical-align: middle; position: relative; top: -.05em; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin: 0 0 1.2rem; }
.dark .eyebrow, .cta-band .eyebrow { color: var(--grey-light); }

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  padding: .85em 1.35em; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn::after { content: "→"; font-weight: 500; transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--black { background: var(--black); color: #fff; }
.btn--black:hover { background: #000; }
.btn--white { background: #fff; color: var(--black); }
.btn--ghost { border-color: var(--black); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.btn--ghost-light::after, .btn--tel::after { content: none; }

/* Header ------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 40px; height: 40px; }
.brand-word { height: 24px; width: auto; }
.brand-word--light { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--red); transition: right .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-cta { margin-left: 8px; padding: .65em 1.1em; font-size: .88rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--black); margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; height: calc(100vh - 72px); overflow-y: auto; background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 32px var(--gutter); gap: 22px; transform: translateX(100%); transition: transform .35s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
  .nav-cta { margin: 12px 0 0; }
}

/* Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black); color: #fff;
  padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 110px);
}
.hero::before {
  /* engineering grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 100%);
}
.hero::after {
  /* soft red glow */
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  right: -18vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,34,43,.32), transparent 62%);
  filter: blur(10px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .35em; }
.hero h1 .accent { color: var(--red); }
.hero h1 .point { display: inline-block; width: .22em; height: .22em; background: var(--red); border-radius: 50%; margin-left: .08em; vertical-align: baseline; }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 54ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-strip { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-strip span { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-light); }
.hero-strip span b { color: #fff; font-weight: 500; }

/* Staggered reveal on load */
.hero .wrap > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero .wrap > :nth-child(1) { animation-delay: .05s; }
.hero .wrap > :nth-child(2) { animation-delay: .15s; }
.hero .wrap > :nth-child(3) { animation-delay: .25s; }
.hero .wrap > :nth-child(4) { animation-delay: .35s; }
.hero .wrap > :nth-child(5) { animation-delay: .5s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections ----------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section.dark { background: var(--black); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.paper { background: var(--paper); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 16px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.section-head p { color: var(--grey); font-size: 1.05rem; max-width: 48ch; margin: 0; }
.dark .section-head p { color: var(--grey-light); }

/* Service grid ------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc {
  background: #fff; padding: 30px 28px 34px; position: relative; overflow: hidden;
  transition: background .3s, color .3s;
  display: flex; flex-direction: column; min-height: 270px;
}
.svc .num { font-family: var(--font-mono); font-size: .78rem; color: var(--grey); letter-spacing: .08em; display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.svc .num::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transition: transform .35s var(--ease); }
.svc h3 { margin-bottom: .35em; }
.svc p { color: var(--grey); font-size: .96rem; margin: 0; flex: 1; }
.svc .more { margin-top: 22px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; gap: 8px; color: var(--black); }
.svc .more::after { content: "→"; transition: transform .3s var(--ease); }
.svc:hover { background: var(--black); color: #fff; }
.svc:hover h3 { color: #fff; }
.svc:hover p { color: var(--grey-light); }
.svc:hover .more { color: #fff; }
.svc:hover .more::after { transform: translateX(4px); }
.svc:hover .num::before { transform: scale(1.6); }

@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pillars strip (wall → cloud) --------------------------------------- */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stack > div { padding: 28px 20px; border-right: 1px solid var(--line-dark); position: relative; }
.stack > div:last-child { border-right: 0; }
.stack .lbl { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.stack .lbl::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.stack strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; display: block; letter-spacing: -.01em; }

/* Two-audience split ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.split > a { background: #fff; padding: clamp(28px, 4vw, 52px); display: block; position: relative; transition: background .3s, color .3s; }
.split > a h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .4em; }
.split > a p { color: var(--grey); margin-bottom: 1.4em; max-width: 46ch; }
.split > a .more { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.split > a:hover { background: var(--red); color: #fff; }
.split > a:hover h3, .split > a:hover p { color: #fff; }

/* Why list ----------------------------------------------------------- */
.why { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: why; }
@media (min-width: 800px) { .why { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.why > div { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.why h3 { display: flex; gap: 14px; align-items: baseline; margin-bottom: .4em; }
.why h3::before { counter-increment: why; content: counter(why, decimal-leading-zero); font-family: var(--font-mono); font-size: .78rem; color: var(--red); letter-spacing: .08em; font-weight: 500; }
.why p { color: var(--grey-light); margin: 0; font-size: .98rem; }

/* Steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps > div { border-top: 2px solid var(--black); padding-top: 18px; }
.steps .mono { color: var(--red); margin-bottom: 10px; display: block; }
.steps p { color: var(--grey); font-size: .96rem; margin: 0; }

/* CTA band & footer -------------------------------------------------- */
.cta-band { background: var(--red); color: #fff; padding: clamp(56px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(0,0,0,.12); pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; position: relative; z-index: 1; }
.cta-title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0; }
.cta-band .dot { background: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-foot { background: var(--black); color: #fff; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr .6fr; } }
.foot-brand img { width: 200px; }
.foot-tag { margin: 18px 0 12px; font-family: var(--font-display); font-weight: 600; }
.foot-meta { color: var(--grey-light); text-transform: none; letter-spacing: 0; font-size: .85rem; line-height: 1.8; }
.foot-h { color: var(--grey-light); margin-bottom: 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin: 0 0 9px; }
.foot-list a { color: #fff; opacity: .85; transition: opacity .2s; }
.foot-list a:hover { opacity: 1; }
.foot-list .num { color: var(--red); margin-right: 6px; }
.foot-mono { display: flex; justify-content: flex-end; align-items: flex-start; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; color: var(--grey); text-transform: none; letter-spacing: 0; font-size: .75rem; }

/* Page hero (inner pages) -------------------------------------------- */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 14ch; }
.page-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grey); max-width: 56ch; margin: 0; }
.page-hero .big-num { position: absolute; right: var(--gutter); top: 8px; font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 22vw, 20rem); line-height: 1; color: var(--paper); z-index: -1; letter-spacing: -.06em; font-variation-settings: "wdth" 120; user-select: none; }
.page-hero.dark { background: var(--black); border-color: var(--line-dark); }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lede { color: var(--grey-light); }
.page-hero.dark .big-num { color: #1c1c1c; }

/* Service detail ----------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .detail { grid-template-columns: 2fr 1fr; gap: 80px; } }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 6px 32px; }
@media (min-width: 700px) { .feature-list li { grid-template-columns: 230px 1fr; } }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.feature-list span { color: var(--grey); font-size: .97rem; }
.aside { position: sticky; top: 96px; }
.aside-card { background: var(--black); color: #fff; padding: 28px; border-radius: var(--radius); margin-bottom: 20px; }
.aside-card .mono { color: var(--grey-light); display: block; margin-bottom: 10px; }
.aside-card p { color: rgba(255,255,255,.85); font-size: .96rem; }
.aside-card .btn { margin-top: 8px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { border-top: 1px solid var(--line); }
.aside-list a { display: flex; justify-content: space-between; padding: 12px 0; font-size: .95rem; font-weight: 500; }
.aside-list a:hover { color: var(--red); }
.aside-list a[aria-current] { color: var(--red); }
.aside-list .num { color: var(--grey); }

/* Audience pages ----------------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.pkg:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.pkg .mono { color: var(--red); margin-bottom: 10px; }
.pkg h3 { margin-bottom: .5em; }
.pkg p { color: var(--grey); font-size: .96rem; }
.pkg ul { margin: 0 0 20px; padding-left: 18px; color: var(--ink); font-size: .94rem; flex: 1; }
.pkg ul li { margin-bottom: 6px; }
.pkg .btn { align-self: flex-start; }

/* About -------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; } }
.about-grid .lead { font-size: 1.2rem; line-height: 1.55; }
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts div span:first-child { color: var(--grey); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding-top: 4px; }
.facts div span:last-child { text-align: right; font-weight: 500; }
.portrait { aspect-ratio: 4/5; background: var(--black); border-radius: var(--radius); position: relative; overflow: hidden; display: grid; place-items: center; }
.portrait img { width: 46%; opacity: .9; }
.portrait::after { content: "Photo of Josh goes here"; position: absolute; bottom: 16px; left: 16px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }

/* Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(224,34,43,.15); }
textarea { min-height: 150px; resize: vertical; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: .96rem; border: 1.5px solid; }
.notice--ok { border-color: #1f8a4c; background: #eefaf2; color: #165c34; }
.notice--err { border-color: var(--red); background: #fdeeef; color: var(--red-deep); }
.contact-side .mono { color: var(--grey); margin-bottom: 8px; display: block; }
.contact-side h3 { margin-bottom: 1.2em; }
.contact-side dl { margin: 0; }
.contact-side dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 18px; }
.contact-side dd { margin: 4px 0 0; font-size: 1.05rem; font-weight: 500; }

/* Scroll reveal ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .wrap > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Blog -------------------------------------------------------------- */
.post-list { display: grid; }
.post-row { display: grid; grid-template-columns: 1fr; gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--line); color: inherit; }
@media (min-width: 700px) { .post-row { grid-template-columns: 160px 1fr; } }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row .date { color: var(--grey); padding-top: 6px; }
.post-row h3 { margin-bottom: .3em; transition: color .2s; }
.post-row:hover h3 { color: var(--red); }
.post-row p { margin: 0; color: var(--grey); font-size: .96rem; }
.post-meta { color: var(--grey); margin-bottom: 2rem; display: block; }
.prose { max-width: 70ch; }
.prose p { font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--red); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--black); }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.prose pre { background: var(--black); color: #eee; padding: 18px 20px; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; }

/* Article components (markdown) ------------------------------------- */
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: var(--radius); }
.prose figcaption { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }
.prose figure.cover { margin: 0 0 -24px; }
.prose h2 { scroll-margin-top: 90px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.callout { border-left: 3px solid var(--red); background: var(--paper); padding: 18px 22px; margin: 1.8em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.callout-title { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px !important; font-weight: 600; }
.callout-tip { border-color: #1f8a4c; } .callout-tip .callout-title { color: #1f8a4c; }
.callout-warn { border-color: #d97706; background: #fff8ec; } .callout-warn .callout-title { color: #b45309; }
.callout-quote { border-color: var(--black); background: transparent; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 8px 32px; margin: 1.5em 0; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-2 p { font-size: .97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 !important; }
.tags span, .tags a { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--grey); text-decoration: none; }
.tags a:hover { border-color: var(--red); color: var(--red); }
.post-row .date { line-height: 1.5; }
