/*
Theme Name: NEST2.0
Theme URI: https://brilliantly.net/
Template: bww-keen
Author: Brilliant Web Works
Author URI: https://brilliantly.net/
Description: The Brilliant Web Works base child on the Keen parent. Brilliantly.net's palette and type, default styling for every element and core block, and the base patterns every new site starts from. Clone it, rename it, change the values.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 8.3
Version: 0.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nest20
*/

/* Signature CSS only. Everything a token or a block setting can express stays in theme.json. Budget: 150 lines provisional, replaced by pilot item 5. */

:focus-visible { outline: 3px solid var(--wp--preset--color--action-hover); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

a, button, .wp-element-button, .wp-block-button__link { transition: color .15s linear, background-color .15s linear, border-color .15s linear; }

@view-transition { navigation: auto; }

/* The brand rule: a short red bar above a section's eyebrow, from the logo's red. */
.nest20-eyebrow::before { content: ""; display: block; width: 3rem; height: 4px; margin-bottom: var(--wp--preset--spacing--space-snug); background: var(--wp--preset--color--action); border-radius: var(--wp--custom--radius-pill); }
.has-text-align-center .nest20-eyebrow::before, .nest20-eyebrow.has-text-align-center::before { margin-left: auto; margin-right: auto; }

/* Tiles lift on hover without becoming buttons. */
.nest20-tile { transition: transform .15s linear, box-shadow .15s linear; }
.nest20-tile:hover { transform: translateY(-3px); box-shadow: var(--wp--custom--shadow-raised); }

/* Blockquote mark, the BWW house treatment. */
.wp-block-quote { position: relative; }
.wp-block-quote::before { content: open-quote; position: absolute; left: var(--wp--preset--spacing--space-base); top: 0; font-family: var(--wp--preset--font-family--heading); font-size: 4rem; line-height: 1; color: var(--wp--preset--color--action); opacity: .5; }

/* The overlay close button takes the overlay's text colour instead of core's black. */
.wp-block-navigation-overlay-close { color: inherit; }

/* Header: the call to action keeps its size; a long site name wraps instead. */
.nest20-header-cta { flex-shrink: 0; }
.nest20-header-cta .wp-block-button__link { white-space: nowrap; }
@media (max-width: 599px) { .wp-block-buttons.nest20-header-cta { display: none; } }
