/* The shared footer: text styles come from tokens.css; this sets their colours on the dark band. */
footer#contact .ds-h2, footer#contact .ft-head { color: var(--ink-inverse); }
footer#contact .ft-muted { color: var(--ink-inverse-secondary); }
footer#contact [data-cta] .ds-small { font-weight: var(--weight-medium); }

/* Let's chat: the same main button as the nav's, at --radius-control. The page's own fill and
   cream label layers do the swap to ink. An ink edge can't show on the dark footer, so the
   filled states take a cream outline and the focus ring is cream. The outlines are inset
   shadows, so they take no width and stay 1.5px on 1x screens. */
footer#contact [data-cta] { border-radius: var(--radius-control) !important; }
footer#contact [data-cta-body] { height: var(--space-48) !important; border: 0 !important; border-radius: var(--radius-control) !important; background: var(--page) !important; box-shadow: inset 0 0 0 var(--stroke-button) var(--ink) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
footer#contact [data-cta]:hover [data-cta-body], footer#contact [data-cta]:focus-visible [data-cta-body], footer#contact [data-cta][aria-current] [data-cta-body] { transform: none !important; }
footer#contact [data-cta-fill] { background: var(--ink) !important; border-radius: var(--radius-control); box-shadow: inset 0 0 0 var(--stroke-button) var(--ink-inverse); }
footer#contact [data-cta]:focus-visible [data-cta-fill], footer#contact [data-cta]:focus-visible [data-cta-light], footer#contact [data-cta][aria-current] [data-cta-fill], footer#contact [data-cta][aria-current] [data-cta-light] { opacity: 1; }
footer#contact [data-cta]:focus-visible { outline: 2px solid var(--ink-inverse); outline-offset: 0; }
footer#contact [data-cta][aria-current] { cursor: default; }

/* the pixel page theme (/cat-tree only): a plank along the top instead of the curved edge,
   pixel corners on Let's chat, the name tags' font on headings. Same layout and colours;
   text links stay in the sans, as on every other page, with a 44px tap area. */
[data-theme="pixel"] footer#contact { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
.px-footer-plank { display: block; height: calc(4 * var(--u)); overflow: hidden; background: var(--page); }
.px-footer-plank canvas { display: block; image-rendering: pixelated; }
[data-theme="pixel"] footer#contact .ds-h2, [data-theme="pixel"] footer#contact .ft-head { font-family: var(--font-tag); font-weight: var(--weight-regular); letter-spacing: 0; }
[data-theme="pixel"] footer#contact [data-fcol] { gap: 0 !important; }
[data-theme="pixel"] footer#contact [data-flink] { display: inline-flex; align-items: center; min-height: var(--tap-min); }
[data-theme="pixel"] footer#contact [data-cta] { border-radius: 0 !important; }
[data-theme="pixel"] footer#contact [data-cta-body] { border-radius: 0 !important; box-shadow: none !important; clip-path: var(--px-corners); }
[data-theme="pixel"] footer#contact [data-cta-fill] { inset: var(--s) !important; border-radius: 0; box-shadow: none; clip-path: var(--px-corners); }

/* the flowers on the pixel page: drawn on a 23 × 24 grid at a whole-number scale, so they stand
   straight (no lean, no sway) and only fade and lift. Same spots and colour as the line ones. */
[data-theme="pixel"] footer#contact { margin-top: var(--space-64) !important; }
[data-theme="pixel"] footer#contact [data-fl] { --px: var(--u); width: calc(23 * var(--px)); height: calc(24 * var(--px)) !important; aspect-ratio: auto !important; transform: translateX(-50%) !important; }
[data-theme="pixel"] footer#contact [data-fl-sway] { animation: none; }
