/* ND9 — colours, spacing and type */
:root {
  --nd9-paper: #faf8f4;
  --nd9-white: #fff;
  --nd9-ink: #171717;
  --nd9-muted: #62686b;
  --nd9-accent: #c6ff00;
  --nd9-line: #dcded9;
  --nd9-soft: #efece5;
  --nd9-width: 1160px;
  --nd9-gutter: clamp(20px, 4.5vw, 64px);
  --nd9-section: clamp(48px, 6.5vw, 88px);
}

/* Base elements and accessibility */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--nd9-paper); color: var(--nd9-ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--nd9-ink); text-decoration-color: var(--nd9-accent); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, input[type="submit"] { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--nd9-ink); outline-offset: 4px; box-shadow: 0 0 0 5px var(--nd9-accent); }
::selection { background: #c6ff00; color: var(--nd9-ink); }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 550; line-height: 1.17; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.3vw, 58px); letter-spacing: -.045em; }
h2 { font-size: clamp(27px, 2.8vw, 36px); letter-spacing: -.035em; }
h3 { font-size: 22px; letter-spacing: -.025em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
figure, blockquote { margin: 0; }
em { color: var(--nd9-ink); background: var(--nd9-accent); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.nd9-wrap { width: min(calc(100% - var(--nd9-gutter) * 2), var(--nd9-width)); margin-inline: auto; }
.nd9-section { padding-block: var(--nd9-section); }
.nd9-section-first { padding-top: 0; }
.nd9-skip { position: fixed; z-index: 1000; left: 16px; top: -100px; padding: 12px 20px; background: white; }
.nd9-skip:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nd9-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--nd9-accent); border-radius: 3px; background: var(--nd9-accent); color: var(--nd9-ink); font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background .18s, color .18s; }
.nd9-button:hover { background: var(--nd9-ink); border-color: var(--nd9-ink); color: var(--nd9-accent); }
.nd9-button span { font-size: 20px; font-weight: 400; }
.nd9-button-light { background: var(--nd9-accent); border-color: var(--nd9-accent); color: var(--nd9-ink); }
.nd9-text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 15px; font-weight: 550; }
.nd9-actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }

