/* Dr. Gustavo Begnini — Design System (tokens + componentes), copiado do Design System salvo no Claude */
/* ---- tokens/fonts.css (fontes carregadas pelo Google Fonts no <head>) ---- */
:root {
  --font-sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  /* Documented fallback pair from the Brand Guide (accessible substitutes) */
  --font-sans-fallback: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif-fallback: Georgia, "Times New Roman", serif;
}

/* ---- tokens/colors.css ---- */
/* Palette — Brand Guide p.33–34.
   Six named brand colors, each extended into a working scale.
   Brand-exact values are marked BRAND; scales are derived for interface needs. */
:root {
  /* Diagnostic Ink — base, contrast, authority */
  --ink-950: #0F1314;
  --ink-900: #14191A;
  --ink-800: #1A2022;
  --ink-700: #202729; /* BRAND — Diagnostic Ink */
  --ink-600: #2C3436;
  --ink-500: #3E4849;
  --ink-400: #5A6567;
  --ink-300: #7C8788;
  --ink-200: #A8B0B0;
  --ink-100: #D3D8D7;
  --ink-50:  #EDEFEE;

  /* Deep Teal — clinical depth; sections, information blocks */
  --teal-900: #16292A;
  --teal-800: #1F3A3C;
  --teal-700: #274B4D;
  --teal-600: #315E61; /* BRAND — Deep Teal */
  --teal-500: #3D7376;
  --teal-400: #55908F;
  --teal-300: #7FADAB;
  --teal-200: #A8C7C5;
  --teal-100: #D2E2E0;
  --teal-50:  #EDF4F3;

  /* Mist — discreet dividers, quiet surfaces */
  --mist-600: #8FA29E;
  --mist-500: #A5B5B2;
  --mist-400: #BCC9C6; /* BRAND — Mist */
  --mist-300: #CDD7D5;
  --mist-200: #DEE5E3;
  --mist-100: #EFF2F1;

  /* Mineral / Clinical White — breathing room, warmth, paper */
  --mineral-600: #C8C4B8;
  --mineral-500: #D5D2C8;
  --mineral-400: #DFDCD3;
  --mineral-300: #E9E7E1; /* BRAND — Mineral */
  --mineral-200: #F0EEEA;
  --mineral-100: #F7F7F4; /* BRAND — Clinical White */

  /* Signal Copper — rare emphasis. Never used as "premium gold". */
  --copper-900: #5C351F;
  --copper-800: #7A472A;
  --copper-700: #9A5836;
  --copper-600: #B76C45; /* BRAND — Signal Copper */
  --copper-500: #C4805C;
  --copper-400: #D19B7D;
  --copper-300: #DEB6A0;
  --copper-200: #EBD2C3;
  --copper-100: #F6E9E1;
  --copper-50:  #FBF4F0;

  /* Semantic status hues — held inside the brand's temperature range,
     never the "automatic medical blue" the guide rules out (p.46). */
  --success-700: #1F4C39;
  --success-600: #2F6B4F;
  --success-100: #E4EFE9;
  --warning-700: #7E561E;
  --warning-600: #A9762B;
  --warning-100: #F6EDDC;
  --error-700: #7C2B24;
  --error-600: #A33B32;
  --error-100: #F7E6E3;
  --info-700: #274B4D;
  --info-600: #315E61;
  --info-100: #E4EFEE;

  /* ---------- Semantic tokens (use these in components) ---------- */
  --color-brand-primary: var(--ink-700);
  --color-brand-secondary: var(--teal-600);
  --color-brand-accent: var(--copper-600);

  --color-background-page: var(--mineral-100);
  --color-background-page-alt: var(--mineral-300);
  --color-background-inverse: var(--ink-700);
  --color-background-clinical: var(--teal-600);
  --color-background-surface: #FFFFFF;
  --color-background-surface-muted: var(--mineral-200);
  --color-background-surface-inverse: var(--ink-600);

  --color-surface-default: var(--color-background-surface);
  --color-surface-raised: #FFFFFF;
  --color-surface-sunken: var(--mineral-200);

  --color-text-primary: var(--ink-700);
  --color-text-secondary: var(--ink-400);
  --color-text-tertiary: var(--ink-300);
  --color-text-accent: var(--copper-700);
  --color-text-on-dark: var(--mineral-100);
  --color-text-on-dark-secondary: var(--mist-400);
  --color-text-on-accent: #FFFFFF;
  --color-text-link: var(--teal-600);
  --color-text-link-hover: var(--teal-800);

  --color-border-default: var(--mist-300);
  --color-border-strong: var(--mist-600);
  --color-border-subtle: var(--mineral-400);
  --color-border-inverse: rgb(255 255 255 / 0.16);
  --color-border-focus: var(--teal-600);

  --color-action-primary: var(--ink-700);
  --color-action-primary-hover: var(--ink-800);
  --color-action-primary-active: var(--ink-900);
  --color-action-secondary: var(--teal-600);
  --color-action-secondary-hover: var(--teal-700);
  --color-action-accent: var(--copper-600);
  --color-action-accent-hover: var(--copper-700);
  --color-action-disabled-bg: var(--mineral-400);
  --color-action-disabled-text: var(--ink-300);

  --color-feedback-success: var(--success-600);
  --color-feedback-warning: var(--warning-600);
  --color-feedback-error: var(--error-600);
  --color-feedback-info: var(--info-600);

  --color-focus-ring: var(--teal-600);
  --color-overlay: rgb(32 39 41 / 0.62);
}

/* Dark section scope — apply to any block that sits on Ink or Deep Teal. */
.dgb-dark {
  --color-background-page: var(--ink-700);
  --color-background-surface: var(--ink-600);
  --color-background-surface-muted: var(--ink-800);
  --color-surface-default: var(--ink-600);
  --color-surface-sunken: var(--ink-800);
  --color-text-primary: var(--mineral-100);
  --color-text-secondary: var(--mist-400);
  --color-text-tertiary: var(--ink-300);
  --color-text-link: var(--mist-300);
  --color-text-link-hover: #FFFFFF;
  --color-border-default: rgb(255 255 255 / 0.16);
  --color-border-subtle: rgb(255 255 255 / 0.09);
  --color-border-strong: rgb(255 255 255 / 0.3);
  --color-action-primary: var(--mineral-100);
  --color-action-primary-hover: #FFFFFF;
  --color-action-primary-active: var(--mineral-300);
  --color-focus-ring: var(--mist-300);
}

/* ---- tokens/typography.css ---- */
/* Type system — Brand Guide p.35–36.
   Two families. Contrast comes from weight and space, not from many sizes.
   Serif = concepts, openers, key phrases. Sans = everything functional. */
