/* Ported from the redesign prototype (page.html). Edit here now; the prototype is frozen. */
.progress{position:fixed;top:0;left:0;right:0;z-index:20;height:2px;background:var(--red);transform:scaleX(0);transform-origin:0 50%;pointer-events:none}

/* page header: the title leads, everything else sits below it */
.ph{padding:clamp(64px,9vw,136px) var(--gut) 0}
.ph>*{max-width:var(--content);margin-left:auto;margin-right:auto}
.ph h1{margin-top:0;margin-bottom:0;font-weight:600;font-size:clamp(42px,5.6vw,76px);line-height:1;letter-spacing:-.04em;text-wrap:balance}
.ph h1 .dot{display:inline-block;width:.17em;height:.17em;margin-left:.04em;border-radius:50%;background:var(--red)}
.ph .meta{display:flex;flex-wrap:wrap;align-items:baseline;margin-top:22px;margin-bottom:0;font-family:var(--mono);font-size:13px;color:var(--soft)}
.ph .meta::before{content:"> ";white-space:pre;color:var(--red)}
.ph .meta span+span::before{content:"·";margin:0 .7em;color:var(--faint)}

/* content: WordPress constrained layout */
:is(.dpt-prose,.wp-block-post-content){padding:clamp(40px,5vw,64px) var(--gut) 0;font-size:19px;line-height:1.7}
:is(.dpt-prose,.wp-block-post-content)>*{max-width:var(--content);margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0}
:is(.dpt-prose,.wp-block-post-content)>*+*{margin-top:var(--flow)}
:is(.dpt-prose,.wp-block-post-content)>.alignwide{max-width:var(--wide)}
:is(.dpt-prose,.wp-block-post-content)>.alignfull{max-width:none;margin-left:calc(var(--gut) * -1);margin-right:calc(var(--gut) * -1)}
:is(.dpt-prose,.wp-block-post-content)>.alignwide,:is(.dpt-prose,.wp-block-post-content)>.alignfull,:is(.dpt-prose,.wp-block-post-content)>.alignwide+*,:is(.dpt-prose,.wp-block-post-content)>.alignfull+*{margin-top:var(--block)}

