:root {
  color-scheme: var(--dig-color-scheme, dark);

  /*
   * Websites owns layout semantics only.
   * Digentus One owns all brand color and typography values globally.
   */
  --d1-brand-primary: var(--dig-color-primary);
  --d1-brand-secondary: var(--dig-color-secondary);
  --d1-site-font: var(--dig-font-primary);

  --d1-bg: var(--dig-color-surface-brand);
  --d1-panel: var(--dig-color-surface-brand-elevated);
  --d1-line: var(--dig-color-border-on-dark);

  /*
   * Text roles are semantic and contrast-safe.
   * Brand colors decorate surfaces/borders; they are never used as arbitrary
   * foreground text colors.
   */
  --d1-text: var(--dig-color-on-canvas, var(--dig-color-text));
  --d1-muted: var(--dig-color-text-muted);
  --d1-surface-text: var(--dig-color-on-surface, var(--d1-text));
  --d1-surface-muted: color-mix(
    in srgb,
    var(--d1-surface-text) 68%,
    var(--dig-color-surface, var(--d1-panel))
  );

  --d1-accent: var(--dig-color-accent);
  --d1-support: var(--dig-color-secondary);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dig-surface-page);
  color: var(--d1-text);
  font-family: var(--d1-site-font);
  font-size: var(--dig-font-size-base);
}

button,
input,
select,
textarea {
  font: inherit;
}

a:not(.dig-btn) {
  color: inherit;
  text-decoration: none;
}

.d1-shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.d1-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--d1-line);
}

.d1-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--d1-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.d1-brand__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(250px, 38vw);
  max-height: 38px;
  object-fit: contain;
}

.d1-brand__text {
  display: inline-block;
}

.d1-brand span {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--d1-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.d1-eyebrow,
.d1-number {
  color: var(--d1-text);
  text-decoration-line: underline;
  text-decoration-color: var(--d1-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.34em;
}

.d1-pill {
  border: 1px solid var(--d1-line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--d1-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.d1-hero {
  min-height: 68vh;
  padding: 110px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.d1-eyebrow,
.d1-kicker,
.d1-number {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 28px;
  max-width: 900px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.d1-lead {
  max-width: 720px;
  margin: 0;
  color: var(--d1-muted);
  font-size: 20px;
  line-height: 1.65;
}

.d1-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* D1 Websites semantic button foreground stabilization.
 * Brand System V2 computes the foreground; Websites only consumes it.
 * This overrides Core progressive color-contrast() for public website
 * primary buttons so runtime is deterministic across browsers.
 */
.d1-websites-page .dig-btn-primary,
.d1-websites-page .dig-btn--primary {
  --btn-fg: var(--dig-color-on-primary, var(--dig-color-text-light));
}
.d1-btn {
  padding: 14px 20px;
  border: 1px solid var(--d1-line);
  border-radius: 10px;
  font-weight: 700;
}

a.d1-btn.d1-btn--primary {
  background: var(--d1-brand-primary);
  border-color: color-mix(
    in srgb,
    var(--d1-accent) 28%,
    var(--d1-brand-primary)
  );
  --d1-primary-cta-fg: var(--dig-color-white);
  --dig-color-on-primary: var(--d1-primary-cta-fg);
  color: var(--dig-color-on-primary);
  box-shadow: 0 14px 34px
    color-mix(in srgb, var(--d1-brand-primary) 28%, transparent);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}
@supports (color: color-contrast(white vs black)) {
  a.d1-btn.d1-btn--primary {
    --d1-primary-cta-fg: color-contrast(
      var(--d1-brand-primary) vs var(--dig-color-white),
      var(--dig-color-black)
    );
  }
}

.d1-btn--primary:hover {
  background: color-mix(
    in srgb,
    var(--d1-brand-primary) 88%,
    var(--dig-color-white)
  );
  border-color: var(--d1-accent);
  transform: translateY(-1px);
}

.d1-btn:not(.d1-btn--primary):hover {
  border-color: var(--d1-accent);
  color: var(--d1-text);
}

.d1-panel,
.d1-card {
  border: 1px solid var(--d1-line);
  background: var(--dig-surface-panel);
  color: var(--d1-surface-text);
}

.d1-panel {
  border-radius: 20px;
  padding: 24px;
}

.d1-signal {
  padding: 20px 0;
  border-bottom: 1px solid var(--d1-line);
}

.d1-signal:last-child {
  border-bottom: 0;
}

.d1-kicker {
  color: var(--d1-muted);
}

.d1-metric {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 750;
}

.d1-metric small {
  font-size: 13px;
  color: var(--d1-surface-muted);
  font-weight: 600;
}

.d1-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 30px 0 100px;
}

.d1-card {
  border-radius: 16px;
  padding: 26px;
}

.d1-card h2 {
  margin: 16px 0 10px;
  font-size: 22px;
}

.d1-card p {
  margin: 0;
  color: var(--d1-surface-muted);
  line-height: 1.6;
}

.d1-statement {
  padding: 70px 0;
  border-top: 1px solid var(--d1-line);
  border-bottom: 1px solid var(--d1-line);
}

.d1-statement :is(p, .d1-statement__text) {
  max-width: 980px;
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.d1-statement__text {
  color: var(--d1-text);
  font-weight: var(--dig-font-weight-medium);
}

/* Statement actions consume the section foreground and canonical Button styles. */
.d1-statement__actions {
  display: grid;
  gap: var(--dig-spacing-md);
  margin-block-start: var(--dig-spacing-lg);
}
.d1-statement .d1-statement__action-intro {
  color: var(--d1-text);
}
.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center .d1-statement__action-intro {
  color: var(--dig-color-on-primary, var(--dig-color-white));
}
.d1-statement__actions .dig-btn {
  min-block-size: 44px;
  max-inline-size: 100%;
  white-space: normal;
}

.d1-footer {
  padding: 44px 0 28px;
  display: flex;
  flex-direction: column;
  gap: var(--dig-spacing-xl);
  color: var(--d1-muted);
  font-size: 13px;
  line-height: 1.5;
}

.d1-websites-page--not_found .d1-hero {
  grid-template-columns: minmax(0, 850px);
}

.d1-websites-page--not_found h1 {
  max-width: 800px;
}

@media (max-width: 992px) {
  .d1-hero {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .d1-grid {
    grid-template-columns: 1fr;
  }

  .d1-pill {
    display: none;
  }

  h1 {
    font-size: 56px;
  }
}

.d1-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.d1-language-selector {
  display: flex;
  align-items: center;
}

.d1-language-selector .gtranslate_wrapper {
  display: flex;
  align-items: center;
}

.d1-nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.d1-language-selector {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.d1-language-selector .gtranslate_wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.d1-language-selector .gt_switcher {
  position: relative;
}

.d1-language-selector .gt_switcher .option {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 9999;
  min-width: 100%;
}
/* B284 - NavigationEngine-controlled Websites primary navigation */
.d1-nav-links {
  display: block;
}

.d1-nav-links ul,
.d1-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d1-nav-links a {
  color: var(--d1-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  opacity: 0.78;
  transition: opacity 160ms ease;
}

.d1-nav-links a:hover,
.d1-nav-links a:focus-visible,
.d1-nav-links a[aria-current="page"],
.d1-nav-links a.is-active,
.d1-nav-links .current-menu-item > a {
  opacity: 1;
}

@media (max-width: 992px) {
  .d1-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .d1-nav-links ul,
  .d1-nav-list {
    gap: 12px;
    justify-content: flex-end;
  }
}
/* B285 - canonical Websites footer control plane */
.d1-footer__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--dig-spacing-lg);
}

.d1-footer__section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--dig-spacing-sm);
}

.d1-footer__identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: 34ch;
}

.d1-footer__brand-name {
  color: var(--d1-text);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.d1-footer__brand-logo {
  display: block;
  align-self: flex-start;
  margin: 0;
  object-position: left center;
  width: auto;
  height: auto;
  max-width: min(220px, 100%);
  max-height: 40px;
  object-fit: contain;
}

.d1-footer__identity span {
  line-height: 1.5;
}

.d1-footer__contact {
  align-items: flex-start;
}

.d1-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--dig-spacing-sm);
  min-width: 0;
}

.d1-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--dig-spacing-xs);
  width: fit-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  line-height: 1.45;
}

.d1-footer__contact-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.d1-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.d1-footer__contact-icon-svg {
  width: 1em;
  height: 1em;
}
.d1-footer-links ul,
.d1-footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--dig-spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.d1-footer-links a {
  color: inherit;
  text-decoration: none;
}

.d1-footer-links a:hover,
.d1-footer-links a:focus-visible,
.d1-footer-links a[aria-current="page"],
.d1-footer-links a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* B285.1 - structured footer information architecture */
.d1-footer__columns {
  display: grid;
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: var(--dig-spacing-xl);
  align-items: start;
  width: 100%;
}

.d1-footer__columns--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.d1-footer__columns--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.d1-footer__columns--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.d1-footer__heading {
  margin: 0;
  color: var(--d1-text);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.d1-footer__social-list,
.d1-footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.d1-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dig-spacing-md) var(--dig-spacing-xl);
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;
  padding-top: var(--dig-spacing-md);
  border-top: 1px solid var(--d1-line);
  font-size: 12px;
}

.d1-footer__attribution {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 992px) {
  .d1-footer__columns--3,
  .d1-footer__columns--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .d1-footer__columns--2,
  .d1-footer__columns--3,
  .d1-footer__columns--4 {
    grid-template-columns: 1fr;
  }

  .d1-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* B285.2 - governed social icon presentation */

.d1-footer__social {
  gap: var(--dig-spacing-sm);
}
.d1-footer__social-list {
  display: flex;
  flex-direction: column;
  gap: var(--dig-spacing-sm);
}

.d1-footer__social-link {
  align-items: center;
  gap: var(--dig-spacing-xs);
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.d1-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.d1-footer__social-icon-svg {
  width: 1em;
  height: 1em;
}

.d1-footer__social-link:hover,
.d1-footer__social-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* B287 - Contact ledger and request form */
.d1-contact-surface {
  --d1-contact-line: color-mix(in srgb, var(--d1-text) 18%, transparent);
  margin-top: clamp(40px, 6vw, 72px);
}

.d1-contact-surface .d1-contact-heading {
  margin-bottom: var(--dig-spacing-lg);
}

.d1-contact-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--d1-contact-line);
}

.d1-contact-ledger__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--dig-spacing-md);
  min-width: 0;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--d1-contact-line);
}

.d1-contact-ledger__item:nth-child(odd) {
  padding-right: clamp(24px, 4vw, 52px);
  border-right: 1px solid var(--d1-contact-line);
}

.d1-contact-ledger__item:nth-child(even) {
  padding-left: clamp(24px, 4vw, 52px);
}

.d1-contact-ledger--items-1 .d1-contact-ledger__item,
.d1-contact-ledger--items-3 .d1-contact-ledger__item:last-child {
  grid-column: 1 / -1;
  padding-right: 0;
  border-right: 0;
}

