/* ==========================================================================
   Family Life Lab — main stylesheet
   Warm parenting blog theme. Mix of magazine warmth and resource hub.
   ========================================================================== */

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

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

body {
    margin: 0;
    background: var(--fll-cream);
    color: var(--fll-ink);
    font-family: var(--fll-font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--fll-terracotta); }

button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }

ul, ol { padding: 0; margin: 0; }

::selection { background: var(--fll-terracotta); color: var(--fll-bone); }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -100px; left: 16px;
    background: var(--fll-ink); color: var(--fll-cream);
    padding: 10px 14px; border-radius: 6px;
    z-index: 9999; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* -------- Tokens (warm palette + scales) --------------------------------- */
:root {
    --fll-cream:        #faf3ea;
    --fll-cream-dark:   #ebe1d0;
    --fll-paper:        #f6efe3;
    --fll-bone:         #fdfaf3;
    --fll-ink:          #2a2118;
    --fll-ink-soft:     #3a2e21;
    --fll-text:         #5a4a35;
    --fll-muted:        #8a7a65;
    --fll-line:         rgba(58,46,33,.1);
    --fll-line-strong:  rgba(58,46,33,.22);
    --fll-shadow:       0 12px 40px -16px rgba(58,46,33,.18);
    --fll-shadow-soft:  0 4px 16px -8px rgba(58,46,33,.12);

    --fll-sage:         #5a7c6a;
    --fll-sage-deep:    #3f5a4d;
    --fll-sage-soft:    #d8e2d8;

    --fll-terracotta:   #c47860;
    --fll-terracotta-deep:#9a5944;
    --fll-terracotta-soft:#ecd5cb;

    --fll-rose:         #a06b80;
    --fll-rose-deep:    #7a4f60;
    --fll-rose-soft:    #ead5dc;

    --fll-wood:         #b8956a;
    --fll-wood-deep:    #8a6c47;
    --fll-wood-soft:    #ecd9c2;

    --fll-font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --fll-font-body:    'Karla', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --fll-radius-sm: 6px;
    --fll-radius:    10px;
    --fll-radius-lg: 16px;

    --fll-ease:      cubic-bezier(.16,1,.3,1);
    --fll-ease-soft: cubic-bezier(.4,0,.2,1);
}

/* -------- Containers ---------------------------------------------------- */
.fll-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.fll-container--narrow { max-width: 760px; }

@media (max-width: 640px) {
    .fll-container { padding: 0 18px; }
}

/* -------- Typography ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fll-font-display);
    font-weight: 400;
    line-height: 1.15;
    color: var(--fll-ink);
    letter-spacing: -.005em;
    margin: 0;
    font-variation-settings: "opsz" 36, "SOFT" 50;
}

p { margin: 0 0 1em; color: var(--fll-text); }

strong { font-weight: 600; color: var(--fll-ink); }

em { font-style: italic; }

/* -------- Buttons ------------------------------------------------------- */
.fll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--fll-font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .35s var(--fll-ease), background .25s var(--fll-ease-soft), color .25s var(--fll-ease-soft), border-color .25s var(--fll-ease-soft), box-shadow .35s var(--fll-ease);
    white-space: nowrap;
}
.fll-btn:hover { transform: translateY(-2px); box-shadow: var(--fll-shadow-soft); }
.fll-btn:active { transform: translateY(0); transition-duration: .08s; }

.fll-btn--dark    { background: var(--fll-ink); color: var(--fll-cream); }
.fll-btn--dark:hover { background: var(--fll-ink-soft); color: var(--fll-cream); }
.fll-btn--ghost   { background: transparent; color: var(--fll-ink); border-color: var(--fll-line-strong); }
.fll-btn--ghost:hover { background: var(--fll-cream-dark); color: var(--fll-ink); }
.fll-btn--accent  { background: var(--fll-terracotta); color: var(--fll-bone); }
.fll-btn--accent:hover { background: var(--fll-terracotta-deep); color: var(--fll-bone); }
.fll-btn--outline { background: transparent; color: var(--fll-ink); border-color: var(--fll-ink); }
.fll-btn--outline:hover { background: var(--fll-ink); color: var(--fll-cream); }
.fll-btn--small   { padding: 9px 16px; font-size: 12px; }
.fll-btn--full    { width: 100%; }