:root {
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Display — serif, editorial openers. One per page, max. */
  --type-display-family: var(--font-serif);
  --type-display-size: 4.5rem;   /* 72px */
  --type-display-weight: 400;
  --type-display-line: 1.04;
  --type-display-tracking: -0.02em;

  --type-display-sm-size: 3.25rem; /* 52px */
  --type-display-sm-line: 1.08;

  /* H1 — serif by default; sans when the page is functional (forms, dashboards) */
  --type-h1-family: var(--font-serif);
  --type-h1-size: 3rem;          /* 48px */
  --type-h1-weight: 400;
  --type-h1-line: 1.1;
  --type-h1-tracking: -0.015em;

  --type-h2-family: var(--font-serif);
  --type-h2-size: 2.25rem;       /* 36px */
  --type-h2-weight: 400;
  --type-h2-line: 1.16;
  --type-h2-tracking: -0.012em;

  --type-h3-family: var(--font-sans);
  --type-h3-size: 1.5rem;        /* 24px */
  --type-h3-weight: 600;
  --type-h3-line: 1.28;
  --type-h3-tracking: -0.01em;

  --type-h4-family: var(--font-sans);
  --type-h4-size: 1.25rem;       /* 20px */
  --type-h4-weight: 600;
  --type-h4-line: 1.35;
  --type-h4-tracking: -0.006em;

  --type-h5-family: var(--font-sans);
  --type-h5-size: 1.0625rem;     /* 17px */
  --type-h5-weight: 600;
  --type-h5-line: 1.4;
  --type-h5-tracking: 0;

  /* Body */
  --type-body-lg-family: var(--font-sans);
  --type-body-lg-size: 1.1875rem; /* 19px */
  --type-body-lg-weight: 400;
  --type-body-lg-line: 1.62;
  --type-body-lg-tracking: 0;

  --type-body-family: var(--font-sans);
  --type-body-size: 1.0625rem;    /* 17px */
  --type-body-weight: 400;
  --type-body-line: 1.65;
  --type-body-tracking: 0;

  --type-body-sm-family: var(--font-sans);
  --type-body-sm-size: 0.9375rem; /* 15px */
  --type-body-sm-weight: 400;
  --type-body-sm-line: 1.6;
  --type-body-sm-tracking: 0;

  /* Editorial pull quote / manifesto lines */
  --type-quote-family: var(--font-serif);
  --type-quote-size: 1.625rem;    /* 26px */
  --type-quote-weight: 400;
  --type-quote-line: 1.42;
  --type-quote-tracking: -0.008em;

  --type-caption-family: var(--font-sans);
  --type-caption-size: 0.8125rem; /* 13px */
  --type-caption-weight: 400;
  --type-caption-line: 1.5;
  --type-caption-tracking: 0.01em;

  /* Label / eyebrow — the brand's signature all-caps tracked micro-type */
  --type-label-family: var(--font-sans);
  --type-label-size: 0.75rem;     /* 12px */
  --type-label-weight: 600;
  --type-label-line: 1.3;
  --type-label-tracking: 0.14em;
  --type-label-transform: uppercase;

  --type-button-family: var(--font-sans);
  --type-button-size: 0.9375rem;  /* 15px */
  --type-button-weight: 600;
  --type-button-line: 1;
  --type-button-tracking: 0.02em;

  --measure-narrow: 44ch;
  --measure-default: 62ch;
  --measure-wide: 76ch;
}

.dgb-display { font-family: var(--type-display-family); font-size: var(--type-display-size); font-weight: var(--type-display-weight); line-height: var(--type-display-line); letter-spacing: var(--type-display-tracking); }
.dgb-h1 { font-family: var(--type-h1-family); font-size: var(--type-h1-size); font-weight: var(--type-h1-weight); line-height: var(--type-h1-line); letter-spacing: var(--type-h1-tracking); }
.dgb-h2 { font-family: var(--type-h2-family); font-size: var(--type-h2-size); font-weight: var(--type-h2-weight); line-height: var(--type-h2-line); letter-spacing: var(--type-h2-tracking); }
.dgb-h3 { font-family: var(--type-h3-family); font-size: var(--type-h3-size); font-weight: var(--type-h3-weight); line-height: var(--type-h3-line); letter-spacing: var(--type-h3-tracking); }
.dgb-h4 { font-family: var(--type-h4-family); font-size: var(--type-h4-size); font-weight: var(--type-h4-weight); line-height: var(--type-h4-line); letter-spacing: var(--type-h4-tracking); }
.dgb-h5 { font-family: var(--type-h5-family); font-size: var(--type-h5-size); font-weight: var(--type-h5-weight); line-height: var(--type-h5-line); }
.dgb-body-lg { font-family: var(--type-body-lg-family); font-size: var(--type-body-lg-size); line-height: var(--type-body-lg-line); }
.dgb-body { font-family: var(--type-body-family); font-size: var(--type-body-size); line-height: var(--type-body-line); }
.dgb-body-sm { font-family: var(--type-body-sm-family); font-size: var(--type-body-sm-size); line-height: var(--type-body-sm-line); }
.dgb-quote { font-family: var(--type-quote-family); font-size: var(--type-quote-size); line-height: var(--type-quote-line); letter-spacing: var(--type-quote-tracking); }
.dgb-caption { font-family: var(--type-caption-family); font-size: var(--type-caption-size); line-height: var(--type-caption-line); letter-spacing: var(--type-caption-tracking); color: var(--color-text-secondary); }
.dgb-label { font-family: var(--type-label-family); font-size: var(--type-label-size); font-weight: var(--type-label-weight); line-height: var(--type-label-line); letter-spacing: var(--type-label-tracking); text-transform: uppercase; }

/* ---- tokens/spacing.css ---- */
/* Spacing — 4px base. Generous by default: "espaço vazio comunica segurança" (p.36). */
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;
  --space-12: 120px;
  --space-13: 160px;

  /* Component internals */
  --pad-control-y: 14px;
  --pad-control-x: 22px;
  --pad-control-y-sm: 10px;
  --pad-control-x-sm: 16px;
  --pad-card: var(--space-6);
  --pad-card-lg: var(--space-7);
  --pad-card-compact: var(--space-5);

  /* Rhythm between elements */
  --gap-tight: var(--space-2);
  --gap-inline: var(--space-3);
  --gap-stack: var(--space-4);
  --gap-group: var(--space-6);
  --gap-grid: var(--space-6);

  /* Between sections — the brand's breathing room */
  --section-y: var(--space-12);      /* 120px desktop */
  --section-y-tablet: var(--space-10);
  --section-y-mobile: var(--space-9);
  --section-header-gap: var(--space-8);
}

