/* Shared navigation for the Dutch public site. */
#studio-header[data-public-nav] {
  --paper: #f6f5ef;
  --ink: #192a20;
  --green: #246b39;
  --muted: #506155;
  --line: #cdd3c9;
  --bg: var(--paper);
  --text: var(--ink);
  background: var(--paper) !important;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
#studio-header .nav {
  box-sizing: border-box;
  width: 100%;
  height: 76px;
  margin-inline: auto;
}
#studio-header .brand {
  display: grid;
  grid-template: auto auto / 42px auto;
  align-content: center;
  gap: 3px 10px;
}
#studio-header .brand-owned-mark {
  grid-row: 1 / 3;
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
  mix-blend-mode: multiply;
}
#studio-header .brand-word {
  display: block;
  font-size: 19px !important;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.045em;
}
#studio-header .brand :is(.brand-word,.brand-word span) { color: var(--ink) !important; }
#studio-header .brand .brand-specialist {
  display: block;
  grid-column: 2;
  font-size: 8px !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .18em;
  color: var(--muted) !important;
}
#studio-header[data-public-nav] :is(.nav-cta,.mobile-menu-contact) {
  min-height: 44px;
  padding-inline: 19px;
  border: 1px solid transparent;
  border-radius: 6px !important;
  background: var(--green) !important;
  color: white !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
}
#studio-header[data-public-nav] :is(.nav-cta,.mobile-menu-contact):hover { background: #18542b !important; }
#studio-header :focus-visible, .footer-clean #footerServicesLinks a:focus-visible, .footer-clean #footerCompanyLinks a:focus-visible {
  outline: 2px solid #35994c !important;
  outline-offset: 3px;
}
#studio-header .header-language-summary { color: var(--ink); background: var(--paper); border-color: var(--line); }
#studio-header[data-public-nav] .menu-link-arrow { display: none; }
details.service-accordion[id] { scroll-margin-top: 92px; }
#footerServicesLinks a:hover, #footerCompanyLinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1101px) {
  #studio-header .nav { justify-content: space-between; gap: clamp(14px,2vw,32px); }
  #studio-header .nav-links { gap: clamp(14px,1.6vw,26px); margin-inline: auto; }
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle) {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 44px;
    min-height: 44px;
    padding: 0;
    background: transparent;
    color: var(--ink) !important;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.25;
    letter-spacing: -.018em;
    white-space: nowrap;
  }
  #studio-header .menu-primary > .mobile-menu-only { display: none; }
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle)::after {
    content: '';
    display: block;
    position: absolute;
    height: 2px;
    inset: auto 0 4px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 140ms ease;
  }
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle):is(:hover,:focus-visible,[aria-current="page"],[data-current-section],[data-current="true"])::after { transform: scaleX(1); }
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle):is(:hover,[aria-current="page"],[data-current-section]) { color: var(--green) !important; }
}
@media (max-width: 1100px) {
  #studio-header[data-public-nav] { --menu-header-height: 69px; }
  #studio-header .nav { height: 68px; min-height: 68px; }
  #studio-header .brand { grid-template-columns: 36px auto; gap: 3px 8px; }
  #studio-header .brand-owned-mark { width: 36px !important; height: 36px !important; }
  #studio-header .brand-word { font-size: 17px !important; }
  #studio-header .mobile-toggle {
    display: inline-flex;
    gap: 8px;
    width: auto;
    min-width: 84px;
    min-height: 44px;
    padding-inline: 12px;
    color: var(--ink) !important;
    background: transparent !important;
    border: 1px solid #9ba99d;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
  }
  #studio-header .mobile-toggle > span { display: inline !important; position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; }
  #studio-header .mobile-toggle svg { width: 18px; height: 18px; flex-basis: 18px; }
  #studio-header .nav-links { top: var(--menu-header-height) !important; height: calc(100dvh - var(--menu-header-height)); background: var(--paper) !important; border-color: var(--line); }
  #studio-header .menu-scroll { padding: 12px var(--page-gutter, 20px) 20px; }
  #studio-header .mobile-menu-socials {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(5px, 1.6vw, 10px);
    margin-top: 20px;
    padding: 0;
  }
  #studio-header .mobile-menu-socials > a {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
  }
  #studio-header .mobile-menu-socials > a:is(:hover, :focus-visible) {
    border-color: var(--green);
    color: var(--green);
  }
  #studio-header .mobile-menu-socials svg { display: block; width: 20px; height: 20px; }
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 56px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink) !important;
    background: transparent;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 550;
    letter-spacing: -.035em;
  }
  #studio-header :is(.menu-primary > a,.services-overview-link):is([aria-current="page"],[data-current-section]) {
    color: var(--green) !important;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
  }
  #studio-header .menu-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px var(--page-gutter, 20px) max(16px,env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper) !important;
  }
  #studio-header .mobile-menu-contact { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  #studio-header :is(.menu-primary > a,.services-overview-link,.services-toggle)::after { transition: none; }
}