/* -------- Section headers ----------------------------------------------- */
.fll-section__header { margin-bottom: 28px; }
.fll-section__header--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.fll-section__eyebrow {
    font-size: 11px;
    letter-spacing: .12em;
    color: var(--fll-muted);
    text-transform: lowercase;
    margin: 0 0 8px;
    font-weight: 500;
}
.fll-section__title {
    font-size: clamp(22px, 3vw, 30px);
    margin: 0;
}
.fll-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fll-muted);
    transition: color .25s var(--fll-ease-soft), gap .25s var(--fll-ease-soft);
}
.fll-section__link:hover { color: var(--fll-terracotta); gap: 10px; }
.fll-section__link svg { transition: transform .25s var(--fll-ease-soft); }
.fll-section__link:hover svg { transform: translateX(2px); }

/* -------- Header -------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(250,243,234,.92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .35s var(--fll-ease-soft), background .35s var(--fll-ease-soft);
}
.site-header.is-scrolled {
    border-bottom-color: var(--fll-line);
    background: rgba(250,243,234,.96);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.site-header__menu-toggle {
    display: none;
    color: var(--fll-ink);
    padding: 8px;
    margin: -8px;
}

.site-header__brand { display: flex; align-items: center; }
.site-header__title-link { display: inline-flex; }
.site-header__title {
    font-family: var(--fll-font-display);
    font-size: 18px;
    letter-spacing: .02em;
    color: var(--fll-ink);
    font-weight: 400;
}
.custom-logo { max-height: 44px; width: auto; }

.site-header__nav { justify-self: center; }
.site-header__menu {
    display: flex;
    gap: 26px;
    list-style: none;
    align-items: center;
    margin: 0;
}
.site-header__menu li { position: relative; }
.site-header__menu a {
    font-size: 13px;
    color: var(--fll-text);
    padding: 8px 0;
    position: relative;
    transition: color .25s var(--fll-ease-soft);
}
.site-header__menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 1px;
    background: var(--fll-terracotta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--fll-ease);
}
.site-header__menu a:hover { color: var(--fll-ink); }
.site-header__menu a:hover::after,
.site-header__menu .current-menu-item > a::after,
.site-header__menu .current-menu-parent > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header__cta { justify-self: end; }

/* Mobile drawer */
.site-header__drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear .4s;
}
.site-header__drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.site-header__drawer-overlay {
    position: absolute; inset: 0;
    background: rgba(42,33,24,.4);
    opacity: 0;
    transition: opacity .35s var(--fll-ease-soft);
}
.site-header__drawer.is-open .site-header__drawer-overlay { opacity: 1; }

.site-header__drawer-inner {
    position: relative;
    width: 86%;
    max-width: 380px;
    height: 100%;
    background: var(--fll-cream);
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform .45s var(--fll-ease);
    overflow-y: auto;
}
.site-header__drawer.is-open .site-header__drawer-inner {
    transform: translateX(0);
}

.site-header__drawer-top {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; border-bottom: 1px solid var(--fll-line);
}
.site-header__drawer-title {
    font-family: var(--fll-font-display);
    font-size: 16px;
    color: var(--fll-ink);
}
.site-header__drawer-close {
    color: var(--fll-ink);
    padding: 8px; margin: -8px;
}
.site-header__drawer-menu {
    list-style: none;
    margin: 12px 0 auto;
    display: flex; flex-direction: column;
    gap: 4px;
}
.site-header__drawer-menu a {
    display: block;
    padding: 14px 0;
    font-family: var(--fll-font-display);
    font-size: 22px;
    color: var(--fll-ink);
    border-bottom: 1px solid var(--fll-line);
    transition: padding-left .35s var(--fll-ease), color .25s var(--fll-ease-soft);
}
.site-header__drawer-menu a:hover { padding-left: 8px; color: var(--fll-terracotta); }

.site-header__drawer-newsletter {
    background: var(--fll-cream-dark);
    border-radius: var(--fll-radius);
    padding: 18px;
    margin-top: 8px;
}
.site-header__drawer-eyebrow {
    font-size: 10px; letter-spacing: .14em;
    color: var(--fll-muted); margin: 0 0 6px;
    font-weight: 500;
}
.site-header__drawer-pitch {
    font-family: var(--fll-font-display);
    font-size: 16px; line-height: 1.3;
    color: var(--fll-ink); margin: 0 0 14px;
}

