/* ==========================================================================
   DENIMCRAFT VIBES — site.css
   The ONLY stylesheet. The weekly build never touches this file; the look of
   the site changes only when someone edits this file or template/*.html.

   Aesthetic: Contemporary Luxury Editorial — Didone headlines, Swiss grid,
   hairline ink rules, powder-blue paper, one accent colour at a time.
   ========================================================================== */

/* ---------- 1. Tokens: change the palette or type here, nowhere else ------ */
:root {
  --paper: #D9E6F2;          /* powder blue page (the brand colour) */
  --paper-2: #FFFFFF;        /* cards, forms */
  --chambray: #F7F4EE;       /* ivory, used as the panel tint against the blue */
  --ink: #0D0D0D;            /* rules, buttons, headlines */
  --text: #2B2B2B;           /* body copy */
  --muted: #6B6B6B;          /* captions */
  --blush: #E6B9C6;
  --blue: #87BCCC;
  --berry: #A52744;          /* the single CTA / price accent */

  --display: "Bodoni Moda", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: "JetBrains Mono", "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --rule: 1px solid var(--ink);
  --hair: 1px solid rgba(13, 13, 13, 0.18);
  --wrap: 1280px;
  --gutter: clamp(1rem, 3.2vw, 2.75rem);
  --section: clamp(3rem, 7vw, 6rem);
  --logo-h: 38px;            /* logo height in the header: small on purpose */
}

