/* Accent is the theme red #FF013D (css/colors/scheme-01.css), not yellow; dark text on red buttons (white fails AA).
   The banner is a <div>, not a <section>: the theme script sets inline display:none on sections.
   Additions on top of the theme: skip link, legal footer, cookie banner, simple pages. */
.skip-link{position:absolute;left:-9999px;top:0;z-index:100000;background:#FF013D;color:#111;padding:10px 16px;font-weight:600}
.skip-link:focus{left:10px;top:10px}
.dn-legal{background:#111;color:#bbb;text-align:center;padding:24px 16px;font-size:.95rem}
body:has(.dn-cookie-banner) .dn-legal{padding-bottom:96px}   /* room for the fixed cookie banner, only while it shows */
.dn-legal p{margin:0}
.dn-legal a{color:#FF013D}
.dn-legal a:focus,.dn-cookie-banner a:focus,.dn-cookie-banner button:focus{outline:2px solid #FF013D;outline-offset:3px}
.dn-cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:99999;background:#111;border-top:2px solid #FF013D;color:#ddd;box-shadow:0 -4px 18px rgba(0,0,0,.4)}
.dn-cookie-inner{max-width:1100px;margin:0 auto;padding:14px 16px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.dn-cookie-inner p{margin:0;flex:1 1 420px;line-height:1.5;font-size:.95rem}
.dn-cookie-inner a{color:#FF013D}
.dn-cookie-actions{display:flex;gap:10px;flex-wrap:wrap}
.dn-cookie-actions button{font:600 .95rem/1 system-ui,sans-serif;padding:10px 16px;border-radius:4px;border:2px solid #FF013D;background:#FF013D;color:#111;cursor:pointer}
.dn-cookie-actions button.ghost{background:transparent;color:#FF013D}
body.dn-page{background:#111;color:#ddd;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;margin:0;line-height:1.65}
.dn-main{max-width:46rem;margin:0 auto;padding:56px 20px 48px}
.dn-main h1{color:#fff;font-size:2rem;margin:0 0 6px;line-height:1.2}
.dn-main h2{color:#fff;font-size:1.25rem;margin:36px 0 10px}
.dn-main a{color:#FF013D}
.dn-main a:focus{outline:2px solid #FF013D;outline-offset:3px}
.dn-main ul{padding-left:1.25rem}
.dn-main .updated{color:#aaa;margin:0 0 28px}
.dn-back{margin-bottom:32px}
.dn-note{background:#1d1d1d;border-left:3px solid #FF013D;padding:12px 16px;margin:20px 0}
.dn-pref{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.dn-pref button{font:600 .95rem/1 system-ui,sans-serif;padding:10px 16px;border-radius:4px;border:2px solid #FF013D;background:#FF013D;color:#111;cursor:pointer}
.dn-pref button.ghost{background:transparent;color:#FF013D}
.dn-nf{text-align:center;padding-top:40px}
.dn-nf .ring{width:72px;height:72px;border:12px solid #FF013D;border-radius:50%;margin:0 auto 28px}
.dn-nf .links a{margin:0 12px;font-weight:600}
.dn-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
/* Showcase (/projects): the tally row under each tile, the question line, intro, placeholder tiles. */
.dn-tally{display:flex;gap:18px;padding:10px 2px 0;font-size:13px;color:#888}
.dn-tally span{display:inline-flex;align-items:center;gap:6px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dn-question{color:#fff!important;margin-bottom:24px}
.dn-intro p{color:#bbb;margin:0 0 16px}
.d-title .dn-pitch{display:block;font-size:14px;color:#ccc;margin-top:6px}
.d-title .dn-look{display:block;font-size:14px;font-weight:600;color:#FF013D;margin-top:6px}
.dn-soon img{opacity:.6}
.dn-soon-label{margin:10px 2px 0;font-size:13px;color:#888}
.dn-fleet-buttons{margin-top:30px}
/* each fleet button wraps to its own line whole on phones, never mid-label (Damian 2026-11-13 screenshot) */
.dn-fleet-buttons a{display:inline-block;white-space:nowrap;margin:0 8px 10px}
.dn-btn-ghost{background:transparent!important;border:2px solid #FF013D;color:#fff}
/* Showcase pages scroll normally; the theme's one-page script hides every <section> but #section-main. */
body.dn-scroll-page section{display:block!important}
body.dn-scroll-page section{min-height:0!important}
/* Showcase preview pages */
.dn-back{margin:0 0 20px}
.dn-lead{font-size:19px;color:#ddd}
.dn-features h3{color:#fff;font-size:20px;margin:14px 0 6px}
.dn-visit{margin:40px 0 50px}
.dn-help{border-top:1px solid #222;padding-top:50px}
.dn-help-options{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:20px}
.dn-help-card{min-width:160px;padding:16px 20px;border:2px solid #333;border-radius:3px;color:#ddd;text-decoration:none;display:flex;flex-direction:column;gap:4px;text-align:center}
.dn-help-card button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;display:flex;flex-direction:column;gap:4px;align-items:center;width:100%}
.dn-help-card strong{color:#fff}
.dn-help-card span{font-size:13px;color:#999}
.dn-help-card a,.dn-help-card [data-share="copy"]{color:#FF013D;background:none;border:0;padding:0;font:inherit;cursor:pointer}
.dn-help-money{border-color:#FF013D}
.dn-invest{display:flex;flex-direction:column;gap:10px;margin-top:14px;text-align:left;min-width:260px}
.dn-invest input,.dn-invest textarea{width:100%;background:#1b1b1b;border:1px solid #333;color:#ddd;padding:8px}
.dn-invest button{background:#FF013D;color:#111;border:0;padding:10px 16px;font-weight:600;cursor:pointer}
.dn-spoiler{margin-top:20px}
/* Showcase fleet + history pages */
.dn-prose{color:#bbb}
.dn-prose h3{color:#fff;font-size:22px;margin:36px 0 14px}
.dn-prose li{margin-bottom:12px}
.dn-prose strong{color:#fff}
.dn-timeline{list-style:none;padding:0;margin:30px 0;border-left:2px solid #FF013D}
.dn-timeline li{padding:0 0 26px 22px;position:relative}
.dn-timeline li:before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:#FF013D}
.dn-timeline h3{margin:2px 0 6px}
.dn-when{color:#FF013D;font-weight:600;margin:0}
.dn-download{color:#FF013D}
.dn-hero-media{margin-bottom:30px}
.dn-hero-media img{width:100%;border:1px solid #222}
.dn-mark{width:72px;height:auto;margin:0 auto 30px;display:block}
.dn-help-soon{opacity:.6;cursor:default}
.dn-visit-soon .btn-custom{cursor:default}
.dn-showcase-link{margin-top:30px}
.dn-item-name{color:#fff;font-size:16px;font-weight:600;margin:0 0 8px;text-align:left}
.dn-like{display:inline;margin:0}
.dn-like button{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.dn-like button:hover svg,.dn-like button.dn-liked svg,.dn-help-card button:hover .dn-thumb,.dn-help-card button.dn-liked .dn-thumb{fill:#FF013D}
.dn-help-invest{display:flex;justify-content:center;margin-top:14px}
.dn-help-invest details{width:100%;max-width:520px}
.dn-like-row{display:inline-flex;align-items:center;gap:6px}
.dn-ts-contact{display:flex;justify-content:center;margin-top:10px}
.dn-invest .cf-turnstile{margin:8px 0}
.dn-ts-below{display:flex;flex-basis:100%;justify-content:flex-start;margin-top:12px}  /* own line, under the email field */
/* Page titles that are the page's <h1> but must look like the theme's h2.title (48px, 1.2em, -1px, 600, centred,
   no responsive change); the theme's own h1.title is 64px with 10px tracking (sweep finding 2026-11-02). */
h1.title.dn-h1{display:block;text-align:center;font-size:48px;line-height:1.2em;letter-spacing:-1px;margin-bottom:30px}
/* Blog (replaced Perch 2026-10-31): headings sized like the theme's h2.title; sidebar widgets with AA contrast
   (the theme's .widget_* colours are #606060/#000 on dark, which fail). */
.dn-blog-kicker{text-align:center;text-transform:uppercase;letter-spacing:3px;font-size:14px;margin:0 0 10px}
.dn-blog-kicker a{color:#FF013D}
h1.dn-blog-h1{display:block;text-align:center;font-size:48px;line-height:1.2em;letter-spacing:normal;margin-bottom:30px;color:#fff}
h1.dn-blog-h1 span{font-size:20px;display:block;letter-spacing:0;margin-top:6px;color:#bbb}
.dn-blog .dn-hero{width:100%;height:300px;object-fit:cover;object-position:0 80%}
.dn-blog .post-text,.dn-blog .post-text p{color:#ccc}
.dn-blog .post-text a,.dn-post-meta a,.dn-post-tags a{color:#FF013D}
.dn-blog .post-text img{max-width:100%;height:auto}
.dn-post-meta{color:#aaa;font-size:14px;margin:0 0 6px}
.dn-post-tags{margin:24px 0 36px;font-size:14px}
.dn-post-tags span{color:#aaa;margin-right:6px}
.dn-post-tags a{display:inline-block;border:1px solid #444;border-radius:3px;padding:2px 10px;margin:0 6px 6px 0}
.dn-blog .paging{color:#bbb;text-align:center;margin:10px 0 30px}
.dn-blog .paging a{color:#FF013D;margin:0 12px;font-weight:600}
.dn-section-list li{margin-bottom:10px}
.dn-blog a:focus{outline:2px solid #FF013D;outline-offset:2px}
@media (max-width:991px){h1.dn-blog-h1{font-size:34px}}
/* Blog admin (/admin/) */
.dn-admin-main{max-width:60rem}
.dn-admin-bar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 20px;background:#000;border-bottom:2px solid #FF013D;color:#fff}
.dn-admin-bar a{color:#FF013D;margin-left:16px}
.dn-admin-table{width:100%;border-collapse:collapse;margin:16px 0 40px}
.dn-admin-table th,.dn-admin-table td{text-align:left;padding:10px 8px;border-bottom:1px solid #333;vertical-align:top}
.dn-admin-table small{color:#999}
.dn-admin-actions a{margin-right:12px}
.dn-admin-tag{font-size:12px;border:1px solid #666;border-radius:3px;padding:1px 6px;color:#bbb}
.dn-admin-state{font-weight:600}.dn-state-draft{color:#ffb84d}.dn-state-scheduled{color:#7fc4ff}.dn-state-published{color:#7ddf8c}
.dn-admin-form label{display:block;margin:18px 0 6px;color:#fff;font-weight:600}
.dn-admin-form label small{font-weight:400;color:#aaa}
.dn-admin-form input[type=text],.dn-admin-form input[type=date],.dn-admin-form input[type=time],.dn-admin-form select,.dn-admin-form textarea{width:100%;box-sizing:border-box;background:#1b1b1b;color:#eee;border:1px solid #555;border-radius:3px;padding:9px 10px;font:inherit}
.dn-admin-form textarea{font-family:ui-monospace,Menlo,Consolas,monospace}
.dn-admin-form input:focus,.dn-admin-form select:focus,.dn-admin-form textarea:focus,.dn-admin-btn:focus{outline:2px solid #FF013D;outline-offset:2px}
.dn-admin-form fieldset{border:1px solid #333;padding:4px 16px 16px;margin:24px 0 0}
.dn-admin-form legend{color:#fff;padding:0 6px}
.dn-admin-row{display:flex;gap:16px;flex-wrap:wrap}.dn-admin-row>div{flex:1 1 200px}
.dn-admin-check{font-weight:400!important}
.dn-admin-thumb{max-width:160px;height:auto;vertical-align:middle;margin-right:10px}
.dn-admin-err{display:block;color:#ff8fa6;margin-top:4px}
.dn-admin-btn{display:inline-block;font:600 1rem/1 system-ui,sans-serif;padding:11px 18px;border-radius:4px;border:2px solid #FF013D;background:#FF013D;color:#111!important;cursor:pointer;text-decoration:none;margin-right:10px}
.dn-admin-btn.dn-ghost{background:transparent;color:#FF013D!important}
.dn-admin-btn.dn-danger{background:#FF013D}
.dn-admin-actions{margin-top:28px}
body.dn-scroll-page header.clone{background:rgba(17,17,17,.97)}   /* the theme's scrolled header stays transparent on these pages */
button#menu-btn{background:none;border:0;line-height:1;cursor:pointer}   /* the theme's hamburger, now a real button */
@media (max-width: 992px){header.header-mobile:not(.hm-open) #mainmenu{display:none}}   /* closed phone menu is really hidden, not just clipped */
.dn-help-invest summary{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;list-style:none}   /* title over "start a conversation", like the other boxes */
.dn-help-invest summary::-webkit-details-marker{display:none}
.dn-visit .btn-custom{margin:6px}
body.dn-scroll-page section{padding-top:65px;padding-bottom:65px}   /* theme pads 90px each side (180px between sections); 50px less per gap (Damian, 2026-11-02) */
@media (max-aspect-ratio:1/1){#section-main{background-position:68% center!important}}   /* portrait phones/tablets: show Damian, not the right edge of the photo (Damian, 2026-11-02) */
/* Keyboard focus (WCAG 2.4.7): the theme removes outlines (#mainmenu a{outline:0} and others), so !important. #content is
   only a skip-link target; it needs no ring. */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #FF013D!important;outline-offset:2px!important}
#content:focus{outline:0}
/* An inline link around the taller inline-block icon gave a notched ring. The scroll padding keeps a focused link clear of the fixed
   header and the cookie banner when the browser scrolls it into view. */
.social-icons a{display:inline-block}
html{scroll-padding-top:100px;scroll-padding-bottom:140px}
/* Heading order (WCAG 1.3.1, 2026-11-05): tags changed so levels read in order; the LOOK is the theme's old h4.title, h5,
   h3 and h4 (computed values compared before and after in Chrome). The theme makes h2 inline-block, hence display:block. */
p.title-eyebrow{display:block;text-align:center;font-family:var(--font-general);font-size:20px;font-weight:600;line-height:1.2em;letter-spacing:normal;margin:0 0 10px;color:var(--primary-color)}
h2.dn-question{display:block;text-align:center;font-size:20px;line-height:1.2em;letter-spacing:normal;margin:0 0 10px}
h3.dn-item-name{line-height:1.2em;letter-spacing:normal}
h4.dn-skill-name{font-size:15px;line-height:1.2em;letter-spacing:normal;margin:0 0 8px}
.dn-features h2{display:block;color:#fff;font-size:20px;line-height:1.2em;letter-spacing:normal;margin:14px 0 6px}
.dn-prose h2{display:block;color:#fff;font-size:22px;line-height:1.2em;letter-spacing:normal;margin:36px 0 14px}
.dn-timeline h2{margin:2px 0 6px}
.post-text .dn-post-title{display:block;font-size:20px;line-height:1.2em;letter-spacing:normal;margin:10px 0}
.dark .post-text .dn-post-title a{color:#fff;text-decoration:none}
body.dn-scroll-page main>section:first-of-type{padding-top:110px}   /* first section clears the fixed header; the 65px above is for gaps between sections */
body{background:#111}   /* the theme's style.css sets body #fff under its dark sections; iOS/iPadOS Safari tints the status bar from it (white bar, 2026-11-09) */
body.dn-overlay-page header{display:none}   /* /projects pages open like the homepage panels: no top menu, the X (a real link) closes */
a#btn-exit{cursor:pointer}
.transition{display:none}   /* the red curtain is a fixed full-height element at top:0; iOS tints the status bar from fixed elements at the top even off-screen, and seems to keep a colour it saw, so it is out of the page while idle (2026-11-09) */
.transition.dn-moving{display:block}   /* designesia.js dnCurtainMove() and js/page-transition.js bring it in only while it sweeps */
html.dn-arriving .transition{display:block;left:0;transition:none}   /* arriving from another page of the site: start covered (set in <head>, before first paint) */
@media (max-width: 992px){header.header-mobile #mainmenu li a{display:block}}   /* phone menu: the whole row is the link, not just the word */
h3.dn-question{display:block;text-align:center;font-size:20px;line-height:1.2em;letter-spacing:normal;margin:0 0 10px;color:#fff}   /* the homepage Projects panel's question (h3 there, h2 on /projects) */
#section-projects .dn-panel-fleet{margin-top:60px}

/* iOS status bar always black, never red (Damian 2026-11-09). On iPhone the page runs under the status bar and iOS tints it from
   fixed elements touching the top edge, so a thin black strip sits there on every page and the red curtain starts below it. */
.dn-statusbar{position:fixed;top:0;left:0;width:100%;height:6px;background:#111;z-index:1003;pointer-events:none}
.transition{top:6px;height:calc(100% - 6px)}
/* Sideways iPhone: Safari fills the side areas beside the notch from what touches the left/right edges, so the curtain coming in from the side turned them red. Black strips sit above it there (Damian 2026-11-09) */
@media (orientation: landscape) and (max-height: 500px){.dn-statusbar::before,.dn-statusbar::after{content:"";position:fixed;top:0;bottom:0;width:6px;background:#111;z-index:1003;pointer-events:none}.dn-statusbar::before{left:0}.dn-statusbar::after{right:0}}

/* Logo in the header's homepage link (Damian 2026-11-09, placeholder until he changes the mark); on portrait phones it is all
   that shows, and the name stays as the link's accessible text. */
header div#logo a{display:inline-flex;align-items:center}
header div#logo .dn-logo-mark{height:40px;width:auto;margin-right:12px}
@media (max-width: 767px) and (orientation: portrait){header div#logo .dn-logo-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media (max-width: 767px) and (orientation: portrait){header div#logo .dn-logo-mark{margin-right:0}}
/* Projects panel filters look like the portfolio ones: the theme styles only #filters (Damian 2026-11-10) */
#projects-filters{padding:0;margin:0 0 40px;font-weight:400;text-align:center;list-style:none}#projects-filters li{display:inline-block;margin-right:5px;margin-bottom:10px;font-size:14px}#projects-filters li::marker{content:""}#projects-filters a{outline:0;color:#888;text-decoration:none;padding:5px 20px;border-radius:3px}#projects-filters a.selected{color:#fff;background:var(--primary-color)}

/* Showcase tile pictures: 3:2 at the column width, sized before the picture loads, so the grid and page height are right from the start (Damian 2026-11-10) */
.gallery-item .picframe img{display:block;width:100%;height:auto;aspect-ratio:3/2}
/* Menu bar stays at the top while scrolling on phones too (Damian 2026-11-22: "The menu bar should be sticky"). The theme fixes it
   only above 992 px; below that it was position:relative and scrolled away. The first section's 110px top padding already clears it. */
@media (max-width: 992px){body.dn-scroll-page header.header-mobile{position:fixed;top:0}}
@media (max-width: 992px){body.dn-scroll-page header.header-mobile.hm-open{max-height:100vh;overflow-y:auto}}
/* v0.5.32: the homepage scrolls on phones too, and the home-screen app opens there. #wrapper is overflow:hidden, so sticky can't work;
   the header is fixed and #section-main keeps the 90px the header used to take. Panels hide the header (theme) and hide #section-main. */
@media (max-width: 992px){header.header-mobile{position:fixed;top:0}}
@media (max-width: 992px){body:not(.dn-scroll-page) #section-main{margin-top:90px}}