#studio-header .nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid #92a696;
  border-radius: 6px;
  color: #245c32 !important;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}
#studio-header .nav-whatsapp svg { display: block; width: 22px; height: 22px; }
#studio-header .nav-whatsapp:is(:hover,:focus-visible) { background: #e2ecdf; border-color: var(--green); }
@media (max-width: 1279px) {
  #studio-header .nav-actions > .nav-whatsapp { width: 44px; min-height: 44px; padding: 0; }
  #studio-header .nav-actions > .nav-whatsapp span { display: none; }
}
@media (max-width: 1100px) {
  #studio-header .nav-actions { gap: 6px; }
  #studio-header:has(.nav-links.open) .nav-actions > .nav-whatsapp { display: none; }
  #studio-header .menu-bottom:has(> .nav-whatsapp) {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    align-items: stretch;
  }
  #studio-header .menu-bottom .nav-whatsapp { min-height: 48px; padding-inline: 12px; }
}
@media (max-width: 379px) {
  #studio-header .nav { gap: 6px; }
  #studio-header .brand { grid-template-columns: 30px auto; column-gap: 5px; }
  #studio-header .brand-owned-mark { width: 30px !important; height: 30px !important; }
  #studio-header .mobile-toggle { min-width: 44px; width: 44px; padding-inline: 0; }
  #studio-header .mobile-toggle > span { display: none !important; }
}

@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  #studio-header[data-navigation-ready="true"] .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    visibility: hidden;
    pointer-events: none;
    clip-path: inset(0 0 0 100%);
    animation: none;
    transition: clip-path 200ms ease-in, visibility 0s linear 200ms;
  }
  #studio-header[data-navigation-ready="true"] .nav-links.open {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0);
    transition: clip-path 260ms cubic-bezier(.2, .8, .2, 1);
  }
  #studio-header[data-navigation-ready="true"] .nav-links > :is(.menu-scroll, .menu-bottom) {
    transform: translateX(100%);
    transition: transform 200ms ease-in;
  }
  #studio-header[data-navigation-ready="true"] .nav-links.open > :is(.menu-scroll, .menu-bottom) {
    transform: translateX(0);
    transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
  }
  #studio-header[data-navigation-ready="true"] .menu-backdrop {
    display: block !important;
    top: var(--menu-header-height);
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease-out;
  }
  #studio-header[data-navigation-ready="true"] .menu-backdrop[hidden] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 200ms ease-in, visibility 0s linear 200ms;
  }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  #studio-header .nav-links.open, #studio-header .menu-backdrop {
    animation: none;
    transition: none;
  }
}