@media (max-width: 880px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        padding: 14px 18px;
        gap: 12px;
    }
    .site-header__menu-toggle { display: inline-flex; }
    .site-header__nav { display: none; }
    .site-header__brand { justify-self: center; }
    .site-header__title { font-size: 15px; }
}

/* -------- Hero ---------------------------------------------------------- */
.fll-hero {
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}
.fll-hero::before {
    content: '';
    position: absolute;
    inset: -100px -100px auto auto;
    width: 480px; height: 480px;
    background: var(--fll-cream-dark);
    border-radius: 50%;
    opacity: .55;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}
.fll-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
}

.fll-hero__eyebrow {
    font-family: var(--fll-font-body);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--fll-muted);
    margin: 0 0 14px;
    text-transform: lowercase;
    font-weight: 500;
}

.fll-hero__title {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.02;
    color: var(--fll-ink);
    margin: 0 0 18px;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 96, "SOFT" 80;
}
.fll-hero__title em {
    font-style: italic;
    color: var(--fll-terracotta);
    font-variation-settings: "opsz" 96, "SOFT" 100;
}

.fll-hero__subtitle {
    font-size: 17px;
    color: var(--fll-text);
    margin: 0 0 26px;
    max-width: 480px;
    line-height: 1.6;
}

.fll-hero__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

.fll-hero__media { position: relative; }
.fll-hero__image-wrap {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: var(--fll-radius-lg);
    overflow: hidden;
    box-shadow: var(--fll-shadow);
    background: var(--fll-cream-dark);
}
.fll-hero__image {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: fll-ken 16s ease-in-out infinite alternate;
}
.fll-hero__placeholder {
    aspect-ratio: 1/1;
    border-radius: var(--fll-radius-lg);
    background: linear-gradient(135deg, var(--fll-cream-dark), var(--fll-wood-soft));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--fll-muted);
    text-align: center;
    padding: 24px;
}
.fll-hero__placeholder-label { font-size: 13px; max-width: 200px; }

.fll-hero__decorations {
    position: absolute; inset: 0;
    pointer-events: none;
}
.fll-hero__dot {
    position: absolute;
    border-radius: 50%;
    opacity: .85;
}
.fll-hero__dot--sage {
    width: 80px; height: 80px;
    background: var(--fll-sage);
    top: -20px; left: -28px;
    animation: fll-float 9s ease-in-out infinite alternate;
}
.fll-hero__dot--terracotta {
    width: 48px; height: 48px;
    background: var(--fll-terracotta);
    bottom: 18px; right: -14px;
    animation: fll-float 7s 1s ease-in-out infinite alternate-reverse;
}

@keyframes fll-ken {
    0%   { transform: scale(1) translate(0,0); }
    100% { transform: scale(1.06) translate(-1.5%, -1%); }
}
@keyframes fll-float {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(8px, -10px); }
}

@media (max-width: 880px) {
    .fll-hero { padding: 36px 0 28px; }
    .fll-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .fll-hero__media { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
    .fll-hero__buttons { justify-content: flex-start; }
}

/* -------- Quiz ---------------------------------------------------------- */
.fll-quiz { padding: 32px 0; }
.fll-quiz__card {
    background: linear-gradient(180deg, var(--fll-cream-dark) 0%, var(--fll-paper) 100%);
    border-radius: var(--fll-radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--fll-shadow-soft);
    position: relative;
    overflow: hidden;
}
.fll-quiz__card::before, .fll-quiz__card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.fll-quiz__card::before {
    width: 200px; height: 200px;
    background: var(--fll-sage-soft);
    top: -80px; left: -60px;
    opacity: .6; filter: blur(40px);
}
.fll-quiz__card::after {
    width: 180px; height: 180px;
    background: var(--fll-terracotta-soft);
    bottom: -60px; right: -40px;
    opacity: .6; filter: blur(40px);
}
.fll-quiz__heading { position: relative; margin-bottom: 22px; }
.fll-quiz__title {
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 6px;
}
.fll-quiz__subtitle {
    font-size: 14px;
    color: var(--fll-text);
    margin: 0;
}

.fll-quiz__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.fll-quiz__btn {
    background: var(--fll-bone);
    border: 1px solid transparent;
    border-radius: var(--fll-radius);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--fll-ink);
    font-weight: 500;
    transition: transform .4s var(--fll-ease), border-color .25s var(--fll-ease-soft), box-shadow .35s var(--fll-ease), background .25s var(--fll-ease-soft);
}
.fll-quiz__btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--fll-shadow-soft);
}
.fll-quiz__btn-icon { transition: transform .4s var(--fll-ease); }
.fll-quiz__btn:hover .fll-quiz__btn-icon { transform: scale(1.15) rotate(-4deg); }
.fll-quiz__btn-label { font-size: 13px; color: var(--fll-ink); }

