/*
Theme Name: WebMDesign
Theme URI: https://webmdesign.com
Author: DevQ
Author URI: https://thedevq.com
Description: Custom ACF-block theme for WebMDesign, ported from the Figma Make prototype. Dark studio aesthetic — Space Grotesk display, Inter body, IBM Plex Mono eyebrows, periwinkle accent.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webmdesign
*/

/* Design tokens — lifted verbatim from the prototype. */
:root {
  --wmd-black: #08080a;
  --wmd-black-soft: #0e0e12;
  --wmd-white: #f7f7f5;
  --wmd-gray: #b1b1bc;
  --wmd-gray-dim: #4a4a52;
  --wmd-peri: #7a7cff;
  --wmd-peri-dim: #4d4fcb;
  --wmd-line: rgba(247, 247, 245, 0.09);
  --wmd-line-strong: rgba(247, 247, 245, 0.16);
  --wmd-ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wmd-black);
  color: var(--wmd-white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body ::selection {
  background: var(--wmd-peri);
  color: var(--wmd-black);
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

/* Note: `cursor: none` and #wmd-cursor ship inside portfolio.css, scoped to
   .wmd-root — the only route that uses the custom cursor. Don't duplicate it. */

/* Keep the admin bar from fighting the fixed nav. */
body.admin-bar .wmd-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wmd-nav { top: 46px; } }

.wmd-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--wmd-peri);
  color: var(--wmd-black);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
}
.wmd-skip-link:focus { left: 8px; top: 8px; }

/* Visible focus ring — the prototype had none; this is an a11y addition. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--wmd-peri);
  outline-offset: 3px;
}

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