/* ---- tokens/radius.css ---- */
/* Radius — architectural, not friendly-app rounded.
   The guide rules out "interfaces excessivamente arredondadas". */
:root {
  --radius-xs: 2px;   /* tags, inline chips, small markers */
  --radius-sm: 3px;   /* inputs, buttons, badges */
  --radius-md: 4px;   /* cards, media frames, accordions */
  --radius-lg: 8px;   /* large feature panels, modals */
  --radius-xl: 12px;  /* hero media blocks, full-bleed cutouts */
  --radius-full: 999px; /* only: avatars, the WhatsApp FAB, icon-only pills */
}

/* ---- tokens/shadows.css ---- */
/* Elevation — shadows read as light on mineral surfaces, never as SaaS drop shadow.
   Default card treatment is a hairline border; shadow is the exception. */
:root {
  --shadow-none: none;
  --shadow-subtle: 0 1px 2px rgb(32 39 41 / 0.04);
  --shadow-card: 0 1px 2px rgb(32 39 41 / 0.04), 0 8px 20px -12px rgb(32 39 41 / 0.10);
  --shadow-floating: 0 2px 4px rgb(32 39 41 / 0.05), 0 14px 32px -16px rgb(32 39 41 / 0.16);
  --shadow-modal: 0 4px 8px rgb(32 39 41 / 0.06), 0 32px 64px -24px rgb(32 39 41 / 0.26);
  --shadow-inset-hairline: inset 0 0 0 1px var(--color-border-default);
  --focus-ring: 0 0 0 2px var(--color-background-page), 0 0 0 4px var(--color-focus-ring);
}

/* ---- tokens/layout.css ---- */
/* Grid, containers, breakpoints — p.36 "margens generosas, blocos assimétricos controlados". */
:root {
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-large: 1440px;

  --container-max: 1200px;      /* primary container */
  --container-wide: 1440px;     /* full-bleed media sections */
  --container-text: 720px;      /* article / long-form column */

  --gutter-mobile: 20px;
  --gutter-tablet: 32px;
  --gutter-desktop: 48px;
  --gutter-large: 64px;

  --grid-columns-mobile: 4; /* @kind other */
  --grid-columns-tablet: 8; /* @kind other */
  --grid-columns-desktop: 12; /* @kind other */
  --grid-gap: 24px;
  --grid-gap-desktop: 32px;

  --header-height: 76px;
  --header-height-compact: 60px;
  --tap-min: 44px;
}

.dgb-container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--gutter-mobile); }
.dgb-container-text { width: 100%; max-width: var(--container-text); margin-inline: auto; padding-inline: var(--gutter-mobile); }
.dgb-grid { display: grid; grid-template-columns: repeat(var(--grid-columns-mobile), minmax(0, 1fr)); gap: var(--grid-gap); }
.dgb-section { padding-block: var(--section-y-mobile); }

@media (min-width: 768px) {
  .dgb-container, .dgb-container-text { padding-inline: var(--gutter-tablet); }
  .dgb-grid { grid-template-columns: repeat(var(--grid-columns-tablet), minmax(0, 1fr)); }
  .dgb-section { padding-block: var(--section-y-tablet); }
}
@media (min-width: 1024px) {
  .dgb-container, .dgb-container-text { padding-inline: var(--gutter-desktop); }
  .dgb-grid { grid-template-columns: repeat(var(--grid-columns-desktop), minmax(0, 1fr)); gap: var(--grid-gap-desktop); }
  .dgb-section { padding-block: var(--section-y); }
}

/* ---- tokens/motion.css ---- */
/* Motion — serene. Fades and small translations only; no bounce, no spring, no parallax. */
:root {
  --duration-instant: 90ms; /* @kind other */
  --duration-fast: 160ms; /* @kind other */
  --duration-base: 240ms; /* @kind other */
  --duration-slow: 420ms; /* @kind other */
  --ease-standard: cubic-bezier(0.32, 0.08, 0.24, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 0.84, 0.28, 1); /* @kind other */
  --ease-in: cubic-bezier(0.5, 0, 0.9, 0.4); /* @kind other */
  --transition-control: color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
  --reveal-distance: 12px;
}
@media (prefers-reduced-motion: reduce) {
  :root { --duration-instant: 0ms; /* @kind other */ --duration-fast: 0ms; /* @kind other */ --duration-base: 0ms; /* @kind other */ --duration-slow: 0ms; /* @kind other */ --reveal-distance: 0px; }
}

/* ---- tokens/base.css ---- */
/* Minimal element defaults so specimen cards and kits share the same ground. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-background-page);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
h1, h2, h3, h4, h5, p { margin: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
a { color: var(--color-text-link); text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--color-text-link) 34%, transparent); transition: var(--transition-control); }
a:hover { color: var(--color-text-link-hover); border-bottom-color: var(--color-text-link-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
img { max-width: 100%; display: block; }
::selection { background: var(--copper-200); color: var(--ink-800); }
hr { border: 0; border-top: 1px solid var(--color-border-default); margin: 0; }

/* ---- components/brand/brand.css ---- */
/* Brand primitives: wordmark, eyebrow label, rule, icon. */
.dgb-logo { display: inline-flex; align-items: center; gap: 12px; border: 0; text-decoration: none; color: inherit; }
.dgb-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: var(--radius-sm); font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.02em; opacity: 0.9; flex: none; }
.dgb-logo__text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.dgb-logo__name { font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: 0.11em; text-transform: uppercase; }
.dgb-logo__sub { font-family: var(--font-sans); font-weight: 400; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-secondary); }
.dgb-logo--lg .dgb-logo__mark { width: 52px; height: 52px; font-size: 20px; }
.dgb-logo--lg .dgb-logo__name { font-size: 17px; }
.dgb-logo--lg .dgb-logo__sub { font-size: 12px; }
.dgb-logo--mark-only .dgb-logo__text { display: none; }

.dgb-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: var(--type-label-size); font-weight: var(--type-label-weight); letter-spacing: var(--type-label-tracking); text-transform: uppercase; color: var(--color-text-secondary); }
.dgb-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--color-border-strong); }
.dgb-eyebrow--accent { color: var(--color-text-accent); }
.dgb-eyebrow--accent::after { background: var(--copper-400); }
.dgb-eyebrow--bare::after { display: none; }

/* Signature copper rule used under headlines throughout the brand's pieces. */
.dgb-rule { width: 40px; height: 2px; background: var(--color-brand-accent); border: 0; }
.dgb-rule--wide { width: 100%; height: 1px; background: var(--color-border-default); }

