/* ==========================================================================
   Novelty — custom typography & visual polish
   Loaded AFTER styles.css so these rules override the base theme.
   ========================================================================== */

:root {
    /* Font pairing */
    --Font-body: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    --Font-display: "Playfair Display", "Times New Roman", Georgia, serif;

    /* Refined palette (built on top of the existing brand tokens) */
    --Ink: #15171b;
    --Body-text: #5a6169;
    --Line: #ece9e0;
    --Bg-light: #f8f7f2;
}

/* ---------- Base ---------- */
body {
    font-family: var(--Font-body);
    color: var(--Body-text);
    font-size: 15.5px;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    line-height: 1.75;
}

::selection {
    background: var(--Primary);
    color: #111;
}

/* ---------- Headings ---------- */
/* Display serif for the big moments (hero + section titles) */
h1, .h1, h2, .h2 {
    font-family: var(--Font-display);
    color: var(--Ink);
    font-weight: 600;
    letter-spacing: -0.4px;
    text-wrap: balance;
}

/* Clean sans for smaller headings / UI text */
h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--Font-body);
    color: var(--Ink);
    letter-spacing: -0.2px;
}

/* Recalibrated sizes — the defaults were very large */
h1, .h1 { font-size: 60px; line-height: 1.12; }
h2, .h2 { font-size: 42px; line-height: 1.2; }
h3, .h3 { font-size: 33px; line-height: 1.28; }
h4, .h4 { font-size: 24px; line-height: 1.35; }
h5, .h5 { font-size: 20px; line-height: 1.4; }
h6, .h6 { font-size: 17px; line-height: 1.5; }

/* ---------- Responsive heading scale ---------- */
@media (max-width: 1199px) {
    h1, .h1 { font-size: 50px; }
    h2, .h2 { font-size: 38px; }
    h3, .h3 { font-size: 30px; }
}
@media (max-width: 991px) {
    h1, .h1 { font-size: 42px; }
    h2, .h2 { font-size: 34px; }
    h3, .h3 { font-size: 27px; }
}
@media (max-width: 767px) {
    h1, .h1 { font-size: 34px; }
    h2, .h2 { font-size: 28px; }
    h3, .h3 { font-size: 24px; }
    h4, .h4 { font-size: 21px; }
    h6, .h6 { font-size: 16px; }
}
@media (max-width: 575px) {
    h1, .h1 { font-size: 30px; }
    h2, .h2 { font-size: 25px; }
    h3, .h3 { font-size: 22px; }
}

/* ---------- Buttons & links ---------- */
.tf-btn {
    border-radius: 10px;
    letter-spacing: 0.2px;
}

.tf-btn,
.btn {
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

a {
    transition: color 0.25s ease;
}

/* ---------- Section spacing harmony ---------- */
.heading-section .sub-title,
.section-title {
    letter-spacing: 0.6px;
}
