:root {
  --turquoise: #00d6d8;
  --yellow: #f2e500;
  --violet: #8f5bff;
  --ink: #020304;
  --ivory: #f8f7f3;
  --paper: #fffefa;
  --line: rgba(2, 3, 4, 0.18);
  --muted: #656565;
  --shell: 1480px;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --sans: Inter, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--yellow); color: var(--ink); }

.shell, .shell-wide { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.shell-wide { width: min(100%, 1760px); }
.section { padding-block: clamp(64px, 8vw, 128px); }
.mono, .eyebrow, .footer-title { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.accent { color: #6550e8; }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; background: var(--yellow); padding: 12px 16px; font-weight: 800; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(248, 247, 243, .96); border-bottom: 1px solid var(--ink); backdrop-filter: blur(10px); }
.site-header.is-compact { box-shadow: 0 8px 28px rgba(2, 3, 4, .08); }
.site-header__inner { min-height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; width: fit-content; font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.brand img { max-height: 44px; width: auto; }
.primary-nav { justify-self: center; }
.d240-menu { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.d240-menu a { position: relative; display: block; padding: 28px 0 24px; font-family: var(--mono); font-size: .76rem; font-weight: 500; text-transform: uppercase; }
.d240-menu a::after { position: absolute; right: 0; bottom: 18px; left: 0; height: 3px; background: var(--turquoise); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .22s ease; }
.d240-menu a:hover::after, .d240-menu .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.cart-link { position: relative; justify-self: end; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; }
.cart-link svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.d240-cart-count { position: absolute; top: 1px; right: 0; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--turquoise); font: 500 .66rem/1 var(--mono); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; }

.hero { display: grid; grid-template-columns: minmax(0, 62%) minmax(360px, 38%); min-height: min(850px, calc(100svh - 78px)); border-bottom: 1px solid var(--ink); }
.hero__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 6vw, 110px) clamp(32px, 4vw, 80px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow span { width: 12px; height: 12px; background: var(--yellow); }
.hero h1 { max-width: 1050px; margin: 0; font-size: clamp(3.6rem, 6.6vw, 8rem); font-weight: 900; letter-spacing: -.07em; line-height: .86; text-wrap: balance; }
.hero__lead { margin: 30px 0 34px; font-family: var(--mono); font-size: clamp(1rem, 1.4vw, 1.32rem); }
.hero-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 930px; margin-bottom: 28px; }
.mini-product { border: 1px solid var(--line); background: var(--paper); transition: transform .2s ease, border-color .2s ease; }
.mini-product:hover { border-color: var(--ink); transform: translateY(-4px); }
.mini-product .product-art { aspect-ratio: 1.25; }
.mini-product strong { display: block; min-height: 52px; padding: 11px 12px 2px; font-size: .72rem; line-height: 1.2; }
.mini-product small { display: block; padding: 4px 12px 12px; color: #008e91; font-family: var(--mono); font-size: .72rem; font-weight: 500; }
.product-art { display: flex; position: relative; overflow: hidden; align-items: flex-end; justify-content: space-between; background: var(--ink); color: var(--ivory); }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-art--type { padding: 14px; }
.product-art--type b { color: var(--turquoise); font: 500 1.5rem/1 var(--mono); }
.product-art--type em { writing-mode: vertical-rl; color: rgba(255,255,255,.64); font: normal 500 .55rem/1 var(--mono); letter-spacing: .08em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 58px; padding: 0 24px; font-family: var(--mono); font-size: .85rem; font-weight: 500; text-transform: uppercase; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { align-self: flex-start; min-width: 300px; background: var(--turquoise); }
.button--primary:hover { background: var(--ink); color: var(--ivory); }
.hero__visual { display: flex; position: relative; flex-direction: column; justify-content: space-between; min-height: 100%; padding: clamp(30px, 5vw, 80px); overflow: hidden; background: var(--ink); color: var(--ivory); border-left: 1px solid var(--ink); }
.hero__visual.has-image { padding: 0; }
.hero__visual.has-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero-wordmark { margin-block: auto; font-size: clamp(3.1rem, 6vw, 7rem); font-weight: 900; letter-spacing: -.075em; line-height: .76; }
.hero-wordmark span { display: block; }
.hero-wordmark span:nth-child(2) { color: var(--turquoise); }
.hero-wordmark span:nth-child(3) { color: var(--yellow); }
.hero__visual > p { margin: 0; color: rgba(255,255,255,.55); font: 500 .72rem/1.4 var(--mono); letter-spacing: .08em; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 900; letter-spacing: -.04em; }
.section-heading a, .section-heading span { font-family: var(--mono); font-size: .75rem; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { border: 1px solid var(--line); background: var(--paper); }
.product-card__media { display: block; aspect-ratio: 1.16; overflow: hidden; background: var(--ink); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-art--large { padding: 24px; }
.product-art--large b { color: var(--violet); font: 500 clamp(2rem, 4vw, 4.5rem)/1 var(--mono); }
.product-art--large em { color: rgba(255,255,255,.58); font: normal 500 .65rem/1 var(--mono); }
.product-card__body { padding: 22px; }
.product-card__body p { margin: 0 0 10px; color: var(--muted); }
.product-card h3 { min-height: 56px; margin: 0; font-size: 1.05rem; letter-spacing: -.03em; line-height: 1.2; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; font-family: var(--mono); font-size: .82rem; font-weight: 500; }
.product-card__meta span { color: #008e91; }
.product-card__meta a { display: grid; place-items: center; width: 38px; height: 38px; background: var(--yellow); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: clamp(48px, 8vw, 140px); }
.about__visual { display: flex; align-items: flex-end; justify-content: space-between; min-height: 570px; padding: clamp(28px, 4vw, 64px); overflow: hidden; background: #d7d6d1; border: 1px solid var(--line); }
.about__visual.has-image { padding: 0; }
.about__visual.has-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about__number { font-size: clamp(7rem, 16vw, 15rem); font-weight: 900; letter-spacing: -.1em; line-height: .68; color: #62625e; }
.about__visual div { display: grid; gap: 5px; font-family: var(--mono); font-size: .72rem; writing-mode: vertical-rl; }
.about__content { align-self: center; max-width: 670px; }
.about__content h2 { max-width: 650px; margin: 14px 0 28px; font-size: clamp(2.5rem, 5vw, 5.6rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; }
.about__copy { max-width: 600px; font-size: clamp(1.05rem, 1.35vw, 1.25rem); }
.about__copy p { margin: 0 0 1em; }
.text-link { display: inline-block; margin-top: 22px; border-bottom: 3px solid var(--turquoise); font: 500 .8rem/2 var(--mono); }

.section--dark { background: var(--ink); color: var(--ivory); }
.section-heading--dark { border-color: rgba(255,255,255,.36); }
.section-heading--dark span { color: var(--violet); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.18); }
.project-card { display: grid; position: relative; grid-template-rows: auto 1fr auto; min-height: 390px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); transition: background .22s ease, color .22s ease; }
.project-card:last-child { border-right: 0; }
.project-card:hover { background: var(--turquoise); color: var(--ink); }
.project-card__number { color: var(--violet); font: 500 clamp(2.5rem, 5vw, 5.8rem)/1 var(--mono); }
.project-card:hover .project-card__number { color: var(--ink); }
.project-card h3 { margin: 12px 0; font-size: 1.4rem; line-height: 1.05; }
.project-card p { color: rgba(255,255,255,.62); }
.project-card:hover p { color: var(--ink); }
.project-card__arrow { justify-self: end; font-size: 1.6rem; }

.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post-card { display: grid; grid-template-rows: 220px 1fr; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.post-card__media { display: flex; align-items: flex-end; padding: 22px; overflow: hidden; background: var(--ink); color: var(--ivory); font: 500 .72rem/1 var(--mono); }
.post-card__media img { width: calc(100% + 44px); max-width: none; height: calc(100% + 44px); margin: -22px; object-fit: cover; filter: grayscale(1); }
.post-card__body { padding: 24px; }
.post-card__body p { margin: 0 0 12px; color: var(--muted); }
.post-card__body h2, .post-card__body h3 { margin: 0 0 22px; font-size: 1.15rem; line-height: 1.22; }

.newsletter { background: var(--turquoise); }
.newsletter__inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px, 8vw, 140px); padding-block: clamp(52px, 6vw, 90px); }
.newsletter h2 { margin: 6px 0; font-size: clamp(2rem, 4vw, 4.6rem); font-weight: 900; letter-spacing: -.07em; line-height: .9; }
.newsletter p { max-width: 520px; }
.newsletter__form form { display: grid; grid-template-columns: 1fr auto; }
.newsletter__form input[type="email"] { min-width: 0; min-height: 58px; padding: 0 20px; border: 1px solid var(--ink); background: var(--ivory); border-radius: 0; }
.newsletter__form button { min-height: 58px; padding: 0 28px; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); font: 500 .8rem/1 var(--mono); cursor: pointer; }
.newsletter__form button:hover { background: var(--yellow); color: var(--ink); }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; font-size: .78rem; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.hp-field { position: absolute; left: -9999px; }
.form-status { grid-column: 1/-1; font-family: var(--mono); font-size: .8rem; }

.site-footer { padding: 70px 0 24px; background: var(--ink); color: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 54px; }
.brand--footer { margin-bottom: 26px; }
.footer-grid p, .footer-grid a { display: block; margin: 0 0 10px; color: rgba(255,255,255,.6); font-size: .82rem; }
.footer-grid a:hover { color: var(--turquoise); }
.footer-grid .footer-title { margin-bottom: 18px; color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.48); font: 400 .68rem/1.4 var(--mono); }

.content-shell { width: min(calc(100% - 48px), 920px); min-height: 60vh; margin-inline: auto; padding-block: clamp(64px, 10vw, 150px); }
.content-shell--wide { width: min(calc(100% - 48px), var(--shell)); }
.page-header { margin-bottom: 50px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.page-header h1 { max-width: 1100px; margin: 0; font-size: clamp(3rem, 7vw, 7.5rem); font-weight: 900; letter-spacing: -.075em; line-height: .88; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 780px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3 { margin-top: 2em; letter-spacing: -.04em; line-height: 1.05; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--turquoise); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 30px; font: 400 .75rem/1.4 var(--mono); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { float: none; width: auto; margin: 0; padding-bottom: 22px; border: 1px solid var(--line); background: var(--paper); }
.woocommerce ul.products li.product a img { margin: 0 0 22px; aspect-ratio: 1.08; object-fit: cover; background: var(--ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 60px; padding: 0; font-size: 1.1rem; }
.woocommerce ul.products li.product .price { color: #008e91; font: 500 .9rem/1.4 var(--mono); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 0; background: var(--turquoise); color: var(--ink); font-family: var(--mono); font-size: .78rem; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--ink); color: var(--ivory); }
.woocommerce div.product div.images img { background: var(--ink); }
.woocommerce div.product .product_title { font-size: clamp(2.4rem, 5vw, 5.2rem); letter-spacing: -.065em; line-height: .9; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #6550e8; font: 500 1.5rem/1.4 var(--mono); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--turquoise); background: var(--paper); }
.woocommerce-message::before, .woocommerce-info::before { color: #008e91; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .select2-container--default .select2-selection--single { min-height: 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); }
.wc-block-cart, .wc-block-checkout { max-width: var(--shell); margin-inline: auto; }

@media (max-width: 1120px) {
  .hero { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
  .hero-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-product:nth-child(n+3) { display: none; }
  .product-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { border-bottom: 1px solid rgba(255,255,255,.18); }
  .project-card:nth-child(2n) { border-right: 0; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 66px; }
  .shell, .shell-wide, .content-shell, .content-shell--wide { width: min(calc(100% - 28px), var(--shell)); }
  .site-header__inner { min-height: 66px; grid-template-columns: 1fr auto auto; gap: 14px; }
  .brand { font-size: 1.1rem; }
  .nav-toggle { display: flex; align-items: center; gap: 8px; padding: 10px; font: 500 .72rem/1 var(--mono); text-transform: uppercase; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 1px; background: var(--ink); content: ""; transition: transform .2s ease; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }
  .primary-nav { position: fixed; inset: 66px 0 auto; display: none; padding: 18px 14px 30px; background: var(--ivory); border-bottom: 1px solid var(--ink); }
  .primary-nav.is-open { display: block; }
  .d240-menu { display: block; }
  .d240-menu a { padding: 16px 10px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .d240-menu a::after { display: none; }
  .cart-link { width: 38px; height: 38px; }

  .hero { display: block; min-height: auto; }
  .hero__content { min-height: calc(100svh - 66px); padding: 54px 6px 38px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.25rem, 14vw, 6.2rem); }
  .hero__lead { margin: 24px 0 28px; }
  .hero-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .mini-product:nth-child(3) { display: block; }
  .mini-product strong { font-size: .65rem; }
  .button--primary { width: 100%; min-width: 0; }
  .hero__visual { display: none; }

  .section { padding-block: 70px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { max-width: 70%; }
  .product-grid { gap: 10px; }
  .product-card__body { padding: 16px; }
  .product-card__media { aspect-ratio: 1; }
  .about { grid-template-columns: 1fr; gap: 42px; }
  .about__visual { min-height: 420px; }
  .about__content h2 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .project-card { min-height: 320px; padding: 22px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero-products { overflow-x: auto; grid-template-columns: repeat(3, 145px); padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .mini-product { scroll-snap-align: start; }
  .product-grid, .post-grid, .project-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .project-card { min-height: 260px; border-right: 0; }
  .post-card { grid-template-columns: 38% 62%; grid-template-rows: minmax(190px, auto); }
  .post-card__body { padding: 18px; }
  .post-card__body p:last-child { display: none; }
  .newsletter__form form { grid-template-columns: 1fr; }
  .newsletter__form button { margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { display: grid; gap: 8px; }
  .section-heading a, .section-heading span { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Portal and current WooCommerce blocks, shared with the HTML preview. */
:focus-visible { outline: 3px solid #6550e8; outline-offset: 4px; }
.empty-state { grid-column: 1 / -1; padding: 28px; }
.hero-products:empty { display: none; }
.hero h1, .hero-wordmark, .page-header h1, .product-card h3, .post-card h2, .post-card h3 { overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-size: .82rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; padding: 0; margin: 0; }
.footer-nav a { text-decoration: underline; text-underline-offset: 3px; }
.d240-commerce-page .entry-content > * { max-width: none; }
.d240-commerce-page .entry-content h2, .d240-commerce-page .entry-content h3 { margin-top: 1em; }
.d240-commerce-page :is(.wc-block-components-button, .wp-element-button), .comments-area input[type="submit"] { background: var(--turquoise); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font-family: var(--mono); padding: 16px 24px; text-decoration: none; }
.d240-commerce-page .wc-block-components-button:hover { background: var(--ink); color: var(--ivory); }
.d240-commerce-page :is(.wc-block-components-text-input input, .wc-block-components-combobox-control input, .wc-block-components-textarea, select) { border-radius: 0; background: var(--paper); border-color: var(--ink); }
.d240-commerce-page :is(.wc-block-components-sidebar, .wc-block-components-order-summary) { background: var(--paper); }
.d240-commerce-page .entry-content a:not(.wc-block-components-button):not(.button) { text-decoration-color: #008487; }
.comments-area { margin-top: 48px; }
.comments-area input:not([type="checkbox"]), .comments-area textarea, .search-form input { max-width: 100%; padding: 12px; }
.comments-area textarea { width: 100%; }
.comment-list { padding-left: 24px; }
.newsletter__form form > div { grid-column: 1 / -1; }
.newsletter__form :is(input[type="email"], input[type="text"]) { max-width: 100%; }
.newsletter__form input[type="checkbox"] { width: auto; }
.menu-item-has-children { position: relative; }
.d240-menu .menu-item-has-children > a { display: inline-block; }
.submenu-toggle { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 12px; }
.d240-menu .sub-menu { position: absolute; left: 0; min-width: 220px; padding: 12px; margin: 0; list-style: none; background: var(--ivory); border: 1px solid var(--ink); z-index: 110; }
.d240-menu .sub-menu .sub-menu { position: static; }
.d240-menu .sub-menu a { padding: 12px; }
.d240-menu [hidden] { display: none !important; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 820px) {
  .primary-nav { display: block; position: static; grid-column: 1 / -1; width: 100%; }
  .nav-toggle { display: none; }
  .js-nav .nav-toggle { display: flex; }
  .js-nav .primary-nav { display: none; position: fixed; max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
  .js-nav .primary-nav.is-open { display: block; }
  .d240-menu .sub-menu { position: static; min-width: 0; }
  .admin-bar.js-nav .primary-nav { top: 98px; max-height: calc(100dvh - 98px); }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar.js-nav .primary-nav { top: 112px; max-height: calc(100dvh - 112px); }
}
@media (max-width: 600px) {
  .admin-bar #wpadminbar { position: fixed; }
}