.dgb-icon { display: inline-block; flex: none; background-color: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }

/* Abstract "investigation" graphic: circles, intersections, connection lines (p.37).
   Rendered from tokens, never anatomical ornament. */
.dgb-graphic-field { position: relative; overflow: hidden; }
.dgb-graphic-field::before { content: ""; position: absolute; inset: auto -120px -160px auto; right: -140px; width: 420px; height: 420px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-full); pointer-events: none; }
.dgb-graphic-field::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; border: 1px solid var(--color-border-subtle); border-radius: var(--radius-full); pointer-events: none; }

/* ---- components/actions/actions.css ---- */
/* Buttons — square-ish, weight-led, never gradient. */
.dgb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap-min);
  padding: var(--pad-control-y) var(--pad-control-x);
  font-family: var(--type-button-family); font-size: var(--type-button-size); font-weight: var(--type-button-weight);
  line-height: var(--type-button-line); letter-spacing: var(--type-button-tracking);
  border-radius: var(--radius-sm); border: 1px solid transparent; background: none;
  color: inherit; cursor: pointer; text-decoration: none; text-align: center;
  transition: var(--transition-control), transform var(--duration-instant) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
}
.dgb-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-btn:active { transform: translateY(1px); }
.dgb-btn[disabled], .dgb-btn[aria-disabled="true"] { cursor: not-allowed; transform: none; background: var(--color-action-disabled-bg); color: var(--color-action-disabled-text); border-color: transparent; }

.dgb-btn--primary { background: var(--color-action-primary); color: var(--color-text-on-dark); }
.dgb-btn--primary:hover { background: var(--color-action-primary-hover); }
.dgb-btn--primary:active { background: var(--color-action-primary-active); }

.dgb-btn--secondary { background: transparent; color: var(--color-text-primary); border-color: var(--color-border-strong); }
.dgb-btn--secondary:hover { border-color: var(--color-text-primary); background: color-mix(in oklab, var(--color-text-primary) 5%, transparent); }
.dgb-btn--secondary:active { background: color-mix(in oklab, var(--color-text-primary) 9%, transparent); }

.dgb-btn--tertiary { background: var(--color-brand-secondary); color: #fff; }
.dgb-btn--tertiary:hover { background: var(--color-action-secondary-hover); }

.dgb-btn--accent { background: var(--color-action-accent); color: var(--color-text-on-accent); }
.dgb-btn--accent:hover { background: var(--color-action-accent-hover); }

.dgb-btn--ghost { background: transparent; color: var(--color-text-primary); }
.dgb-btn--ghost:hover { background: color-mix(in oklab, var(--color-text-primary) 6%, transparent); }

.dgb-btn--link { min-height: 0; padding: 4px 0; border-radius: var(--radius-xs); color: var(--color-text-link); border-bottom: 1px solid color-mix(in oklab, var(--color-text-link) 30%, transparent); }
.dgb-btn--link:hover { color: var(--color-text-link-hover); border-bottom-color: var(--color-text-link-hover); }

.dgb-btn--sm { min-height: 38px; padding: var(--pad-control-y-sm) var(--pad-control-x-sm); font-size: 14px; }
.dgb-btn--lg { min-height: 54px; padding: 17px 30px; font-size: 16px; }
.dgb-btn--block { width: 100%; }
.dgb-btn__icon { width: 18px; height: 18px; }
.dgb-btn--lg .dgb-btn__icon { width: 20px; height: 20px; }

/* Icon-only */
.dgb-iconbtn { display: inline-grid; place-items: center; width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-sm); border: 1px solid transparent; background: transparent; color: var(--color-text-primary); cursor: pointer; transition: var(--transition-control); }
.dgb-iconbtn:hover { background: color-mix(in oklab, var(--color-text-primary) 7%, transparent); }
.dgb-iconbtn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-iconbtn[disabled] { cursor: not-allowed; color: var(--color-action-disabled-text); background: transparent; }
.dgb-iconbtn--outline { border-color: var(--color-border-default); }
.dgb-iconbtn--solid { background: var(--color-action-primary); color: var(--color-text-on-dark); }
.dgb-iconbtn--solid:hover { background: var(--color-action-primary-hover); }
.dgb-iconbtn--sm { width: 34px; height: 34px; }
.dgb-iconbtn--round { border-radius: var(--radius-full); }
.dgb-iconbtn__glyph { width: 20px; height: 20px; }
.dgb-iconbtn--sm .dgb-iconbtn__glyph { width: 16px; height: 16px; }

/* WhatsApp — the practice's real primary channel. Kept in brand colour, not WhatsApp green. */
.dgb-wa { display: inline-flex; align-items: center; gap: 10px; }
.dgb-wa--fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--color-brand-secondary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-floating); border: 0; cursor: pointer; transition: var(--transition-control); }
.dgb-wa--fab:hover { background: var(--color-action-secondary-hover); }
.dgb-wa--fab .dgb-icon { width: 26px; height: 26px; }

/* ---- components/forms/forms.css ---- */
/* Forms — quiet fields, visible focus, generous hit area. */
.dgb-field { display: flex; flex-direction: column; gap: 8px; }
.dgb-label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-secondary); }
.dgb-label__req { color: var(--color-brand-accent); margin-left: 3px; }
.dgb-help { font-family: var(--font-sans); font-size: var(--type-caption-size); line-height: 1.5; color: var(--color-text-tertiary); }
.dgb-msg { display: flex; align-items: flex-start; gap: 7px; font-family: var(--font-sans); font-size: var(--type-caption-size); line-height: 1.5; }
.dgb-msg--error { color: var(--error-700); }
.dgb-msg--success { color: var(--success-700); }
.dgb-msg .dgb-icon { width: 15px; height: 15px; margin-top: 2px; }

.dgb-input, .dgb-textarea, .dgb-select__control {
  width: 100%; min-height: var(--tap-min);
  padding: 13px 15px;
  font-family: var(--font-sans); font-size: 16px; line-height: 1.4; color: var(--color-text-primary);
  background: var(--color-background-surface);
  border: 1px solid var(--color-border-default); border-radius: var(--radius-sm);
  transition: var(--transition-control);
}
.dgb-input::placeholder, .dgb-textarea::placeholder { color: var(--color-text-tertiary); }
.dgb-input:hover, .dgb-textarea:hover, .dgb-select__control:hover { border-color: var(--color-border-strong); }
.dgb-input:focus, .dgb-textarea:focus, .dgb-select__control:focus { outline: none; border-color: var(--color-border-focus); box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal-600) 18%, transparent); }
.dgb-input[disabled], .dgb-textarea[disabled], .dgb-select__control[disabled] { background: var(--color-surface-sunken); color: var(--color-text-tertiary); cursor: not-allowed; }
.dgb-textarea { min-height: 128px; resize: vertical; }
.dgb-field--error .dgb-input, .dgb-field--error .dgb-textarea, .dgb-field--error .dgb-select__control { border-color: var(--error-600); }
.dgb-field--error .dgb-input:focus { box-shadow: 0 0 0 3px color-mix(in oklab, var(--error-600) 18%, transparent); }
.dgb-field--success .dgb-input, .dgb-field--success .dgb-textarea { border-color: var(--success-600); }