/* ---------- 2. Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe, audio { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }
h1, h2, h3 { overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden-link { display: none; }
[hidden] { display: none !important; }      /* keeps the invisible form frame from showing as an empty box */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- 3. Shared pieces --------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); border-top: var(--rule); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}
.label {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.label--ink { color: var(--ink); }
.label--berry { color: var(--berry); }
.display {
  font-family: var(--display); font-weight: 500; color: var(--ink);
  line-height: 0.98; letter-spacing: -0.015em;
}
.h-xl { font-size: clamp(2.9rem, 7.4vw, 6.4rem); }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.08; }
.h-sm { font-size: 1.3rem; line-height: 1.2; }
.deck { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 46ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 46px; padding: 0.7rem 1.25rem;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; text-align: center;
  border: var(--rule); background: var(--ink); color: #fff;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--berry); border-color: var(--berry); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--accent { background: var(--berry); border-color: var(--berry); color: #fff; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.price { font-family: var(--mono); font-size: 0.95rem; font-weight: 500; color: var(--berry); white-space: nowrap; }

/* ---------- 4. Ticker + header ------------------------------------------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex-shrink: 0; }
.ticker__item {
  padding: 0.55rem 1.4rem; white-space: nowrap; text-decoration: none; color: inherit;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.ticker__item::after { content: "•"; margin-left: 2.8rem; opacity: 0.5; }
a.ticker__item:hover { color: var(--blush); }
@keyframes ticker { to { transform: translateX(-50%); } }

.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: var(--rule); }
.header__in {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 1rem 2rem; min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: var(--logo-h); width: auto; }
.nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.nav a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); padding: 0.4rem 0;
}
.nav a:hover { color: var(--berry); }
.header .btn { min-height: 40px; padding: 0.5rem 1rem; border-radius: 999px; }
@media (max-width: 860px) {
  .header__in { grid-template-columns: auto auto; justify-content: space-between; padding-block: 0.6rem; }
  .nav {
    grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; gap: 1.4rem;
    overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    border-top: var(--hair);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 0.6rem 0; }
}

/* ---------- 5. Hero ------------------------------------------------------- */
.hero { border-bottom: var(--rule); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__title { font-size: clamp(2.1rem, 4.3vw, 4.1rem); line-height: 1.02; }
.hero__title span { display: block; }
@media (min-width: 420px) { .hero__title span { white-space: nowrap; } }
.hero__copy {
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
  padding: clamp(2rem, 3.6vw, 3.5rem) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__media { position: relative; border-left: var(--rule); background: var(--chambray); min-height: 340px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.hero__media img.is-on { opacity: 1; }
.hero__caption {
  position: absolute; left: 0; bottom: 0; background: var(--paper); border-top: var(--rule); border-right: var(--rule);
  padding: 0.5rem 0.9rem;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { border-left: 0; border-top: var(--rule); min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- 6. This week's issue (home) ---------------------------------- */
.issue { background: #E8F0F8; border-bottom: var(--rule); }   /* pale blue, a shade lighter than the page */
.issue__lead { font-size: 1.05rem; line-height: 1.65; }
.issue__figure { border: var(--rule); background: var(--paper-2); }
.issue__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.subscribe--compact { padding: 1rem; gap: 0.6rem; }
.subscribe--compact .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.6rem; }
.subscribe--compact .form .btn, .subscribe--compact .form__status { grid-column: 1 / -1; }
.subscribe--compact p { font-size: 0.92rem; }
.issue__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.issue__copy { display: grid; gap: 1.25rem; }
.issue__quote {
  font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.25;
  color: var(--ink); border-left: 3px solid var(--berry); padding-left: 1.1rem; max-width: 30ch;
}
.issue__side { display: grid; gap: 1.25rem; position: sticky; top: 6rem; }
@media (max-width: 860px) { .issue__grid { grid-template-columns: minmax(0, 1fr); } }

/* The Scan: the weekly numbers panel. Used on the home page and article page. */
.scan { border: var(--rule); background: var(--paper-2); }
.scan__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem;
  padding: 0.7rem 1rem; background: var(--ink); color: #fff;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.scan__item { padding: 1rem 1rem 0.25rem; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.scan__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scan__col { padding: 1rem; border-top: var(--hair); min-width: 0; }
.scan__col:nth-child(2) { border-left: var(--hair); }
.scan__col--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1.25rem; align-items: center; }
.scan__col--wide h4 { grid-column: 1 / -1; margin-bottom: 0; }
.scan__col--wide .scan__note { margin-top: 0; }
@media (max-width: 480px) { .scan__cols { grid-template-columns: minmax(0, 1fr); } .scan__col:nth-child(2) { border-left: 0; } }
.scan__col h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; font-weight: 500; }
.scan__line { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.5; padding: 0.2rem 0; }
.scan__line span:last-child { white-space: nowrap; }
.scan__total { margin-top: 0.5rem; padding-top: 0.5rem; border-top: var(--rule); font-weight: 700; color: var(--ink); }
.scan__big { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--berry); }
.scan__note { font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; color: var(--muted); margin-top: 0.5rem; }
.scan__joy { padding: 1rem; border-top: var(--hair); font-style: italic; font-size: 1.05rem; }
.scan__src { padding: 0.75rem 1rem; border-top: var(--hair); font-family: var(--mono); font-size: 0.68rem; line-height: 1.6; color: var(--muted); }

/* Substack signup card */
.subscribe { border: var(--rule); background: var(--paper-2); padding: 1.25rem; display: grid; gap: 0.75rem; }
.subscribe p { font-size: 0.98rem; line-height: 1.5; }

/* ---------- 7. Shop grid -------------------------------------------------- */
.grid-shop {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  border-top: var(--rule); border-left: var(--rule);
}
.card { display: flex; flex-direction: column; border-right: var(--rule); border-bottom: var(--rule); background: var(--paper-2); min-width: 0; }
.card__media { aspect-ratio: 3 / 4; overflow: hidden; border-bottom: var(--rule); background: var(--chambray); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media--contain img { object-fit: contain; padding: 1.25rem; }
.card__body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.card__name { font-family: var(--display); font-size: 1.3rem; line-height: 1.12; color: var(--ink); font-weight: 500; }
.card__blurb { font-size: 0.95rem; line-height: 1.5; }
.card__spec { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.card__actions { margin-top: auto; padding-top: 0.6rem; display: grid; gap: 0.5rem; }
.card__alt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-align: center; color: var(--muted); background: none; border: 0; padding: 0.2rem; cursor: pointer; text-decoration: underline; text-underline-offset: 0.18em; }
.card__alt:hover { color: var(--berry); }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 0.2rem 0.5rem; }

/* ---------- 8. Patterns + DIY studio ------------------------------------- */
.studio__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.studio__patterns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: var(--rule); border-left: var(--rule); }
.studio__patterns .card__media { aspect-ratio: 3 / 2; }
.studio__videos { display: grid; gap: 1.25rem; }
.video { border: var(--rule); background: var(--ink); }
.video__frame { position: relative; aspect-ratio: 16 / 9; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__title { padding: 0.6rem 0.9rem; color: #fff; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.5; }
.crosssell { margin-top: 1.25rem; padding: 1rem; border: var(--rule); background: var(--chambray); font-size: 0.98rem; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 9. The craft -------------------------------------------------- */
.craft__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: var(--rule); border-left: var(--rule); }
.craft__cell { padding: 1.5rem 1.25rem 1.75rem; border-right: var(--rule); border-bottom: var(--rule); display: grid; gap: 0.75rem; align-content: start; }
.craft__num { font-family: var(--mono); font-size: 0.72rem; color: var(--berry); letter-spacing: 0.14em; }
.craft__cell p { font-size: 0.98rem; line-height: 1.55; }

/* ---------- 10. Journal list --------------------------------------------- */
.journal__list { border-top: var(--rule); }
.journal__row {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: baseline;
  padding: 1.25rem 0; border-bottom: var(--hair); text-decoration: none; color: inherit;
}
.journal__row:hover .journal__title { color: var(--berry); }
.journal__title { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.1; color: var(--ink); }
.journal__deck { display: block; margin-top: 0.35rem; font-size: 0.98rem; line-height: 1.5; color: var(--text); max-width: 62ch; }
@media (max-width: 700px) { .journal__row { grid-template-columns: minmax(0, 1fr); } .journal__row .label:last-child { display: none; } }

/* ---------- 11. Sounds ---------------------------------------------------- */
.sounds__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.sounds__cover { border: var(--rule); aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 220px; }
.sounds__col { display: grid; gap: 1rem; min-width: 0; }
.sounds audio { width: 100%; }
.sounds iframe { width: 100%; border: 0; border-radius: 12px; }
.linklist { display: grid; }
.linklist a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: var(--hair); text-decoration: none; font-size: 1rem; }
.linklist a::after { content: "↗"; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
@media (max-width: 900px) { .sounds__grid { grid-template-columns: minmax(0, 1fr); } .sounds__cover { max-width: 220px; } }

/* ---------- 12. Connect + forms ------------------------------------------ */
.connect__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 860px) { .connect__grid { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0.65rem 0.8rem; border: var(--rule); border-radius: 0;
  background: var(--paper-2); font-family: var(--serif); font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.form__status { font-family: var(--mono); font-size: 0.78rem; line-height: 1.55; padding: 0.75rem 0.9rem; border: var(--rule); }
.form__status[hidden] { display: none; }
.form__status.is-ok { background: var(--chambray); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.textus { display: grid; gap: 0.5rem; justify-items: start; }
.textus__note { font-family: var(--mono); font-size: 0.72rem; line-height: 1.5; letter-spacing: 0.04em; opacity: 0.75; }
.btn--light { background: var(--paper); color: var(--ink); border-color: #fff; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 150%); z-index: 80; width: min(92vw, 460px);
  background: var(--ink); color: #fff; padding: 0.9rem 1.1rem; font-family: var(--mono); font-size: 0.78rem; line-height: 1.5; transition: transform 0.25s ease; }
.toast.is-on { transform: translate(-50%, 0); }
.form__status.is-error { background: #fbe9ee; border-color: var(--berry); color: var(--berry); }
.form__note { font-family: var(--mono); font-size: 0.7rem; line-height: 1.6; color: var(--muted); }
.contact-big { font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--ink); text-decoration: none; }
.contact-big:hover { color: var(--berry); }
.connect__side { display: grid; gap: 1.25rem; }

/* Order dialog */
.dialog { width: min(92vw, 560px); max-height: 88vh; padding: 0; border: var(--rule); background: var(--paper); color: var(--text); }
.dialog::backdrop { background: rgba(13, 13, 13, 0.72); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: var(--rule); position: sticky; top: 0; background: var(--paper); }
.dialog__close { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.5rem; }
.dialog__body { padding: 1.1rem; }

/* ---------- 13. Footer ---------------------------------------------------- */
.footer { border-top: var(--rule); background: var(--ink); color: #fff; }
.footer a { color: inherit; }
.footer a:hover { color: var(--blush); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer .label { color: rgba(255, 255, 255, 0.6); margin-bottom: 0.8rem; display: block; }
.footer__list { display: grid; gap: 0.45rem; font-size: 0.98rem; }
.footer__list a { text-decoration: none; }
.footer__phone { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; text-decoration: none; }
.footer__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; padding-block: 1.25rem; border-top: 1px solid rgba(247, 244, 238, 0.25); }
.footer__labels img { height: 34px; width: auto; background: #fff; padding: 4px 8px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; border-top: 1px solid rgba(247, 244, 238, 0.25); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 14. Article page --------------------------------------------- */
.art-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.art-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.art-head__copy { display: grid; gap: 1.25rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-top: 1rem; border-top: var(--rule); }
.art-figure { border: var(--rule); background: var(--chambray); }
.art-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.art-figure figcaption { padding: 0.5rem 0.8rem; border-top: var(--rule); background: var(--paper); }
@media (max-width: 860px) { .art-head__grid { grid-template-columns: minmax(0, 1fr); } .art-figure img { aspect-ratio: 4 / 3; } }

.art-body { padding-bottom: var(--section); }
.art-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(2rem, 5vw, 5rem); align-items: stretch; }
.prose { max-width: 66ch; font-size: 1.14rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.15em; }
.prose:not(.prose--cont) > p:first-of-type::first-letter {
  font-family: var(--display); font-size: 4.9em; line-height: 0.78; float: left;
  padding: 0.06em 0.09em 0 0; color: var(--ink); font-weight: 500;
}
.prose h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.1; color: var(--ink); margin-top: 2.1em; padding-top: 1em; border-top: var(--hair); }
.prose h3 { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--berry); margin-top: 2em; font-weight: 500; }
.prose a { color: var(--berry); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote {
  margin-block: 1.8em; padding: 0.2em 0 0.2em 1.1rem; border-left: 3px solid var(--berry);
  font-family: var(--display); font-style: italic; font-size: 1.55rem; line-height: 1.25; color: var(--ink);
}
.prose hr { border: 0; border-top: var(--rule); margin-block: 2.2em; }
.prose img { border: var(--rule); }
.table-wrap { overflow-x: auto; border: var(--rule); }
.prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-family: var(--mono); font-size: 0.8rem; line-height: 1.45; background: var(--paper-2); }
.prose th, .prose td { padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; border-bottom: var(--hair); }
.prose th { background: var(--ink); color: #fff; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.art-foot { margin-top: 2.5rem; padding-top: 1.25rem; border-top: var(--rule); display: grid; gap: 1rem; max-width: 66ch; }
.art-tags { font-family: var(--mono); font-size: 0.72rem; line-height: 1.8; color: var(--muted); }
/* The side column runs the full height of the article and spreads its blocks down it, so there is no empty strip. */
.art-aside { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.insta { display: grid; gap: 0.6rem; }
.insta iframe { width: 100%; height: 560px; border: var(--rule); background: #fff; }
.video__title a { color: inherit; }
.connect__main { display: grid; gap: 2rem; }
.art-aside .card__media { aspect-ratio: 3 / 2; }
.art-aside .card { border: var(--rule); }
@media (max-width: 980px) { .art-body__grid { grid-template-columns: minmax(0, 1fr); } .art-aside { max-width: 66ch; } }
.art-scan { margin-block: 2rem; max-width: 66ch; }
.more { border-top: var(--rule); padding-block: var(--section); }