/* Shared by every public Dutch page, including CMS articles. */
[data-public-layout] {
  --page-gutter: clamp(16px, 4vw, 64px);
  --page-width: min(1600px, calc(100% - 2 * var(--page-gutter)));
  --public-action-height: 48px;
  --public-action-radius: 6px;
  --public-action-fill: #246b39;
  --public-section-space: clamp(36px, 4vw, 64px);
  --public-row-line: color-mix(in srgb, var(--theme-text, #18231b) 13%, transparent);
}

/* The layer takes precedence over legacy !important rules on individual templates.
   Only the outer containers are sized here. Nested reading and form columns keep their own width. */
@layer public-layout {
  [data-public-layout] :is(#studio-header > .nav, footer.footer-clean > .wrap),
  [data-public-layout] main > :is(.wrap, #wd-endcard),
  [data-public-layout] main > :is(section, nav, aside) > .wrap,
  [data-public-layout] [data-closing-planner] .booking-layout,
  [data-public-layout] #siteUpdates > .wrap {
    box-sizing: border-box !important;
    width: var(--page-width) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  /* The article grid owns the page width. Limit prose within its reading column. */
  .knowledge-article-page[data-public-layout] .article-layout > .article-reading,
  .knowledge-article-page[data-public-layout] .article-reading > .article-body {
    max-width: none !important;
  }
  .knowledge-article-page[data-public-layout] .article-body > :is(p, ul, ol, h2, h3, h4, h5, h6, blockquote) {
    max-width: 78ch;
    overflow-wrap: anywhere;
  }
  @media (max-width: 360px) {
    [data-public-layout] #studio-header > .nav { column-gap: 4px !important; }
  }
  [data-public-layout] :is(
    #studio-header .nav-cta, .footer-clean .footer-contact-call,
    .studio-actions .studio-button, .bradley-intro-actions .studio-button,
    .photo-intro__actions .wd-button-green, .agency-actions .agency-button,
    .service-detail-actions .wd-button-green, .aanpak-staptekst .wd-button-green,
    #wd-endcard .wd-endcard-action a
  ) {
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: var(--public-action-height) !important;
    padding: 10px 20px !important;
    border-radius: var(--public-action-radius) !important;
    font: 700 15px/1.4 Manrope, Arial, sans-serif !important;
  }
  [data-public-layout] .footer-clean .footer-contact-call {
    display: inline-flex !important;
  }
  [data-public-layout] :is(
    #studio-header .nav-cta, .footer-clean .footer-contact-call,
    .studio-actions .studio-button, .bradley-intro-actions .studio-button,
    .photo-intro__actions .wd-button-green, .agency-actions .agency-button,
    .service-detail-actions .wd-button-green, .aanpak-staptekst .wd-button-green,
    #wd-endcard .wd-endcard-action a:not(.wd-endcard-message)
  ) {
    background: var(--public-action-fill) !important;
    color: #fff !important;
  }
  [data-public-layout] :is(
    #studio-header .nav-cta, .footer-clean .footer-contact-call,
    .studio-button, .wd-button-green, .agency-button, #wd-endcard .wd-endcard-action a:not(.wd-endcard-message)
  ):hover { --public-action-fill: #19532d; }
  [data-public-layout] :is(.wd-work-heading a, .service-rates-link, .photo-intro__link,
    #blog .textlink, #wdPublishedArticles .textlink, .contact-intro-meeting) {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }
  [data-public-layout] main > :is(.wd-discovery-section, .blog-section, .wd-review-note) {
    padding-block: var(--public-section-space) !important;
  }
  [data-public-layout] main :is(.wd-discovery-section, .blog-section) h2 {
    text-wrap: balance;
  }
  [data-public-layout] [data-closing-faq] :is(.page-faq-grid, .svc-faq-grid),
  [data-public-layout] [data-closing-faq].wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }
  [data-public-layout] [data-closing-faq] [data-faq-items] {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  [data-public-layout] [data-closing-faq] details {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  [data-public-layout] [data-closing-faq] details ~ details {
    border-block-start: 1px solid var(--public-row-line) !important;
  }
  [data-public-layout] [data-closing-faq] :is(.svc-faq, .page-faq-list) {
    border-block: 0 !important;
  }
  [data-public-layout] .collaboration-comparison__table :is(th, td) {
    border-block-color: var(--public-row-line) !important;
  }
  [data-public-layout] [data-closing-faq] summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 56px !important;
    padding: 16px 20px !important;
    list-style: none !important;
    font: 700 16px/1.6 Manrope, Arial, sans-serif !important;
    cursor: pointer;
  }
  [data-public-layout] [data-closing-faq] summary::-webkit-details-marker,
  [data-public-layout] [data-closing-faq] summary > [aria-hidden="true"] { display: none !important; }
  [data-public-layout] [data-closing-faq] summary::after {
    content: '+' !important;
    position: static !important;
    flex: none !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    transform: none !important;
    color: #237b32 !important;
  }
  [data-public-layout] [data-closing-faq] details[open] > summary::after { content: '−' !important; }
  [data-public-layout] [data-closing-faq] details > p {
    max-width: 78ch !important;
    margin: 0 !important;
    padding: 0 20px 16px !important;
  }
  [data-public-layout] .legal-copy > :is(p, h2, h3, ul, ol) {
    max-width: 78ch !important;
  }
}

/* Shared footer rhythm for the public page templates. */
html:root body.site-refined[data-public-layout] footer.footer-clean {
  padding: 0;
  font-family: Manrope, Arial, sans-serif;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .9fr)) minmax(0, 1.2fr);
  align-items: start;
  gap: 28px;
  padding-block: 42px 32px;
  font-size: 13px;
  line-height: 1.5;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-main p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.6;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-group-heading {
  margin: 0;
  font-size: 11px;
  line-height: 1.5 !important;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-group-links {
  gap: 6px;
  margin-top: 12px;
  padding: 0;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-group-links > :is(a, span) {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-business-details {
  gap: 4px;
  margin: 14px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-business-details :is(dt, dd) {
  font-size: inherit;
  line-height: inherit;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-business__row {
  margin: 0;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-bottom-clean {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 16px;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-bottom-meta {
  display: flex;
  margin: 0;
  padding: 0;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-bottom-clean :is(a, button, span) {
  font-size: 12px;
  line-height: 1.5;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-legal-links :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0;
}
@media (max-width: 1000px) {
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-group-links {
    gap: 0;
  }
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-group-links > a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  html:root body.site-refined.site-premium[data-public-layout] :is(input:not([type=checkbox]):not([type=radio]), textarea, select) {
    font-size: 16px;
  }
  .site-premium[data-public-layout] nav.article-toc {
    padding: 0;
  }
  .site-premium[data-public-layout] .article-toc summary {
    box-sizing: border-box;
    min-height: 52px;
    padding: 12px 18px;
  }
  .site-premium[data-public-layout] .article-toc ol {
    margin: 0 18px 12px;
  }
  .site-premium[data-public-layout] .article-toc a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
  }
  section.wd-featured-cases .article-carousel-controls :is(button, span) {
    color: #f5f7ef;
  }
  section.wd-featured-cases .article-carousel-controls button {
    border-color: #92a797;
  }
  section.wd-featured-cases .article-carousel-controls button:focus-visible {
    outline-color: #bce4bc;
  }
}
@media (max-width: 700px) {
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: 28px 24px;
  }
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-bottom-clean {
    align-items: flex-start;
    flex-direction: column;
  }
  html:root body.site-refined[data-public-layout] footer.footer-clean .footer-legal-links :is(a, button) {
    min-height: 44px;
  }
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-contact-call {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 3px;
  margin: 12px 0 !important;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-main > div {
  padding: 0 !important;
  min-width: 0;
  border: 0;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-brand-block > .brand {
  margin: 0 !important;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-brand-block > p {
  max-width: none;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-business-details:not([hidden]) {
  display: grid;
}
html:root body.site-refined[data-public-layout] footer.footer-clean .footer-business-details > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
}
html:root body.site-refined[data-public-layout] footer.footer-clean [data-footer-toggle] {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 0 !important;
  font: 600 13px/1.5 Manrope, Arial, sans-serif;
}


/* These editorial sections already have space between them. Limit this
   treatment to their separators so framed cards and controls keep their edges. */
@layer public-layout {
  [data-public-layout] main > :is(
    .studio-working, .blog-section, .wd-discovery-section, .wd-review-note,
    .knowledge-hero, .knowledge-related, [data-closing-faq], .page-hero,
    .case-index-hero, .case-hero, .case-page-nav, .case-section,
    .team-profile-hero, .team-profile-story, .team-projects-section,
    #stappenplan, #samenwerkingsvormen, #over-bradley, #diensttarieven,
    #tariefdiensten, #tariefafspraken, #tariefvoorbeelden
  ),
  [data-public-layout] :is(
    #studio-header, footer.footer-clean, .footer-clean > .footer-main,
    .footer-clean > .footer-bottom-clean, .footer-clean .footer-newsletter
  ) {
    border-block: 0 !important;
  }

  [data-public-layout] :is(
    .article-hero-grid, .article-reading > .article-share--inline,
    .article-reading > .article-next, .wd-article-card .wd-card-foot,
    .bradley-story-chapters > .bradley-chapter, .bradley-expertise,
    .aanpak-vormen > article, .service-topics > li,
    .service-detail-panel > .service-detail-actions, .service-detail-panel > .service-example,
    .pricing-compact-card .tarief-amount,
    .case-index-heading, .case-steps, .case-programs__inner, .case-programs__row,
    .case-hero__aside > .case-profile, .case-hero__aside > .case-team,
    .case-work-grid > article, .case-goal-grid > article,
    .wd-site-reviews .wd-review-item, .contact-location-details > .contact-channels,
    .contact-channels > .contact-channel, .booking-intro > .booking-host
  ) {
    border-block: 0 !important;
  }

  [data-public-layout] #expertise .service-detail-panel::before { content: none; }
}

/* Shared by the public templates, including the standalone homepage. */
.wd-consent {
  --consent-surface: #fff;
  --consent-ink: #19231c;
  --consent-muted: #47574c;
  --consent-line: #d1dbd2;
  --consent-accent: #216b36;
  --consent-tint: #edf5ee;
  box-sizing: border-box;
  color: var(--consent-ink);
  font: 400 16px/1.5 Manrope, system-ui, sans-serif;
  text-align: left;
}
html[data-theme="dark"] .wd-consent {
  --consent-surface: #1a241e;
  --consent-ink: #f4f8f4;
  --consent-muted: #c1cfc3;
  --consent-line: #526457;
  --consent-accent: #a0dda8;
  --consent-tint: #293b2d;
}
.wd-consent *, .wd-consent *::before, .wd-consent *::after { box-sizing: border-box; }
body .wd-consent.cookie-banner, body .wd-consent .cookie-settings-card {
  background: var(--consent-surface);
  border: 1px solid var(--consent-line);
  border-radius: 16px !important;
  box-shadow: 0 8px 40px rgb(18 37 23 / 15%);
}
body .wd-consent.cookie-banner {
  position: fixed;
  z-index: 210;
  inset: auto auto max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  width: min(408px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
  margin: 0;
  padding: 21px 22px 12px;
}
.wd-consent .wd-consent-copy strong, .wd-consent .cookie-settings-head h2 {
  display: block;
  margin: 0;
  color: var(--consent-ink);
  font: 700 1.19rem/1.25 Manrope, system-ui, sans-serif;
  letter-spacing: -.025em;
}
.wd-consent .wd-consent-copy p, .wd-consent .cookie-settings-head p, .wd-consent .consent-row p {
  margin: 6px 0 0;
  color: var(--consent-muted);
  font: inherit;
  font-size: .875rem;
  line-height: 1.55;
}
.wd-consent .wd-consent-actions, .wd-consent .cookie-settings-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
}
.wd-consent button, .wd-consent a { font: inherit; cursor: pointer; touch-action: manipulation; }
.wd-consent button.wd-consent-choice {
  display: grid;
  place-items: center;
  min-height: 44px;
  width: 100%;
  padding: 8px 12px;
  margin: 0;
  border: 1px solid var(--consent-line);
  border-radius: 8px;
  background: var(--consent-tint);
  color: var(--consent-ink);
  font-size: .875rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: center;
  white-space: normal;
}
.wd-consent button.wd-consent-choice:hover { border-color: var(--consent-accent); }
.wd-consent .wd-consent-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -7px;
}
.wd-consent .wd-consent-links :is(a,button) {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  margin: 0;
  color: var(--consent-muted);
  border: 0;
  background: transparent;
  font-size: .875rem;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wd-consent :is(button,a):focus-visible { outline: 3px solid var(--consent-accent); outline-offset: 2px; }
body .wd-consent.cookie-settings-panel {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
  background: rgb(15 27 18 / 47%);
}
body .wd-consent .cookie-settings-card {
  width: min(100%,470px);
  padding: 24px;
  max-height: 100%;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.wd-consent .cookie-settings-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin: 0 0 18px; }
.wd-consent .cookie-settings-head h2 { font-size: 1.375rem; }
.wd-consent .cookie-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  margin: -3px -3px 0 0;
  padding: 0;
  border: 1px solid var(--consent-line);
  border-radius: 50%;
  background: var(--consent-surface);
  color: var(--consent-ink);
  font-size: 1.5rem;
  line-height: 1;
}
.wd-consent .consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--consent-line);
}
.wd-consent .consent-row strong { display: block; font-size: .9375rem; line-height: 1.3; }
.wd-consent .consent-row p { margin-top: 3px; }
.wd-consent-fixed { font-weight: 600; color: var(--consent-accent); font-size: .875rem; }
.wd-consent .cookie-settings-actions { margin-top: 10px; }
.wd-consent .wd-consent-toggle {
  position: relative;
  width: 48px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
}
.wd-consent-toggle::before, .wd-consent-toggle::after { content: ""; position: absolute; top: 50%; border-radius: 30px; }
.wd-consent-toggle::before { width: 44px; height: 26px; left: 2px; transform: translateY(-50%); background: #647268; }
.wd-consent-toggle::after { width: 20px; height: 20px; left: 5px; transform: translateY(-50%); background: #fff; }
.wd-consent-toggle[aria-checked="true"]::before { background: #22703b; }
.wd-consent-toggle[aria-checked="true"]::after { left: 23px; }
@media (max-width: 540px) {
  body .wd-consent.cookie-banner {
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: auto;
    max-height: calc(100dvh - 16px);
    padding: 16px 16px 8px;
    gap: 10px;
  }
  body .wd-consent.cookie-settings-panel { place-items: end center; }
  body .wd-consent .cookie-settings-card { padding: 18px; }
}
@media print { body .wd-consent { display: none !important; } }

/* Shared motion for the public website. Every element is readable before JS runs. */
@media screen and (prefers-reduced-motion: no-preference) {
  body[data-public-layout] {
    --wd-motion-ease: cubic-bezier(.2,.8,.24,1);
    --wd-motion-rise: 8px;
  }

  body[data-public-layout].motion-ready main [data-reveal] {
    transition: opacity 180ms var(--wd-motion-ease), translate 220ms var(--wd-motion-ease);
    transition-delay: var(--wd-reveal-delay, 0ms);
  }
  body[data-public-layout].motion-ready main [data-reveal].reveal-pending {
    opacity: .8;
    translate: 0 var(--wd-motion-rise);
    transform: none;
  }
  body[data-public-layout].motion-ready main [data-reveal].is-visible {
    opacity: 1;
    translate: none;
  }
  body[data-public-layout] [data-closing-faq] details[open] > p {
    animation: wd-copy-in 180ms var(--wd-motion-ease);
  }
  body[data-public-layout] :is(.studio-button, .nav-cta, .wd-endcard-action a, .footer-contact-call):active {
    scale: .97;
  }
  @media (hover: hover) and (pointer: fine) {
    body[data-public-layout] :is(.studio-project-image > img, .case-example-image > img, .wd-card-cover img) {
      transition: scale 180ms var(--wd-motion-ease);
    }
    body[data-public-layout] :is(.studio-project, .case-card, .wd-article-card):is(:hover, :focus-within) :is(.studio-project-image > img, .case-example-image > img, .wd-card-cover img) {
      scale: 1.02;
    }
  }
  @media (max-width: 700px) {
    body[data-public-layout] { --wd-motion-rise: 4px; }
    body[data-public-layout].motion-ready main [data-reveal] { transition-delay: 0ms; }
  }
  body[data-public-layout].motion-ready main [data-reveal]:focus-within {
    transition: none;
  }
}

@keyframes wd-copy-in {
  from { opacity: .8; translate: 0 4px; }
  to { opacity: 1; translate: none; }
}

@media print {
  body[data-public-layout] main [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    transform: none !important;
  }
}