.dgb-input-group { position: relative; display: flex; align-items: center; }
.dgb-input-group .dgb-icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--color-text-tertiary); pointer-events: none; }
.dgb-input-group--icon .dgb-input { padding-left: 42px; }
.dgb-input-group__prefix { display: grid; place-items: center; min-width: 62px; align-self: stretch; padding: 0 12px; font-size: 15px; color: var(--color-text-secondary); background: var(--color-surface-sunken); border: 1px solid var(--color-border-default); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.dgb-input-group__prefix + .dgb-input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.dgb-select { position: relative; display: block; }
.dgb-select__control { appearance: none; padding-right: 44px; cursor: pointer; }
.dgb-select .dgb-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-text-secondary); pointer-events: none; }

.dgb-check { display: flex; align-items: flex-start; gap: 12px; min-height: var(--tap-min); padding: 10px 0; cursor: pointer; font-size: var(--type-body-sm-size); line-height: 1.5; color: var(--color-text-primary); }
.dgb-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dgb-check__box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-xs); background: var(--color-background-surface); transition: var(--transition-control); }
.dgb-check--radio .dgb-check__box { border-radius: var(--radius-full); }
.dgb-check:hover .dgb-check__box { border-color: var(--color-text-primary); }
.dgb-check input:checked + .dgb-check__box { background: var(--color-brand-secondary); border-color: var(--color-brand-secondary); color: #fff; }
.dgb-check input:focus-visible + .dgb-check__box { box-shadow: var(--focus-ring); }
.dgb-check input[disabled] + .dgb-check__box { background: var(--color-surface-sunken); border-color: var(--color-border-default); }
.dgb-check__box .dgb-icon { width: 13px; height: 13px; opacity: 0; }
.dgb-check input:checked + .dgb-check__box .dgb-icon { opacity: 1; }
.dgb-check--radio .dgb-check__dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: currentColor; opacity: 0; }
.dgb-check--radio input:checked + .dgb-check__box .dgb-check__dot { opacity: 1; }
.dgb-check__text { display: flex; flex-direction: column; gap: 3px; }
.dgb-check__desc { font-size: var(--type-caption-size); color: var(--color-text-secondary); }

.dgb-switch { display: inline-flex; align-items: center; gap: 12px; min-height: var(--tap-min); cursor: pointer; font-size: var(--type-body-sm-size); }
.dgb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dgb-switch__track { position: relative; flex: none; width: 44px; height: 24px; border-radius: var(--radius-full); background: var(--mist-400); transition: var(--transition-control); }
.dgb-switch__thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: var(--radius-full); background: #fff; box-shadow: var(--shadow-subtle); transition: transform var(--duration-fast) var(--ease-standard); }
.dgb-switch input:checked + .dgb-switch__track { background: var(--color-brand-secondary); }
.dgb-switch input:checked + .dgb-switch__track .dgb-switch__thumb { transform: translateX(20px); }
.dgb-switch input:focus-visible + .dgb-switch__track { box-shadow: var(--focus-ring); }
.dgb-switch input[disabled] + .dgb-switch__track { background: var(--color-border-default); }

/* ---- components/content/content.css ---- */
/* Content — cards are hairline-bordered paper, not floating panels. */
.dgb-card { position: relative; display: flex; flex-direction: column; background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); padding: var(--pad-card); transition: var(--transition-control); }
.dgb-card--compact { padding: var(--pad-card-compact); }
.dgb-card--flush { padding: 0; overflow: hidden; }
.dgb-card--quiet { background: transparent; border-color: var(--color-border-default); }
.dgb-card--sunken { background: var(--color-surface-sunken); border-color: transparent; }
.dgb-card--raised { box-shadow: var(--shadow-card); border-color: transparent; }
.dgb-card--interactive { cursor: pointer; }
.dgb-card--interactive:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-card); }
.dgb-card--interactive:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface-sunken); }
.dgb-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dgb-card__body { display: flex; flex-direction: column; gap: 12px; padding: var(--pad-card); }
.dgb-card--flush .dgb-card__body { padding: var(--pad-card); }
.dgb-card__title { font-family: var(--type-h4-family); font-size: var(--type-h4-size); font-weight: var(--type-h4-weight); line-height: var(--type-h4-line); color: var(--color-text-primary); }
.dgb-card__text { font-size: var(--type-body-sm-size); line-height: 1.62; color: var(--color-text-secondary); }
.dgb-card__foot { margin-top: auto; padding-top: var(--space-5); display: flex; align-items: center; gap: 12px; }

/* Numbered index, borrowed from the carousel pieces (01, 02, 03 …) */
.dgb-index { font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.08em; color: var(--color-text-tertiary); display: inline-flex; align-items: center; gap: 10px; }
.dgb-index::after { content: ""; width: 22px; height: 1px; background: var(--color-border-strong); }

.dgb-procedure { display: flex; flex-direction: column; gap: 16px; padding: var(--pad-card); background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-top: 2px solid var(--color-border-subtle); border-radius: var(--radius-md); transition: var(--transition-control); text-decoration: none; color: inherit; }
.dgb-procedure:hover { border-top-color: var(--color-brand-accent); border-color: var(--color-border-default); }
.dgb-procedure__glyph { width: 26px; height: 26px; color: var(--color-brand-secondary); }
.dgb-procedure__more { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-accent); display: inline-flex; align-items: center; gap: 8px; }
.dgb-procedure__more .dgb-icon { width: 15px; height: 15px; transition: transform var(--duration-fast) var(--ease-out); }
.dgb-procedure:hover .dgb-procedure__more .dgb-icon { transform: translateX(4px); }

