/* Explain: Base styles, typography, and global element resets. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    background:
        radial-gradient(circle at 12% -8%, rgba(197, 164, 109, 0.10), transparent 38rem),
        radial-gradient(circle at 88% 4%, rgba(38, 58, 53, 0.55), transparent 42rem),
        linear-gradient(180deg, #0B1116 0%, #0E151B 100%);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--gold-color);
    color: var(--primary-color);
}

h1,
h2,
h3,
.luxury-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

p {
    line-height: 1.8;
}

.article-prose p {
    margin-top: 1.1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.article-prose h2 {
    margin-top: 2.2rem;
    color: var(--offwhite-color);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.article-prose h3 {
    margin-top: 1.8rem;
    color: var(--offwhite-color);
}

.article-prose ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

button,
a {
    transition: all 220ms ease;
}

:focus-visible {
    outline: 3px solid rgba(197, 164, 109, 0.7);
    outline-offset: 4px;
}

[x-cloak] {
    display: none !important;
}