/* Field Notes — editorial notebook index */

.field-notes-page {
    background: var(--editorial-paper);
    overflow-x: clip;
}

.field-notes-hero {
    padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(4rem, 7vw, 6.5rem);
    border-bottom: 1px solid var(--editorial-rule-strong);
    background: var(--editorial-paper-bright);
}

.field-notes-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
}

.field-notes-hero-layout > *,
.field-current-grid > *,
.field-path-grid > *,
.field-archive-note-layout > *,
.field-current-heading > *,
.field-index-heading > * {
    min-width: 0;
}

.field-notes-hero h1 {
    max-width: 900px;
    margin: 0;
}

.field-notes-deck {
    max-width: 760px;
    margin: 1.5rem 0 0;
    color: var(--editorial-ink-soft) !important;
    font-family: var(--editorial-serif);
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.field-notes-masthead {
    padding-top: 1.1rem;
    border-top: 1px solid var(--editorial-ink);
}

.field-notes-masthead p {
    margin: 0 0 0.75rem;
    color: var(--editorial-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.field-notes-masthead strong {
    color: var(--editorial-ink);
}

.field-notes-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    margin-top: 2rem;
}

.field-notes-actions button {
    cursor: pointer;
}

.field-current-heading,
.field-index-heading {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.field-current-heading h2,
.field-index-heading h2 {
    margin: 0;
}

.field-current-heading > p,
.field-index-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.9rem;
}

.field-current-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: clamp(2rem, 6vw, 5rem);
    border-top: 1px solid var(--editorial-rule-strong);
}

.field-lead {
    display: block;
    padding-top: 2rem;
    color: inherit;
    text-decoration: none;
}

.field-lead-figure {
    margin: 0 0 1.5rem;
}

.field-lead-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1.55;
    border: 1px solid var(--editorial-rule);
    filter: saturate(0.82) contrast(1.02);
    object-fit: cover;
    object-position: center;
}

.field-lead h3 {
    max-width: 690px;
    margin: 0.65rem 0 0.85rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.field-lead p:last-child {
    max-width: 650px;
    margin-bottom: 0;
}

.field-lead:hover h3,
.field-latest-entry:hover h3,
.field-path:hover h3,
.field-note-row:hover .field-note-title {
    color: var(--editorial-blue);
}

.field-entry-meta {
    display: block;
    color: var(--editorial-blue);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.field-latest-list {
    border-left: 1px solid var(--editorial-rule);
}

.field-latest-entry {
    display: block;
    padding: 1.75rem 0 1.75rem 2.25rem;
    border-bottom: 1px solid var(--editorial-rule);
    color: inherit;
    text-decoration: none;
}

.field-latest-entry h3 {
    margin: 0.55rem 0 0.65rem;
    transition: color 150ms ease;
}

.field-latest-entry p {
    margin: 0;
    font-size: 0.91rem;
    line-height: 1.6;
}

.field-pathways {
    background: var(--editorial-paper-bright) !important;
}

.field-path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2.5rem;
    border-top: 1px solid var(--editorial-rule-strong);
}

.field-path {
    display: block;
    min-width: 0;
    padding: 1.75rem 1.5rem 1.9rem 0;
    border-right: 1px solid var(--editorial-rule);
    border-bottom: 1px solid var(--editorial-rule);
    color: inherit;
    text-decoration: none;
}

.field-path + .field-path {
    padding-left: 1.5rem;
}

.field-path:last-child {
    border-right: 0;
}

.field-path-index {
    color: var(--editorial-blue);
    font-family: var(--editorial-serif);
    font-size: 0.95rem;
}

.field-path h3 {
    margin: 1.5rem 0 0.65rem;
    transition: color 150ms ease;
}

.field-path p {
    margin: 0;
    color: var(--editorial-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.field-archive-note {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-block: 1px solid var(--editorial-rule-strong);
    background: var(--editorial-blue-wash);
}

.field-archive-note-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.field-archive-note h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.field-archive-note p:last-child {
    margin-bottom: 0;
}

.field-index {
    background: var(--editorial-paper);
}

.field-archive-group + .field-archive-group {
    margin-top: 3.75rem;
}

.field-archive-group > h3 {
    margin: 0 0 0.75rem;
    color: var(--editorial-muted);
    font-family: var(--editorial-sans);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.field-archive-list {
    border-top: 1px solid var(--editorial-rule-strong);
}

.field-note-row {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) minmax(145px, 0.34fr);
    gap: 1.5rem;
    align-items: baseline;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--editorial-rule);
    color: inherit;
    text-decoration: none;
}

.field-note-date,
.field-note-topic {
    color: var(--editorial-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

.field-note-date {
    font-variant-numeric: tabular-nums;
}

.field-note-topic {
    text-align: right;
}

.field-note-title {
    color: var(--editorial-ink);
    font-family: var(--editorial-serif);
    font-size: 1.12rem;
    font-weight: 650;
    line-height: 1.35;
    transition: color 150ms ease;
}

@media (max-width: 860px) {
    .field-notes-hero-layout,
    .field-current-grid,
    .field-archive-note-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .field-notes-masthead {
        max-width: 560px;
    }

    .field-latest-list {
        border-top: 1px solid var(--editorial-rule);
        border-left: 0;
    }

    .field-latest-entry {
        padding-left: 0;
    }

    .field-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .field-path:nth-child(2) {
        border-right: 0;
    }

    .field-path:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 620px) {
    .field-current-heading,
    .field-index-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .field-path-grid {
        grid-template-columns: 1fr;
    }

    .field-path,
    .field-path + .field-path,
    .field-path:nth-child(3) {
        padding: 1.5rem 0;
        border-right: 0;
    }

    .field-note-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .field-note-date {
        order: 2;
    }

    .field-note-topic {
        display: none;
    }

    .field-note-title {
        font-size: 1.08rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .field-lead h3,
    .field-latest-entry h3,
    .field-path h3,
    .field-note-title {
        transition: none;
    }
}