.dgb-article { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 0; }
.dgb-article__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-sunken); }
.dgb-article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.dgb-article:hover .dgb-article__media img { transform: scale(1.03); }
.dgb-article__meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-tertiary); }
.dgb-article__title { margin-top: 10px; font-family: var(--font-serif); font-size: 21px; font-weight: 400; line-height: 1.32; letter-spacing: -0.008em; color: var(--color-text-primary); }
.dgb-article:hover .dgb-article__title { color: var(--color-brand-secondary); }
.dgb-article__excerpt { margin-top: 10px; font-size: var(--type-body-sm-size); line-height: 1.6; color: var(--color-text-secondary); }
.dgb-article--row { flex-direction: row; gap: 24px; align-items: center; }
.dgb-article--row .dgb-article__media { width: 168px; flex: none; aspect-ratio: 1; }
.dgb-article--row .dgb-article__meta { margin-top: 0; }

.dgb-quote { display: flex; flex-direction: column; gap: 20px; padding: var(--pad-card-lg); background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); }
.dgb-quote--plain { background: transparent; border: 0; padding: 0; }
.dgb-quote__mark { font-family: var(--font-serif); font-size: 44px; line-height: 0.6; color: var(--color-brand-accent); }
.dgb-quote__text { font-family: var(--type-quote-family); font-size: var(--type-quote-size); line-height: var(--type-quote-line); letter-spacing: var(--type-quote-tracking); color: var(--color-text-primary); }
.dgb-quote--sm .dgb-quote__text { font-size: 19px; line-height: 1.55; }
.dgb-quote__attrib { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); }
.dgb-quote__attrib .dgb-icon { width: 17px; height: 17px; }

.dgb-specialist { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.dgb-specialist__photo { aspect-ratio: 4 / 5; background: var(--color-surface-sunken); }
.dgb-specialist__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.dgb-specialist__body { display: flex; flex-direction: column; gap: 14px; padding: var(--pad-card); }
.dgb-specialist__name { font-family: var(--font-serif); font-size: 25px; line-height: 1.2; }
.dgb-specialist__role { font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--color-text-accent); }
.dgb-specialist__creds { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dgb-specialist__creds li { display: flex; gap: 10px; font-size: var(--type-body-sm-size); color: var(--color-text-secondary); }
.dgb-specialist__creds .dgb-icon { width: 15px; height: 15px; margin-top: 4px; color: var(--color-brand-secondary); }
@media (min-width: 768px) { .dgb-specialist--row { grid-template-columns: 240px 1fr; } .dgb-specialist--row .dgb-specialist__photo { aspect-ratio: auto; height: 100%; } .dgb-specialist--row .dgb-specialist__body { padding: var(--pad-card-lg); } }

.dgb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-xs); font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.dgb-badge--neutral { background: var(--color-surface-sunken); color: var(--color-text-secondary); }
.dgb-badge--brand { background: var(--teal-600); color: #fff; }
.dgb-badge--accent { background: var(--copper-600); color: #fff; }
.dgb-badge--outline { background: transparent; color: var(--color-text-secondary); box-shadow: inset 0 0 0 1px var(--color-border-default); }
.dgb-badge--success { background: var(--success-100); color: var(--success-700); }
.dgb-badge--warning { background: var(--warning-100); color: var(--warning-700); }
.dgb-badge--error { background: var(--error-100); color: var(--error-700); }
.dgb-badge .dgb-icon { width: 13px; height: 13px; }

.dgb-tag { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 14px; border-radius: var(--radius-sm); border: 1px solid var(--color-border-default); background: transparent; color: var(--color-text-secondary); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: var(--transition-control); text-decoration: none; }
.dgb-tag:hover { border-color: var(--color-text-primary); color: var(--color-text-primary); }
.dgb-tag[aria-pressed="true"], .dgb-tag--selected { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: var(--color-text-on-dark); }
.dgb-tag:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.dgb-accordion { border-top: 1px solid var(--color-border-default); }
.dgb-accordion__item { border-bottom: 1px solid var(--color-border-default); }
.dgb-accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 68px; padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-sans); font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--color-text-primary); transition: var(--transition-control); }
.dgb-accordion__trigger:hover { color: var(--color-brand-secondary); }
.dgb-accordion__trigger:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-accordion__sign { flex: none; position: relative; width: 18px; height: 18px; color: var(--color-text-tertiary); }
.dgb-accordion__sign::before, .dgb-accordion__sign::after { content: ""; position: absolute; background: currentColor; transition: transform var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard); }
.dgb-accordion__sign::before { left: 0; top: 8.5px; width: 18px; height: 1.5px; }
.dgb-accordion__sign::after { top: 0; left: 8.5px; width: 1.5px; height: 18px; }
.dgb-accordion__item[data-open="true"] .dgb-accordion__sign::after { opacity: 0; transform: rotate(90deg); }
.dgb-accordion__item[data-open="true"] .dgb-accordion__sign { color: var(--color-brand-accent); }
.dgb-accordion__panel { overflow: hidden; }
.dgb-accordion__panel-inner { padding: 0 48px 26px 0; max-width: var(--measure-default); font-size: var(--type-body-size); line-height: 1.68; color: var(--color-text-secondary); }

.dgb-tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--color-border-default); overflow-x: auto; }
.dgb-tabs__tab { position: relative; min-height: var(--tap-min); padding: 12px 18px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--color-text-secondary); cursor: pointer; white-space: nowrap; transition: var(--transition-control); }
.dgb-tabs__tab:hover { color: var(--color-text-primary); }
.dgb-tabs__tab[aria-selected="true"] { color: var(--color-text-primary); font-weight: 600; border-bottom-color: var(--color-brand-accent); }
.dgb-tabs__tab:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-tabs__panel { padding-top: var(--space-6); }

.dgb-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.dgb-list__item { display: flex; gap: 14px; font-size: var(--type-body-size); line-height: 1.6; color: var(--color-text-secondary); }
.dgb-list__item strong { color: var(--color-text-primary); font-weight: 600; }
.dgb-list__marker { flex: none; margin-top: 4px; width: 18px; height: 18px; color: var(--color-brand-secondary); }
.dgb-list--numbered { counter-reset: dgb; }
.dgb-list--numbered .dgb-list__item { counter-increment: dgb; }
.dgb-list--numbered .dgb-list__marker { display: grid; place-items: center; font-family: var(--font-serif); font-size: 14px; color: var(--color-text-tertiary); margin-top: 2px; }
.dgb-list--numbered .dgb-list__marker::before { content: counter(dgb); }
.dgb-list--divided { gap: 0; }
.dgb-list--divided .dgb-list__item { padding: 16px 0; border-bottom: 1px solid var(--color-border-subtle); }