.fll-quiz__btn--sage       .fll-quiz__btn-icon { color: var(--fll-sage); }
.fll-quiz__btn--terracotta .fll-quiz__btn-icon { color: var(--fll-terracotta); }
.fll-quiz__btn--rose       .fll-quiz__btn-icon { color: var(--fll-rose); }
.fll-quiz__btn--wood       .fll-quiz__btn-icon { color: var(--fll-wood); }
.fll-quiz__btn--sage:hover       { border-color: var(--fll-sage); }
.fll-quiz__btn--terracotta:hover { border-color: var(--fll-terracotta); }
.fll-quiz__btn--rose:hover       { border-color: var(--fll-rose); }
.fll-quiz__btn--wood:hover       { border-color: var(--fll-wood); }

@media (max-width: 640px) {
    .fll-quiz__card { padding: 24px 18px; }
    .fll-quiz__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .fll-quiz__btn { padding: 14px 8px; }
}

/* -------- Hubs ---------------------------------------------------------- */
.fll-hubs { padding: 56px 0 32px; }
.fll-hubs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.fll-hub {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--fll-bone);
    border: 1px solid var(--fll-line);
    border-radius: var(--fll-radius);
    color: var(--fll-ink);
    transition: transform .4s var(--fll-ease), border-color .25s var(--fll-ease-soft), background .25s var(--fll-ease-soft), box-shadow .35s var(--fll-ease);
    position: relative;
    overflow: hidden;
}
.fll-hub::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: currentColor;
    opacity: 0;
    transition: opacity .3s var(--fll-ease-soft);
}
.fll-hub:hover {
    transform: translateY(-3px);
    box-shadow: var(--fll-shadow-soft);
}
.fll-hub:hover::before { opacity: .6; }

.fll-hub__icon {
    width: 48px; height: 48px;
    border-radius: var(--fll-radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--fll-bone);
    flex-shrink: 0;
}
.fll-hub__body { flex: 1; min-width: 0; }
.fll-hub__name {
    font-family: var(--fll-font-display);
    font-size: 19px;
    color: var(--fll-ink);
    margin: 0 0 4px;
}
.fll-hub__desc {
    font-size: 13px;
    color: var(--fll-text);
    margin: 0;
    line-height: 1.5;
}
.fll-hub__count { color: var(--fll-muted); margin-left: 6px; }
.fll-hub__arrow {
    color: var(--fll-muted);
    transition: transform .35s var(--fll-ease), color .25s var(--fll-ease-soft);
    flex-shrink: 0;
}
.fll-hub:hover .fll-hub__arrow { transform: translateX(4px); color: var(--fll-ink); }

.fll-hub--sage       { color: var(--fll-sage); }
.fll-hub--sage .fll-hub__icon       { background: var(--fll-sage); }
.fll-hub--terracotta { color: var(--fll-terracotta); }
.fll-hub--terracotta .fll-hub__icon { background: var(--fll-terracotta); }
.fll-hub--rose       { color: var(--fll-rose); }
.fll-hub--rose .fll-hub__icon       { background: var(--fll-rose); }
.fll-hub--wood       { color: var(--fll-wood); }
.fll-hub--wood .fll-hub__icon       { background: var(--fll-wood); }

@media (max-width: 720px) {
    .fll-hubs__grid { grid-template-columns: 1fr; }
}

/* -------- Latest / cards ------------------------------------------------ */
.fll-latest { padding: 56px 0 64px; }

.fll-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.fll-latest__grid--3 { grid-template-columns: repeat(3, 1fr); }

.fll-card {
    background: var(--fll-bone);
    border-radius: var(--fll-radius);
    overflow: hidden;
    transition: transform .4s var(--fll-ease), box-shadow .4s var(--fll-ease);
}
.fll-card:hover { transform: translateY(-4px); box-shadow: var(--fll-shadow); }
.fll-card__link { display: block; color: inherit; }
.fll-card__media {
    aspect-ratio: 4/3;
    background: var(--fll-cream-dark);
    overflow: hidden;
    position: relative;
}
.fll-card__image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--fll-ease);
}
.fll-card:hover .fll-card__image { transform: scale(1.05); }
.fll-card__placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--fll-muted);
    background: linear-gradient(135deg, var(--fll-cream-dark), var(--fll-wood-soft));
}

