/* ==========================================================================
   LASOFY DIGITAL COUTURE — TYPOGRAPHY & ACCESSIBILITY UTILITIES
   ========================================================================== */

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

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

body {
    margin: 0;
    background-color: var(--color-ivory);
    color: var(--color-espresso);
    font-family: var(--font-sans);
    font-size: clamp(15px, 1vw, 16px);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol,
figure {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Visible Keyboard Focus Indicator */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--color-espresso);
    outline-offset: 3px;
}

/* Editorial Heading Scale */
h1,
.h1-editorial {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: -0.015em;
    color: var(--color-espresso);
    margin: 0;
}

h2,
.h2-section {
    font-family: var(--font-serif);
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--color-espresso);
    margin: 0;
}

h3,
.h3-card {
    font-family: var(--font-serif);
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-espresso);
    margin: 0;
}

h4,
h5 {
    font-family: var(--font-sans);
    color: var(--color-espresso);
    margin: 0;
}

p {
    margin: 0;
    color: var(--color-body);
}

.caption-eyebrow,
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-champagne-deep);
}

.caption-muted {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
}

.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
