:root {
    --dark:      #2c2c25;
    --muted:     #6a6a6a;
    --gold:      #d4af37;
    --gold-dark: #b8942d;
    --white:     #ffffff;
    --soft:      #f8f8f8;
    --bg-light:  #faf9f5;
}

body { background: var(--white); color: var(--dark); }

section:not(.video-hero) {
    width: 100%;
    padding: 40px 16px;
}

section.video-hero { padding: 0; }
section:not(.video-hero):nth-of-type(even) { background: var(--bg-light); }

.video-hero > .video-hero__background,
.video-hero > .video-hero__overlay,
.video-hero > .video-hero__content {
    max-width: none; width: 100%; margin-left: 0; margin-right: 0;
}

/* ── Hero ── */
.nl-hero h1 {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 800;
}

.nl-hero-text {
    max-width: 800px;
    margin: 18px auto;
    text-align: center;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Divider ── */
.nl-section-divider {
    display: flex; align-items: center; gap: 16px;
    max-width: 500px; margin: 0 auto; padding: 0 16px;
}

.nl-section-divider span:not(.nl-divider-diamond) {
    flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, rgba(212,175,55,0.5));
}

.nl-section-divider span:last-child {
    background: linear-gradient(to left, transparent, rgba(212,175,55,0.5));
}

.nl-divider-diamond { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }

/* ── Section headings ── */
.nl-sections h2,
.nl-featured h2,
.nl-filters-section h2,
.nl-contribute h2,
.nl-living h2,
.nl-newsletter h2 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 800;
    text-align: center;
}

.nl-section-intro {
    text-align: center;
    max-width: 780px;
    margin: 14px auto 32px;
    color: var(--muted);
    line-height: 1.7;
}

/* ── Tiles grid: 1 → 2 → 3 ── */
.nl-tiles {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.nl-tile {
    background: var(--soft);
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,0.2);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.06);
}

.nl-tile img { width: 100%; padding: 0; }
.nl-tile > * { padding: 0 18px; }
.nl-tile img { padding: 0; }
.nl-tile h3 { margin: 16px 0 8px; text-align: center; }
.nl-tile p  { color: var(--muted); line-height: 1.6; flex-grow: 1; margin: 12px 0; }
.nl-tile .nl-btn { align-self: center; margin: 0 auto 18px; padding: 11px 22px; }

.nl-btn {
    display: inline-block;
    margin-top: 12px;
    background: var(--gold);
    color: white;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.nl-btn:hover { background: var(--gold-dark); }

/* ── Articles grid: 1 → 2 → 3 ── */
.nl-articles-grid {
    max-width: 1200px;
    margin: 32px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.nl-article-card {
    background: white;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.nl-article-img { width: 100%; height: 180px; object-fit: cover; }
.nl-article-content { padding: 18px; }
.nl-meta    { font-size: 0.85rem; color: var(--muted); }
.nl-excerpt { margin: 12px 0; color: var(--muted); }

.nl-readmore {
    margin-top: auto;
    display: inline-block;
    padding: 10px 18px;
    background: var(--gold);
    color: white;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.nl-readmore:hover { background: var(--gold-dark); }

/* ── Search + Filter ── */
.nl-search-bar {
    max-width: 1200px;
    margin: 0 auto 24px;
    text-align: center;
}

/* font-size: 16px prevents iOS auto-zoom */
.nl-search-bar input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.3);
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Filter grid: 1 → 2 → 4 */
.nl-filter-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.nl-filter-block h3 { margin-bottom: 8px; }

.nl-filter-block select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.3);
    font-size: 16px;
    font-family: inherit;
}

/* ── Contribute grid: 1 → 3 ── */
.nl-contribute-intro { max-width: 760px; margin: 0 auto 40px; }
.nl-contribute-intro p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; text-align: center; }

.nl-contribute-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark) !important;
    text-align: center !important;
    margin-top: 24px !important;
    line-height: 1.6;
}

