/* =====================================================
   HONESTLY, E — Base Styles
   Reset, typography, global elements
   ===================================================== */

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Typography */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.text-muted {
    color: var(--text-muted);
}

/* Utility */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section--dark {
    background: var(--navy);
    color: var(--text-on-dark);
}

.section--dark .eyebrow {
    color: var(--gold);
}

.section--dark .text-muted {
    color: var(--text-on-dark-muted);
}

.section--cream {
    background: var(--cream);
}

.section--white {
    background: var(--warm-white);
}

.text-center {
    text-align: center;
}

/* Selection */

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

/* Focus */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