.d1-contact-ledger__index {
  color: var(--d1-brand-primary);
  font-family: var(--dig-font-mono, var(--d1-site-font));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.d1-contact-ledger__content {
  min-width: 0;
}

.d1-contact-ledger__label,
.d1-contact-request__eyebrow,
.d1-contact-request__field > span {
  color: var(--d1-text);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.d1-contact-ledger__value {
  margin-top: 8px;
  color: var(--d1-muted);
  font-size: var(--dig-font-size-base);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.d1-contact-ledger__value a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.d1-contact-ledger__value a:hover,
.d1-contact-ledger__value a:focus-visible {
  color: var(--d1-text);
  text-decoration: underline;
  text-decoration-color: var(--d1-brand-primary);
}

.d1-contact-request {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 88px);
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(38px, 5vw, 64px) 0 clamp(52px, 7vw, 88px);
  border-top: 1px solid var(--d1-contact-line);
}

.d1-contact-request__intro {
  max-width: 34rem;
}

.d1-contact-request__eyebrow {
  color: var(--d1-brand-primary);
  font-family: var(--dig-font-mono, var(--d1-site-font));
}

.d1-contact-request__intro h2 {
  margin: 14px 0 18px;
  color: var(--d1-text);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.d1-contact-request__intro p {
  margin: 0;
  color: var(--d1-muted);
  line-height: 1.65;
}

.d1-contact-request__form-wrap,
.d1-contact-request__form {
  min-width: 0;
}

.d1-contact-request__status {
  margin: 0 0 var(--dig-spacing-lg);
  padding: 12px 0 12px var(--dig-spacing-md);
  border-left: 2px solid var(--d1-brand-primary);
  color: var(--d1-text);
  line-height: 1.5;
}

.d1-contact-request__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 52px);
  row-gap: 30px;
}

.d1-contact-request__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.d1-contact-request__field--full {
  grid-column: 1 / -1;
}

.d1-contact-request__field input,
.d1-contact-request__field select,
.d1-contact-request__field textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--d1-contact-line);
  border-radius: 0;
  padding: 10px 0 12px;
  background: transparent;
  color: var(--d1-text);
  box-shadow: none;
  outline: none;
}

.d1-contact-request__field textarea {
  min-height: 132px;
  resize: vertical;
}

.d1-contact-request__field input:focus,
.d1-contact-request__field select:focus,
.d1-contact-request__field textarea:focus {
  border-bottom-color: var(--d1-brand-primary);
}

.d1-contact-request__field input::placeholder,
.d1-contact-request__field textarea::placeholder {
  color: var(--d1-muted);
}

.d1-contact-request__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--dig-spacing-lg);
  margin-top: 30px;
  padding-top: var(--dig-spacing-md);
  border-top: 1px solid var(--d1-contact-line);
}

.d1-contact-request__footer p {
  max-width: 44ch;
  margin: 0;
  color: var(--d1-muted);
  font-size: var(--dig-font-size-small);
  line-height: 1.5;
}

.d1-contact-request__submit {
  flex: 0 0 auto;
  border: 1px solid var(--d1-brand-primary);
  border-radius: 0;
  padding: 13px 18px;
  background: var(--d1-brand-primary);
  color: var(--dig-color-on-primary, var(--dig-color-white));
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.d1-contact-request__submit:hover,
.d1-contact-request__submit:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
}

.d1-contact-request__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 992px) {
  .d1-contact-request {
    grid-template-columns: 1fr;
    gap: var(--dig-spacing-xl);
  }
}