.fll-card__body { padding: 18px 18px 22px; }
.fll-card__cat {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fll-terracotta);
    margin: 0 0 8px;
    font-weight: 500;
}
.fll-card__title {
    font-family: var(--fll-font-display);
    font-size: 19px;
    line-height: 1.25;
    color: var(--fll-ink);
    margin: 0 0 10px;
    transition: color .25s var(--fll-ease-soft);
}
.fll-card:hover .fll-card__title { color: var(--fll-terracotta); }
.fll-card__excerpt {
    font-size: 13px;
    color: var(--fll-text);
    margin: 0 0 12px;
    line-height: 1.55;
}
.fll-card__meta {
    font-size: 12px;
    color: var(--fll-muted);
    margin: 0;
    display: flex; align-items: center; gap: 6px;
}

@media (max-width: 880px) {
    .fll-latest__grid, .fll-latest__grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .fll-latest__grid, .fll-latest__grid--3 { grid-template-columns: 1fr; }
}

/* -------- Newsletter ---------------------------------------------------- */
.fll-newsletter { padding: 56px 0; }
.fll-newsletter__inner {
    background: var(--fll-sage);
    color: var(--fll-cream);
    border-radius: var(--fll-radius-lg);
    padding: 56px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fll-newsletter__inner::before {
    content: '';
    position: absolute;
    inset: -40px -40px auto auto;
    width: 220px; height: 220px;
    background: var(--fll-sage-deep);
    border-radius: 50%;
    opacity: .35;
    filter: blur(40px);
}
.fll-newsletter__copy { position: relative; z-index: 1; max-width: 540px; margin: 0 auto 24px; }
.fll-newsletter__eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
    opacity: .75;
    margin: 0 0 12px;
    font-weight: 500;
}
.fll-newsletter__title {
    font-family: var(--fll-font-display);
    font-size: clamp(26px, 4vw, 36px);
    color: var(--fll-cream);
    margin: 0 0 10px;
    line-height: 1.1;
}
.fll-newsletter__subtitle {
    color: rgba(250,243,234,.85);
    margin: 0;
    font-size: 15px;
}

.fll-newsletter__form {
    position: relative; z-index: 1;
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.fll-newsletter__input {
    flex: 1 1 240px;
    background: rgba(255,255,255,.95);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--fll-ink-soft);
    font-family: var(--fll-font-body);
    transition: box-shadow .25s var(--fll-ease-soft), background .25s var(--fll-ease-soft);
}
.fll-newsletter__input::placeholder { color: var(--fll-muted); }
.fll-newsletter__input:focus {
    outline: none;
    background: var(--fll-bone);
    box-shadow: 0 0 0 3px rgba(196,120,96,.5);
}
.fll-newsletter__submit { padding: 14px 24px; }
.fll-newsletter__note {
    position: relative; z-index: 1;
    font-size: 12px;
    color: rgba(250,243,234,.7);
    margin: 14px 0 0;
}
.fll-newsletter__notice {
    position: relative; z-index: 1;
    background: rgba(0,0,0,.18);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 13px;
    max-width: 460px;
    margin: 0 auto;
}

.fll-newsletter__decorations { position: absolute; inset: 0; pointer-events: none; }
.fll-newsletter__leaf { position: absolute; color: rgba(255,255,255,.18); }
.fll-newsletter__leaf--1 { top: 20px; left: 24px; animation: fll-sway 8s ease-in-out infinite alternate; }
.fll-newsletter__leaf--2 { bottom: 24px; right: 30px; animation: fll-sway 6s 1s ease-in-out infinite alternate-reverse; }
@keyframes fll-sway {
    0%   { transform: rotate(-6deg) translateY(0); }
    100% { transform: rotate(8deg) translateY(-6px); }
}

@media (max-width: 640px) {
    .fll-newsletter__inner { padding: 40px 22px; }
}

