/* =========================================================================
   BASE — typography nền, màu nền, liên kết
   ========================================================================= */

html {
    font-size: 16px;          /* KHÔNG giảm root để ép layout */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--c-text);
    background-color: var(--c-paper);
    background-image:
        radial-gradient(1200px 520px at 8% 4%, rgba(255, 255, 255, .3), transparent 60%),
        radial-gradient(900px 480px at 96% 52%, rgba(255, 252, 246, .26), transparent 62%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    color: var(--c-heading);
    line-height: var(--lh-heading);
    font-weight: 700;
    letter-spacing: -.01em;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 700;
    color: var(--c-heading);
}

a:hover {
    color: var(--c-red);
}

::selection {
    background: rgba(189, 35, 30, .16);
    color: var(--c-heading);
}

/* ---------- Chữ viết tay ---------- */
.script {
    font-family: var(--font-script);
    font-weight: 700;
    line-height: 1.34;
    letter-spacing: .01em;
}

.script--red   { color: var(--c-red-bright); }
.script--cream { color: var(--c-on-dark); }
.script--white { color: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-muted);
}

/* Ngắt dòng chỉ áp dụng từ tablet ngang trở lên (theo đúng mockup) */
.br-md { display: inline; }

@media (max-width: 1024px) {
    .br-md { display: none; }
}
