/*
Theme Name: The Laylas
Theme URI: https://thelaylas.com
Author: The Laylas
Author URI: https://thelaylas.com
Description: An elegant editorial digital magazine focused on beauty, living, culture, work, creativity, rituals, travel, and thoughtful modern lifestyle stories. Built for Full Site Editing with Gutenberg block themes.
Version: 1.0.1
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-laylas
Tags: full-site-editing, block-patterns, custom-colors, custom-typography, editor-style, featured-images, wide-blocks, one-column, two-columns, three-columns, blog, magazine, editorial
*/

/*
 * The Laylas — Base Reset & Root Styles
 * All design tokens are controlled through theme.json.
 * This file provides the minimal base needed before theme.json applies.
 */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--wp--preset--font-family--spectral, 'Spectral', Georgia, serif);
    background-color: var(--wp--preset--color--alabaster, #FBF8F2);
    color: var(--wp--preset--color--ink, #211E18);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--wp--preset--color--clay, #9C5B33);
}

:focus-visible {
    outline: 2px solid var(--wp--preset--color--clay, #9C5B33);
    outline-offset: 3px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--wp--preset--color--ink);
    color: var(--wp--preset--color--alabaster);
    font-family: var(--wp--preset--font-family--jost);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s ease;
}

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