/* -------- Article (single) ---------------------------------------------- */
.fll-article__header { padding: 56px 0 28px; text-align: center; }
.fll-article__cat {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fll-terracotta);
    margin: 0 0 14px;
    font-weight: 500;
}
.fll-article__cat a { color: inherit; }
.fll-article__cat a:hover { color: var(--fll-terracotta-deep); }
.fll-article__title {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.05;
    color: var(--fll-ink);
    margin: 0 0 18px;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 96, "SOFT" 80;
}
.fll-article__excerpt {
    font-size: 18px;
    color: var(--fll-text);
    line-height: 1.5;
    margin: 0 0 18px;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
    font-style: italic;
    font-family: var(--fll-font-display);
    font-weight: 300;
}
.fll-article__meta {
    font-size: 13px;
    color: var(--fll-muted);
    margin: 0;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fll-article__media {
    padding: 12px 0 0;
}
.fll-article__image {
    width: 100%;
    border-radius: var(--fll-radius-lg);
    aspect-ratio: 16/9;
    object-fit: cover;
    box-shadow: var(--fll-shadow);
}

.fll-article__body { padding: 48px 0 32px; position: relative; }

.fll-prose-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    z-index: 100;
    pointer-events: none;
}
.fll-prose-progress__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--fll-terracotta), var(--fll-sage));
    transition: width .1s linear;
}

/* Prose */
.fll-prose {
    font-size: 17px;
    line-height: 1.75;
    color: var(--fll-text);
}
.fll-prose > * + * { margin-top: 1em; }
.fll-prose h2 {
    font-family: var(--fll-font-display);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--fll-ink);
    margin: 1.8em 0 .5em;
    line-height: 1.2;
    letter-spacing: -.01em;
    font-variation-settings: "opsz" 60, "SOFT" 60;
}
.fll-prose h3 {
    font-family: var(--fll-font-display);
    font-size: 22px;
    color: var(--fll-ink);
    margin: 1.5em 0 .4em;
    line-height: 1.25;
}
.fll-prose h4 { font-size: 18px; margin: 1.2em 0 .3em; }
.fll-prose p { color: var(--fll-text); margin: 0 0 1em; }
.fll-prose strong { color: var(--fll-ink); font-weight: 600; }
.fll-prose a {
    color: var(--fll-terracotta-deep);
    background-image: linear-gradient(transparent calc(100% - 1px), var(--fll-terracotta) 1px);
    background-size: 100% 100%; background-repeat: no-repeat;
    transition: background-size .35s var(--fll-ease);
    padding-bottom: 1px;
}
.fll-prose a:hover { background-size: 100% 6px; color: var(--fll-ink); }
.fll-prose blockquote {
    border-left: 3px solid var(--fll-terracotta);
    padding: 6px 0 6px 22px;
    margin: 1.4em 0;
    font-family: var(--fll-font-display);
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: var(--fll-ink);
}
.fll-prose ul, .fll-prose ol { padding-left: 1.4em; margin: 1em 0; }
.fll-prose li { margin: .4em 0; padding-left: .2em; }
.fll-prose ul li::marker { color: var(--fll-terracotta); }
.fll-prose ol li::marker { color: var(--fll-terracotta); font-weight: 500; }
.fll-prose img, .fll-prose figure {
    margin: 1.6em 0;
    border-radius: var(--fll-radius);
    overflow: hidden;
}
.fll-prose hr {
    border: 0;
    height: 1px;
    background: var(--fll-line);
    margin: 2.5em 0;
}
.fll-prose code {
    background: var(--fll-cream-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: .9em;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}
.fll-prose pre {
    background: var(--fll-ink);
    color: var(--fll-cream);
    padding: 18px 20px;
    border-radius: var(--fll-radius);
    overflow-x: auto;
    margin: 1.4em 0;
}
.fll-prose pre code {
    background: transparent; padding: 0; color: inherit;
}

.fll-article__tags {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--fll-line);
    font-size: 13px;
    color: var(--fll-muted);
}
.fll-article__tags a {
    display: inline-block;
    background: var(--fll-cream-dark);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 0 4px 4px 0;
    color: var(--fll-text);
    font-size: 12px;
    transition: background .25s var(--fll-ease-soft), color .25s var(--fll-ease-soft);
}
.fll-article__tags a:hover { background: var(--fll-terracotta); color: var(--fll-bone); }
.fll-article__tags-label { margin-right: 4px; }

.fll-article__edit { margin-top: 24px; font-size: 12px; color: var(--fll-muted); }
.fll-article__edit a { color: var(--fll-terracotta); }