@media (max-width: 576px) {
  .d1-contact-ledger {
    grid-template-columns: 1fr;
  }

  .d1-contact-ledger__item:nth-child(odd),
  .d1-contact-ledger__item:nth-child(even),
  .d1-contact-ledger--items-1 .d1-contact-ledger__item,
  .d1-contact-ledger--items-3 .d1-contact-ledger__item:last-child {
    grid-column: auto;
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .d1-contact-request__grid {
    grid-template-columns: 1fr;
  }

  .d1-contact-request__field--full {
    grid-column: auto;
  }

  .d1-contact-request__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* D1 primary Service Index submenu projection */
.d1-nav-links .menu-item-has-children {
  position: relative;
}

.d1-nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1000;
  display: flex;
  min-width: 250px;
  max-width: min(360px, calc(100vw - 32px));
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--dig-surface-panel, var(--dig-color-white, #fff));
  border: 1px solid var(--d1-line);
  border-radius: 10px;
  box-shadow: 0 18px 42px
    color-mix(in srgb, var(--d1-brand-primary) 16%, transparent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition:
    opacity 150ms ease,
    visibility 150ms ease,
    transform 150ms ease;
}

.d1-nav-links .menu-item-has-children:hover > .sub-menu,
.d1-nav-links .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.d1-nav-links .sub-menu li {
  width: 100%;
}

.d1-nav-links .sub-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 7px;
  line-height: 1.35;
  white-space: normal;
}

.d1-nav-links .sub-menu a:hover,
.d1-nav-links .sub-menu a:focus-visible,
.d1-nav-links .sub-menu a[aria-current="page"],
.d1-nav-links .sub-menu a.is-active {
  background: color-mix(
    in srgb,
    var(--d1-brand-primary) 7%,
    transparent
  );
}

@media (max-width: 992px) {
  .d1-nav-links .sub-menu {
    right: 0;
    left: auto;
    transform: translateY(-6px);
  }

  .d1-nav-links .menu-item-has-children:hover > .sub-menu,
  .d1-nav-links .menu-item-has-children:focus-within > .sub-menu {
    transform: translateY(0);
  }
}

/* D1 mobile primary navigation disclosure */
.d1-mobile-nav {
  margin-left: auto;
}

.d1-mobile-nav__toggle {
  display: none;
}

.d1-mobile-nav__panel {
  display: flex;
}

.d1-mobile-nav__toggle-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}

.d1-mobile-nav__toggle-icon > span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

@media (max-width: 992px) {
  .d1-nav {
    position: relative;
    min-height: 70px;
  }

  .d1-mobile-nav {
    position: static;
    margin-left: auto;
  }

  .d1-mobile-nav__toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--d1-line);
    border-radius: 9px;
    color: var(--d1-text);
    background: var(--dig-surface-panel);
    cursor: pointer;
    list-style: none;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .d1-mobile-nav__toggle::-webkit-details-marker {
    display: none;
  }

  .d1-mobile-nav:not([open]) > .d1-mobile-nav__panel {
    display: none;
  }

  .d1-mobile-nav[open] > .d1-mobile-nav__panel {
    display: flex;
  }

  .d1-mobile-nav__panel {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    background: var(--dig-surface-panel);
    border: 1px solid var(--d1-line);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 42px
      color-mix(
        in srgb,
        var(--d1-brand-primary) 16%,
        transparent
      );
  }

  .d1-mobile-nav__panel .d1-nav-links {
    width: 100%;
  }

  .d1-mobile-nav__panel .d1-nav-links > ul,
  .d1-mobile-nav__panel .d1-nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .d1-mobile-nav__panel .d1-nav-links > ul > li,
  .d1-mobile-nav__panel .d1-nav-list > li {
    width: 100%;
  }

  .d1-mobile-nav__panel .d1-nav-links a {
    display: block;
    width: 100%;
    padding: 10px 8px;
  }

  .d1-mobile-nav__panel .menu-item-has-children > .sub-menu {
    position: static;
    display: flex;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 2px 0 4px;
    padding: 0 0 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .d1-mobile-nav__panel .menu-item-has-children > .sub-menu a {
    padding-block: 8px;
    font-size: 0.94em;
  }

  .d1-mobile-nav__panel .d1-language-selector {
    align-self: flex-start;
  }

  .d1-mobile-nav__panel .d1-pill {
    display: none;
  }
}

/* D1 desktop/mobile navigation parity correction */
.d1-mobile-nav__state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.d1-mobile-nav__state:focus-visible + .d1-mobile-nav__toggle {
  outline: 2px solid var(--d1-accent);
  outline-offset: 3px;
}

@media (max-width: 992px) {
  .d1-mobile-nav__state:not(:checked) ~ .d1-mobile-nav__panel {
    display: none;
  }

  .d1-mobile-nav__state:checked ~ .d1-mobile-nav__panel {
    display: flex;
  }
}

/* D1 compact mobile menu trigger */
@media (max-width: 992px) {
  .d1-mobile-nav__toggle {
    width: 42px;
    min-width: 42px;
    padding: 9px;
  }

  .d1-mobile-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* D1 public shell intelligence-first polish */
.d1-mobile-nav__toggle-icons {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.d1-mobile-nav__toggle-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.d1-mobile-nav__toggle-icon--close {
  display: none;
}

.d1-mobile-nav__state:checked + .d1-mobile-nav__toggle .d1-mobile-nav__toggle-icon--menu {
  display: none;
}

.d1-mobile-nav__state:checked + .d1-mobile-nav__toggle .d1-mobile-nav__toggle-icon--close {
  display: block;
}

/* Editorial public hero: no card, no shadow, stronger information hierarchy. */
.d1-websites-page .dig-hero.d1-page-hero {
  margin: 0;
  padding: clamp(76px, 9vw, 132px) 0 clamp(68px, 8vw, 116px);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--d1-line);
  box-shadow: none;
}

.d1-websites-page .d1-page-hero .dig-hero__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/*
 * D1 Hero media authority bridge
 *
 * The Websites shell owns typography and brand polish. The canonical Hero
 * component owns media geometry. Do not force display:block when a semantic
 * media treatment is active.
 */
.d1-websites-page .d1-page-hero:not(.dig-hero--has-media) .dig-hero__container {
  display: block;
}

.d1-websites-page .d1-page-hero .dig-hero__content {
  position: relative;
  max-width: 980px;
  margin: 0;
  padding-left: 34px;
  text-align: left;
}

.d1-websites-page .d1-page-hero .dig-hero__content::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 2px;
  height: 58px;
  background: var(--d1-accent);
}

.d1-websites-page .d1-page-hero .dig-hero-eyebrow {
  margin: 0 0 22px;
  color: var(--d1-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.d1-websites-page .d1-page-hero .dig-hero-title {
  max-width: 930px;
  margin: 0;
  color: var(--d1-text);
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-align: left;
  text-wrap: balance;
}

.d1-websites-page .d1-page-hero .dig-hero-subtitle {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--d1-muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
  text-align: left;
}

.d1-websites-page .d1-page-hero .dig-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

/*
 * Full Bleed is a bounded media stage, not an image-sized document flow.
 * The component supplies the dark content surface; these selectors only
 * resolve Websites-specific specificity so text inherits that surface color.
 */
.d1-websites-page .d1-page-hero.dig-hero--full_bleed .dig-hero__content {
  z-index: 1;
}

.d1-websites-page .d1-page-hero.dig-hero--full_bleed .dig-hero-title,
.d1-websites-page .d1-page-hero.dig-hero--full_bleed .dig-hero-subtitle,
.d1-websites-page .d1-page-hero.dig-hero--full_bleed .dig-hero-eyebrow {
  color: inherit;
}

.d1-websites-page .d1-page-hero .dig-btn {
  min-height: 46px;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 700;
}
.d1-websites-page:not(.d1-composition-profile--showcase) .d1-page-hero .dig-btn {
  border-radius: 3px !important;
}

/* Home statement becomes a compact, institutional decision band. */
.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center {
  position: relative;
  margin: 34px 0 0 !important;
  padding: clamp(38px, 5vw, 62px) clamp(28px, 5vw, 56px) !important;
  background: var(--d1-brand-primary) !important;
  border: 1px solid var(--d1-brand-primary) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--d1-accent);
}

.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center > .dig-container:first-child {
  max-width: 940px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center > .dig-container:first-child > h2 {
  margin: 0 !important;
  color: var(--dig-color-white) !important;
  font-size: clamp(34px, 4.6vw, 58px) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  text-align: left !important;
  text-wrap: balance;
}

.d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center > .dig-container:nth-of-type(2) {
  display: none !important;
}

@media (max-width: 992px) {
  /* D1-like public mobile navigation surface. */
  .d1-mobile-nav__toggle {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 10px;
    border: 1px solid var(--d1-line);
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
  }

  .d1-mobile-nav__state:checked + .d1-mobile-nav__toggle {
    border-color: transparent;
    background: color-mix(in srgb, var(--d1-accent) 18%, var(--dig-surface-panel));
  }

  .d1-mobile-nav__panel {
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    min-height: min(560px, calc(100dvh - 84px));
    max-height: calc(100dvh - 84px);
    gap: 22px;
    padding: 26px 22px 34px;
    overflow-y: auto;
    background: var(--dig-surface-panel);
    border: 0;
    border-bottom: 1px solid var(--d1-line);
    border-radius: 0;
    box-shadow: none;
  }

  .d1-mobile-nav__panel .d1-nav-links > ul,
  .d1-mobile-nav__panel .d1-nav-list {
    counter-reset: d1-public-nav;
    gap: 0;
  }

  .d1-mobile-nav__panel .d1-nav-links > ul > li,
  .d1-mobile-nav__panel .d1-nav-list > li {
    counter-increment: d1-public-nav;
    position: relative;
    border-bottom: 1px solid var(--d1-line);
  }

  .d1-mobile-nav__panel .d1-nav-links > ul > li > a,
  .d1-mobile-nav__panel .d1-nav-list > li > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    min-height: 58px;
    padding: 0;
    color: var(--d1-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }

  .d1-mobile-nav__panel .d1-nav-links > ul > li > a::before,
  .d1-mobile-nav__panel .d1-nav-list > li > a::before {
    content: counter(d1-public-nav, decimal-leading-zero);
    color: var(--d1-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .d1-mobile-nav__panel .menu-item-has-children > .sub-menu {
    position: static;
    display: flex;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0 0 14px 38px;
    padding: 0 0 0 16px;
    gap: 0;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--d1-line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .d1-mobile-nav__panel .menu-item-has-children > .sub-menu > li {
    border: 0;
  }

  .d1-mobile-nav__panel .menu-item-has-children > .sub-menu a {
    min-height: 42px;
    padding: 10px 0 10px 12px;
    color: var(--d1-muted);
    font-size: 14px;
    font-weight: 600;
  }

  .d1-websites-page .dig-hero.d1-page-hero {
    padding: 56px 0 54px;
  }

  .d1-websites-page .d1-page-hero .dig-hero__content {
    padding-top: 20px;
    padding-left: 0;
  }

  .d1-websites-page .d1-page-hero .dig-hero__content::before {
    top: 0;
    width: 42px;
    height: 2px;
  }

  .d1-websites-page .d1-page-hero .dig-hero-title {
    font-size: clamp(44px, 13vw, 60px);
    line-height: 0.96;
    letter-spacing: -0.05em;
  }

  .d1-websites-page .d1-page-hero .dig-hero-subtitle {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.55;
  }

  .d1-websites-page .d1-page-hero .dig-hero-actions {
    margin-top: 28px;
  }

  .d1-websites-page .d1-page-hero .dig-btn {
    width: 100%;
    justify-content: center;
  }

  .d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center {
    margin-top: 24px !important;
    padding: 34px 24px 38px !important;
  }

  .d1-websites-page--home main > .dig-section.dig-py-xl.dig-text-center > .dig-container:first-child > h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
    line-height: 1.05 !important;
  }
}

/* ==========================================================================
 * D1 Composition Profiles Visual Layer V1
 *
 * Finite visual strategies only. The profile class is emitted by page.twig;
 * section order remains owned by PageCompositionProfileAdapter.
 *
 * Balanced intentionally has no overrides so the current public presentation
 * remains the backward-compatible baseline.
 * ========================================================================== */

/* Editorial Story — narrative opening, framed photograph and service ledger.
 * Composition owns section rhythm; Hero Layout and Media Treatment remain
 * explicit controls. No geometry is imposed on another media treatment.
 */
.d1-websites-page.d1-composition-profile--editorial .d1-page-hero {
  padding-top: clamp(84px, 9vw, 118px);
  padding-bottom: clamp(76px, 8vw, 104px);
}

.d1-websites-page.d1-composition-profile--editorial .d1-page-hero .dig-hero__content {
  max-width: 820px;
}

.d1-websites-page.d1-composition-profile--editorial .d1-page-hero .dig-hero-title {
  max-width: 820px;
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 0.98;
}

.d1-websites-page.d1-composition-profile--editorial main > .d1-page-services,
.d1-websites-page.d1-composition-profile--editorial main > .d1-page-reviews {
  padding-block: clamp(72px, 8vw, 104px);
  border-top: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--editorial main > .d1-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 52px;
  padding: clamp(68px, 8vw, 96px) 0 clamp(82px, 9vw, 112px);
  border-top: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--editorial main > .d1-grid > .d1-card {
  padding: 0 0 30px;
  border-bottom: 1px solid var(--d1-line);
  border-radius: 0;
}

.d1-websites-page.d1-composition-profile--editorial .d1-statement {
  padding-block: clamp(72px, 8vw, 98px);
}

.d1-websites-page.d1-composition-profile--editorial .d1-statement :is(p, .d1-statement__text) {
  max-width: 780px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.12;
}

.d1-websites-page.d1-composition-profile--editorial .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero__content {
  align-items: flex-start;
  max-width: 38rem;
  padding-left: 0;
  padding-top: 1.5rem;
}
.d1-websites-page.d1-composition-profile--editorial .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero__content::before {
  width: 4rem;
  height: 2px;
  top: 0;
}
.d1-websites-page.d1-composition-profile--editorial .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero-title {
  font-size: clamp(2.75rem, 5.8vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-align: left;
}
.d1-websites-page.d1-composition-profile--editorial .d1-page-hero.dig-hero--editorial .dig-hero__container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}
.d1-websites-page.d1-composition-profile--editorial .d1-page-hero.dig-hero--editorial .dig-hero__media {
  align-self: start;
  aspect-ratio: 4 / 5;
  margin-top: 1.5rem;
  padding: var(--dig-spacing-sm);
  background: var(--dig-surface-panel);
  border: 1px solid var(--d1-line);
}
.d1-websites-page.d1-composition-profile--editorial .d1-rich-content__inner {
  max-width: 70ch;
  margin-inline: 0 auto;
}
.d1-websites-page.d1-composition-profile--editorial .d1-service-grid__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--d1-line);
}
.d1-websites-page.d1-composition-profile--editorial .d1-service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  grid-column: auto;
  gap: 0.75rem 2rem;
  min-height: 0;
  padding: 2rem 0;
  border: 0;
  border-bottom: 1px solid var(--d1-line);
  box-shadow: none;
  background: transparent;
}
.d1-websites-page.d1-composition-profile--editorial .d1-service-card::before { content: none; }
.d1-websites-page.d1-composition-profile--editorial .d1-service-card__meta {
  grid-column: 1 / -1;
  margin: 0;
}
.d1-websites-page.d1-composition-profile--editorial .d1-service-card__title { margin: 0; }
.d1-websites-page.d1-composition-profile--editorial .d1-service-card__action { grid-column: 2; margin-top: 0.5rem; }
.d1-websites-page.d1-composition-profile--editorial .d1-reviews-grid__items {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.d1-websites-page.d1-composition-profile--editorial .d1-review-card {
  padding: 2rem 0;
  border: 0;
  border-bottom: 1px solid var(--d1-line);
  background: transparent;
}
.d1-websites-page.d1-composition-profile--editorial .d1-review-card__quote { max-width: 56ch; }

/* Authority — denser institutional grid and evidence-first hierarchy. */
.d1-websites-page.d1-composition-profile--authority .d1-page-hero {
  padding-top: clamp(66px, 7vw, 90px);
  padding-bottom: clamp(58px, 6vw, 78px);
}

.d1-websites-page.d1-composition-profile--authority .d1-page-hero .dig-hero__content {
  max-width: 840px;
}

.d1-websites-page.d1-composition-profile--authority .d1-page-hero .dig-hero-title {
  max-width: 840px;
  font-size: clamp(50px, 5.6vw, 76px);
  line-height: 0.99;
}

.d1-websites-page.d1-composition-profile--authority main > .d1-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0 0 clamp(72px, 8vw, 94px);
  border-top: 1px solid var(--d1-line);
  border-bottom: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--authority main > .d1-grid > .d1-card {
  padding: 30px clamp(22px, 3vw, 34px) 34px;
  border-left: 1px solid var(--d1-line);
  border-radius: 0;
}

.d1-websites-page.d1-composition-profile--authority main > .d1-grid > .d1-card:first-child {
  border-left: 0;
}

.d1-websites-page.d1-composition-profile--authority main > .d1-page-services,
.d1-websites-page.d1-composition-profile--authority main > .d1-page-reviews {
  padding-block: clamp(54px, 6vw, 78px);
  border-bottom: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--authority .d1-statement {
  padding-block: clamp(54px, 6vw, 76px);
}

.d1-websites-page.d1-composition-profile--authority .d1-statement p {
  max-width: 860px;
  font-size: clamp(30px, 4.5vw, 50px);
}

/* Conversion — compressed path to offer, proof and action. */
.d1-websites-page.d1-composition-profile--conversion .d1-page-hero {
  padding-top: clamp(58px, 6vw, 80px);
  padding-bottom: clamp(52px, 5vw, 70px);
}

.d1-websites-page.d1-composition-profile--conversion .d1-page-hero .dig-hero__content {
  max-width: 820px;
}

.d1-websites-page.d1-composition-profile--conversion .d1-page-hero .dig-hero-title {
  max-width: 800px;
  font-size: clamp(52px, 5.9vw, 80px);
  line-height: 0.96;
}

.d1-websites-page.d1-composition-profile--conversion .d1-page-hero .dig-hero-actions {
  margin-top: 26px;
}

.d1-websites-page.d1-composition-profile--conversion .d1-page-hero .dig-hero-actions .dig-btn:first-child {
  min-width: min(100%, 220px);
}

.d1-websites-page.d1-composition-profile--conversion main > .d1-page-services {
  padding-block: clamp(46px, 5vw, 66px);
  border-top: 1px solid var(--d1-line);
  border-bottom: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--conversion main > .d1-page-reviews {
  padding-block: clamp(40px, 4.5vw, 58px);
  border-bottom: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--conversion main > .d1-grid {
  gap: 12px;
  padding: clamp(42px, 5vw, 62px) 0 clamp(60px, 6vw, 78px);
}

.d1-websites-page.d1-composition-profile--conversion main > .d1-grid > .d1-card {
  padding: 22px;
  border: 1px solid var(--d1-line);
  border-radius: 6px;
}

.d1-websites-page.d1-composition-profile--conversion .d1-statement {
  padding-block: clamp(46px, 5vw, 64px);
}

.d1-websites-page.d1-composition-profile--conversion .d1-statement p {
  max-width: 820px;
  font-size: clamp(30px, 4vw, 46px);
}

/* Visual Showcase — immersive existing media, broad panels and bold proof. */
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero {
  padding-top: clamp(94px, 10vw, 132px);
  padding-bottom: clamp(84px, 9vw, 116px);
}

.d1-websites-page.d1-composition-profile--showcase .d1-page-hero .dig-hero__content {
  max-width: 900px;
}

.d1-websites-page.d1-composition-profile--showcase .d1-page-hero .dig-hero-title {
  max-width: 900px;
  font-size: clamp(60px, 7.2vw, 100px);
  line-height: 0.93;
}

.d1-websites-page.d1-composition-profile--showcase main > .d1-page-services,
.d1-websites-page.d1-composition-profile--showcase main > .d1-page-reviews {
  padding-block: clamp(82px, 9vw, 118px);
  border-top: 1px solid var(--d1-line);
}

.d1-websites-page.d1-composition-profile--showcase main > .d1-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(76px, 8vw, 104px) 0 clamp(92px, 10vw, 128px);
}

.d1-websites-page.d1-composition-profile--showcase main > .d1-grid > .d1-card {
  min-height: 220px;
  padding: clamp(28px, 3.2vw, 38px);
  border: 1px solid var(--d1-line);
  border-radius: var(--d1-page-card-radius, 0);
}

.d1-websites-page.d1-composition-profile--showcase .d1-statement {
  padding-block: clamp(82px, 9vw, 118px);
  background: var(--dig-surface-panel);
  text-align: center;
  border-top: 3px solid var(--d1-accent);
}

.d1-websites-page.d1-composition-profile--showcase .d1-statement :is(p, .d1-statement__text) {
  max-width: 1040px;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.04;
  margin-inline: auto;
}

/* Portraits retain their intrinsic proportions in the immersive composition.
 * The content panel overlaps the media region rather than reserving an empty
 * absolute frame whose height is determined by the text. */
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.15fr) minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  gap: 0;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
  position: relative;
  inset: auto;
  grid-column: 2 / 4;
  grid-row: 1;
  align-self: center;
  aspect-ratio: auto;
  width: 100%;
  height: auto;
  margin: 0;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media-image {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 32rem;
  margin-inline-start: auto;
  object-fit: contain;
  object-position: right center;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media::after {
  content: none;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__content {
  grid-column: 1 / 3;
  grid-row: 1;
  width: auto;
}

.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed {
  min-height: 0;
  padding: clamp(1rem, 2%, 1.5rem);
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__container {
  min-height: clamp(22rem, 45svh, 32rem);
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content {
  container-type: inline-size;
  width: min(100%, 40rem);
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: clamp(1.25rem, 3%, 2rem);
  background: var(--dig-surface-panel);
  color: var(--d1-text);
  border-top: 3px solid var(--d1-accent);
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content::before { content: none; }
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide .dig-hero-title {
  max-width: 15ch;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content .dig-hero-title {
  max-width: none;
  font-size: 2.75rem;
  font-size: clamp(2rem, 9cqi, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-size: clamp(1rem, 3.5cqi, 1.25rem);
  line-height: 1.45;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero-actions {
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__content {
    grid-column: 1;
    grid-row: 1;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
    grid-column: 1;
    grid-row: 2;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media-image {
    margin-inline: auto;
  }
}
/* With no image, the same profile has a deliberate typographic stage. */
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide:not(.dig-hero--has-media) {
  min-height: 30rem;
  display: grid;
  align-content: center;
  background: var(--dig-surface-panel);
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide:not(.dig-hero--has-media) .dig-hero__content {
  align-items: center;
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 4rem);
  text-align: center;
}
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide:not(.dig-hero--has-media) .dig-hero__content::before { content: none; }
.d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide:not(.dig-hero--has-media) :is(.dig-hero-title, .dig-hero-subtitle) { text-align: center; }
.d1-websites-page.d1-composition-profile--showcase .d1-service-grid__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.d1-websites-page.d1-composition-profile--showcase .d1-service-card {
  grid-column: auto;
  min-height: 22rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: none;
  background: var(--dig-surface-panel);
}
.d1-websites-page.d1-composition-profile--showcase .d1-service-card:only-child { grid-column: 1 / -1; }
/* Count-specific JIT rules must not reintroduce six-column placement. */
.d1-websites-page:is(.d1-composition-profile--editorial, .d1-composition-profile--showcase) .d1-service-grid__grid > .d1-service-card { grid-column: auto; }
.d1-websites-page.d1-composition-profile--showcase .d1-service-grid__grid > .d1-service-card:only-child { grid-column: 1 / -1; }
.d1-websites-page.d1-composition-profile--showcase .d1-service-card__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 20ch;
}
.d1-websites-page.d1-composition-profile--showcase .d1-reviews-grid__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.d1-websites-page.d1-composition-profile--showcase .d1-review-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 18rem;
}
.d1-websites-page.d1-composition-profile--showcase .d1-review-card__quote p {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.45;
}

/* Responsive convergence: profiles remain distinct without fighting mobile UX. */
@media (max-width: 992px) {
  .d1-websites-page.d1-composition-profile--editorial main > .d1-grid,
  .d1-websites-page.d1-composition-profile--authority main > .d1-grid,
  .d1-websites-page.d1-composition-profile--showcase main > .d1-grid {
    grid-template-columns: 1fr;
  }

  .d1-websites-page.d1-composition-profile--authority main > .d1-grid > .d1-card {
    border-top: 1px solid var(--d1-line);
    border-left: 0;
  }

  .d1-websites-page.d1-composition-profile--authority main > .d1-grid > .d1-card:first-child {
    border-top: 0;
  }

  .d1-websites-page.d1-composition-profile--editorial .d1-page-hero,
  .d1-websites-page.d1-composition-profile--authority .d1-page-hero,
  .d1-websites-page.d1-composition-profile--conversion .d1-page-hero,
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero {
    padding-top: 58px;
    padding-bottom: 56px;
  }
}

@media (max-width: 576px) {
  .d1-websites-page.d1-composition-profile--editorial main > .d1-page-services,
  .d1-websites-page.d1-composition-profile--editorial main > .d1-page-reviews,
  .d1-websites-page.d1-composition-profile--authority main > .d1-page-services,
  .d1-websites-page.d1-composition-profile--authority main > .d1-page-reviews,
  .d1-websites-page.d1-composition-profile--conversion main > .d1-page-services,
  .d1-websites-page.d1-composition-profile--conversion main > .d1-page-reviews,
  .d1-websites-page.d1-composition-profile--showcase main > .d1-page-services,
  .d1-websites-page.d1-composition-profile--showcase main > .d1-page-reviews {
    padding-block: 44px;
  }

  .d1-websites-page.d1-composition-profile--showcase main > .d1-grid > .d1-card {
    min-height: 0;
  }
}

/* D1 Page governed corner-style overrides */
/* Auto intentionally emits no override: existing component/profile CSS remains SSOT. */
.d1-websites-page.d1-button-corners--square { --d1-page-button-radius: 0; }
.d1-websites-page.d1-button-corners--subtle { --d1-page-button-radius: var(--dig-radius-xs); }
.d1-websites-page.d1-button-corners--compact { --d1-page-button-radius: var(--dig-radius-sm); }
.d1-websites-page.d1-button-corners--soft { --d1-page-button-radius: var(--dig-radius-md); }
.d1-websites-page.d1-button-corners--rounded { --d1-page-button-radius: var(--dig-radius-lg); }
.d1-websites-page.d1-button-corners--pill { --d1-page-button-radius: var(--dig-radius-full); }

.d1-websites-page:not(.d1-composition-profile--showcase):not(.d1-button-corners--auto) .dig-btn {
  border-radius: var(--d1-page-button-radius) !important;
}

.d1-websites-page.d1-card-corners--square { --d1-page-card-radius: 0; }
.d1-websites-page.d1-card-corners--subtle { --d1-page-card-radius: var(--dig-radius-xs); }
.d1-websites-page.d1-card-corners--compact { --d1-page-card-radius: var(--dig-radius-sm); }
.d1-websites-page.d1-card-corners--soft { --d1-page-card-radius: var(--dig-radius-md); }
.d1-websites-page.d1-card-corners--rounded { --d1-page-card-radius: var(--dig-radius-lg); }

.d1-websites-page:not(.d1-composition-profile--showcase):not(.d1-card-corners--auto) :is(
  .d1-card,
  .d1-service-card,
  .d1-review-card,
  .dig-card,
  .dig-card-feature,
  .dig-card-universal
) {
  border-radius: var(--d1-page-card-radius) !important;
}

/* Showcase geometry follows the same page tokens. Auto is angular; explicit
 * canonical corner classes above remain authoritative. Other profiles retain
 * their existing cascade. These scoped rules need no important radius. */
.d1-websites-page.d1-composition-profile--showcase.d1-button-corners--auto {
  --d1-page-button-radius: 0;
}
.d1-websites-page.d1-composition-profile--showcase.d1-card-corners--auto {
  --d1-page-card-radius: 0;
}
.d1-websites-page.d1-composition-profile--showcase .dig-btn {
  border-radius: var(--d1-page-button-radius, 0);
}
.d1-websites-page.d1-composition-profile--showcase :is(.d1-card, .d1-service-card, .d1-review-card, .dig-card, .dig-card-feature, .dig-card-universal, .dig-hero__content, .dig-hero__media, .d1-statement) {
  border-radius: var(--d1-page-card-radius, 0);
}
.d1-websites-page.d1-composition-profile--showcase .d1-service-card__icon {
  border-radius: var(--d1-page-card-radius, 0);
}
.d1-websites-page.d1-composition-profile--showcase .d1-card h2 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}

/* D1 governed primary-menu corner style */
/* Auto emits no override and preserves the existing 10px / 7px submenu geometry. */
.d1-nav-links.d1-menu-corners--square {
  --d1-menu-surface-radius: 0;
  --d1-menu-item-radius: 0;
}
.d1-nav-links.d1-menu-corners--subtle {
  --d1-menu-surface-radius: var(--dig-radius-xs);
  --d1-menu-item-radius: 0;
}
.d1-nav-links.d1-menu-corners--compact {
  --d1-menu-surface-radius: var(--dig-radius-sm);
  --d1-menu-item-radius: var(--dig-radius-xs);
}
.d1-nav-links.d1-menu-corners--soft {
  --d1-menu-surface-radius: var(--dig-radius-md);
  --d1-menu-item-radius: var(--dig-radius-sm);
}
.d1-nav-links.d1-menu-corners--rounded {
  --d1-menu-surface-radius: var(--dig-radius-lg);
  --d1-menu-item-radius: var(--dig-radius-md);
}

.d1-nav-links:not(.d1-menu-corners--auto) .sub-menu {
  border-radius: var(--d1-menu-surface-radius) !important;
}

.d1-nav-links:not(.d1-menu-corners--auto) .sub-menu a {
  border-radius: var(--d1-menu-item-radius) !important;
}

/* D1 governed primary-menu presentation controls */
/* Shadow: none is the sober default; elevated reproduces the previous menu. */
.d1-nav-links.d1-menu-shadow--none .sub-menu {
  box-shadow: none !important;
}
.d1-nav-links.d1-menu-shadow--subtle .sub-menu {
  box-shadow: 0 4px 14px
    color-mix(in srgb, var(--d1-brand-primary) 7%, transparent) !important;
}
.d1-nav-links.d1-menu-shadow--soft .sub-menu {
  box-shadow: 0 10px 26px
    color-mix(in srgb, var(--d1-brand-primary) 11%, transparent) !important;
}
.d1-nav-links.d1-menu-shadow--elevated .sub-menu {
  box-shadow: 0 18px 42px
    color-mix(in srgb, var(--d1-brand-primary) 16%, transparent) !important;
}

/* Parent/child label case. Stored labels remain untouched. */
.d1-nav-links.d1-menu-parent-case--capitalize > ul > li > a,
.d1-nav-links.d1-menu-parent-case--capitalize > .d1-nav-list > li > a {
  text-transform: capitalize;
}
.d1-nav-links.d1-menu-parent-case--uppercase > ul > li > a,
.d1-nav-links.d1-menu-parent-case--uppercase > .d1-nav-list > li > a {
  text-transform: uppercase;
}
.d1-nav-links.d1-menu-child-case--capitalize .sub-menu a {
  text-transform: capitalize;
}
.d1-nav-links.d1-menu-child-case--uppercase .sub-menu a {
  text-transform: uppercase;
}

/* Branding roles. Auto emits no override. */
.d1-nav-links.d1-menu-parent-color--text > ul > li > a,
.d1-nav-links.d1-menu-parent-color--text > .d1-nav-list > li > a {
  color: var(--d1-text);
}
.d1-nav-links.d1-menu-parent-color--muted > ul > li > a,
.d1-nav-links.d1-menu-parent-color--muted > .d1-nav-list > li > a {
  color: var(--d1-muted);
}
.d1-nav-links.d1-menu-parent-color--primary > ul > li > a,
.d1-nav-links.d1-menu-parent-color--primary > .d1-nav-list > li > a {
  color: var(--d1-brand-primary);
}
.d1-nav-links.d1-menu-parent-color--secondary > ul > li > a,
.d1-nav-links.d1-menu-parent-color--secondary > .d1-nav-list > li > a {
  color: var(--d1-brand-secondary);
}
.d1-nav-links.d1-menu-parent-color--accent > ul > li > a,
.d1-nav-links.d1-menu-parent-color--accent > .d1-nav-list > li > a {
  color: var(--d1-accent);
}

.d1-nav-links.d1-menu-child-color--text .sub-menu a {
  color: var(--d1-text);
}
.d1-nav-links.d1-menu-child-color--muted .sub-menu a {
  color: var(--d1-muted);
}
.d1-nav-links.d1-menu-child-color--primary .sub-menu a {
  color: var(--d1-brand-primary);
}
.d1-nav-links.d1-menu-child-color--secondary .sub-menu a {
  color: var(--d1-brand-secondary);
}
.d1-nav-links.d1-menu-child-color--accent .sub-menu a {
  color: var(--d1-accent);
}

/* D1 governed primary-menu surface and interaction roles */
/* Dropdown surface. Auto preserves the canonical existing surface. */
.d1-nav-links.d1-menu-surface--surface .sub-menu {
  background: var(--dig-surface-panel) !important;
}
.d1-nav-links.d1-menu-surface--canvas .sub-menu {
  background: var(--dig-surface-page) !important;
}
.d1-nav-links.d1-menu-surface--primary_soft .sub-menu {
  background: var(--dig-color-primary-soft) !important;
}
.d1-nav-links.d1-menu-surface--secondary_soft .sub-menu {
  background: var(--dig-color-secondary-soft) !important;
}
.d1-nav-links.d1-menu-surface--accent_soft .sub-menu {
  background: color-mix(in srgb, var(--d1-accent) 10%, var(--dig-surface-panel)) !important;
}

/* Dropdown border. */
.d1-nav-links.d1-menu-border--none .sub-menu {
  border-color: transparent !important;
}
.d1-nav-links.d1-menu-border--text .sub-menu {
  border-color: var(--d1-text) !important;
}
.d1-nav-links.d1-menu-border--primary .sub-menu {
  border-color: var(--d1-brand-primary) !important;
}
.d1-nav-links.d1-menu-border--secondary .sub-menu {
  border-color: var(--d1-brand-secondary) !important;
}
.d1-nav-links.d1-menu-border--accent .sub-menu {
  border-color: var(--d1-accent) !important;
}

/* Shared state selectors: hover, keyboard focus and active/current. */
.d1-nav-links.d1-menu-parent-hover-color--text > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-color--text > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-color--text > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-color--text > ul > li > a.is-active {
  color: var(--d1-text);
}
.d1-nav-links.d1-menu-parent-hover-color--muted > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-color--muted > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-color--muted > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-color--muted > ul > li > a.is-active {
  color: var(--d1-muted);
}
.d1-nav-links.d1-menu-parent-hover-color--primary > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-color--primary > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-color--primary > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-color--primary > ul > li > a.is-active {
  color: var(--d1-brand-primary);
}
.d1-nav-links.d1-menu-parent-hover-color--secondary > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-color--secondary > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-color--secondary > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-color--secondary > ul > li > a.is-active {
  color: var(--d1-brand-secondary);
}
.d1-nav-links.d1-menu-parent-hover-color--accent > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-color--accent > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-color--accent > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-color--accent > ul > li > a.is-active {
  color: var(--d1-accent);
}

.d1-nav-links.d1-menu-parent-hover-bg--none > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-bg--none > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-bg--none > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-bg--none > ul > li > a.is-active {
  background: transparent;
}
.d1-nav-links.d1-menu-parent-hover-bg--surface > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-bg--surface > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-bg--surface > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-bg--surface > ul > li > a.is-active {
  background: var(--dig-surface-panel);
}
.d1-nav-links.d1-menu-parent-hover-bg--primary_soft > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-bg--primary_soft > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-bg--primary_soft > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-bg--primary_soft > ul > li > a.is-active {
  background: var(--dig-color-primary-soft);
}
.d1-nav-links.d1-menu-parent-hover-bg--secondary_soft > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-bg--secondary_soft > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-bg--secondary_soft > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-bg--secondary_soft > ul > li > a.is-active {
  background: var(--dig-color-secondary-soft);
}
.d1-nav-links.d1-menu-parent-hover-bg--accent_soft > ul > li > a:hover,
.d1-nav-links.d1-menu-parent-hover-bg--accent_soft > ul > li > a:focus-visible,
.d1-nav-links.d1-menu-parent-hover-bg--accent_soft > ul > li > a[aria-current="page"],
.d1-nav-links.d1-menu-parent-hover-bg--accent_soft > ul > li > a.is-active {
  background: color-mix(in srgb, var(--d1-accent) 10%, transparent);
}

.d1-nav-links.d1-menu-child-hover-color--text .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-color--text .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-color--text .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-color--text .sub-menu a.is-active {
  color: var(--d1-text);
}
.d1-nav-links.d1-menu-child-hover-color--muted .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-color--muted .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-color--muted .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-color--muted .sub-menu a.is-active {
  color: var(--d1-muted);
}
.d1-nav-links.d1-menu-child-hover-color--primary .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-color--primary .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-color--primary .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-color--primary .sub-menu a.is-active {
  color: var(--d1-brand-primary);
}
.d1-nav-links.d1-menu-child-hover-color--secondary .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-color--secondary .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-color--secondary .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-color--secondary .sub-menu a.is-active {
  color: var(--d1-brand-secondary);
}
.d1-nav-links.d1-menu-child-hover-color--accent .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-color--accent .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-color--accent .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-color--accent .sub-menu a.is-active {
  color: var(--d1-accent);
}

.d1-nav-links.d1-menu-child-hover-bg--none .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-bg--none .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-bg--none .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-bg--none .sub-menu a.is-active {
  background: transparent !important;
}
.d1-nav-links.d1-menu-child-hover-bg--surface .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-bg--surface .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-bg--surface .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-bg--surface .sub-menu a.is-active {
  background: var(--dig-surface-panel) !important;
}
.d1-nav-links.d1-menu-child-hover-bg--primary_soft .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-bg--primary_soft .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-bg--primary_soft .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-bg--primary_soft .sub-menu a.is-active {
  background: var(--dig-color-primary-soft) !important;
}
.d1-nav-links.d1-menu-child-hover-bg--secondary_soft .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-bg--secondary_soft .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-bg--secondary_soft .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-bg--secondary_soft .sub-menu a.is-active {
  background: var(--dig-color-secondary-soft) !important;
}
.d1-nav-links.d1-menu-child-hover-bg--accent_soft .sub-menu a:hover,
.d1-nav-links.d1-menu-child-hover-bg--accent_soft .sub-menu a:focus-visible,
.d1-nav-links.d1-menu-child-hover-bg--accent_soft .sub-menu a[aria-current="page"],
.d1-nav-links.d1-menu-child-hover-bg--accent_soft .sub-menu a.is-active {
  background: color-mix(in srgb, var(--d1-accent) 10%, transparent) !important;
}

/* D1SEO B23 - governed 404 recovery presentation
 * System Pages owns copy and recovery configuration.
 * This layer owns only not_found presentation geometry.
 */
.d1-websites-page--not_found .d1-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: start;
  padding-top: clamp(52px, 6vw, 76px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.d1-websites-page--not_found .d1-hero > div {
  max-width: 760px;
}

.d1-websites-page--not_found h1 {
  max-width: 720px;
  margin-top: 16px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.1vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.d1-websites-page--not_found .d1-lead {
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
}

.d1-websites-page--not_found .d1-actions {
  margin-top: 24px;
}

.d1-websites-page--not_found .d1-page-services {
  padding-top: 0;
  padding-bottom: 32px;
}
.d1-websites-page--not_found .d1-service-grid {
  margin-top: clamp(12px, 1.5vw, 20px);
}

.d1-websites-page--not_found .d1-statement {
  margin-top: 0;
  padding: 24px 0 20px;
  border-top: 1px solid var(--d1-line);
  border-bottom: 0;
}

.d1-websites-page--not_found .d1-statement p {
  max-width: 680px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--d1-muted);
}

@media (max-width: 992px) {
  .d1-websites-page--not_found .d1-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .d1-websites-page--not_found h1 {
    font-size: clamp(44px, 11vw, 64px);
  }
}

@media (max-width: 620px) {
  .d1-websites-page--not_found .d1-hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .d1-websites-page--not_found h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 12.5vw, 54px);
  }

  .d1-websites-page--not_found .d1-statement {
    padding: 26px 0 30px;
  }
}

/* D1 Brokerage identity system.
 * Site Information owns the data.
 * Footer placement is contact-adjacent; header placement is opt-in.
 */
.d1-brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  min-width: 0;
}

.d1-brokerage-lockup {
  min-width: 0;
  color: var(--d1-text);
}

.d1-brokerage-lockup--header {
  display: inline-flex;
  align-items: center;
  padding-right: clamp(10px, 1.2vw, 16px);
  border-right: 1px solid var(--d1-line);
}

.d1-brokerage-lockup__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(170px, 24vw);
  max-height: 34px;
  object-fit: contain;
}

.d1-brokerage-lockup__name {
  max-width: 180px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.d1-footer__brokerage {
  display: grid;
  gap: 7px;
  max-width: 260px;
  padding-bottom: var(--dig-spacing-xs);
  border-bottom: 1px solid var(--d1-line);
}

.d1-footer__brokerage-label {
  color: var(--d1-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.d1-footer__brokerage-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(190px, 100%);
  max-height: 40px;
  object-fit: contain;
}

.d1-footer__brokerage-name {
  color: var(--d1-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .d1-brand-cluster {
    gap: 8px;
  }

  .d1-brokerage-lockup--header {
    padding-right: 8px;
  }

  .d1-brokerage-lockup__logo {
    max-width: 118px;
    max-height: 28px;
  }

  .d1-brokerage-lockup__name {
    max-width: 120px;
    font-size: 10px;
  }
}
/* Licensed identity artwork stays adjacent to contact information. */
.d1-footer__compliance-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--dig-spacing-sm, 12px);
  margin-top: var(--dig-spacing-xs, 8px);
}
.d1-footer__compliance-mark {
  display: block;
  width: auto;
  height: auto;
  max-width: 94px;
  max-height: 30px;
  object-fit: contain;
}


/* ==========================================================================
 * D1 Website Builder B4: Opt-in page-level Hero composition geometry.
 *
 * One canonical d1:hero renderer remains the owner of semantic media
 * treatments. These finite, page-specific classes adjust text geometry only.
 * No class is added for auto, preserving all previously published Pages.
 * Tokens are inherited from Branding; no client-specific colors or JS.
 * ========================================================================== */

/* Centered Focus: centered hierarchy and intentional, centered CTAs. */
.d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero__content {
  max-width: 820px;
  margin-inline: auto;
  padding-inline: clamp(22px, 3vw, 42px);
  text-align: center;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero__content::before {
  top: 0;
  left: 50%;
  width: 56px;
  height: 2px;
  transform: translateX(-50%);
}
.d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero-title,
.d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero-subtitle {
  margin-inline: auto;
  text-align: center;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero-actions {
  justify-content: center;
}

/* Editorial Narrow: purposeful left-aligned reading measure. */
.d1-websites-page .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero__content {
  max-width: 660px;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero-title {
  max-width: 620px;
  font-size: clamp(44px, 5.3vw, 74px);
  line-height: 1.01;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero-subtitle {
  max-width: 560px;
}

/* Wide Statement: stronger typographic scale with a broad stage. */
.d1-websites-page .d1-page-hero.d1-hero-layout--wide .dig-hero__content {
  max-width: 1120px;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--wide .dig-hero-title {
  max-width: 1060px;
  font-size: clamp(56px, 7.5vw, 108px);
  line-height: 0.95;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--wide .dig-hero-subtitle {
  max-width: 820px;
}

/* Compact Direct: a shorter decision path, not merely smaller corners. */
.d1-websites-page .dig-hero.d1-page-hero.d1-hero-layout--compact {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 68px);
}
.d1-websites-page .d1-page-hero.d1-hero-layout--compact .dig-hero__content {
  max-width: 820px;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--compact .dig-hero-title {
  max-width: 800px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--compact .dig-hero-subtitle {
  margin-top: 18px;
}
.d1-websites-page .d1-page-hero.d1-hero-layout--compact .dig-hero-actions {
  margin-top: 22px;
}

@media (max-width: 767px) {
  .d1-websites-page .d1-page-hero.d1-hero-layout--centered .dig-hero__content {
    padding-inline: 18px;
  }
  .d1-websites-page .d1-page-hero.d1-hero-layout--wide .dig-hero-title {
    font-size: clamp(40px, 10vw, 60px);
  }
  .d1-websites-page .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero-title {
    font-size: clamp(38px, 9.5vw, 56px);
  }
  /* B28: preserve each composition's silhouette and reading rhythm on mobile. */
  .d1-websites-page.d1-composition-profile--editorial .d1-page-hero.dig-hero--editorial .dig-hero__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .d1-websites-page.d1-composition-profile--editorial .d1-page-hero.dig-hero--editorial .dig-hero__media {
    aspect-ratio: 4 / 3;
    width: 85%;
    margin-top: 0;
    justify-self: end;
  }
  .d1-websites-page.d1-composition-profile--editorial .d1-service-card { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .d1-websites-page.d1-composition-profile--editorial .d1-service-card__action { grid-column: 1; }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed {
    min-height: 0;
    padding: 1rem;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__container { min-height: 0; }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content { padding: 1.25rem; }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content .dig-hero-title {
    font-size: 2.25rem;
    font-size: clamp(2rem, 9cqi, 2.75rem);
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__container {
    min-height: 0;
    padding-top: 0;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
    height: auto;
  }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media-image { object-position: center top; }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__content { width: 100%; }
  .d1-websites-page.d1-composition-profile--editorial .d1-statement :is(p, .d1-statement__text) { font-size: clamp(1.5rem, 7vw, 2.125rem); }
  .d1-websites-page.d1-composition-profile--showcase .d1-statement :is(p, .d1-statement__text) { font-size: clamp(1.875rem, 8vw, 2.75rem); }
  .d1-websites-page.d1-composition-profile--showcase .d1-page-hero.d1-hero-layout--wide .dig-hero-title { font-size: clamp(2.75rem, 11vw, 4.5rem); }
  .d1-websites-page.d1-composition-profile--editorial .d1-page-hero.d1-hero-layout--editorial_narrow .dig-hero-title { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .d1-websites-page.d1-composition-profile--showcase .d1-service-grid__grid,
  .d1-websites-page.d1-composition-profile--showcase .d1-reviews-grid__items { grid-template-columns: minmax(0, 1fr); }
  .d1-websites-page.d1-composition-profile--showcase .d1-service-card { min-height: 18rem; }
}

/* B29R: one transition per adjacent canonical Page section. */
/* An answer is nested content, not another page section. The shell's unlayered
 * rich-content rules must not add a second transition inside native details. */
.d1-websites-page .dig-faq__answer > .d1-rich-content {
  margin: 0;
  padding: 0;
  border: 0;
}
/* The page owns outer rhythm; component and card interiors retain their styles.
 * Each edge contributes half the section gap. Only the incoming section draws
 * a divider. Statement closes the composition without framing it in two lines. */
.d1-websites-page:is(.d1-composition-profile--balanced, .d1-composition-profile--editorial, .d1-composition-profile--authority, .d1-composition-profile--conversion, .d1-composition-profile--showcase) main > :is(.d1-page-services, .d1-page-reviews, .d1-rich-content, .d1-grid, .dig-editorial-feature, .dig-faq) {
  margin-block: 0;
  padding-block: clamp(24px, 4vw, 48px);
  border-block: 0;
}

.d1-websites-page:is(.d1-composition-profile--balanced, .d1-composition-profile--editorial, .d1-composition-profile--authority, .d1-composition-profile--conversion, .d1-composition-profile--showcase) main > :is(.d1-page-services, .d1-page-reviews, .d1-rich-content, .d1-grid, .dig-editorial-feature, .dig-faq) + :is(.d1-page-services, .d1-page-reviews, .d1-rich-content, .d1-grid, .dig-editorial-feature, .dig-faq) {
  border-top: 1px solid var(--d1-line);
}

.d1-websites-page:is(.d1-composition-profile--balanced, .d1-composition-profile--editorial, .d1-composition-profile--authority, .d1-composition-profile--conversion, .d1-composition-profile--showcase) main > .d1-page-reviews > .d1-reviews-grid {
  padding-block: 0;
  border-top: 0;
}

.d1-websites-page:is(.d1-composition-profile--balanced, .d1-composition-profile--editorial, .d1-composition-profile--authority, .d1-composition-profile--conversion, .d1-composition-profile--showcase) main > .d1-page-services > .d1-service-grid {
  margin-top: 0;
}

.d1-websites-page:is(.d1-composition-profile--balanced, .d1-composition-profile--editorial, .d1-composition-profile--authority, .d1-composition-profile--conversion, .d1-composition-profile--showcase) main > .d1-statement {
  padding-block: clamp(32px, 5vw, 64px);
  border-block: 0;
}

/* Home: modest polish of the existing Showcase full-bleed treatment. */
.d1-websites-page.d1-websites-page--home.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content {
  border-top-width: 1px;
}

.d1-websites-page.d1-websites-page--home.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content .dig-hero-title {
  font-size: clamp(2rem, 8.5cqi, 3.75rem);
}

@media (max-width: 767px) {
  .d1-websites-page.d1-websites-page--home.d1-composition-profile--showcase .d1-page-hero.dig-hero--full_bleed .dig-hero__content .dig-hero-title {
    font-size: clamp(2rem, 8.5cqi, 2.625rem);
  }
}
/* Services use the shared Hero inside the existing shell. The shell owns the
   horizontal gutter; each incoming section owns its single transition border. */
.d1-websites-page--service .d1-service-hero {
  padding-block: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3vw, 3rem);
  background: transparent;
  border: 0;
}

.d1-websites-page--service .d1-service-hero .dig-hero__container {
  width: 100%;
  margin-inline: 0;
  gap: clamp(1.5rem, 3vw, 3rem);
}

/* Unlayered Site type otherwise overrides the component layer, even on mobile. */
.d1-websites-page--service .d1-service-hero .dig-hero-title {
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  color: var(--d1-text);
  line-height: var(--dig-line-height-tight);
  overflow-wrap: anywhere;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed .dig-hero-title {
  color: inherit;
}

.d1-websites-page--service .d1-service-hero.dig-hero--editorial .dig-hero__media {
  align-self: center;
}

/* Split presents the complete photograph at its intrinsic ratio. A fixed
   portrait frame can outgrow an in-flow image whose percentage height is auto. */
.d1-websites-page--service .d1-service-hero.dig-hero--split .dig-hero__media {
  aspect-ratio: auto;
}

.d1-websites-page--service .d1-service-hero.dig-hero--split .dig-hero__media-image {
  height: auto;
}

/* One minimum belongs to the stage, never both the stage and its padded root. */
.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed {
  min-height: 0;
  padding: 0;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed .dig-hero__container {
  min-height: clamp(22rem, 45svh, 32rem);
}

/* Reuse the existing portrait role: a full photograph in flow, with overlapping
   content, instead of stretching a vertical attachment across a landscape stage. */
.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.2fr) minmax(0, 1fr);
  min-height: 0;
  gap: 0;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__content {
  grid-column: 1 / 3;
  grid-row: 1;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
  position: relative;
  inset: auto;
  grid-column: 2 / 4;
  grid-row: 1;
  justify-self: end;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media-image {
  position: static;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 32rem;
  object-fit: contain;
}

.d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media::after {
  content: none;
}

.d1-service-page > .d1-rich-content,
.d1-service-page > .d1-service-related {
  margin-block: 0;
  padding-block: clamp(1.5rem, 3vw, 3rem);
  border: 0;
}

.d1-service-page > * + .d1-rich-content,
.d1-service-page > * + .d1-service-related {
  border-top: 1px solid var(--dig-color-border);
}

.d1-service-page > .d1-service-related {
  background: transparent;
}

.d1-service-page .d1-service-related .dig-context-strip__message {
  max-width: 48rem;
  margin-inline: 0;
  color: var(--dig-color-text);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: var(--dig-line-height-body);
  text-align: left;
}

.d1-service-page > .dig-cta-strip .dig-cta-strip__inner {
  padding-block: clamp(2rem, 4vw, 4rem);
}

@media (max-width: 992px) {
  .d1-websites-page--service .d1-service-hero.dig-hero--portrait .dig-hero__media {
    width: min(100%, 28rem);
    aspect-ratio: 4 / 5;
  }

  .d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__container {
    grid-template-columns: minmax(0, 1fr);
  }

  .d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__content,
  .d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
    grid-column: 1;
    grid-row: auto;
  }

  .d1-websites-page--service .d1-service-hero.dig-hero--full_bleed.d1-hero-media--portrait .dig-hero__media {
    justify-self: center;
  }
}

/* Explicit Service presentation. The shared components and legacy page keep
   their own defaults; this context owns the editorial reading hierarchy. */
.d1-websites-page--service.d1-service-presentation--editorial .d1-service-hero:not(.dig-hero--full_bleed) {
  padding-block: clamp(1.75rem, 3vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-hero:not(.dig-hero--has-media) .dig-hero__content {
  max-width: 68ch;
  margin-inline: 0;
  align-items: flex-start;
  text-align: left;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-hero .dig-hero-title {
  max-width: 22ch;
  font-size: clamp(2rem, calc(1.5rem + 1.8vw), 3.5rem);
  line-height: 1.12;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-page > .d1-rich-content {
  padding-block: clamp(1.25rem, 2.5vw, 2.5rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner {
  max-width: 68ch;
  line-height: 1.72;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner :is(h2, h3, h4, h5, h6) {
  margin-block: clamp(1.5rem, 2.5vw, 2.25rem) 0.65rem;
  line-height: 1.25;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner h2 {
  font-size: clamp(1.5rem, calc(1.25rem + 0.65vw), 2.125rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner h3 {
  font-size: clamp(1.25rem, calc(1.125rem + 0.3vw), 1.625rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner h4 {
  font-size: clamp(1.125rem, calc(1.05rem + 0.2vw), 1.375rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner h5 {
  font-size: clamp(1rem, calc(0.98rem + 0.12vw), 1.125rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner h6 {
  font-size: clamp(1rem, calc(0.98rem + 0.1vw), 1.0625rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner > :is(p, ul, ol, blockquote, table) {
  margin-bottom: 1em;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner > :first-child {
  margin-top: 0;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner > :last-child {
  margin-bottom: 0;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-related > .dig-container {
  width: 100%;
  margin-inline: 0;
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-related .dig-context-strip__message {
  max-width: 68ch;
  font-size: clamp(1.125rem, calc(1rem + 0.5vw), 1.5rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .d1-service-related:has(+ .dig-cta-strip) {
  padding-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .dig-cta-strip .dig-cta-strip__inner {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.d1-websites-page--service.d1-service-presentation--editorial .dig-cta-strip .dig-cta-strip__title {
  max-width: 34ch;
  font-size: clamp(1.375rem, calc(1.15rem + 0.75vw), 2rem);
  line-height: 1.25;
}

/* Let the existing table scroller absorb long cells instead of shrinking
   labels into individual characters through inherited overflow-wrap:anywhere. */
.d1-websites-page--service.d1-service-presentation--editorial .d1-rich-content__inner :is(th, td) {
  overflow-wrap: normal;
  word-break: normal;
}

/* Services owns this reading context; universal Process Steps and Pages retain their defaults. */
.d1-websites-page--service .d1-service-process { border-top: 1px solid var(--dig-color-border); }
.d1-websites-page--service .d1-service-process .dig-process-steps { padding-block: clamp(1.5rem, 3vw, 3rem); border: 0; background: transparent; }
.d1-websites-page--service .d1-service-process .dig-process-steps > .dig-container { width: 100%; max-width: none; padding-inline: 0; }
.d1-websites-page--service .d1-service-process .dig-process-steps__header { grid-template-columns: 1fr; gap: var(--dig-spacing-md); max-width: 68ch; margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.d1-websites-page--service .d1-service-process :is(.dig-process-steps__eyebrow, .dig-process-steps__title, .dig-process-steps__intro) { grid-column: 1; }
.d1-websites-page--service .d1-service-process .dig-process-steps__title { font-size: clamp(1.5rem, calc(1.25rem + 0.65vw), 2.125rem); }
.d1-websites-page--service .d1-service-process .dig-process-steps__intro { margin: 0; }
.d1-websites-page--service .d1-service-process .dig-process-steps__pipeline { grid-template-columns: 1fr; max-width: 68ch; width: 100%; border: 0; justify-self: start; }
.d1-websites-page--service .d1-service-process .dig-process-step { grid-template-columns: 3rem minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
.d1-websites-page--service .d1-service-process .dig-process-step:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--dig-color-border-subtle); }
.d1-websites-page--service .d1-service-process .dig-process-step__rail { min-height: 0; align-items: flex-start; justify-content: center; padding: 1.5rem 0; }
.d1-websites-page--service .d1-service-process .dig-process-step__rail::after { top: 0; bottom: 0; right: auto; left: 50%; width: 1px; height: auto; }
.d1-websites-page--service .d1-service-process .dig-process-step:first-child .dig-process-step__rail::after { top: 1.5rem; left: 50%; }
.d1-websites-page--service .d1-service-process .dig-process-step:last-child .dig-process-step__rail::after { bottom: calc(100% - 3rem); right: auto; }
.d1-websites-page--service .d1-service-process .dig-process-step__content { padding: 1.5rem 0 1.5rem var(--dig-spacing-md); }
.d1-websites-page--service .d1-service-process .dig-process-step__title { max-width: none; font-size: clamp(1.125rem, calc(1.05rem + 0.3vw), 1.375rem); margin-bottom: 0.65rem; }
.d1-websites-page--service .d1-service-process .dig-process-step__text { max-width: 65ch; overflow-wrap: anywhere; }

/* Structured Service Experience. Shared components and other presentations retain their contracts. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-page { container-type: inline-size; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero {
  background: var(--dig-color-primary);
  color: var(--dig-color-on-primary);
  margin: 0;
  border: 0;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero__container { padding: 0; width: 100%; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero:not(.dig-hero--has-media) .dig-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 1.5rem;
  max-width: none;
  align-items: start;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-eyebrow {
  grid-column: 1 / -1; margin: 0 0 1rem; width: auto;
  color: inherit; border: 0; letter-spacing: .1em;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-eyebrow::before { content: none; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-title {
  grid-column: 1; grid-row: 2 / 4;
  margin: 0; width: auto; max-width: 15ch;
  font-size: clamp(2.5rem, calc(1.2rem + 4cqi), 5rem);
  font-weight: 600; line-height: 1.04; letter-spacing: -.045em;
  color: inherit; text-wrap: balance;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-subtitle {
  grid-column: 2; grid-row: 2; margin: 0; width: auto; max-width: 36ch;
  font-size: clamp(1.0625rem, calc(.95rem + .4cqi), 1.25rem);
  color: inherit; line-height: 1.6; text-align: left;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-actions {
  grid-column: 2; grid-row: 3; margin: 0; justify-content: flex-start;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-btn--primary {
  background: var(--dig-color-on-primary); border-color: var(--dig-color-on-primary);
  color: var(--dig-color-primary); border-radius: var(--dig-radius-sm);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-btn--primary:hover {
  background: color-mix(in srgb, var(--dig-color-on-primary) 90%, var(--dig-color-primary));
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-btn:focus-visible {
  outline: 2px solid var(--dig-color-on-primary); outline-offset: 4px;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content {
  border: 0; margin: 0; padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner {
  max-width: none; display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  font-size: clamp(1rem, calc(.96rem + .16cqi), 1.125rem);
  line-height: 1.8;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner > * { grid-column: 2; max-width: 65ch; min-width: 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner > h2 {
  grid-column: 1; max-width: 21ch; margin: 0;
  font-size: clamp(1.375rem, calc(1.1rem + .7cqi), 1.875rem);
  line-height: 1.22; font-weight: 600;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner h3 { font-size: clamp(1.2rem, calc(1.05rem + .4cqi), 1.5rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner h4 { font-size: clamp(1.1rem, calc(1rem + .25cqi), 1.3rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner h5 { font-size: clamp(1rem, calc(.95rem + .2cqi), 1.15rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner h6 { font-size: clamp(.95rem, calc(.9rem + .15cqi), 1.05rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process {
  border: 0; background: var(--dig-color-bg-alt);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps { padding: 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps__header {
  padding: 0; display: block; max-width: 64ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-process-steps__eyebrow { margin-bottom: 1rem; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-process-steps__title {
  font-size: clamp(1.75rem, calc(1.3rem + 1.2cqi), 2.5rem);
  line-height: 1.15; font-weight: 600; margin: 0 0 1rem;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-process-steps__intro { max-width: 62ch; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step {
  grid-template-columns: 3rem minmax(0, 1fr);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__rail { padding-block: 1.5rem; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__rail::after { content: none; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-process-step__node {
  background: transparent; border: 0; border-radius: 0; padding: 0;
  width: auto; height: auto; color: var(--dig-color-primary);
  font-family: var(--dig-font-mono); font-size: clamp(1.25rem, calc(1rem + .6cqi), 1.75rem);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__content {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 1rem clamp(1.5rem, 3vw, 3rem); padding-block: 1.5rem;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__title {
  font-size: clamp(1.2rem, calc(1rem + .5cqi), 1.5rem);
  line-height: 1.3; margin: 0; font-weight: 600;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__text { color: var(--dig-color-text); line-height: 1.75; margin: 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-related { border: 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip { margin-block: clamp(2.5rem, 5vw, 4.5rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip__title {
  font-size: clamp(1.75rem, calc(1.3rem + 1.2cqi), 2.75rem);
  font-weight: 600; line-height: 1.18; max-width: 25ch;
}
@media (max-width: 1000px) {
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero:not(.dig-hero--has-media) .dig-hero__content { display: block; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-title { max-width: 18ch; margin: 0 0 1.5rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-hero-subtitle { max-width: 56ch; margin: 0 0 1.5rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__content { display: block; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__title { margin-bottom: .65rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner { display: block; max-width: 68ch; margin-inline: auto; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner > h2 { max-width: none; margin: 1.8em 0 .65em; }
}
@media (prefers-reduced-motion: reduce) {
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid * { scroll-behavior: auto; transition-duration: 0s; }
}

/* One closing surface, using only authored content and the existing CTA. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-related {
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 2rem clamp(1.5rem, 4vw, 3rem) .5rem;
  background: var(--dig-color-primary); color: var(--dig-color-on-primary);
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-related .dig-container { width: 100%; padding: 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-related .dig-context-strip__message {
  font-size: clamp(1rem, calc(.95rem + .2cqi), 1.125rem);
  margin: 0; max-width: 65ch; color: inherit; line-height: 1.6;
}
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip { margin: 0; padding: .5rem 0 0; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip .dig-cta-strip__inner {
  padding: 1rem clamp(1.5rem, 4vw, 3rem) 2rem;
}

/* Quiet rail and readable process descriptions. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-process-step__node::after { content: none; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__content { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__text,
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps__intro { font-size: clamp(1rem, calc(.97rem + .15cqi), 1.125rem); color: var(--dig-color-text); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps__header { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 1000px) {
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process { padding-inline: 1rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step { grid-template-columns: 2.25rem minmax(0, 1fr); }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__content { padding: 1rem 0 1rem .75rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-step__rail { padding-block: 1rem; }
 .d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps__header { margin-bottom: .75rem; }
}

.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-page { container-type: inline-size; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero:not(.dig-hero--full_bleed) { padding: clamp(2rem, 5vw, 4.5rem); }
/* Photographic roles retain their canonical stage/ratio; only their text and action adopt the surface. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero.dig-hero--has-media .dig-hero-title { font-size: clamp(2rem, calc(1.5rem + 1.8cqi), 3.5rem); max-width: 22ch; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-btn--secondary { background: color-mix(in srgb, var(--dig-color-on-primary) 12%, var(--dig-color-primary)); border-color: currentColor; color: var(--dig-color-on-primary); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero :is(.dig-btn--outline, .dig-btn--ghost) { background: transparent; color: var(--dig-color-on-primary); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero .dig-btn--outline { border-color: currentColor; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero :is(.dig-btn--secondary, .dig-btn--outline, .dig-btn--ghost):hover { background: color-mix(in srgb, var(--dig-color-on-primary) 18%, var(--dig-color-primary)); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-rich-content__inner > :is(table, figure, pre) { max-width: 100%; min-width: 0; overflow-x: auto; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip { margin-top: clamp(2rem, 4vw, 3rem); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-related + .dig-cta-strip { margin-top: 0; }

/* The sequence uses structural width; paragraphs retain their own reading measure. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-process .dig-process-steps__pipeline { width: 100%; max-width: none; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero.dig-hero--has-media .dig-hero-title { margin-bottom: 1.5rem; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .d1-service-hero.dig-hero--has-media .dig-hero-subtitle { max-width: 52ch; margin-bottom: 1.5rem; }

/* Outline/Ghost retain their variants while reading against the closing surface. */
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip :is(.dig-btn--outline, .dig-btn--ghost) { background: transparent; color: var(--dig-color-on-primary); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip .dig-btn--outline { border-color: currentColor; }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip :is(.dig-btn--outline, .dig-btn--ghost):hover { background: color-mix(in srgb, var(--dig-color-on-primary) 18%, var(--dig-color-primary)); }
.d1-websites-page.d1-websites-page--service.d1-service-presentation--editorial-hybrid .dig-cta-strip .dig-btn:focus-visible { outline: 2px solid var(--dig-color-on-primary); outline-offset: 4px; }

/* Optional Services directory composition. Existing profiles remain unchanged. */
.d1-websites-page.d1-services-directory--premium main .d1-page-hero.dig-hero {
  min-height: 0;
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--dig-color-border);
}
.d1-websites-page.d1-services-directory--premium main .d1-page-hero.dig-hero .dig-hero__container {
  min-height: 0;
  padding-block: 0;
}
.d1-websites-page.d1-services-directory--premium main .d1-page-hero.dig-hero .dig-hero__content {
  min-height: 0;
  padding-block: 0;
  gap: var(--dig-spacing-md);
}
.d1-websites-page.d1-services-directory--premium main .d1-page-hero.dig-hero .dig-hero__content .dig-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.06;
  max-inline-size: 18ch;
  text-wrap: balance;
}
.d1-websites-page.d1-services-directory--premium .d1-page-hero .dig-hero-subtitle {
  max-inline-size: 58ch;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
}
.d1-websites-page.d1-services-directory--premium main > .d1-page-services {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  margin-block: 0;
}
.d1-websites-page.d1-services-directory--premium .d1-page-services > .d1-service-grid { padding-block: 0; }
.d1-websites-page.d1-services-directory--premium .d1-service-grid__header { max-inline-size: 65ch; margin-block-end: clamp(1.5rem, 3vw, 2.5rem); }
.d1-websites-page.d1-services-directory--premium .d1-service-grid__heading { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.15; }
.d1-websites-page.d1-services-directory--premium .d1-service-grid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(1rem, 2vw, 1.5rem); }
.d1-websites-page.d1-services-directory--premium .d1-service-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--d1-card-radius, 0);
  box-shadow: none;
}
.d1-websites-page.d1-services-directory--premium .d1-service-card__meta { margin-block-end: clamp(1rem, 2vw, 1.75rem); }
.d1-websites-page.d1-services-directory--premium .d1-service-card__title { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.625rem); line-height: 1.2; margin-block: 0 .75rem; }
.d1-websites-page.d1-services-directory--premium .d1-service-card__text { max-inline-size: 42ch; font-size: 1rem; line-height: 1.65; margin-block: 0 1.5rem; }
.d1-websites-page.d1-services-directory--premium .d1-service-card__action { margin-block-start: auto; padding-block-start: 1rem; border-top: 1px solid var(--dig-color-border); }
/* Shared contrast Statement consumes Branding's paired primary/on-primary tokens. */
.d1-websites-page .d1-statement.d1-statement--contrast {
  --d1-text: var(--dig-color-on-primary, var(--dig-color-white));
  color: var(--d1-text);
  background: var(--dig-color-primary);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  margin-block: 0;
  border-block: 0;
}
.d1-websites-page .d1-statement.d1-statement--contrast .d1-statement__contrast-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.d1-websites-page .d1-statement.d1-statement--contrast .d1-statement__text { color: var(--d1-text); font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.15; max-inline-size: 27ch; margin: 0; }
.d1-websites-page .d1-statement.d1-statement--contrast .d1-statement__action-intro { color: var(--d1-text); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.65; max-inline-size: 58ch; margin-block: 1rem 0; }
.d1-websites-page .d1-statement.d1-statement--contrast .dig-btn--primary {
  --btn-bg: var(--dig-color-on-primary, var(--dig-color-white));
  --btn-fg: var(--dig-color-primary);
  --btn-border: var(--dig-color-on-primary, var(--dig-color-white));
  --btn-bg-hover: color-mix(in srgb, var(--dig-color-on-primary, var(--dig-color-white)) 90%, var(--dig-color-primary));
  min-block-size: 44px;
  max-inline-size: 100%;
  white-space: normal;
}
.d1-websites-page .d1-statement.d1-statement--contrast .dig-btn:focus-visible { outline: 2px solid var(--dig-color-on-primary, var(--dig-color-white)); outline-offset: 5px; }
.d1-websites-page.d1-services-directory--premium .d1-service-card--linked:focus-visible { outline: 2px solid var(--dig-color-primary); outline-offset: 4px; }
@media (max-width: 767px) {
  .d1-websites-page .d1-statement.d1-statement--contrast .d1-statement__contrast-inner { grid-template-columns: minmax(0, 1fr); }
  .d1-websites-page .d1-statement.d1-statement--contrast .d1-statement__contrast-action { justify-self: start; max-inline-size: 100%; }
  .d1-websites-page.d1-services-directory--premium .d1-service-grid__grid { grid-template-columns: minmax(0, 1fr); }
}

.d1-websites-page.d1-services-directory--premium .d1-service-grid__grid.d1-service-grid--count-1 { grid-template-columns: minmax(0, 1fr); }

/* Canonical Blog archive only; single posts and existing Pages remain untouched. */
.d1-websites-page:has(.d1-blog-index) main .d1-page-hero.dig-hero { min-height: 0; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.d1-websites-page:has(.d1-blog-index) main .d1-page-hero .dig-hero__container,
.d1-websites-page:has(.d1-blog-index) main .d1-page-hero .dig-hero__content { min-height: 0; padding-block: 0; }
.d1-websites-page:has(.d1-blog-index) main .d1-page-hero .dig-hero__content .dig-hero-title { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.08; max-width: 22ch; margin-bottom: 1rem; }
.d1-websites-page:has(.d1-blog-index) .dig-hero-subtitle { max-width: 60ch; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.65; }
.d1-websites-page.d1-composition-profile--editorial:has(.d1-blog-index) main > .d1-rich-content .d1-rich-content__inner { max-width: none; width: 100%; }
.d1-websites-page .d1-blog-index__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem); }
.d1-websites-page .d1-blog-card { min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--dig-color-border); padding-bottom: 1.5rem; }
.d1-websites-page .d1-blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.d1-websites-page .d1-blog-card__media img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; }
.d1-websites-page .d1-blog-card__content { display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.d1-websites-page:has(.d1-blog-index) .d1-blog-card h2 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); line-height: 1.2; margin: 0 0 .875rem; max-width: 30ch; }
.d1-websites-page:has(.d1-blog-index) .d1-blog-card h2 a { color: var(--dig-color-text); text-decoration: none; }
.d1-websites-page:has(.d1-blog-index) .d1-blog-card .d1-blog-card__date { font-size: .875rem; line-height: 1.5; margin: 0 0 .75rem; color: var(--dig-color-text-muted); }
.d1-websites-page:has(.d1-blog-index) .d1-blog-card .d1-blog-card__excerpt { font-size: 1rem; line-height: 1.65; max-width: 58ch; margin: 0 0 1.25rem; color: var(--dig-color-text); }
.d1-websites-page .d1-blog-card__link { margin-top: auto; font-size: .9375rem; font-weight: var(--dig-font-weight-semibold); color: var(--dig-color-primary); text-underline-offset: .25em; }
.d1-websites-page .d1-blog-index a:hover { text-decoration: underline; text-underline-offset: .2em; }
.d1-websites-page .d1-blog-index a:focus-visible { outline: 2px solid var(--dig-color-primary); outline-offset: 4px; border-radius: 0; }
.d1-websites-page .d1-blog-index__pagination { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 47.999rem) { .d1-websites-page .d1-blog-index__grid { grid-template-columns: minmax(0, 1fr); } }