/* Header */
.nd9-header { position: sticky; top: 0; z-index: 30; background: rgba(250,248,244,.96); border-bottom: 1px solid var(--nd9-line); }
.nd9-header-inner { min-height: 92px; display: flex; align-items: center; gap: 32px; }
.nd9-brand-wrap { margin-right: auto; flex: 0 0 auto; }
.nd9-brand-wrap img { width: 100px; height: auto; max-height: 46px; object-fit: contain; object-position: left; }
.custom-logo-link, .nd9-brand { display: inline-block; vertical-align: middle; }
.nd9-menu { list-style: none; margin: 0; padding: 0; }
.nd9-desktop-nav .nd9-menu { display: flex; align-items: center; gap: 26px; }
.nd9-desktop-nav a { display: block; padding: 12px 0; font-size: 14px; text-decoration: none; }
.nd9-menu .current-menu-item > a, .nd9-menu a[aria-current="page"] { color: var(--nd9-ink); text-decoration: underline; text-decoration-color: var(--nd9-accent); text-decoration-thickness: 3px; }
.nd9-desktop-nav .menu-item-has-children { position: relative; }
.nd9-desktop-nav .sub-menu { display: none; position: absolute; min-width: 230px; left: -20px; padding: 12px 20px; margin: 0; list-style: none; background: var(--nd9-paper); box-shadow: 0 12px 24px #17171714; border: 1px solid var(--nd9-line); }
.nd9-desktop-nav .menu-item-has-children:hover > .sub-menu, .nd9-desktop-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.nd9-header-cta { min-height: 42px; padding: 8px 17px; }
.nd9-menu-toggle { display: none; }
.nd9-noscript-nav { display: none; }
.admin-bar .nd9-header { top: 32px; }

/* Mobile navigation: native dialog and blurred page backdrop */
.nd9-mobile-menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 92vw); max-width: none; height: 100dvh; max-height: 100%; border: 0; background: var(--nd9-paper); color: var(--nd9-ink); padding: 28px; overflow-y: auto; overscroll-behavior: contain; }
.nd9-mobile-menu::backdrop { background: rgba(0,0,0,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nd9-mobile-menu[open] { animation: nd9-menu-enter .22s ease-out; }
.nd9-menu-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 32px; font-size: 14px; }
.nd9-menu-close { background: none; border: 1px solid var(--nd9-line); min-height: 44px; padding: 8px 12px; border-radius: 3px; }
.nd9-menu-close span { font-size: 22px; margin-left: 10px; }
.nd9-mobile-menu .nd9-menu > li { border-bottom: 1px solid var(--nd9-line); }
.nd9-mobile-menu .nd9-menu > li > a { display: block; padding: 15px 0; text-decoration: none; font-size: 28px; letter-spacing: -.03em; }
.nd9-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 12px 18px; }
.nd9-mobile-menu .sub-menu a { display: block; padding: 9px 0; font-size: 16px; }
.nd9-menu-bottom { padding-top: 38px; font-size: 15px; }
.nd9-menu-bottom > p:first-child { margin-bottom: 4px; }
.nd9-menu-bottom > p:last-child { margin-top: 32px; color: var(--nd9-muted); font-size: 13px; }
.nd9-menu-open { position: fixed; width: 100%; overflow: hidden; }
@keyframes nd9-menu-enter { from { transform: translateX(35px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Homepage */
.nd9-hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 65px; padding-block: 68px 66px; }
.nd9-hero h1 { font-size: clamp(38px, 4.25vw, 58px); line-height: 1.12; margin-bottom: 26px; }
.nd9-hero-copy > p { max-width: 430px; color: #555555; font-size: 17px; line-height: 1.7; margin-bottom: 30px; }
.nd9-hero-project { display: block; min-width: 0; text-decoration: none; }
.nd9-hero-art { background: #e9e5dc; padding: 30px 24px; min-height: 340px; display: flex; align-items: center; border-radius: 3px; }
.nd9-hero-art img { width: 100%; height: auto; aspect-ratio: 900/640; object-fit: contain; border-radius: 3px; box-shadow: 0 18px 30px #17171717; }
.nd9-hero-project:hover .nd9-hero-caption > span:last-child { text-decoration: underline; text-underline-offset: 5px; }
.nd9-hero-caption { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; font-size: 13px; }
.nd9-hero-caption > span:first-child { font-weight: 600; }
.nd9-hero-caption > span:last-child { white-space: nowrap; }
.nd9-hero-lettering { padding: 40px; background: var(--nd9-soft); font-size: 64px; line-height: 1.08; letter-spacing: -.05em; }
.nd9-trust { display: flex; align-items: center; gap: 40px; padding-block: 28px; border-top: 1px solid var(--nd9-line); border-bottom: 1px solid var(--nd9-line); }
.nd9-trust > p { max-width: 160px; font-size: 13px; color: var(--nd9-muted); margin: 0; line-height: 1.5; }
.nd9-trust-logos { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.nd9-trust img { width: 130px; max-height: 40px; object-fit: contain; filter: brightness(0); opacity: .65; }
.nd9-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.nd9-section-heading > p { max-width: 350px; color: var(--nd9-muted); font-size: 15px; margin: 0; }
.nd9-service-row { display: grid; grid-template-columns: .85fr 1fr 24px; align-items: center; gap: 40px; padding: 27px 0; border-top: 1px solid var(--nd9-line); text-decoration: none; }
.nd9-service-row:last-child { border-bottom: 1px solid var(--nd9-line); }
.nd9-service-row h3 { font-size: 23px; }
.nd9-service-row p { max-width: 470px; color: var(--nd9-muted); margin: 0; font-size: 15px; }
.nd9-service-row > span { font-size: 25px; transition: transform .18s; }
.nd9-service-row:hover > span { transform: translateX(3px); }
.nd9-work-section { background: var(--nd9-soft); }
.nd9-project-grid, .nd9-journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.nd9-project { min-width: 0; }
.nd9-project-image { display: block; overflow: hidden; border-radius: 3px; background: #e3e4df; aspect-ratio: 900/640; margin-bottom: 22px; }
.nd9-project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.nd9-project-image:hover img { transform: scale(1.025); }
.nd9-project h2, .nd9-project h3 { font-size: 22px; margin-bottom: 10px; }
.nd9-project h2 a, .nd9-project h3 a { display: flex; justify-content: space-between; gap: 14px; text-decoration: none; }
.nd9-project p { font-size: 15px; color: var(--nd9-muted); max-width: 490px; }
.nd9-project-placeholder { display: grid; place-content: center; height: 100%; padding: 30px; font-family: Georgia, serif; font-size: 36px; text-align: center; }
.nd9-about-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding: 52px; background: var(--nd9-accent); color: var(--nd9-ink); border-radius: 3px; }
.nd9-about-panel h2 { font-size: 32px; line-height: 1.35; }
.nd9-about-panel em { color: var(--nd9-ink); background: none; }
.nd9-about-panel p { color: #333333; font-size: 16px; }
.nd9-about-panel a:hover { color: var(--nd9-ink); text-decoration-color: var(--nd9-ink); }
.nd9-quote { max-width: 850px; text-align: center; padding-block: 8px 38px; }
.nd9-quote blockquote > p { font-family: Georgia, serif; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.5; }
.nd9-quote footer { font-size: 14px; font-weight: 600; }
.nd9-quote footer span { display: block; color: var(--nd9-muted); font-weight: 400; }

/* Separate service cards on the homepage. */
.nd9-service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nd9-service-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 32px; border: 1px solid #c9cdc4; border-radius: 5px; background: var(--nd9-white); text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.nd9-service-card h3 { font-size: 25px; margin-bottom: 15px; }
.nd9-service-card > p { max-width: 440px; font-size: 15px; color: var(--nd9-muted); margin-bottom: 26px; }
.nd9-service-card-link { margin-top: auto; border-bottom: 2px solid var(--nd9-accent); padding-bottom: 4px; font-size: 14px; font-weight: 600; }
.nd9-service-card:hover { border-color: var(--nd9-ink); box-shadow: 0 5px 0 var(--nd9-accent); }
.nd9-service-card:hover .nd9-service-card-link { border-color: var(--nd9-ink); }
@media (max-width: 700px) {
  .nd9-service-cards { grid-template-columns: 1fr; gap: 18px; }
  .nd9-service-card { padding: 24px; }
  .nd9-service-card h3 { font-size: 23px; }
}

/* Page layouts */
.nd9-page-intro { padding-block: 65px 50px; }
.nd9-page-intro h1 { max-width: 850px; }
.nd9-lead { max-width: 660px; margin-top: 24px; color: var(--nd9-muted); font-size: 18px; line-height: 1.7; }
.nd9-split { display: grid; grid-template-columns: .8fr 1fr; gap: 100px; }
.nd9-contact-grid, .nd9-service-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 85px; align-items: start; }
.nd9-contact-aside, .nd9-service-aside { background: var(--nd9-soft); padding: 32px; border-radius: 3px; }
.nd9-contact-aside h2, .nd9-service-aside h2 { font-size: 23px; margin-bottom: 18px; }
.nd9-contact-aside h3 { font-size: 18px; margin: 30px 0 12px; }
.nd9-contact-aside p, .nd9-service-aside p { font-size: 15px; color: var(--nd9-muted); }
.nd9-contact-email { display: inline-block; font-size: 18px; margin-bottom: 22px; overflow-wrap: anywhere; }
.nd9-service-aside ul { padding-left: 18px; font-size: 15px; margin: 0 0 28px; }
.nd9-service-aside li { padding: 0 0 10px 6px; }
.nd9-service-aside .nd9-text-link { display: flex; width: fit-content; margin-top: 16px; }
.nd9-feature-image { margin-bottom: 36px; border-radius: 3px; overflow: hidden; }
.nd9-feature-image img { width: 100%; height: auto; }
.nd9-article-content { max-width: 740px; margin-inline: auto; }
.nd9-article-date { font-size: 14px; color: var(--nd9-muted); margin-bottom: 30px; }
.nd9-prose { overflow-wrap: break-word; }
.nd9-prose > *:first-child, .nd9-prose section:first-child h2 { margin-top: 0; }
.nd9-prose h2 { font-size: 28px; margin: 42px 0 18px; }
.nd9-prose h3 { font-size: 21px; margin: 28px 0 14px; }
.nd9-prose h4 { font-size: 18px; margin: 24px 0 12px; }
.nd9-prose p, .nd9-prose ul, .nd9-prose ol { margin-bottom: 22px; }
.nd9-prose ul, .nd9-prose ol { padding-left: 22px; }
.nd9-prose li { margin-bottom: 8px; padding-left: 5px; }
.nd9-prose blockquote { border-left: 2px solid var(--nd9-accent); padding: 4px 0 4px 25px; margin-block: 32px; font-family: Georgia, serif; font-size: 23px; }
.nd9-prose blockquote p:last-child { margin-bottom: 0; }
.nd9-prose a { text-decoration: underline; }
.nd9-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 25px; }
.nd9-prose th, .nd9-prose td { border: 1px solid var(--nd9-line); padding: 12px; text-align: left; }
.nd9-prose pre { overflow-x: auto; padding: 20px; background: var(--nd9-soft); }
.nd9-prose iframe { max-width: 100%; }
.nd9-prose .nd9-article-intro { font-size: 18px; }
.nd9-post-nav { display: flex; justify-content: space-between; gap: 30px; padding-top: 35px; margin-top: 48px; border-top: 1px solid var(--nd9-line); font-size: 14px; }
.nd9-post-nav a { max-width: 48%; }
.nd9-sitemap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.nd9-journal-image { display: block; margin-bottom: 22px; aspect-ratio: 560/380; overflow: hidden; background: var(--nd9-soft); }
.nd9-journal-image img { width: 100%; height: 100%; object-fit: cover; }
.nd9-journal-card time { font-size: 13px; color: var(--nd9-muted); }
.nd9-journal-card h2, .nd9-journal-card h3 { font-size: 24px; margin: 12px 0; }
.nd9-journal-card h2 a, .nd9-journal-card h3 a { text-decoration: none; }
.nd9-journal-card p { font-size: 15px; color: var(--nd9-muted); }
.nd9-pagination { margin-top: 40px; }
.nd9-pagination ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.nd9-pagination a, .nd9-pagination span { display: grid; place-items: center; min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--nd9-line); text-decoration: none; }
.nd9-pagination .current { color: var(--nd9-ink); background: var(--nd9-accent); }

/* Forms and WordPress content */
.nd9-site input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .nd9-site select, .nd9-site textarea { width: 100%; max-width: 100%; border: 1px solid #b8bdbb; border-radius: 3px; background: white; color: var(--nd9-ink); padding: 12px 14px; min-height: 48px; }
.nd9-site textarea { min-height: 155px; resize: vertical; }
.nd9-site input[type="checkbox"], .nd9-site input[type="radio"] { accent-color: var(--nd9-accent); }
.nd9-site input[type="submit"], .nd9-site button[type="submit"] { min-height: 48px; padding: 12px 24px; border: 0; border-radius: 3px; background: var(--nd9-accent); color: var(--nd9-ink); }
.nd9-site input[type="submit"]:hover, .nd9-site button[type="submit"]:hover { background: var(--nd9-ink); color: var(--nd9-accent); }
.nd9-site label { display: block; font-size: 15px; }
.nd9-site label input, .nd9-site label textarea, .nd9-site label select { margin-top: 7px; }
.nd9-site .wpcf7-acceptance label, .nd9-site .comment-form-cookies-consent label { display: inline; }
.nd9-site .wpcf7-list-item { margin-left: 0; margin-right: 16px; }
.nd9-site .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #a12e20; }
.nd9-site .wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px; font-size: 14px; }
.nd9-search-form { max-width: 550px; }
.nd9-search-form > div { display: flex; gap: 12px; margin-top: 10px; }
.nd9-comments { margin-top: 50px; }
.nd9-comment-list { padding-left: 20px; }
.nd9-comment-list .avatar { display: inline-block; margin-right: 10px; border-radius: 50%; }
.nd9-prose .alignleft { float: left; margin: 8px 24px 20px 0; }
.nd9-prose .alignright { float: right; margin: 8px 0 20px 24px; }
.nd9-prose .aligncenter { margin-inline: auto; }
.wp-caption, .wp-block-image { max-width: 100%; }
.wp-caption-text, figcaption { color: var(--nd9-muted); font-size: 13px; margin-top: 10px; }

/* Footer */
.nd9-footer { background: #000; color: var(--nd9-paper); margin-top: 12px; }
.nd9-footer-invite { display: flex; align-items: center; justify-content: space-between; gap: 55px; padding-block: 52px; border-bottom: 1px solid #ffffff26; }
.nd9-footer-invite h2 { font-size: 34px; margin-bottom: 14px; }
.nd9-footer-invite p { max-width: 520px; font-size: 15px; color: #cccccc; }
.nd9-footer-invite .nd9-button { flex-shrink: 0; }
.nd9-footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 60px; padding-block: 48px; font-size: 14px; }
.nd9-footer-brand img { width: 96px; height: auto; max-height: 45px; object-fit: contain; object-position: left; }
.nd9-footer-brand p { margin-top: 22px; color: #cccccc; }
.nd9-footer .nd9-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.nd9-footer .nd9-menu a { display: inline-flex; align-items: center; min-height: 38px; text-decoration: none; }
.nd9-footer .sub-menu { list-style: none; padding: 0; }
.nd9-footer-contact > a { font-size: 18px; }
.nd9-footer-contact p { margin-top: 18px; color: #cccccc; }
.nd9-footer a:hover { color: #c6ff00; }
.nd9-footer .nd9-menu .current-menu-item > a, .nd9-footer .nd9-menu a[aria-current="page"] { color: #c6ff00; }
.nd9-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid #ffffff26; color: #cccccc; font-size: 12px; }
.nd9-footer-bottom p { margin: 0; }
.nd9-footer-bottom > div { display: flex; gap: 22px; flex-wrap: wrap; }
.nd9-footer-bottom a { text-decoration: none; }

/* Tablet and mobile */
@media (max-width: 1050px) {
  .nd9-hero { gap: 40px; }
  .nd9-hero-art { min-height: 280px; padding: 24px 18px; }
  .nd9-desktop-nav .nd9-menu { gap: 18px; }
  .nd9-header-inner { gap: 24px; }
  .nd9-contact-grid, .nd9-service-layout, .nd9-split { gap: 45px; }
  .nd9-about-panel { padding: 38px; gap: 35px; }
}
@media (max-width: 900px) {
  .nd9-header-inner { min-height: 76px; }
  .nd9-desktop-nav, .nd9-header-cta { display: none; }
  .nd9-menu-toggle { display: inline-flex; gap: 15px; align-items: center; min-height: 44px; background: none; border: 1px solid var(--nd9-line); border-radius: 3px; padding: 8px 13px; font-size: 14px; }
  .nd9-menu-toggle span { font-size: 19px; }
  .nd9-noscript-nav { display: block; padding-bottom: 15px; }
  .nd9-noscript-nav .nd9-menu { display: flex; flex-wrap: wrap; gap: 18px; }
  .nd9-hero { gap: 30px; padding-block: 50px; }
  .nd9-hero-copy > p { font-size: 16px; }
  .nd9-hero-art { min-height: 245px; }
  .nd9-trust { gap: 25px; }
  .nd9-trust-logos { gap: 22px; }
  .nd9-trust img { width: 100px; }
  .nd9-footer-main { gap: 30px; }
}
@media (max-width: 700px) {
  h1 { font-size: 37px; }
  .nd9-header-inner { min-height: 72px; }
  .nd9-brand-wrap img { width: 85px; }
  .nd9-hero { grid-template-columns: 1fr; padding-block: 38px; gap: 36px; }
  .nd9-hero h1 { font-size: clamp(36px, 8.8vw, 46px); margin-bottom: 22px; }
  .nd9-hero h1 br:first-child { display: none; }
  .nd9-hero-copy > p { max-width: 500px; margin-bottom: 24px; }
  .nd9-hero-art { min-height: 0; padding: 24px 25px; }
  .nd9-hero-caption { font-size: 12px; gap: 12px; padding-top: 14px; }
  .nd9-trust { display: block; padding-block: 23px; }
  .nd9-trust > p { max-width: none; margin-bottom: 20px; }
  .nd9-trust-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .nd9-trust img { width: 100%; max-height: 32px; }
  .nd9-section-heading { display: block; margin-bottom: 26px; }
  .nd9-section-heading > p, .nd9-section-heading > a { margin-top: 12px; }
  .nd9-service-row { grid-template-columns: 1fr 24px; gap: 12px 25px; padding-block: 23px; }
  .nd9-service-row h3 { font-size: 21px; }
  .nd9-service-row p { grid-column: 1; }
  .nd9-service-row > span { grid-column: 2; grid-row: 1; }
  .nd9-project-grid, .nd9-journal-grid { grid-template-columns: 1fr; gap: 36px; }
  .nd9-project-image { margin-bottom: 18px; }
  .nd9-project h2, .nd9-project h3 { font-size: 21px; }
  .nd9-about-panel { grid-template-columns: 1fr; padding: 30px 25px; gap: 25px; }
  .nd9-about-panel h2 { font-size: 28px; }
  .nd9-quote { text-align: left; padding-bottom: 15px; }
  .nd9-page-intro { padding-block: 40px 35px; }
  .nd9-lead { font-size: 17px; margin-top: 20px; }
  .nd9-contact-grid, .nd9-service-layout, .nd9-split { grid-template-columns: 1fr; gap: 32px; }
  .nd9-contact-aside, .nd9-service-aside { padding: 26px; }
  .nd9-prose h2 { font-size: 25px; }
  .nd9-prose h3 { font-size: 20px; }
  .nd9-prose .alignleft, .nd9-prose .alignright { float: none; margin: 20px 0; }
  .nd9-post-nav { flex-wrap: wrap; }
  .nd9-post-nav a { max-width: 100%; }
  .nd9-sitemap-grid { grid-template-columns: 1fr; }
  .nd9-footer-invite { align-items: start; flex-direction: column; gap: 25px; padding-block: 38px; }
  .nd9-footer-invite h2 { font-size: 29px; }
  .nd9-footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 36px; }
  .nd9-footer-contact { grid-column: 1 / -1; }
  .nd9-footer .nd9-menu { grid-template-columns: 1fr; gap: 0; }
  .nd9-footer-bottom { flex-direction: column; gap: 12px; }
  .nd9-footer-bottom > div { gap: 20px; }
}
@media (max-width: 782px) { .admin-bar .nd9-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nd9-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Existing ND9 editor markup */
.nd9-article-eyebrow, .nd9-article-cta__eyebrow { display: none; }
.nd9-article-section { margin-block: 32px; }
.nd9-article-image { margin-block: 32px; }
.nd9-article-note { border-left: 2px solid var(--nd9-accent); padding: 4px 0 4px 22px; margin-block: 28px; }
.nd9-article-note p:last-child { margin-bottom: 0; }
.nd9-article-cta { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--nd9-line); }
.nd9-prose .nd9-article-cta__title { font-size: 25px; margin-top: 0; }
.nd9-contact-form__field { margin-bottom: 20px; }
.nd9-contact-form__label { display: block; margin-bottom: 7px; }

/* Brand details and project policy */
/* The original white/green logo stays unfiltered on a small black backing. */
.nd9-brand-wrap { background: #000; border-radius: 3px; padding: 7px 10px; }
.nd9-brand-wrap img, .nd9-footer-brand img { filter: none; }
.nd9-footer .nd9-button:hover { border-color: var(--nd9-accent); }
.nd9-footer :focus-visible { outline-color: white; }
.nd9-policy-meta { color: var(--nd9-muted); font-size: 14px; margin-bottom: 26px; }
.nd9-policy-summary { border-left: 4px solid var(--nd9-accent); padding: 18px 24px; background: var(--nd9-soft); margin-bottom: 35px; }
.nd9-policy-identity { border-bottom: 1px solid var(--nd9-line); padding-bottom: 25px; margin-bottom: 35px; }
.nd9-policy-identity address { font-style: normal; }
.nd9-policy-admin-note { border: 1px solid var(--nd9-ink); padding: 20px; margin-bottom: 28px; }
.nd9-policy-cancellation { padding: 24px; border: 1px solid var(--nd9-line); margin-block: 24px; }
@media print {
  body.nd9-policy-page { background: white; color: black; }
  .nd9-policy-page .nd9-header, .nd9-policy-page .nd9-footer, .nd9-policy-page .nd9-mobile-menu,
  .nd9-policy-page .nd9-skip, .nd9-policy-page .nd9-policy-admin-note { display: none !important; }
  .nd9-policy-page .nd9-wrap { width: 100%; }
  .nd9-policy-page h2, .nd9-policy-page h3 { break-after: avoid; }
  .nd9-policy-page .nd9-policy-summary, .nd9-policy-page .nd9-policy-cancellation { break-inside: avoid; }
}

/* Service detail: a clear process, practical FAQs and related services. */
.nd9-service-layout .nd9-prose > section + section { margin-top: 38px; }
.nd9-service-steps { list-style: none; padding: 0 !important; counter-reset: service-step; }
.nd9-service-steps > li { position: relative; padding: 0 0 24px 44px; margin: 0 0 24px; border-bottom: 1px solid var(--nd9-line); counter-increment: service-step; }
.nd9-service-steps > li::before { content: counter(service-step, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-size: 13px; font-weight: 650; background: var(--nd9-accent); padding: 2px 5px; }
.nd9-service-steps h3 { margin: 0 0 10px; }
.nd9-service-steps p { margin-bottom: 0; }
.nd9-service-faq { border-top: 1px solid var(--nd9-line); }
.nd9-service-faq:last-child { border-bottom: 1px solid var(--nd9-line); }
.nd9-service-faq summary { cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 600; }
.nd9-service-faq summary::marker { color: var(--nd9-ink); }
.nd9-service-faq p { padding: 0 0 18px; margin-bottom: 0; font-size: 15px; }
.nd9-service-related { margin-top: 30px; padding-top: 24px; border-top: 1px solid #c8c8bf; }
.nd9-service-related h3 { font-size: 17px; margin-bottom: 12px; }
.nd9-service-related a { display: block; padding-block: 8px; font-size: 14px; }

/* Desktop journal layout; the existing mobile reading column is retained. */
.nd9-article-sidebar { display: none; }
@media (min-width: 1001px) {
  .nd9-article-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(240px, 1fr); gap: clamp(40px, 5vw, 72px); align-items: start; }
  .nd9-article-layout .nd9-article-content { width: 100%; min-width: 0; margin: 0; }
  .nd9-article-sidebar { display: block; padding-left: 28px; border-left: 1px solid var(--nd9-line); font-size: 14px; }
  .nd9-article-sidebar h2 { font-size: 19px; line-height: 1.3; margin-bottom: 18px; letter-spacing: -.02em; }
  .nd9-sidebar-section { margin-bottom: 32px; }
  .nd9-article-toc ol { margin: 0; padding-left: 19px; }
  .nd9-article-toc li { padding-left: 5px; margin-bottom: 14px; }
  .nd9-article-toc li::marker { color: var(--nd9-muted); font-size: 12px; }
  .nd9-article-toc a, .nd9-sidebar-posts a { text-decoration: none; }
  .nd9-article-toc a:hover, .nd9-sidebar-posts a:hover { text-decoration: underline; text-decoration-color: var(--nd9-ink); }
  .nd9-sidebar-posts { margin: 0; padding: 0; list-style: none; }
  .nd9-sidebar-posts li { border-top: 1px solid var(--nd9-line); padding-block: 14px; }
  .nd9-sidebar-posts li:last-child { padding-bottom: 0; }
  .nd9-sidebar-contact { background: var(--nd9-soft); border-top: 3px solid var(--nd9-accent); padding: 24px 20px; margin-bottom: 16px; }
  .nd9-sidebar-contact p { color: var(--nd9-muted); }
  .nd9-sidebar-contact .nd9-text-link { font-size: 14px; }
}
@media print {
  .nd9-article-sidebar { display: none; }
  .nd9-article-layout { display: block; }
}

/* Case studies: project copy and facts share the hero's outer edges. */
.nd9-project-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.nd9-project-layout--content-only { grid-template-columns: minmax(0, 1fr); }
.nd9-project-copy { min-width: 0; }
.nd9-project-copy::after { content: ""; display: block; clear: both; }
.nd9-project-copy .alignwide, .nd9-project-copy .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.nd9-project-copy .wp-block-image, .nd9-project-copy .wp-block-gallery { margin-block: 32px; }
.nd9-project-copy .wp-block-image img { height: auto; }
.nd9-project-copy .wp-block-gallery .wp-block-image { margin-block: 0; }
.nd9-project-aside { padding: 28px; border: 1px solid var(--nd9-line); border-top: 4px solid var(--nd9-accent); border-radius: 3px; background: var(--nd9-white); min-width: 0; }
.nd9-project-aside h2 { font-size: 21px; margin-bottom: 24px; }
.nd9-project-details { margin: 0; }
.nd9-project-details > div + div { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--nd9-line); }
.nd9-project-details dt { font-size: 13px; color: var(--nd9-muted); margin-bottom: 7px; }
.nd9-project-details dd { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.nd9-project-details a { text-decoration-color: var(--nd9-ink); }
.nd9-project-details a:hover { text-decoration-color: var(--nd9-accent); }
@media (max-width: 900px) {
  .nd9-project-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .nd9-project-aside { grid-row: 1; padding: 24px; }
  .nd9-project-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .nd9-project-details > div + div { margin: 0; padding: 0; border: 0; }
}
@media (max-width: 380px) {
  .nd9-project-details { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nd9-project-details > div + div { padding-top: 18px; border-top: 1px solid var(--nd9-line); }
}