.fll-related { padding: 48px 0 64px; background: var(--fll-paper); margin-top: 32px; }

/* -------- Archive header ------------------------------------------------ */
.fll-archive-header {
    padding: 64px 0 36px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--fll-cream-dark) 0%, var(--fll-cream) 100%);
}
.fll-archive-header--sage       { --fll-archive-accent: var(--fll-sage); }
.fll-archive-header--terracotta { --fll-archive-accent: var(--fll-terracotta); }
.fll-archive-header--rose       { --fll-archive-accent: var(--fll-rose); }
.fll-archive-header--wood       { --fll-archive-accent: var(--fll-wood); }

.fll-archive-header__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--fll-archive-accent, var(--fll-sage));
    color: var(--fll-bone);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: var(--fll-shadow-soft);
}
.fll-archive-header__eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
    color: var(--fll-archive-accent, var(--fll-muted));
    margin: 0 0 12px;
    font-weight: 500;
}
.fll-archive-header__title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--fll-ink);
    margin: 0 0 14px;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 96, "SOFT" 80;
}
.fll-archive-header__desc {
    font-size: 16px;
    color: var(--fll-text);
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
}

.fll-archive { padding: 36px 0 64px; }

/* -------- Pagination ---------------------------------------------------- */
.fll-pagination { margin-top: 48px; text-align: center; }
.fll-pagination .nav-links {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.fll-pagination .page-numbers {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--fll-line);
    color: var(--fll-text);
    font-size: 13px;
    transition: background .25s var(--fll-ease-soft), color .25s var(--fll-ease-soft), border-color .25s var(--fll-ease-soft);
}
.fll-pagination .page-numbers:hover {
    background: var(--fll-cream-dark);
    color: var(--fll-ink);
    border-color: var(--fll-line-strong);
}
.fll-pagination .page-numbers.current {
    background: var(--fll-ink);
    color: var(--fll-cream);
    border-color: var(--fll-ink);
}

/* -------- Empty / 404 / Page -------------------------------------------- */
.fll-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--fll-paper);
    border-radius: var(--fll-radius-lg);
    max-width: 560px;
    margin: 0 auto;
}
.fll-empty__title {
    font-family: var(--fll-font-display);
    font-size: 24px;
    color: var(--fll-ink);
    margin: 0 0 8px;
}
.fll-empty__text { color: var(--fll-text); margin: 0 0 20px; }

.fll-404 { padding: 80px 0 48px; }
.fll-404__inner { text-align: center; }
.fll-404__eyebrow {
    font-family: var(--fll-font-display);
    font-size: 96px; line-height: 1;
    color: var(--fll-terracotta);
    margin: 0 0 12px;
    letter-spacing: -.04em;
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.fll-404__title {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
}
.fll-404__text {
    color: var(--fll-text);
    margin: 0 0 26px;
    font-size: 16px;
}
.fll-404__buttons {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 36px;
}
.fll-404__search { max-width: 420px; margin: 0 auto; }

.fll-page__header { padding: 64px 0 24px; text-align: center; }
.fll-page__title {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0;
    letter-spacing: -.02em;
    font-variation-settings: "opsz" 96, "SOFT" 80;
}
.fll-page__media { padding: 0 0 8px; }
.fll-page__image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--fll-radius-lg);
    box-shadow: var(--fll-shadow);
}
.fll-page__body { padding: 48px 0 32px; }

/* -------- Search form --------------------------------------------------- */
.fll-search {
    display: flex;
    align-items: center;
    background: var(--fll-bone);
    border: 1px solid var(--fll-line);
    border-radius: 999px;
    padding: 6px 6px 6px 14px;
    transition: border-color .25s var(--fll-ease-soft), box-shadow .25s var(--fll-ease-soft);
}
.fll-search:focus-within { border-color: var(--fll-terracotta); box-shadow: 0 0 0 3px rgba(196,120,96,.18); }
.fll-search__icon { color: var(--fll-muted); display: inline-flex; }
.fll-search__input {
    flex: 1; border: 0; background: transparent;
    font-family: var(--fll-font-body); font-size: 14px;
    color: var(--fll-ink);
    padding: 8px 12px;
    outline: none;
}
.fll-search__input::placeholder { color: var(--fll-muted); }
.fll-search__submit {
    background: var(--fll-ink); color: var(--fll-cream);
    border-radius: 999px; padding: 8px 16px;
    font-size: 12px; font-weight: 500;
    transition: background .25s var(--fll-ease-soft);
}
.fll-search__submit:hover { background: var(--fll-terracotta); }