.nl-contribute-text {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.nl-contribute-text > div {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 24px 20px;
    text-align: left;
}

.nl-contribute-text h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 2px solid rgba(212,175,55,0.35); }
.nl-contribute-text p  { color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.nl-contribute-text ul { margin: 4px 0 0 18px; line-height: 1.7; flex-grow: 1; }
.nl-contribute-text li { margin-bottom: 8px; color: var(--muted); }
.nl-contribute-text .nl-btn { align-self: center; }

.nl-contribute-ctas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.nl-btn--primary { padding: 15px 32px; font-size: 1.05rem; }

.nl-cta-row {
    text-align: center;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Living split: column → row at 768px ── */
.nl-living { padding: 40px 0; }

.nl-living-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.nl-split {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.nl-split-text {
    flex: 1;
    background: #faf9f5;
    color: var(--dark);
    padding: 2rem 1.5rem;
    border-radius: 14px;
    border: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.nl-split-text h2 { font-size: clamp(1.3rem, 3.5vw, 2.1rem); margin-bottom: 1rem; text-align: center; align-self: center; }
.nl-split-text p  { opacity: .9; margin-bottom: 0.5rem; line-height: 1.7; color: var(--muted); }

.nl-living-list { margin: 0.5rem 0 1rem 1.2rem; line-height: 1.7; }
.nl-living-list li { color: var(--muted); margin-bottom: 8px; }
.nl-split-text .nl-btn { margin-top: 1rem; align-self: center; }

.nl-split-img { border-radius: 14px; overflow: hidden; display: flex; min-height: 240px; }
.nl-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Newsletter sign-up ── */
.nl-newsletter .nl-form {
    max-width: 700px;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nl-checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; text-align: left; }

.nl-form input {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(212,175,55,0.3);
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.nl-submit {
    background: var(--gold);
    padding: 14px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
}

.nl-submit:hover { background: var(--gold-dark); }
.nl-newsletter    { text-align: center; }
.nl-privacy       { font-size: 0.85rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* ============================================================
   TOC NAV — hidden mobile, shown at 1100px+
   ============================================================ */
.toc-nav {
    display: none;
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
    z-index: 200; background: rgba(255,255,255,0.93);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,0.35); border-radius: 14px;
    padding: 14px 18px; box-shadow: 0 4px 24px rgba(0,0,0,0.10),0 1px 4px rgba(0,0,0,0.06);
    flex-direction: column; gap: 2px; min-width: 130px;
}
.toc-nav__title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #b8942d; padding: 0 8px 8px; border-bottom: 1px solid rgba(212,175,55,0.2); margin-bottom: 4px; }
.toc-dot { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 7px 8px; border-radius: 8px; border-left: 2px solid transparent; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; color: #6a6a6a; }
.toc-dot:hover { background: rgba(212,175,55,0.08); color: #2c2c25; }
.toc-dot:focus-visible { outline: 2px solid #d4af37; background: rgba(212,175,55,0.08); }
.toc-dot.active { border-left-color: #d4af37; color: #2c2c25; background: rgba(212,175,55,0.06); }
.toc-dot__pip { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid rgba(212,175,55,0.5); background: transparent; flex-shrink: 0; transition: all 0.2s ease; }
.toc-dot:hover .toc-dot__pip { border-color: #d4af37; background: rgba(212,175,55,0.35); }
.toc-dot.active .toc-dot__pip { background: #d4af37; border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212,175,55,0.18); }
.toc-dot__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.toc-dot.active .toc-dot__label { font-weight: 700; }

/* ============================================================
   BREAKPOINTS
   ============================================================ */

@media (min-width: 480px) {
    .nl-tiles        { grid-template-columns: repeat(2, 1fr); }
    .nl-articles-grid { grid-template-columns: repeat(2, 1fr); }
    .nl-filter-grid  { grid-template-columns: repeat(2, 1fr); }
    .nl-search-bar input { width: 60%; }
}

@media (min-width: 768px) {
    section:not(.video-hero) { padding: 56px 24px; }
    .nl-living               { padding: 56px 0; }
    .nl-living-inner         { padding: 0 24px; }
    .nl-split                { flex-direction: row; gap: 2rem; }
    .nl-split-text           { flex: 1; padding: 3rem 2.5rem; }
    .nl-split-img            { flex: 1.3; min-height: unset; }
    .nl-contribute-text      { grid-template-columns: repeat(3, 1fr); }
    .nl-contribute-text > div { padding: 28px; }
    .nl-cta-row              { flex-wrap: nowrap; }
}

@media (min-width: 1024px) {
    section:not(.video-hero) { padding: 70px 32px; }
    .nl-living               { padding: 70px 0; }
    .nl-living-inner         { padding: 0 32px; }
    .nl-split-text           { padding: 3.5rem; }
    .nl-tiles                { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .nl-articles-grid        { grid-template-columns: repeat(3, 1fr); gap: 26px; }
    .nl-article-img          { height: 200px; }
    .nl-filter-grid          { grid-template-columns: repeat(4, 1fr); gap: 26px; }
    .nl-section-intro        { margin-bottom: 40px; }
}

@media (min-width: 1100px) {
    .toc-nav { display: flex; }
}