/* ---- components/navigation/navigation.css ---- */
/* Navigation — a thin editorial masthead, not an app chrome. */
.dgb-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--color-background-page) 88%, transparent); backdrop-filter: saturate(1.1) blur(12px); border-bottom: 1px solid var(--color-border-subtle); transition: var(--transition-control); }
.dgb-header--solid { background: var(--color-background-page); backdrop-filter: none; }
.dgb-header--inverse { background: color-mix(in oklab, var(--ink-700) 92%, transparent); border-bottom-color: rgb(255 255 255 / 0.12); }
.dgb-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--header-height); }
.dgb-header__nav { display: none; align-items: center; gap: 4px; }
.dgb-header__actions { display: flex; align-items: center; gap: 12px; }
.dgb-header__burger { display: inline-grid; }
@media (min-width: 1024px) { .dgb-header__nav { display: flex; } .dgb-header__burger { display: none; } }

.dgb-navlink { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 14.5px; font-weight: 500; color: var(--color-text-secondary); text-decoration: none; background: none; cursor: pointer; transition: var(--transition-control); }
.dgb-navlink:hover { color: var(--color-text-primary); background: color-mix(in oklab, var(--color-text-primary) 5%, transparent); }
.dgb-navlink[aria-current="page"] { color: var(--color-text-primary); font-weight: 600; }
.dgb-navlink[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; background: var(--color-brand-accent); }
.dgb-navlink:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.dgb-navlink__chev { width: 14px; height: 14px; transition: transform var(--duration-fast) var(--ease-standard); }
.dgb-navlink[aria-expanded="true"] .dgb-navlink__chev { transform: rotate(180deg); }

.dgb-dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 292px; padding: 10px; background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-floating); z-index: 60; }
.dgb-dropdown__item { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; border: 0; border-radius: var(--radius-sm); text-decoration: none; color: var(--color-text-primary); transition: var(--transition-control); }
.dgb-dropdown__item:hover { background: var(--color-surface-sunken); }
.dgb-dropdown__item-title { font-size: 14.5px; font-weight: 600; }
.dgb-dropdown__item-desc { font-size: 12.5px; line-height: 1.45; color: var(--color-text-secondary); }
.dgb-dropdown__sep { margin: 8px 12px; border-top: 1px solid var(--color-border-subtle); }

.dgb-mobilemenu { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: var(--ink-700); color: var(--mineral-100); }
.dgb-mobilemenu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); padding-inline: var(--gutter-mobile); border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.dgb-mobilemenu__body { flex: 1; overflow-y: auto; padding: var(--space-6) var(--gutter-mobile); display: flex; flex-direction: column; }
.dgb-mobilemenu__link { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 14px 0; border: 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); background: none; text-align: left; font-family: var(--font-serif); font-size: 25px; color: var(--mineral-100); text-decoration: none; cursor: pointer; }
.dgb-mobilemenu__link .dgb-icon { width: 18px; height: 18px; color: var(--mist-400); }
.dgb-mobilemenu__foot { padding: var(--space-6) var(--gutter-mobile) var(--space-8); display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgb(255 255 255 / 0.12); }

.dgb-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--color-text-tertiary); }
.dgb-breadcrumb a { color: var(--color-text-secondary); border: 0; text-decoration: none; }
.dgb-breadcrumb a:hover { color: var(--color-text-primary); text-decoration: underline; text-underline-offset: 3px; }
.dgb-breadcrumb__sep { color: var(--color-border-strong); }
.dgb-breadcrumb__current { color: var(--color-text-primary); }

.dgb-footer { background: var(--ink-700); color: var(--mineral-100); padding-block: var(--space-11) var(--space-7); }
.dgb-footer__grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
.dgb-footer__col-title { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist-400); margin-bottom: 18px; }
.dgb-footer__links { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.dgb-footer__links a { color: var(--mineral-300); font-size: 14.5px; border: 0; text-decoration: none; }
.dgb-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.dgb-footer__note { max-width: 46ch; font-size: 13.5px; line-height: 1.62; color: var(--mist-400); }
.dgb-footer__location { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.12); max-width: 46ch; }
.dgb-footer__location .dgb-footer__col-title { margin-bottom: 14px; }
.dgb-footer__location-link { display: inline-block; border: 0; }
.dgb-footer__location-logo { display: block; height: 44px; width: auto; }
.dgb-footer__legal { margin-top: var(--space-10); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12.5px; color: var(--ink-200); }
@media (min-width: 768px) { .dgb-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1024px) { .dgb-footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }

/* ---- components/conversion/conversion.css ---- */
/* Conversion — the next step is always "an evaluation", never a promise. */
.dgb-cta { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-9) var(--space-7); background: var(--teal-600); color: var(--mineral-100); border-radius: var(--radius-md); }
.dgb-cta--ink { background: var(--ink-700); }
.dgb-cta--paper { background: var(--mineral-300); color: var(--ink-700); }
.dgb-cta--bordered { background: transparent; color: var(--color-text-primary); border: 1px solid var(--color-border-default); }
.dgb-cta__title { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; line-height: 1.14; letter-spacing: -0.015em; max-width: 22ch; }
.dgb-cta__text { max-width: 52ch; font-size: var(--type-body-lg-size); line-height: 1.6; opacity: 0.86; }
.dgb-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.dgb-cta--center { align-items: center; text-align: center; }
.dgb-cta--center .dgb-cta__title, .dgb-cta--center .dgb-cta__text { margin-inline: auto; }
@media (min-width: 1024px) { .dgb-cta { padding: var(--space-11) var(--space-10); } }

.dgb-schedule { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--color-background-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); overflow: hidden; }
.dgb-schedule__main { padding: var(--space-8) var(--space-7); display: flex; flex-direction: column; gap: var(--space-5); }
.dgb-schedule__aside { padding: var(--space-8) var(--space-7); background: var(--mineral-200); border-top: 1px solid var(--color-border-subtle); display: flex; flex-direction: column; gap: var(--space-5); }
.dgb-schedule__location { display: flex; flex-direction: column; gap: 12px; padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-border-subtle); }
.dgb-schedule__location-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-tertiary); }
.dgb-schedule__location-logo { display: block; height: 40px; width: auto; }
.dgb-schedule__facts { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.dgb-schedule__facts li { display: flex; gap: 12px; font-size: var(--type-body-sm-size); line-height: 1.55; color: var(--color-text-secondary); }
.dgb-schedule__facts .dgb-icon { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--color-brand-secondary); }
@media (min-width: 900px) { .dgb-schedule { grid-template-columns: 1.35fr 1fr; } .dgb-schedule__aside { border-top: 0; border-left: 1px solid var(--color-border-subtle); } }