/* type */
:is(.dpt-prose,.wp-block-post-content) h2,:is(.dpt-prose,.wp-block-post-content) h3,:is(.dpt-prose,.wp-block-post-content) h4,:is(.dpt-prose,.wp-block-post-content) h5,:is(.dpt-prose,.wp-block-post-content) h6{font-weight:600;color:var(--ink);text-wrap:balance}
:is(.dpt-prose,.wp-block-post-content) h2{font-size:clamp(30px,3vw,40px);line-height:1.1;letter-spacing:-.03em}
:is(.dpt-prose,.wp-block-post-content) h3{font-size:clamp(23px,2vw,26px);line-height:1.25;letter-spacing:-.02em}
:is(.dpt-prose,.wp-block-post-content) h4{font-size:19px;line-height:1.35;letter-spacing:-.01em}
:is(.dpt-prose,.wp-block-post-content) h5{font-family:var(--mono);font-weight:500;font-size:13px;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;color:var(--soft)}
:is(.dpt-prose,.wp-block-post-content) h6{font-family:var(--mono);font-weight:400;font-size:12px;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;color:var(--faint)}
:is(.dpt-prose,.wp-block-post-content)>h2{margin-top:2.6em}
:is(.dpt-prose,.wp-block-post-content)>h3,:is(.dpt-prose,.wp-block-post-content)>h4{margin-top:2em}
:is(.dpt-prose,.wp-block-post-content)>h2+*,:is(.dpt-prose,.wp-block-post-content)>h3+*,:is(.dpt-prose,.wp-block-post-content)>h4+*,:is(.dpt-prose,.wp-block-post-content)>h5+*,:is(.dpt-prose,.wp-block-post-content)>h6+*{margin-top:.7em}
:is(.dpt-prose,.wp-block-post-content) p{text-wrap:pretty}
.has-large-font-size{font-size:clamp(21px,1.9vw,25px)!important;line-height:1.5!important;letter-spacing:-.01em;color:var(--ink)}
.has-small-font-size{font-size:15px!important;line-height:1.6!important;color:var(--soft)}
:is(.dpt-prose,.wp-block-post-content) a:not([class]){text-decoration:underline;text-decoration-color:#555;text-decoration-thickness:1px;text-underline-offset:.22em;transition:text-decoration-color .2s,color .2s}
@media (hover:hover){:is(.dpt-prose,.wp-block-post-content) a:not([class]):hover{text-decoration-color:var(--red)}}
:is(.dpt-prose,.wp-block-post-content) strong{font-weight:600}
:is(.dpt-prose,.wp-block-post-content) code{padding:.12em .36em;border-radius:6px;background:var(--surface-2);font-family:var(--mono);font-size:.82em}
:is(.dpt-prose,.wp-block-post-content) kbd{display:inline-block;min-width:1.7em;padding:.05em .4em;border:1px solid var(--border);border-bottom-width:2px;border-radius:6px;background:var(--surface);font-family:var(--mono);font-size:.78em;line-height:1.5;text-align:center}
:is(.dpt-prose,.wp-block-post-content) mark{padding:0 .15em;border-radius:3px;background:rgba(239,68,68,.18);color:var(--ink)}
:is(.dpt-prose,.wp-block-post-content) s{color:var(--soft)}
:is(.dpt-prose,.wp-block-post-content) sup{font-size:.65em;line-height:0}
:is(.dpt-prose,.wp-block-post-content) sup a{font-family:var(--mono);color:var(--red)!important;text-decoration:none!important}
:is(.dpt-prose,.wp-block-post-content) p.end::after{content:"";display:inline-block;width:.3em;height:.3em;margin-left:.06em;border-radius:50%;background:var(--red);vertical-align:.05em}

/* lists */
:is(.dpt-prose,.wp-block-post-content) ul,:is(.dpt-prose,.wp-block-post-content) ol{padding-left:1.3em}
:is(.dpt-prose,.wp-block-post-content) li+li{margin-top:.4em}
:is(.dpt-prose,.wp-block-post-content) li>ul,:is(.dpt-prose,.wp-block-post-content) li>ol{margin-top:.4em}
:is(.dpt-prose,.wp-block-post-content) ul li::marker{color:var(--faint)}
:is(.dpt-prose,.wp-block-post-content) ol li::marker{font-family:var(--mono);font-size:.82em;color:var(--soft)}

/* quote + pullquote */
.wp-block-quote{margin-left:auto;margin-right:auto;padding:4px 0 4px 26px;border-left:2px solid var(--border)}
.wp-block-quote p{margin:0;font-size:clamp(21px,1.9vw,24px);line-height:1.5;letter-spacing:-.01em}
.wp-block-quote cite,.wp-block-pullquote cite{display:block;margin-top:14px;font-style:normal;font-family:var(--mono);font-size:13px;color:var(--soft)}
.wp-block-quote cite::before,.wp-block-pullquote cite::before{content:"— "}
.wp-block-pullquote{padding:clamp(40px,5vw,64px) 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.wp-block-pullquote blockquote{margin:0}
.wp-block-pullquote p{margin:0 auto;max-width:18em;font-weight:600;font-size:clamp(30px,4.2vw,56px);line-height:1.08;letter-spacing:-.035em;text-wrap:balance}

/* images, gallery */
.wp-block-image{margin-left:auto;margin-right:auto}
.wp-block-image img{display:block;width:100%;height:auto;border-radius:8px;background:var(--well)}
.wp-block-image.alignfull img{border-radius:0;aspect-ratio:3/1;object-fit:cover}
.wp-element-caption{margin-top:12px;font-family:var(--mono);font-size:12.5px;line-height:1.55;color:var(--soft);text-wrap:pretty}
.alignfull>.wp-element-caption,.alignwide>.wp-element-caption{max-width:var(--content);margin-left:auto;margin-right:auto}
.alignfull>.wp-element-caption{padding:0 var(--gut);box-sizing:content-box}
.wp-block-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wp-block-gallery figure{margin:0}
.wp-block-gallery img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:var(--well)}
.wp-block-gallery>.wp-element-caption{grid-column:1/-1;justify-self:center;width:100%;max-width:var(--content);margin-top:-4px}

/* columns, media & text, group */
.wp-block-columns{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:clamp(28px,3.4vw,48px)}
.wp-block-column>*{margin:0}
.wp-block-column>*+*{margin-top:.6em}
.wp-block-column h4{font-size:19px}
.wp-block-column p{font-size:16px;line-height:1.65;color:var(--soft)}
.wp-block-column .num{display:block;margin-bottom:14px;font-family:var(--mono);font-size:12px;color:var(--red)}
.wp-block-media-text{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(32px,5vw,80px)}
.wp-block-media-text__media{margin:0}
.wp-block-media-text__media img{display:block;width:100%;height:auto;border-radius:8px}
.wp-block-media-text__content>*{margin:0}
.wp-block-media-text__content>*+*{margin-top:.8em}
.wp-block-media-text__content p{color:var(--soft)}
.wp-block-group.has-background{padding:clamp(32px,5vw,64px);border-radius:8px;background:var(--surface)}
.wp-block-group.has-background>*{margin:0;max-width:var(--content)}
.wp-block-group.has-background>*+*{margin-top:1em}

/* buttons */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:8px;background:var(--red);color:#0A0A0A;font-weight:600;font-size:17px;letter-spacing:-.01em;line-height:1;transition:background .25s,transform .35s var(--ease),border-color .2s}
@media (hover:hover){.wp-block-button__link:hover{background:#F25A5A}}
.wp-block-button__link:active{transform:scale(.97)}
.wp-block-button__link span{display:inline-block;transition:transform .35s var(--ease)}
@media (hover:hover){.wp-block-button__link:hover span{transform:translateX(4px)}}
.wp-block-button__link:focus-visible{outline-color:var(--red)}
.is-style-outline .wp-block-button__link{background:transparent;color:var(--ink);border:1px solid var(--border)}
@media (hover:hover){.is-style-outline .wp-block-button__link:hover{background:transparent;border-color:var(--ink)}}
.is-style-outline .wp-block-button__link:focus-visible{outline-color:var(--ink)}

/* separator */
.wp-block-separator{width:80px;height:0;border:0;border-top:1px solid var(--border);margin-top:var(--block)!important;margin-bottom:0}
.wp-block-separator+*{margin-top:var(--block)!important}
.wp-block-separator.is-style-wide{width:auto}
.wp-block-separator.is-style-dots{width:auto;height:auto;overflow:visible;border:0;text-align:center;line-height:1}
.wp-block-separator.is-style-dots::before{content:"···";font-family:inherit;font-size:28px;letter-spacing:.6em;padding-left:.6em;color:var(--faint)}

/* code, preformatted */
.wp-block-code,.wp-block-preformatted{padding:22px 24px;border:1px solid var(--line);border-radius:8px;background:var(--well);font-family:var(--mono);font-size:14px;line-height:1.75;color:var(--ink);overflow-x:auto;white-space:pre;tab-size:2}
.wp-block-code code{padding:0;background:none;font-size:inherit}
.wp-block-code .p{color:var(--red)}
.wp-block-code .k{color:var(--soft)}
.wp-block-code .ok{color:var(--green)}
.wp-block-code .c{color:var(--faint)}
.wp-block-preformatted{white-space:pre-wrap;color:var(--soft)}

/* table */
.wp-block-table{overflow-x:auto}
.wp-block-table table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}
.wp-block-table thead,.wp-block-table tfoot{border:0}
.wp-block-table th{padding:0 16px 12px 0;border:0;border-bottom:1px solid var(--border);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--soft);text-align:left;white-space:nowrap}
.wp-block-table td{padding:14px 16px 14px 0;border:0;border-bottom:1px solid var(--line);vertical-align:top}
.wp-block-table .n,.wp-block-table .has-text-align-right{font-family:var(--mono);font-size:14px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.wp-block-table th.n,.wp-block-table th.has-text-align-right{text-align:right}
.wp-block-table tr>:last-child{padding-right:0}

/* details */
.wp-block-details{border-top:1px solid var(--border)}
.wp-block-details:last-of-type{border-bottom:1px solid var(--border)}
.wp-block-details+.wp-block-details{margin-top:0!important}
.wp-block-details summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:14px 0;list-style:none;font-weight:600;font-size:18px;letter-spacing:-.01em;cursor:pointer}
.wp-block-details summary::-webkit-details-marker{display:none}
.wp-block-details summary::after{content:"";flex:none;width:12px;height:12px;background:linear-gradient(currentColor,currentColor) center/12px 1.5px no-repeat,linear-gradient(currentColor,currentColor) center/1.5px 12px no-repeat;color:var(--soft);transition:transform .35s var(--ease)}
.wp-block-details[open] summary::after{transform:rotate(45deg)}
.wp-block-details summary:focus-visible{outline-offset:2px}
.wp-block-details p{margin:0 0 20px;font-size:16px;line-height:1.65;color:var(--soft)}

/* cover */
.wp-block-cover{position:relative;display:flex;min-height:min(78svh,720px);padding:clamp(40px,6vw,88px) var(--gut);overflow:hidden;background:var(--well)}
.wp-block-cover__image-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:100% 0}
.wp-block-cover__inner-container{position:relative;z-index:1;width:100%;max-width:var(--wide);margin:auto auto 0}
.wp-block-cover__inner-container>*{margin:0}
.wp-block-cover h2{max-width:10em;font-weight:600;font-size:clamp(40px,6vw,88px);line-height:1;letter-spacing:-.045em;text-wrap:balance}
.wp-block-cover p{max-width:26em;margin-top:20px;font-size:clamp(18px,1.6vw,21px);color:var(--soft)}
.wp-block-cover .wp-block-buttons{margin-top:36px}

