/* =============================================================================
   THEME: Teal & Ember
   Layout: Soft Editorial (identical structure)
   Palette: Original site colours — deep teal + burnt orange — in the
            editorial layout. Same calm, spacious feel, familiar brand colours.
   Fonts: Montserrat (headings) + Source Sans Pro (body) — unchanged
   ============================================================================= */

:root {
    --primary:       #3c9a97;   /* Light teal — matches logo */
    --primary-mid:   #4aadaa;   /* Mid teal for hover states */
    --secondary:     #d45d12;   /* Burnt orange — original brand */
    --accent:        #e8813a;   /* Lighter ember */
    --tertiary:      #f5f2ec;   /* Warm off-white */
    --surface:       #fdfbf8;   /* Near-white warm */
    --white:         #ffffff;
    --text-main:     #1e2a2a;   /* Warm near-black */
    --text-muted:    #5a6e6e;   /* Muted teal-grey */
    --border:        rgba(106, 203, 199, 0.2);
    --soft-cream:    #f5f2ec;

    /* Functional aliases */
    --vibrant-orange: #d45d12;
    --soft-border:    rgba(106, 203, 199, 0.2);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--surface);
    color: var(--text-main);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1rem, 2vw, 1.15rem); }

.container {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.badge {
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.soft-divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 4rem auto;
    max-width: 120px;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