.dgb-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-6) var(--space-7); background: var(--ink-700); color: var(--mineral-100); border-radius: var(--radius-md); }
.dgb-banner--accent { background: var(--copper-600); color: #fff; }
.dgb-banner--quiet { background: var(--mineral-300); color: var(--ink-700); }
.dgb-banner__text { display: flex; flex-direction: column; gap: 6px; max-width: 58ch; }
.dgb-banner__title { font-family: var(--font-serif); font-size: 24px; line-height: 1.25; }
.dgb-banner__sub { font-size: var(--type-body-sm-size); line-height: 1.55; opacity: 0.84; }

.dgb-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px; padding: 12px var(--gutter-mobile) calc(12px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-background-page) 95%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--color-border-default); }
.dgb-sticky-cta .dgb-btn { flex: 1; }
@media (min-width: 1024px) { .dgb-sticky-cta { display: none; } }

.dgb-contactform { display: flex; flex-direction: column; gap: var(--space-5); }
.dgb-contactform__row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .dgb-contactform__row--2 { grid-template-columns: 1fr 1fr; } }
.dgb-contactform__consent { padding-top: 4px; }
.dgb-contactform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }

/* ---- components/sections/sections.css ---- */
/* Page sections — editorial rhythm: asymmetric blocks, alternating light and dark. */
.dgb-secthead { display: flex; flex-direction: column; gap: var(--space-4); max-width: 60ch; }
.dgb-secthead--center { align-items: center; text-align: center; margin-inline: auto; }
.dgb-secthead__title { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; line-height: 1.14; letter-spacing: -0.015em; color: var(--color-text-primary); }
.dgb-secthead__title em { font-style: normal; color: var(--color-text-accent); }
.dgb-secthead__lead { font-size: var(--type-body-lg-size); line-height: 1.62; color: var(--color-text-secondary); max-width: var(--measure-default); }

.dgb-hero { position: relative; background: var(--ink-700); color: var(--mineral-100); overflow: hidden; }
.dgb-hero__grid { display: grid; grid-template-columns: 1fr; align-items: center; gap: var(--space-8); padding-block: var(--space-10); }
.dgb-hero__copy { display: flex; flex-direction: column; gap: var(--space-5); max-width: 20ch; }
.dgb-hero__title { font-family: var(--font-serif); font-size: clamp(40px, 6.2vw, 76px); font-weight: 400; line-height: 1.03; letter-spacing: -0.022em; max-width: 16ch; }
.dgb-hero__title em { font-style: normal; color: var(--copper-500); }
.dgb-hero__lead { max-width: 46ch; font-size: var(--type-body-lg-size); line-height: 1.6; color: var(--mist-400); }
.dgb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-2); }
.dgb-hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid rgb(255 255 255 / 0.14); }
.dgb-hero__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-600); }
.dgb-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.dgb-hero--light { background: var(--mineral-100); color: var(--ink-700); }
.dgb-hero--light .dgb-hero__lead { color: var(--color-text-secondary); }
.dgb-hero--light .dgb-hero__meta { border-top-color: var(--color-border-default); }
.dgb-hero--light .dgb-hero__title em { color: var(--copper-700); }
@media (min-width: 900px) {
  .dgb-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-11); padding-block: var(--space-12); }
  .dgb-hero__copy { max-width: none; }
}

.dgb-about { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
.dgb-about__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-sunken); }
.dgb-about__media img { width: 100%; height: 100%; object-fit: cover; }
.dgb-about__body { display: flex; flex-direction: column; gap: var(--space-5); }
.dgb-about__signature { font-family: var(--font-serif); font-size: 22px; line-height: 1.4; color: var(--color-text-primary); padding-left: var(--space-5); border-left: 2px solid var(--color-brand-accent); }
@media (min-width: 900px) { .dgb-about { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-10); } .dgb-about--flip .dgb-about__media { order: 2; } }

.dgb-diffs { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--color-border-default); }
.dgb-diffs__item { display: flex; flex-direction: column; gap: 12px; padding: var(--space-6) 0; border-bottom: 1px solid var(--color-border-default); }
.dgb-diffs__num { font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.1em; color: var(--color-text-tertiary); }
.dgb-diffs__title { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.35; }
.dgb-diffs__text { font-size: var(--type-body-sm-size); line-height: 1.62; color: var(--color-text-secondary); max-width: 42ch; }
@media (min-width: 768px) { .dgb-diffs { grid-template-columns: 1fr 1fr; column-gap: var(--space-9); } }
@media (min-width: 1200px) { .dgb-diffs--3 { grid-template-columns: repeat(3, 1fr); } }

.dgb-specialties { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 640px) { .dgb-specialties { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .dgb-specialties--3 { grid-template-columns: repeat(3, 1fr); } .dgb-specialties--4 { grid-template-columns: repeat(4, 1fr); } }

.dgb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-6); }
.dgb-stats__item { display: flex; flex-direction: column; gap: 8px; }
.dgb-stats__value { font-family: var(--font-serif); font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: var(--color-text-primary); }
.dgb-stats__label { font-size: 13px; line-height: 1.5; color: var(--color-text-secondary); max-width: 22ch; }
@media (min-width: 900px) { .dgb-stats { grid-template-columns: repeat(4, 1fr); } }

.dgb-creds { display: grid; grid-template-columns: 1fr; gap: 0; }
.dgb-creds__item { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-5); padding: var(--space-6) 0; border-bottom: 1px solid var(--color-border-default); }
.dgb-creds__year { font-family: var(--font-serif); font-size: 15px; color: var(--color-text-tertiary); letter-spacing: 0.04em; }
.dgb-creds__title { font-size: 17px; font-weight: 600; line-height: 1.4; }
.dgb-creds__inst { margin-top: 5px; font-size: var(--type-body-sm-size); color: var(--color-text-secondary); }

.dgb-logostrip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-9); }
.dgb-logostrip__item { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--color-text-tertiary); }
.dgb-logostrip--bordered { padding-block: var(--space-6); border-block: 1px solid var(--color-border-default); }

.dgb-faq { display: grid; grid-template-columns: 1fr; gap: var(--space-7); }
@media (min-width: 1024px) { .dgb-faq { grid-template-columns: 0.72fr 1.28fr; gap: var(--space-10); } }

.dgb-testimonials { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 768px) { .dgb-testimonials { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .dgb-testimonials--3 { grid-template-columns: repeat(3, 1fr); } }

/* Reusable section wrappers */
.dgb-band { background: var(--color-background-page); }
.dgb-band--alt { background: var(--mineral-300); }
.dgb-band--ink { background: var(--ink-700); color: var(--mineral-100); }
.dgb-band--teal { background: var(--teal-600); color: var(--mineral-100); }