/* prototype only: show the three widths. Not part of the theme. */

/* WordPress breakpoints: columns stack at 782, media & text at 600 */
@media (max-width:781px){
  .wp-block-columns{grid-template-columns:1fr;gap:36px}
}
@media (max-width:760px){
  .nav{height:64px}
  .nav nav{gap:0}
  .ft-top{flex-direction:column;align-items:flex-start;gap:16px}
  .ft-right{width:100%;justify-content:space-between}
  .ft-social{margin-left:-13px}
  .ft-bot{flex-direction:column;gap:8px}
  :is(.dpt-prose,.wp-block-post-content){font-size:17.5px;line-height:1.68}
  .wp-block-image.alignfull img{aspect-ratio:4/3}
  .wp-block-quote{padding-left:20px}
}
@media (max-width:599px){
  .wp-block-media-text{grid-template-columns:1fr;gap:28px}
  .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .wp-block-gallery figure:last-of-type:nth-of-type(odd){grid-column:1/-1}
  .wp-block-gallery figure:last-of-type:nth-of-type(odd) img{aspect-ratio:2/1}
  .wp-block-buttons{flex-direction:column}
  .wp-block-button__link{width:100%}
  .wp-block-cover{min-height:700px}
  .wp-block-table th,.wp-block-table td{padding-right:12px}
  .wp-block-code,.wp-block-preformatted{padding:18px;font-size:13px;margin-left:calc(var(--gut) * -1)!important;margin-right:calc(var(--gut) * -1)!important;border-radius:0;border-left:0;border-right:0}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ---------- WordPress glue: what the prototype did with hand-written markup ---------- */
/* the title's period: the prototype used a span, the post title block gets a pseudo-element */
.ph .wp-block-post-title::after,.ph .wp-block-heading::after,.ph .wp-block-query-title::after{content:"";display:inline-block;width:.17em;height:.17em;margin-left:.04em;border-radius:50%;background:var(--red)}
.ph .meta>*{display:inline;margin:0}
.ph .meta>*+*::before{content:"·";margin:0 .7em;color:var(--faint)}

/* The Log: one row per entry, like lines in a log. The date runs down the left in mono, the words sit
   in the middle, and every entry has a picture on the right (its featured image, or the dot switched off).
   Rows are split by hairlines. On a phone each entry stacks: picture, date, title, excerpt. */
.ph:has(+.dpt-list)>*{max-width:var(--wide)}
.dpt-list{max-width:var(--wide);margin:0 auto;padding:clamp(40px,5vw,64px) var(--gut) 0;box-sizing:content-box}
.dpt-list .wp-block-post-template{margin:0;padding:0;list-style:none;border-bottom:1px solid var(--line)}
.dpt-list .wp-block-post{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"img" "meta" "title" "excerpt";padding:32px 0 36px;border-top:1px solid var(--line)}
.dpt-list .wp-block-post:first-child{border-top:0;padding-top:0}
.dpt-list .log-body{display:contents}
.dpt-list .log-img{grid-area:img;position:relative;margin:0 0 20px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:var(--surface)}
.dpt-list .log-img img{display:block;width:100%;height:100%;object-fit:cover}
/* a hairline inside the frame, so a dark photo still has an edge against the page */
.dpt-list .log-img::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);pointer-events:none;transition:box-shadow .2s}
/* no featured image: the dot, switched off. Point at the entry and it lights up. */
.dpt-list .log-img.is-fallback{display:grid;place-items:center}
.dpt-list .log-dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.16);transition:background .2s}
.dpt-list .meta{grid-area:meta;display:flex;flex-wrap:wrap;align-items:baseline;margin:0;font-family:var(--mono);font-size:13px;line-height:20px;color:var(--soft)}
.dpt-list .meta::before{content:"> ";white-space:pre;color:var(--red)}
.dpt-list .meta>*{display:inline;margin:0}
.dpt-list .meta>*+*::before{content:"·";margin:0 .7em;color:var(--faint)}
.dpt-list .wp-block-post-title{grid-area:title;margin:10px 0 0;font-size:clamp(23px,2.2vw,30px);font-weight:600;line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
.dpt-list .wp-block-post-title a{transition:color .2s}
/* one link per entry: the title's link covers the whole row, picture included */
.dpt-list .wp-block-post-title a::after{content:"";position:absolute;inset:0;z-index:1}
.dpt-list .wp-block-post-title a:focus-visible{outline:0}
.dpt-list .wp-block-post:has(.wp-block-post-title a:focus-visible) .log-img{outline:2px solid var(--ink);outline-offset:4px}
.dpt-list .wp-block-post-excerpt{grid-area:excerpt;margin:12px 0 0;max-width:34em;font-size:16px;line-height:1.55;color:var(--soft)}
.dpt-list .wp-block-post-excerpt__excerpt{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.dpt-list .wp-block-post-excerpt__more-text{display:none}
@media (hover:hover){
  .dpt-list .wp-block-post:hover .wp-block-post-title a{color:var(--red)}
  .dpt-list .wp-block-post:hover .log-img::after{box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
  .dpt-list .wp-block-post:hover .log-dot{background:var(--red)}
}
/* tablet: words on the left, picture on the right */
@media (min-width:640px){
  .dpt-list .wp-block-post{grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto auto 1fr;grid-template-areas:"meta img" "title img" "excerpt img";column-gap:40px;padding:40px 0}
  .dpt-list .wp-block-post:first-child{padding-top:0}
  .dpt-list .log-img{margin:0;align-self:start}
}
/* desktop: an index of big titles, each with its date set small beside it. One picture sits on the right
   and follows you down the page: the newest entry's, until you point at (or tab to) another title.
   Every entry's picture is stacked in that one spot; only the active one shows. The entries' <li> boxes
   step aside (display:contents) so titles and pictures can share one grid. */
@media (min-width:1000px){
  .dpt-list .wp-block-post-template{display:grid;grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:repeat(10,auto);column-gap:72px;align-items:start;border-bottom:0}
  .dpt-list .wp-block-post{display:contents}
  .dpt-list .log-body{grid-column:1;position:relative;display:flex;align-items:flex-start;gap:16px;padding:22px 0 24px;border-top:1px solid var(--line)}
  .dpt-list .wp-block-post:first-child .log-body{border-top:0;padding-top:0}
  .dpt-list .wp-block-post:last-child .log-body{border-bottom:1px solid var(--line)}
  .dpt-list .wp-block-post-title{order:1;flex:0 1 auto;margin:0;font-size:clamp(34px,3.7vw,52px);line-height:1.04;letter-spacing:-.04em}
  .dpt-list .wp-block-post-title a{color:var(--ink)}
  .dpt-list .meta{order:2;flex:none;display:block;margin:6px 0 0 auto;font-size:12px;line-height:16px;white-space:nowrap}
  .dpt-list .meta::before,.dpt-list .meta>*+*{display:none}
  .dpt-list .wp-block-post-excerpt{display:none}
  .dpt-list .log-img{grid-column:2;grid-row:1/-1;position:sticky;top:max(96px,calc(50vh - 150px));aspect-ratio:4/3;opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s}
  /* the active picture: the entry you're on, or the newest one when you're on none */
  .dpt-list .wp-block-post:is(:hover,:focus-within) .log-img,
  .dpt-list .wp-block-post-template:not(:has(.wp-block-post:is(:hover,:focus-within))) .wp-block-post:first-child .log-img{opacity:1;visibility:visible;transition:opacity .25s}
  /* the rest of the titles step back while you're on one */
  .dpt-list .wp-block-post-template:has(.wp-block-post:is(:hover,:focus-within)) .wp-block-post:not(:hover,:focus-within) .wp-block-post-title a{color:#4A4A4A}
  .dpt-list .wp-block-post-title a:focus-visible{outline:2px solid var(--ink);outline-offset:6px;border-radius:4px}
  .dpt-list .wp-block-post:has(.wp-block-post-title a:focus-visible) .log-img{outline:0}
}
@media (min-width:1000px) and (hover:hover){
  .dpt-list .wp-block-post:hover .wp-block-post-title a{color:var(--ink)}
  .dpt-list .wp-block-post:hover .log-dot{background:var(--red)}
}
.dpt-list .wp-block-query-pagination{margin-top:24px;font-family:var(--mono);font-size:13px;color:var(--soft)}
.dpt-list .wp-block-query-pagination a{display:inline-flex;align-items:center;min-height:44px;transition:color .2s}
@media (hover:hover){.dpt-list .wp-block-query-pagination a:hover{color:var(--ink)}}
.dpt-list .wp-block-query-no-results p{color:var(--soft)}
/* a single entry's featured image: under the title, as wide as the wide column */
.dpt-cover{position:relative;width:auto;max-width:var(--wide);margin:clamp(32px,4vw,48px) auto 0;padding:0 var(--gut);box-sizing:content-box;aspect-ratio:auto!important}
.dpt-cover img{display:block;width:100%;height:auto!important;max-height:min(520px,56vh);aspect-ratio:2/1!important;object-fit:cover;border-radius:8px;background:var(--surface)}
.dpt-cover::after{content:"";position:absolute;inset:0 var(--gut);border-radius:8px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);pointer-events:none}
@media (max-width:600px){.dpt-cover img{aspect-ratio:3/2!important}}
/* content pages leave a beat before the footer; the homepage sections bring their own */
body:not(.home) .site-footer{margin-top:var(--block)}
/* a short page (404, an empty search) still puts the footer at the bottom of the window */
body:not(.home) .wp-site-blocks{display:flex;flex-direction:column;min-height:100svh}
body:not(.home) .wp-site-blocks>main{flex:1 0 auto}
/* the logo only pulses on the homepage, where there is something to press */
body:not(.home) .mark i.pulse,body:not(.home) .mark i.pulse::after{animation:none}

/* ---------- core block CSS that would otherwise beat the design ---------- */
/* .wp-block-post-content is named next to .dpt-prose throughout this file so the post editor, whose canvas has no template classes, gets the same type */
/* measured against the prototype with real editor markup; each line undoes one core default */
::selection{background:var(--red);color:#0A0A0A}
:is(.dpt-prose,.wp-block-post-content) .wp-element-caption{margin-bottom:0}
:is(.dpt-prose,.wp-block-post-content) .wp-block-pullquote{font-size:inherit;line-height:inherit}
:is(.dpt-prose,.wp-block-post-content) .wp-block-pullquote cite{position:static}
:is(.dpt-prose,.wp-block-post-content) .wp-block-code code{display:inline;white-space:inherit;overflow-wrap:normal;font-family:inherit}
:is(.dpt-prose,.wp-block-post-content) .wp-block-media-text>.wp-block-media-text__content{padding:0}
:is(.dpt-prose,.wp-block-post-content) .wp-block-buttons{align-items:stretch}
:is(.dpt-prose,.wp-block-post-content) .wp-block-details>p:last-child{margin-bottom:20px}
/* gallery: core lays nested images out with flex and percentage widths. Three across unless the editor's Columns says otherwise */
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.has-nested-images{display:grid;grid-template-columns:repeat(var(--gcols,3),minmax(0,1fr));gap:16px;align-items:start}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-1{--gcols:1}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-2{--gcols:2}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-3{--gcols:3}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-4{--gcols:4}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-5{--gcols:5}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-6{--gcols:6}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-7{--gcols:7}:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-8{--gcols:8}
/* left on automatic, one or two pictures fill the row the way core does it */
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-default:has(>figure.wp-block-image:first-of-type:nth-last-of-type(2)){--gcols:2}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.columns-default:has(>figure.wp-block-image:only-of-type){--gcols:1}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){display:block;width:auto;margin:0}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px}
/* "Crop images to fit" switched off: each picture keeps its own shape */
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{aspect-ratio:auto}
:is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.has-nested-images>figcaption{grid-column:1/-1;justify-self:center;width:100%;max-width:var(--content);margin:-4px 0 0;text-align:start}
@media (max-width:599px){
  :is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.has-nested-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  :is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.has-nested-images.columns-1{grid-template-columns:minmax(0,1fr)}
  :is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.wp-block-gallery.has-nested-images:not(.columns-1) figure.wp-block-image:not(#individual-image):last-of-type:nth-of-type(odd){grid-column:1/-1}
  :is(.dpt-prose,.wp-block-post-content) .wp-block-gallery.wp-block-gallery.has-nested-images.is-cropped:not(.columns-1) figure.wp-block-image:not(#individual-image):last-of-type:nth-of-type(odd) img{aspect-ratio:2/1}
  :is(.dpt-prose,.wp-block-post-content) .wp-block-buttons>.wp-block-button{width:100%}
}