/* -------- Footer -------------------------------------------------------- */
.site-footer {
    background: var(--fll-paper);
    border-top: 1px solid var(--fll-line);
    margin-top: 48px;
    color: var(--fll-text);
}
.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 36px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 36px;
}
.site-footer__brand { max-width: 280px; }
.site-footer__title {
    font-family: var(--fll-font-display);
    font-size: 22px;
    color: var(--fll-ink);
    display: block;
    margin-bottom: 10px;
}
.site-footer__tagline { font-size: 14px; color: var(--fll-muted); margin: 0; line-height: 1.6; }
.site-footer__widgets { display: contents; }
.site-footer__column .widget-title,
.site-footer__column h3 {
    font-family: var(--fll-font-display);
    font-size: 16px;
    color: var(--fll-ink);
    margin: 0 0 14px;
    font-weight: 500;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__list a {
    color: var(--fll-text);
    transition: color .25s var(--fll-ease-soft);
    display: inline-block;
    position: relative;
}
.site-footer__list a:hover { color: var(--fll-terracotta); }
.site-footer__pitch { font-size: 14px; margin: 0 0 14px; color: var(--fll-text); }

.site-footer__bottom {
    border-top: 1px solid var(--fll-line);
    padding: 20px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.site-footer__copy { font-size: 12px; color: var(--fll-muted); margin: 0; }
.site-footer__menu {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 18px;
    font-size: 12px;
}
.site-footer__menu a { color: var(--fll-muted); transition: color .25s var(--fll-ease-soft); }
.site-footer__menu a:hover { color: var(--fll-ink); }

@media (max-width: 880px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 18px 28px; }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    .site-footer__inner { grid-template-columns: 1fr; }
}

/* -------- Sticky CTA (mobile) ------------------------------------------- */
.fll-sticky-cta {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 70;
    background: var(--fll-ink);
    color: var(--fll-cream);
    border-radius: var(--fll-radius);
    padding: 12px 14px;
    box-shadow: 0 12px 32px -10px rgba(42,33,24,.4);
    transform: translateY(140%);
    opacity: 0;
    transition: transform .5s var(--fll-ease), opacity .35s var(--fll-ease-soft);
    display: none;
}
@media (max-width: 880px) {
    .fll-sticky-cta { display: block; }
}
.fll-sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.fll-sticky-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.fll-sticky-cta__text { display: flex; flex-direction: column; min-width: 0; }
.fll-sticky-cta__eyebrow {
    font-size: 10px;
    letter-spacing: .14em;
    opacity: .6;
    margin-bottom: 2px;
}
.fll-sticky-cta__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--fll-cream);
}

/* -------- Reveal animations --------------------------------------------- */
[data-fll-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--fll-ease), transform .9s var(--fll-ease);
}
[data-fll-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-fll-stagger] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--fll-ease), transform .8s var(--fll-ease);
    transition-delay: var(--fll-card-delay, var(--fll-hub-delay, 0ms));
}
[data-fll-stagger].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-fll-reveal], [data-fll-stagger] { opacity: 1 !important; transform: none !important; }
    .fll-hero__image, .fll-hero__dot--sage, .fll-hero__dot--terracotta { animation: none !important; }
}

/* -------- WordPress core classes ---------------------------------------- */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull {
    max-width: none; width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.wp-caption-text, .gallery-caption {
    font-size: 13px;
    color: var(--fll-muted);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}
.sticky { position: relative; }

/* -------- Breadcrumbs --------------------------------------------------- */
.fll-breadcrumbs {
    margin: 0 0 22px;
    font-size: 12px;
    color: var(--fll-muted);
}
.fll-breadcrumbs__list {
    list-style: none; padding: 0; margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}
.fll-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.fll-breadcrumbs__item a {
    color: var(--fll-muted);
    transition: color .25s var(--fll-ease-soft);
}
.fll-breadcrumbs__item a:hover { color: var(--fll-terracotta); }
.fll-breadcrumbs__item [aria-current="page"] {
    color: var(--fll-text);
    font-weight: 500;
}
.fll-breadcrumbs__sep {
    color: var(--fll-line-strong);
    margin: 0 8px;
    user-select: none;
}

/* End of stylesheet */
