/*
Theme Name: RI Theme
Theme URI: https://resourceinteractive.net/
Author: Resource Interactive
Author URI: https://resourceinteractive.net/
Description: Custom Full Site Editing (FSE) block theme for multi-service business sites. Designed as a brand-flexible template — colors, fonts, and logo are overridable via WordPress Site Editor → Styles without touching code. Pairs with the ri-blocks plugin for the bespoke block library. See BRAND.md for the brand-customization checklist.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ri-theme
Tags: full-site-editing, block-themes, blog, business, e-commerce
*/

/*
 * Most styling lives in theme.json (design tokens) and per-block style.css files
 * (in the ri-blocks plugin). This stylesheet only carries:
 *   1. The theme metadata header above (required by WordPress).
 *   2. Global focus-visible styling that cannot be expressed in theme.json.
 */

:focus-visible {
  outline: 3px solid var(--wp--preset--color--brand-primary);
  outline-offset: 3px;
  border-radius: var(--wp--custom--border-radius--sm);
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Skip-link styling — hidden until focused, then visible at top-left */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: var(--wp--preset--color--neutral-900);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}
