/*
Theme Name: Halcyon
Theme URI: https://tenfoldthemes.example/halcyon
Author: Tenfold Themes
Author URI: https://tenfoldthemes.example
Description: An onsen-minimalist block theme for day spas, thermal suites and wellness studios — hairline Italiana display, alabaster stillness, steam-curve artwork, a treatment-menu system, membership tiers and a booking flow, with 18 patterns including four full-page layouts, a Dusk Onsen dark style and locally hosted Italiana & Karla fonts.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halcyon
Tags: block-theme, full-site-editing, block-patterns, block-styles, custom-colors, editor-style, featured-images, threaded-comments, translation-ready, wide-blocks, one-column, entertainment, portfolio, blog
*/

/* ---------------------------------------------------------------------------
 * Focus visibility & motion
 * ------------------------------------------------------------------------- */

:where(a, button, input, summary, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 1px;
}

::selection {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

a,
.wp-block-button__link,
.wp-element-button {
	transition: var(--wp--custom--transition);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------------------
 * Block style: Group — Hairline Card
 * A quiet panel drawn with a single 2px hairline. No shadow — stillness first.
 * ------------------------------------------------------------------------- */

.wp-block-group.is-style-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--wp--custom--radius--m);
	padding: var(--wp--preset--spacing--40);
	transition: border-color 0.3s ease;
}

.wp-block-group.is-style-card:hover {
	border-color: var(--wp--preset--color--primary);
}

/* ---------------------------------------------------------------------------
 * Block style: Group — Matted Frame
 * A double hairline that mats content like a framed print in a tea lounge.
 * ------------------------------------------------------------------------- */

.wp-block-group.is-style-frame {
	border: 1px solid var(--wp--preset--color--border);
	outline: 1px solid var(--wp--preset--color--border);
	outline-offset: 6px;
	border-radius: var(--wp--custom--radius--m);
	padding: var(--wp--preset--spacing--40);
}

/* ---------------------------------------------------------------------------
 * Block style: Paragraph — Eyebrow label
 * Tiny wide-tracked small-caps label with a short leading hairline rule.
 * ------------------------------------------------------------------------- */

p.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}

p.is-style-eyebrow::before {
	content: "";
	display: inline-block;
	width: 1.8em;
	height: 1px;
	vertical-align: middle;
	margin-right: 0.9em;
	margin-bottom: 0.18em;
	background: var(--wp--preset--color--border);
}

/* Centered eyebrows get a matching trailing rule. */
.has-text-align-center p.is-style-eyebrow::after,
p.is-style-eyebrow.has-text-align-center::after {
	content: "";
	display: inline-block;
	width: 1.8em;
	height: 1px;
	vertical-align: middle;
	margin-left: 0.9em;
	margin-bottom: 0.18em;
	background: var(--wp--preset--color--border);
}

/* ---------------------------------------------------------------------------
 * Block style: Separator — Stone stack
 * Three small pebbles centered, the studio's signature mark.
 * ------------------------------------------------------------------------- */

hr.is-style-stone-rule {
	border: none;
	height: 6px;
	width: 46px;
	background-image:
		radial-gradient(circle, var(--wp--preset--color--contrast-2) 40%, transparent 42%),
		radial-gradient(circle, var(--wp--preset--color--contrast-2) 40%, transparent 42%),
		radial-gradient(circle, var(--wp--preset--color--contrast-2) 40%, transparent 42%);
	background-size: 6px 6px;
	background-repeat: no-repeat;
	background-position: left center, center center, right center;
	opacity: 0.85;
}

/* ---------------------------------------------------------------------------
 * Block style: List — Ripple markers
 * Each item marked by a small hairline ring rather than a bullet.
 * ------------------------------------------------------------------------- */

ul.is-style-ripple {
	list-style: none;
	padding-left: 0;
}

ul.is-style-ripple > li {
	padding-left: 1.9em;
	position: relative;
	margin-bottom: 0.7em;
}

ul.is-style-ripple > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 0.7em;
	height: 0.7em;
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 999px;
}

/* ---------------------------------------------------------------------------
 * Details / FAQ affordance
 * ------------------------------------------------------------------------- */

.wp-block-details summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 2rem;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.3em;
	font-weight: 300;
	line-height: 1;
	color: var(--wp--preset--color--accent);
	transition: transform 0.3s ease;
}

.wp-block-details[open] summary::after {
	content: "\2212";
}

.wp-block-details > :not(summary) {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 400;
	color: var(--wp--preset--color--contrast-2);
}

/* ---------------------------------------------------------------------------
 * Treatment-menu leaders — dotted rule between name and price
 * ------------------------------------------------------------------------- */

.wp-block-table thead {
	border-bottom: 1px solid var(--wp--preset--color--contrast);
}

.wp-block-table th {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.75rem;
	color: var(--wp--preset--color--contrast-2);
}

.wp-block-table td,
.wp-block-table th {
	border-color: var(--wp--preset--color--border);
}

/* ---------------------------------------------------------------------------
 * Small refinements
 * ------------------------------------------------------------------------- */

.wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--accent);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 1px;
}

.wp-block-image img {
	height: auto;
	max-width: 100%;
}

.wp-block-quote {
	font-style: normal;
}
