/* Additions for the LexNush sections. The base editorial design system remains
   the source of truth for the dark, gold, and cream visual language. */

.nav-links {
    gap: clamp(8px, 1.1vw, 16px);
}

.nav-link {
    font-size: 0.62rem;
}

.nav-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding-inline: 14px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: var(--color-accent-ink);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-subscribe:hover {
    background: var(--color-accent-strong);
    color: var(--color-accent-ink);
    transform: translateY(-1px);
}

.footer-logo-link {
    display: inline-flex;
    width: fit-content;
}

/* Home */

.hero-background {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-inline: clamp(24px, 5vw, 72px);
    background-image:
        linear-gradient(90deg, rgba(10, 11, 10, 0.97) 0%, rgba(10, 11, 10, 0.9) 39%, rgba(10, 11, 10, 0.58) 100%),
        url("../images/supreme-court-hero.jpg");
    background-position: center, 62% center;
    background-size: cover;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(201, 164, 93, 0.08), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.15), transparent 42%);
    pointer-events: none;
}

.hero-background .hero-folio,
.hero-background .hero-content,
.hero-background .hero-brief,
.hero-background .editorial-standards {
    position: relative;
    z-index: 1;
}

.hero-background .hero-grid {
    grid-template-columns: minmax(0, 0.96fr);
}

.hero-background .hero-copy {
    color: #ded6c8;
}

.hero-background .hero-dossier {
    background:
        linear-gradient(150deg, rgba(21, 23, 19, 0.96), rgba(10, 11, 10, 0.91)),
        var(--color-surface-solid);
    backdrop-filter: blur(12px);
}

/* The lead story owns the opening viewport. Keeping it inside the content
   container made wide screens look like a card floating in empty space. */
.home-hero.hero-background {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding: calc(var(--nav-height) + clamp(4.5rem, 9vw, 8rem)) clamp(28px, 8vw, 160px) clamp(2.5rem, 5vw, 4.5rem);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background-position: center, 60% center;
}

.hero-background .editorial-standards {
    background: rgba(10, 11, 10, 0.36);
}

[data-theme="light"] .hero-background {
    background-image:
        linear-gradient(90deg, #e5dccf 0%, #e5dccf 43%, rgba(229, 220, 207, 0.94) 54%, rgba(229, 220, 207, 0.38) 69%, rgba(229, 220, 207, 0) 82%),
        url("../images/supreme-court-hero.jpg");
    border-color: var(--color-border-strong);
    box-shadow: 0 22px 60px rgba(50, 42, 28, 0.14);
}

[data-theme="light"] .hero-background::after {
    z-index: 0;
    background:
        linear-gradient(90deg, transparent 42%, rgba(74, 56, 31, 0.04) 67%, rgba(74, 56, 31, 0.18) 100%),
        linear-gradient(180deg, rgba(123, 84, 21, 0.07), transparent 30%);
}

[data-theme="light"] .hero-background .hero-copy {
    color: var(--color-muted);
}

[data-theme="light"] .hero-background .hero-dossier {
    border-color: var(--color-border-strong);
    background:
        linear-gradient(150deg, rgba(251, 249, 243, 0.89), rgba(234, 229, 218, 0.84)),
        var(--color-surface-solid);
    backdrop-filter: blur(7px);
    box-shadow: 18px 20px 0 rgba(123, 84, 21, 0.08), var(--shadow-md);
}

[data-theme="light"] .hero-background .editorial-standards {
    background: rgba(251, 249, 243, 0.56);
}

[data-theme="light"] .hero-background .editorial-standards strong {
    color: var(--color-muted);
}

.home-section,
.what-section,
.about-statement,
.founder-section {
    width: min(100% - var(--gutter) * 2, var(--container-xl));
    margin-inline: auto;
}

.home-section {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-title-block {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.section-title-block.centered {
    display: grid;
    justify-items: center;
    text-align: center;
}

.section-title-block h2,
.about-strip h2,
.bottom-line h2 {
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 500;
    line-height: 1.16;
}

.gold-rule {
    display: block;
    width: 36px;
    height: 2px;
    margin-top: 14px;
    background: var(--color-accent);
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

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

.latest-journal-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.latest-card {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.latest-card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    color: var(--color-text);
    transform: translateY(-4px);
}

.latest-card-art {
    position: relative;
    display: grid;
    min-height: 164px;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-accent-strong);
}

.latest-card-art::before,
.latest-card-art::after {
    content: "";
    position: absolute;
    inset: 0;
}

.latest-card-art::before {
    opacity: 0.48;
    background-image: linear-gradient(rgba(201, 164, 93, 0.11) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 164, 93, 0.11) 1px, transparent 1px);
    background-size: 30px 30px;
}

.latest-card-art::after {
    background: radial-gradient(circle at 50% 50%, rgba(201, 164, 93, 0.13), transparent 62%);
}

.latest-card-art span {
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
    font-size: 4.25rem;
    font-weight: 500;
    line-height: 1;
}

.art-analysis { background: linear-gradient(145deg, #191915, #312617); }
.art-law { background: linear-gradient(145deg, #141714, #303322); }
.art-judgment { background: linear-gradient(145deg, #111918, #173634); }
.art-counsel { background: linear-gradient(145deg, #1d1714, #3c2b20); }

.latest-card-copy {
    min-height: 142px;
    padding: 20px;
}

.latest-card-copy > span {
    color: var(--color-accent);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.latest-card h3 {
    margin-top: 10px;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.25;
}

.latest-card-copy p {
    margin-top: 12px;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.latest-card-copy small {
    display: block;
    margin-top: 18px;
    color: var(--color-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.latest-journal-link {
    margin: 18px auto 0;
}

.format-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding-top: 0;
    background: var(--color-border);
    border: 1px solid var(--color-border);
}

.format-card {
    display: flex;
    min-height: 244px;
    flex-direction: column;
    align-items: center;
    padding: 28px 18px 22px;
    background: var(--color-surface-solid);
    color: var(--color-text);
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}

.format-card:hover {
    background: var(--color-surface-raised);
    color: var(--color-text);
}

.format-icon {
    color: var(--color-accent);
    font-family: var(--font-serif);
    font-size: 2.15rem;
    line-height: 1;
}

.format-card h2 {
    min-height: 42px;
    margin-top: 16px;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.2;
}

.format-card p {
    min-height: 58px;
    margin-top: 13px;
    color: var(--color-muted);
    font-size: 0.76rem;
    line-height: 1.65;
}

.format-card > span:last-child {
    margin-top: auto;
    color: var(--color-accent-strong);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.newsletter-banner {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) minmax(330px, 1.05fr);
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 3.5vw, 38px);
    border: 1px solid var(--color-border-strong);
    background: linear-gradient(130deg, var(--color-surface-raised), var(--color-surface-solid));
    box-shadow: var(--shadow-sm);
}

.newsletter-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    color: var(--color-accent);
    font-size: 1.6rem;
}

.newsletter-banner h2 {
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 500;
}

.newsletter-banner p {
    max-width: 470px;
    margin-top: 7px;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

.newsletter-form,
.brief-signup form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
}

.newsletter-form input,
.brief-signup input {
    min-height: 44px;
    padding-inline: 15px;
    border: 1px solid var(--color-border);
    border-radius: 3px 0 0 3px;
    background: var(--color-bg);
    color: var(--color-text);
    font: inherit;
    font-size: 0.78rem;
}

.newsletter-form button,
.brief-signup button {
    min-height: 44px;
    border: 0;
    border-radius: 0 3px 3px 0;
    background: var(--color-accent);
    color: var(--color-accent-ink);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.newsletter-form button:hover,
.brief-signup button:hover { background: var(--color-accent-strong); }
.newsletter-form .honeypot, .brief-signup .honeypot { display: none; }

.about-strip {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.9fr);
    align-items: start;
    gap: clamp(36px, 7vw, 100px);
}

.about-strip-intro > .gold-rule { margin-bottom: 16px; }
.about-strip p { max-width: 500px; color: var(--color-muted); font-size: 0.88rem; line-height: 1.75; }
.about-strip a { display: inline-block; margin-top: 18px; color: var(--color-accent-strong); font-size: 0.76rem; font-weight: 800; }

.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-values article { min-height: 160px; padding: 5px 26px; border-left: 1px solid var(--color-border); }
.about-values article > span { color: var(--color-accent); font-size: 1.8rem; }
.about-values h3 { margin-top: 12px; color: var(--color-text); font-family: var(--font-serif); font-size: 0.96rem; font-weight: 500; }
.about-values p { margin-top: 8px; color: var(--color-muted); font-size: 0.76rem; line-height: 1.65; }

/* Section pages and About */

.content-hero {
    width: min(100% - var(--gutter) * 2, var(--container-md));
    margin-inline: auto;
    padding: calc(var(--nav-height) + clamp(4rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5.5rem);
    text-align: center;
}

.content-hero .page-subtitle { margin-inline: auto; }

.content-hero h1 {
    margin-top: var(--space-3);
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(2.7rem, 7vw, 5.65rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.97;
}

.page-subtitle {
    max-width: 27ch;
    margin-top: 20px;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(1.32rem, 2.1vw, 1.85rem);
    font-weight: 500;
    line-height: 1.25;
}

.section-description {
    max-width: 70ch;
    margin: 26px auto 0;
    color: var(--color-muted);
    font-size: clamp(0.94rem, 1.2vw, 1.04rem);
    line-height: 1.82;
}

.section-description + .section-description { margin-top: 17px; }
.section-hero { border-bottom: 1px solid var(--color-border); }

.what-section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.what-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-border); border-right: 0; border-bottom: 0; }
.what-grid.five-items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.what-card { min-height: 258px; padding: clamp(22px, 2.5vw, 30px); border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-surface) 58%, transparent); }
.what-number { color: var(--color-accent); font-family: var(--font-serif); font-size: 1.1rem; }
.what-card h3 { margin-top: 46px; color: var(--color-text); font-family: var(--font-serif); font-size: 1.28rem; font-weight: 500; line-height: 1.18; }
.five-items .what-card h3 { font-size: 1.08rem; }
.what-card p { margin-top: 14px; color: var(--color-muted); font-size: 0.84rem; line-height: 1.72; }

.bottom-line {
    width: min(100% - var(--gutter) * 2, var(--container-md));
    margin: 0 auto clamp(4rem, 9vw, 8rem);
    padding: clamp(3rem, 7vw, 5.5rem);
    border: 1px solid var(--color-border-strong);
    background: var(--color-surface-raised);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.bottom-line h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); text-transform: none; }
.brief-signup { width: min(100% - var(--gutter) * 2, 600px); margin: 10px auto 5rem; padding: 24px; border: 1px solid var(--color-border-strong); background: var(--color-surface-raised); }

.about-statement { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr); gap: clamp(42px, 8vw, 120px); padding-block: clamp(4rem, 8vw, 7rem); }
.about-reading { display: grid; gap: 20px; color: var(--color-muted); font-size: clamp(0.98rem, 1.25vw, 1.08rem); line-height: 1.85; }
.questions-card { padding: clamp(26px, 3.5vw, 38px); border: 1px solid var(--color-border-strong); background: var(--color-surface-raised); box-shadow: var(--shadow-sm); }
.questions-card .section-kicker { color: var(--color-accent); }
.questions-card ol { display: grid; gap: 24px; margin-top: 28px; padding: 0; list-style: none; counter-reset: questions; }
.questions-card li { display: grid; grid-template-columns: 30px 1fr; gap: 4px 10px; counter-increment: questions; }
.questions-card li::before { content: "0" counter(questions); grid-row: span 2; color: var(--color-accent); font-family: var(--font-serif); font-size: 1.1rem; }
.questions-card strong { color: var(--color-text); font-family: var(--font-serif); font-size: 1.12rem; font-weight: 500; }
.questions-card li span { color: var(--color-muted); font-size: 0.81rem; line-height: 1.6; }

.pulse-manifesto { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface-raised); color: var(--color-text); text-align: center; }
.pulse-manifesto p { font-family: var(--font-serif); font-size: clamp(1.65rem, 3.7vw, 3.65rem); line-height: 1.11; }
.pulse-manifesto p:first-child { margin-bottom: 24px; color: var(--color-muted); font-size: clamp(1rem, 1.4vw, 1.25rem); }
.pulse-manifesto strong { display: block; margin-top: 38px; color: var(--color-accent); font-family: var(--font-serif); font-size: 1.55rem; letter-spacing: 0.06em; }
.pulse-manifesto span { display: block; margin-top: 6px; color: var(--color-muted); font-size: 0.75rem; }

.founder-section { display: grid; grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr); gap: clamp(42px, 9vw, 142px); align-items: start; padding-block: clamp(4.5rem, 10vw, 9rem); }
.founder-photo-wrap { overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface-raised); }
.founder-photo-wrap img { width: 100%; height: auto; filter: grayscale(16%); }
.founder-copy { max-width: 650px; }
.founder-copy h2 { margin-top: 17px; color: var(--color-text); font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 3.3rem); font-weight: 500; line-height: 1.12; }
.founder-copy p:not(.section-kicker) { margin-top: 18px; color: var(--color-muted); font-size: 0.98rem; line-height: 1.82; }
.founder-copy .founder-signoff { color: var(--color-accent); font-family: var(--font-serif); font-size: 1.36rem; font-weight: 500; }

/* A more reserved scale keeps the editorial pages confident without turning
   their headings or the closing footer into the page's main event. */
.content-hero {
    width: min(100% - var(--gutter) * 2, 800px);
    padding: calc(var(--nav-height) + clamp(3.25rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem);
}

.content-hero h1 {
    font-size: clamp(2.15rem, 4.15vw, 3.65rem);
    letter-spacing: -0.045em;
    line-height: 1;
}

.hero-background .display-title { font-size: clamp(2.3rem, 4vw, 3.7rem); }

.page-subtitle {
    margin-top: 15px;
    font-size: clamp(1.12rem, 1.7vw, 1.5rem);
    line-height: 1.3;
}

.section-description {
    margin-top: 20px;
    font-size: clamp(0.9rem, 1.05vw, 1rem);
    line-height: 1.75;
}

.bottom-line {
    margin-bottom: clamp(2.75rem, 6vw, 5rem);
    padding: clamp(2.35rem, 5vw, 4rem);
}

.bottom-line h2 { font-size: clamp(1.4rem, 2.35vw, 2.1rem); }

.pulse-manifesto { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.pulse-manifesto p { font-size: clamp(1.45rem, 2.7vw, 2.7rem); }
.pulse-manifesto p:first-child { font-size: clamp(0.95rem, 1.25vw, 1.12rem); }
.founder-copy h2 { font-size: clamp(1.8rem, 2.8vw, 2.65rem); }

/* On larger screens, retain the portrait-and-copy editorial composition while
   letting the copy sit a little lower against the portrait. */
.founder-section {
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
        "photo heading"
        "photo copy";
    column-gap: clamp(42px, 9vw, 142px);
    row-gap: 22px;
    align-items: start;
}

.founder-heading { grid-area: heading; max-width: 650px; padding-top: clamp(1.5rem, 3.5vw, 3.25rem); }
.founder-heading h2 {
    margin-top: 17px;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    font-weight: 500;
    line-height: 1.12;
}

.founder-photo-wrap {
    grid-area: photo;
    width: 100%;
    justify-self: stretch;
    margin-top: clamp(1.5rem, 3.5vw, 3.25rem);
    box-shadow: none;
}

.founder-photo-wrap img {
    display: block;
}

.founder-copy { grid-area: copy; max-width: 650px; }

/* Compact, utility-first footer: it remains at the end of the shell but no
   longer takes the visual weight of a content section. */
.site-footer {
    padding: 26px var(--gutter) 14px;
}

.footer-inner {
    grid-template-columns: minmax(190px, 1.3fr) repeat(2, minmax(155px, 0.9fr));
    gap: clamp(20px, 3vw, 38px);
}

.footer-brand { gap: 7px; max-width: 255px; }
.footer-logo { height: 25px; }
.footer-tagline { font-size: 0.74rem; line-height: 1.5; }
.footer-nav { gap: 7px; }
.footer-nav-title { font-size: 0.64rem; }

.footer-nav-links {
    grid-template-columns: repeat(2, minmax(0, max-content));
    column-gap: 15px;
    row-gap: 4px;
}

.footer-nav-links a { min-height: 24px; font-size: 0.72rem; }

.footer-bottom {
    margin-top: 20px;
    padding-top: 12px;
}

.footer-bottom p,
.footer-legal { font-size: 0.68rem; }

.footer-cookie-settings {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
    color: var(--color-accent);
}

.cookie-consent {
    position: fixed;
    z-index: 2400;
    right: var(--gutter);
    bottom: var(--space-5);
    width: min(100% - var(--gutter) * 2, 560px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-4);
    align-items: center;
    padding: 18px 20px;
    background: color-mix(in srgb, var(--color-surface-solid) 96%, transparent);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-consent.is-visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-consent-copy {
    display: grid;
    gap: 5px;
}

.cookie-consent h2 {
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cookie-consent p {
    color: var(--color-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.cookie-consent p a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-consent .primary-button,
.cookie-consent .outline-button {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 0.64rem;
    white-space: nowrap;
}

.mobile-subscribe-cta {
    display: none;
}

button.is-loading {
    cursor: wait;
    opacity: 0.82;
}

button.is-loading::before {
    content: "";
    display: inline-block;
    width: 0.72em;
    height: 0.72em;
    margin-right: 0.5em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: lexnush-button-spin 0.7s linear infinite;
    vertical-align: -0.05em;
}

.page-hero-centered {
    min-height: min(72svh, 620px);
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
}

.page-hero-centered > p {
    max-width: 620px;
}

.page-hero-centered .primary-button {
    margin-top: var(--space-2);
}

@keyframes lexnush-button-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1200px) {
    .nav-container { gap: clamp(10px, 1.5vw, 18px); }
    .nav-links { gap: clamp(10px, 1.2vw, 14px); padding-inline: var(--space-3); }
    .nav-link { font-size: 0.6rem; }
    .nav-subscribe { padding-inline: 11px; font-size: 0.58rem; }
    .what-grid.five-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .nav-subscribe { display: none; }
    .mobile-subscribe-cta {
        position: fixed;
        z-index: 1700;
        right: var(--gutter);
        bottom: max(14px, env(safe-area-inset-bottom));
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        padding: 0 18px;
        border: 1px solid var(--color-accent);
        border-radius: var(--radius-full);
        background: var(--color-accent);
        box-shadow: 0 12px 28px color-mix(in srgb, var(--color-accent) 26%, transparent);
        color: var(--color-accent-ink);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .cookie-consent {
        right: var(--gutter);
        bottom: calc(74px + env(safe-area-inset-bottom));
        width: min(100% - var(--gutter) * 2, 560px);
    }
    .hero-background { width: min(100% - var(--gutter) * 2, var(--container-xl)); padding-inline: clamp(20px, 5vw, 40px); }
    .home-hero.hero-background { width: 100%; padding-inline: clamp(20px, 5vw, 40px); }
    .hero-background .hero-grid { gap: var(--space-8); }
    .hero-background .hero-dossier { max-width: 560px; }
    .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .latest-journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .latest-journal-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .format-section { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .newsletter-banner { grid-template-columns: 64px 1fr; }
    .newsletter-form { grid-column: 1 / -1; }
    .about-strip, .about-statement, .founder-section { grid-template-columns: 1fr; }
    .about-values { max-width: 740px; }
    .what-grid, .what-grid.five-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .founder-section { grid-template-areas: "heading" "photo" "copy"; gap: 28px; }
    .founder-heading { padding-top: 0; }
    .founder-photo-wrap { width: min(100%, 290px); justify-self: start; margin-top: 0; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
    .footer-brand { grid-column: 1 / -1; max-width: 360px; }
}

@media (max-width: 560px) {
    .cookie-consent {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }
    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cookie-consent .primary-button,
    .cookie-consent .outline-button {
        width: 100%;
        padding-inline: 8px;
    }
    .page-hero-centered { min-height: min(68svh, 540px); }
    .hero-background { padding-inline: 18px; background-position: center, 62% center; }
    .home-hero.hero-background { padding-inline: var(--gutter); }
    .hero-background .hero-folio { margin-bottom: 28px; }
    .hero-background .hero-grid { gap: 24px; }
    .latest-grid { grid-template-columns: 1fr; }
    .latest-journal-grid { grid-template-columns: 1fr; }
    .latest-journal-grid-three { grid-template-columns: 1fr; }
    .latest-card { grid-template-columns: 120px 1fr; }
    .latest-card-art { min-height: 125px; border-right: 1px solid var(--color-border); border-bottom: 0; }
    .latest-card-copy { min-height: 0; padding: 18px 16px; }
    .latest-card-art span { font-size: 3.3rem; }
    .format-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .format-card:last-child { grid-column: 1 / -1; min-height: 190px; }
    .newsletter-banner { grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 18px; }
    .newsletter-symbol { width: 50px; height: 50px; font-size: 1.3rem; }
    .newsletter-form, .brief-signup form { grid-template-columns: 1fr; gap: 8px; }
    .newsletter-form input, .brief-signup input, .newsletter-form button, .brief-signup button { border-radius: 3px; }
    .about-values { grid-template-columns: 1fr; }
    .about-values article { min-height: 0; padding: 18px 0; border-top: 1px solid var(--color-border); border-left: 0; }
    .content-hero { width: min(100% - var(--gutter) * 2, var(--container-md)); padding-top: calc(var(--nav-height) + 4.5rem); }
    .what-grid, .what-grid.five-items { grid-template-columns: 1fr; }
    .what-card { min-height: 0; }
    .what-card h3 { margin-top: 28px; }
    .bottom-line { padding: 38px 22px; }
    .site-footer { padding-block: 22px 12px; }
    .footer-inner { grid-template-columns: 1fr; gap: 18px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { margin-top: 16px; }
}

/* Responsive refinement
   The mobile system keeps the same restrained editorial language: readable
   type, thin rules, clear hierarchy, and fewer elements competing for space. */

@media (max-width: 1100px) {
    :root { --nav-height: 64px; }

    .site-header {
        z-index: 1600;
        padding: calc(12px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 12px max(var(--gutter), env(safe-area-inset-left));
    }

    .nav-container {
        min-height: var(--nav-height);
        padding: 8px 8px 8px 16px;
    }

    .nav-links,
    .nav-subscribe { display: none; }

    .mobile-toggle { display: inline-flex; }
    .search-shortcut { display: none; }

    #search-trigger,
    .icon-button,
    .mobile-toggle,
    #theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    #search-trigger {
        width: 44px;
        padding-inline: 0;
    }

    #close-search {
        min-width: 46px;
        width: 46px;
        min-height: 46px;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1500;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        align-items: center;
        justify-content: safe center;
        gap: 28px;
        min-height: 100dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: calc(var(--nav-height) + 40px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
        background: color-mix(in srgb, var(--color-bg) 97%, transparent);
        backdrop-filter: blur(18px);
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease, visibility 0.24s ease;
    }

    .mobile-menu.is-active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-links {
        display: grid;
        width: min(100%, 340px);
        justify-items: stretch;
        gap: 2px;
    }

    .mobile-links .nav-link {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        color: var(--color-muted);
        font-family: var(--font-serif);
        font-size: clamp(1.35rem, 4.5vw, 1.75rem);
        font-weight: 500;
        letter-spacing: -0.01em;
        text-transform: none;
    }

    .mobile-links .nav-link::after { display: none; }
    .mobile-links .nav-link.is-active { color: var(--color-accent); }

    .mobile-menu-subscribe {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-inline: 24px;
        border: 1px solid var(--color-accent);
        border-radius: var(--radius-full);
        background: var(--color-accent);
        color: var(--color-accent-ink);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
    }

    .latest-grid,
    .latest-journal-grid,
    .latest-journal-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .latest-journal-grid-three > .latest-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        grid-template-columns: minmax(190px, 0.62fr) minmax(0, 1.38fr);
    }

    .latest-journal-grid-three > .latest-card:last-child:nth-child(odd) .latest-card-art {
        min-height: 100%;
        border-right: 1px solid var(--color-border);
        border-bottom: 0;
    }

    .format-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .format-card:last-child { grid-column: 1 / -1; min-height: 180px; }
    .about-strip,
    .about-statement,
    .founder-section { grid-template-columns: 1fr; }
    .what-grid,
    .what-grid.five-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .founder-section { grid-template-areas: "heading" "photo" "copy"; gap: 28px; }
    .founder-heading { padding-top: 0; }
    .founder-photo-wrap { width: min(100%, 290px); justify-self: start; margin-top: 0; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
    .footer-brand { grid-column: 1 / -1; max-width: 360px; }
    .article-meta { flex-direction: row; }

    .mobile-subscribe-cta { display: none !important; }
    .site-footer { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
    .cookie-consent {
        right: max(var(--gutter), env(safe-area-inset-right));
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 640px) {
    :root { --gutter: clamp(1rem, 5vw, 1.25rem); }

    body { font-size: 16px; }

    .site-header {
        padding-top: calc(10px + env(safe-area-inset-top));
        padding-bottom: 10px;
    }

    .nav-container {
        min-height: 58px;
        padding: 6px 6px 6px 12px;
        border-radius: 14px;
    }

    .nav-logo { height: 30px; }
    .nav-actions { gap: 2px; }
    .search-shortcut { display: none; }

    #search-trigger,
    .icon-button,
    .mobile-toggle,
    #theme-toggle,
    #close-search,
    #back-to-top {
        min-width: 44px;
        width: 44px;
        min-height: 44px;
        padding-inline: 0;
    }

    #close-search {
        min-width: 46px;
        width: 46px;
        min-height: 46px;
    }

    .home-hero.hero-background {
        min-height: 100svh;
        padding: calc(var(--nav-height) + 4.25rem + env(safe-area-inset-top)) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
        background-position: center, 67% center;
    }

    .home-hero.hero-background .hero-grid { gap: 20px; }
    .hero-background .hero-folio {
        margin-bottom: 26px;
        font-size: 0.62rem;
        letter-spacing: 0.09em;
        line-height: 1.45;
    }
    .hero-background .hero-folio span:last-child { max-width: 12ch; text-align: right; }
    .hero-background .hero-content { gap: 16px; }
    .hero-background .display-title { font-size: clamp(2.35rem, 11vw, 2.75rem); line-height: 1; }
    .hero-background .hero-copy { max-width: 34ch; font-size: 0.95rem; line-height: 1.64; }
    .hero-background .hero-actions { padding-top: 2px; }
    .hero-background .hero-actions .primary-button { width: fit-content; min-width: 136px; }

    .hero-background .editorial-standards { margin-top: 32px; }
    .hero-background .editorial-standards li {
        min-height: 50px;
        padding: 10px 14px;
    }
    .hero-background .editorial-standards span { font-size: 1rem; }
    .hero-background .editorial-standards strong { font-size: 0.67rem; }

    [data-theme="light"] .home-hero.hero-background {
        background-image:
            linear-gradient(90deg, #e5dccf 0%, #e5dccf 48%, rgba(229, 220, 207, 0.94) 63%, rgba(229, 220, 207, 0.28) 100%),
            url("../images/supreme-court-hero.jpg");
    }

    .home-section { padding-block: 3rem; }
    .section-title-block { margin-bottom: 24px; }

    .latest-grid,
    .latest-journal-grid,
    .latest-journal-grid-three { grid-template-columns: 1fr; gap: 12px; }

    .latest-card,
    .latest-journal-grid-three > .latest-card:last-child:nth-child(odd) {
        grid-column: auto;
        grid-template-columns: 86px minmax(0, 1fr);
        grid-template-rows: 1fr;
        min-width: 0;
    }

    .latest-card-art,
    .latest-journal-grid-three > .latest-card:last-child:nth-child(odd) .latest-card-art {
        min-height: 100%;
        border-right: 1px solid var(--color-border);
        border-bottom: 0;
    }

    .latest-card-art span { font-size: 2.55rem; }
    .latest-card-copy {
        min-width: 0;
        min-height: 210px;
        display: flex;
        flex-direction: column;
        padding: 16px;
    }
    .latest-card-copy > span { font-size: 0.66rem; }
    .latest-card h3 {
        display: -webkit-box;
        margin-top: 8px;
        overflow: hidden;
        font-size: 1.12rem;
        line-height: 1.23;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
    .latest-card-copy p {
        display: -webkit-box;
        margin-top: 9px;
        overflow: hidden;
        font-size: 0.86rem;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .latest-card-copy small {
        margin-top: auto;
        padding-top: 12px;
        font-size: 0.68rem;
    }

    .format-section { grid-template-columns: 1fr; }
    .format-card,
    .format-card:last-child {
        grid-column: auto;
        min-height: 124px;
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: start;
        gap: 4px 14px;
        padding: 18px;
        text-align: left;
    }
    .format-icon { grid-row: 1 / 4; font-size: 1.7rem; }
    .format-card h2 { min-height: 0; margin-top: 0; font-size: 1rem; }
    .format-card p { min-height: 0; margin-top: 3px; font-size: 0.86rem; line-height: 1.55; }
    .format-card > span:last-child {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        margin-top: 3px;
        font-size: 0.7rem;
    }

    .newsletter-banner {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 18px;
    }
    .newsletter-symbol { width: 42px; height: 42px; font-size: 1.15rem; }
    .newsletter-banner h2 { font-size: 1.35rem; line-height: 1.18; }
    .newsletter-banner p { font-size: 0.86rem; line-height: 1.55; }
    .newsletter-form,
    .brief-signup form { grid-template-columns: 1fr; gap: 8px; }
    .newsletter-form input,
    .brief-signup input,
    .newsletter-form button,
    .brief-signup button {
        min-height: 48px;
        border-radius: 3px;
        font-size: 1rem;
    }
    .newsletter-form button,
    .brief-signup button { font-size: 0.75rem; }

    .content-hero {
        padding-top: calc(var(--nav-height) + 3.75rem + env(safe-area-inset-top));
        padding-bottom: 2.5rem;
    }
    .content-hero h1 { font-size: clamp(2.1rem, 10vw, 2.55rem); line-height: 1.02; }
    .page-subtitle { margin-top: 14px; font-size: 1.14rem; line-height: 1.28; }
    .section-description { margin-top: 18px; font-size: 0.93rem; line-height: 1.66; }
    .section-compact { padding-block: 2.75rem; }

    .content-grid { gap: 12px; }
    .blog-card { min-height: 0; padding: 20px; }
    .blog-card.stack-md { gap: 16px; }
    .blog-card-header { flex-direction: row; align-items: flex-start; gap: 8px; }
    .card-meta { font-size: 0.7rem; text-align: right; white-space: normal; }
    .card-meta-label { font-size: 0.7rem; }
    .blog-card .card-title { font-size: 1.3rem; line-height: 1.22; }
    .blog-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.9rem;
        line-height: 1.6;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }
    .blog-card .text-link { min-height: 44px; padding-top: 6px; }

    .what-section { padding-block: 3rem; }
    .what-grid,
    .what-grid.five-items { grid-template-columns: 1fr; }
    .what-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 12px;
        padding: 20px;
    }
    .what-number { grid-row: 1 / 3; font-size: 1rem; }
    .what-card h3,
    .five-items .what-card h3 { margin-top: 0; font-size: 1.18rem; }
    .what-card p { margin-top: 8px; font-size: 0.88rem; line-height: 1.6; }
    .bottom-line { margin-bottom: 3rem; padding: 30px 20px; }
    .bottom-line h2 { font-size: 1.48rem; line-height: 1.18; }

    .about-statement { gap: 28px; padding-block: 3rem; }
    .about-reading { gap: 16px; font-size: 0.98rem; line-height: 1.72; }
    .questions-card { padding: 22px 20px; }
    .questions-card ol { gap: 20px; margin-top: 22px; }
    .pulse-manifesto { padding-block: 3.5rem; }
    .pulse-manifesto p { font-size: 1.65rem; }
    .pulse-manifesto p:first-child { margin-bottom: 20px; font-size: 0.96rem; }
    .pulse-manifesto strong { margin-top: 28px; }
    .founder-section { gap: 22px; padding-block: 3.5rem; }
    .founder-heading h2 { margin-top: 12px; font-size: 1.85rem; line-height: 1.12; }
    .founder-photo-wrap { width: min(78vw, 280px); justify-self: center; }
    .founder-copy p:not(.section-kicker) { margin-top: 15px; font-size: 0.96rem; line-height: 1.72; }

    .article-hero {
        padding-top: calc(var(--nav-height) + 3.75rem + env(safe-area-inset-top));
        padding-bottom: 1.8rem;
    }
    .article-title { font-size: clamp(2rem, 9.5vw, 2.45rem); line-height: 1.06; margin-block: 12px 20px; }
    .article-meta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px 12px;
        font-size: 0.8rem;
        line-height: 1.45;
    }
    .article-meta .article-by,
    .article-meta .article-updated { grid-column: 1 / -1; }
    .article-container { padding-bottom: 4rem; }
    .article-divider { margin-bottom: 24px; }
    .takeaways { margin-bottom: 26px; padding: 18px; }
    .takeaways ul { font-size: 0.92rem; line-height: 1.58; }
    .article-body { font-size: 1.03rem; line-height: 1.72; }
    .article-body p + p { margin-top: 1.08em; }
    .article-body ul,
    .article-body ol { gap: 0.58em; margin-block: 1.15em; }
    .article-body h2 { margin-top: 1.7em; margin-bottom: 0.55em; font-size: 1.55rem; }
    .article-body blockquote { margin-block: 1.2em; padding: 0.8em 1em; }
    .article-sources { margin-top: 40px; padding: 20px; }
    .article-author { margin-top: 28px; padding-top: 28px; }
    .article-share { margin-top: 48px; }
    .article-share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-share-actions > * { width: 100%; min-height: 46px; padding-inline: 10px; }
    .article-share-actions > *:last-child:nth-child(odd) { grid-column: 1 / -1; }

    .subscription-box,
    .contact-form-card,
    .guidelines-box,
    .coming-soon-card { width: 100%; padding: 22px 20px; }
    .form-row input,
    .form-row textarea,
    .subscription-form input { min-height: 48px; font-size: 1rem; }
    .form-row textarea { min-height: 132px; }

    .cookie-consent {
        right: var(--gutter);
        bottom: calc(12px + env(safe-area-inset-bottom));
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }
    .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-consent .primary-button,
    .cookie-consent .outline-button { min-height: 44px; width: 100%; padding-inline: 8px; }

    .back-to-top {
        right: max(var(--gutter), env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom));
    }

    .site-footer { padding: 24px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; }
    .footer-brand { grid-column: auto; max-width: 310px; }
    .footer-logo { height: 26px; }
    .footer-tagline { font-size: 0.78rem; }
    .footer-nav { gap: 5px; }
    .footer-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
    .footer-nav-links a { min-height: 40px; font-size: 0.75rem; }
    .footer-bottom { margin-top: 16px; padding-top: 12px; gap: 6px; }
    .footer-bottom p { font-size: 0.7rem; }
    .footer-legal {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0 10px;
        font-size: 0.7rem;
    }
    .footer-legal a,
    .footer-cookie-settings { min-height: 40px; display: inline-flex; align-items: center; }
    .footer-legal > span[aria-hidden="true"] { display: none; }

    .search-overlay {
        min-height: 100dvh;
        padding: calc(var(--nav-height) + 24px + env(safe-area-inset-top)) var(--gutter) calc(16px + env(safe-area-inset-bottom));
    }
    .search-box { max-height: calc(100dvh - var(--nav-height) - 56px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
    .search-results { overflow-y: auto; }
}

@media (max-width: 400px) {
    .latest-card,
    .latest-journal-grid-three > .latest-card:last-child:nth-child(odd) { grid-template-columns: 78px minmax(0, 1fr); }
    .latest-card-copy { min-height: 204px; padding: 15px; }
    .latest-card h3 { font-size: 1.08rem; }
    .latest-card-art span { font-size: 2.3rem; }
    .mobile-links .nav-link { min-height: 48px; font-size: 1.35rem; }
    .founder-photo-wrap { width: min(82vw, 260px); }
}

@media (max-width: 1100px) and (max-height: 520px) {
    .mobile-menu {
        justify-content: flex-start;
        gap: 14px;
        padding-top: calc(var(--nav-height) + 22px + env(safe-area-inset-top));
    }
    .mobile-links { gap: 0; }
    .mobile-links .nav-link { min-height: 44px; font-size: 1.2rem; }
    .mobile-menu-subscribe { min-height: 44px; }
}

@media (hover: none) {
    .latest-card:hover,
    .card:hover,
    .grid-card:hover,
    .blog-card:hover,
    .contact-card:hover,
    .primary-button:hover,
    .outline-button:hover,
    .outline-link:hover { transform: none; }
}

/* Premium editorial refinement
   Hierarchy comes from type, proportion, and rules rather than decorative
   card art. Motion is quiet and reserved for orientation. */

.nav-container {
    border-radius: 12px;
    box-shadow: none;
}

.site-header.is-scrolled .nav-container {
    border-radius: 10px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .site-header.is-scrolled .nav-container {
    box-shadow: 0 10px 30px rgba(50, 42, 28, 0.09);
}

.nav-link {
    font-size: 0.71rem;
    letter-spacing: 0.065em;
}

.nav-subscribe {
    border-radius: 8px;
    font-size: 0.68rem;
}

.footer-logo { height: 28px; }
.footer-tagline { font-size: 0.8rem; }
.footer-nav-title { font-size: 0.7rem; }
.footer-nav-links a { font-size: 0.78rem; }
.footer-bottom p,
.footer-legal { font-size: 0.72rem; }

.footer-legal {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 11px;
}

.footer-legal > span[aria-hidden="true"] { opacity: 0.55; }

.has-js .fade-in {
    transform: translateY(7px);
    transition-duration: 520ms;
}

.reading-progress span { box-shadow: none; }

.delay-1 { transition-delay: 40ms; }
.delay-2 { transition-delay: 80ms; }
.delay-3 { transition-delay: 120ms; }
.delay-4 { transition-delay: 160ms; }
.delay-5 { transition-delay: 200ms; }

.hero-background {
    background-image:
        linear-gradient(90deg, rgba(10, 11, 10, 0.94) 0%, rgba(10, 11, 10, 0.85) 39%, rgba(10, 11, 10, 0.5) 100%),
        url("../images/supreme-court-hero.jpg");
}

@keyframes lexnush-hero-drift {
    from { background-position: center, 60% center; }
    to { background-position: center, 61.5% 49%; }
}

@media (min-width: 1101px) {
    .home-hero.hero-background {
        animation: lexnush-hero-drift 22s ease-in-out infinite alternate;
    }
}

/* Latest journal: one lead, two supporting stories. */

.latest-editorial-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    /* Let each supporting story take only the space its copy needs.  Equal
       fractional rows made the lead article look like an unfinished panel on
       wide screens when one supporting headline ran longer than the other. */
    grid-template-rows: auto auto;
    gap: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.latest-editorial-grid .latest-card {
    display: block;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.latest-editorial-grid .latest-card:hover {
    border-color: transparent;
    background: color-mix(in srgb, var(--color-accent) 3%, transparent);
    box-shadow: none;
    transform: none;
}

.latest-story.is-lead {
    grid-row: 1 / 3;
    align-self: start;
    padding-right: clamp(28px, 4.5vw, 64px);
    border-right: 1px solid var(--color-border);
}

.latest-story.is-supporting {
    padding-left: clamp(26px, 3.5vw, 48px);
}

.latest-story.is-supporting + .latest-story.is-supporting {
    border-top: 1px solid var(--color-border);
}

.latest-story-copy {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 48px) 0;
}

.latest-story-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 18px;
}

.latest-story-meta > span {
    color: var(--color-accent);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

.latest-story-meta small,
.latest-card-copy .latest-story-meta small {
    display: inline;
    margin-top: 0;
    color: var(--color-subtle);
    font-size: 0.69rem;
    letter-spacing: 0.035em;
}

.latest-editorial-grid .latest-card h3 {
    margin-top: 22px;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.18;
    text-wrap: balance;
}

.latest-editorial-grid .is-lead h3 {
    max-width: 19ch;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.latest-editorial-grid .latest-card-copy p {
    max-width: 56ch;
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 0.91rem;
    line-height: 1.68;
    text-wrap: pretty;
}

.latest-editorial-grid .is-lead p {
    max-width: 52ch;
    font-size: 1rem;
}

.latest-story-action {
    width: fit-content;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 28px;
    padding-top: 24px;
    border-bottom: 1px solid var(--color-border-strong);
    color: var(--color-accent-strong);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.latest-story-action span {
    transition: transform 220ms ease;
}

.latest-story:hover .latest-story-action span { transform: translateX(3px); }

/* Publication formats and values use one consistent line-icon language. */

.format-section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    margin-block-end: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--color-border);
    background: transparent;
}

.format-card,
.format-card:last-child {
    min-height: 222px;
    display: flex;
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 34px);
    border-right: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-surface-solid) 56%, transparent);
    text-align: left;
    box-shadow: inset 0 2px transparent;
    transition: background 220ms ease, box-shadow 220ms ease;
}

.format-card:last-child { border-right: 0; }

.format-card:hover {
    background: color-mix(in srgb, var(--color-surface-raised) 72%, transparent);
    box-shadow: inset 0 2px var(--color-accent);
}

.format-icon {
    width: 30px;
    height: 30px;
    color: var(--color-accent);
}

.format-icon svg,
.newsletter-symbol svg,
.about-value-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.format-card h2 {
    min-height: 0;
    margin-top: 26px;
    font-size: 1.06rem;
}

.format-card p {
    min-height: 0;
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.62;
}

.format-card > span:last-child {
    min-height: 38px;
    display: inline-flex;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 16px;
}

.newsletter-symbol svg { width: 27px; height: 27px; }

.about-value-icon {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

/* Section archives read like an editorial index, not a dashboard. */

.section-story-grid { gap: clamp(24px, 3.5vw, 44px); }

.section-story-card {
    padding: clamp(24px, 3vw, 32px) 0;
    border: 0;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.section-story-card:hover {
    border-color: var(--color-border-strong);
    background: transparent;
    box-shadow: none;
    transform: none;
}

.section-story-card .card-title { text-wrap: balance; }
.section-story-card > p { text-wrap: pretty; }

.what-grid,
.what-grid.five-items {
    border: 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: transparent;
}

.what-card {
    min-height: 228px;
    padding: clamp(24px, 2.8vw, 34px);
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
    background: transparent;
}

.what-card:last-child { border-right: 0; }

.what-number {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.what-card h3,
.five-items .what-card h3 {
    margin-top: 32px;
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    text-wrap: balance;
}

.what-card p { text-wrap: pretty; }

.bottom-line {
    border: 0;
    border-top: 1px solid var(--color-border-strong);
    border-bottom: 1px solid var(--color-border-strong);
    background: transparent;
    box-shadow: none;
}

/* Article orientation, citation, and continuation tools. */

.article-standfirst {
    width: min(100%, 58ch);
    margin: -4px auto 24px;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.68;
    text-wrap: pretty;
}

.article-reader-tools {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px 18px;
    margin: -16px 0 var(--space-8);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.reader-tool,
.reader-citation > summary,
.reader-tool-button {
    color: var(--color-subtle);
    font-size: 0.69rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.reader-citation > summary,
.reader-tool-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-bottom: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease;
}

.reader-citation > summary {
    list-style: none;
}

.reader-citation > summary::-webkit-details-marker { display: none; }

.reader-citation > summary::after {
    content: "+";
    margin-left: 7px;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 400;
}

.reader-citation[open] > summary::after { content: "−"; }

.reader-citation > summary:hover,
.reader-tool-button:hover {
    border-bottom-color: var(--color-border-strong);
    color: var(--color-text);
}

.reader-citation[open] {
    flex-basis: 100%;
    order: 3;
}

.reader-citation-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: center;
    margin-top: 8px;
    padding: 18px 20px;
    border-left: 2px solid var(--color-accent);
    background: color-mix(in srgb, var(--color-surface) 62%, transparent);
}

.reader-citation-text {
    color: var(--color-muted);
    font-family: var(--font-serif);
    font-size: 0.98rem;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: normal;
}

.reader-tool-feedback {
    grid-column: 1 / -1;
    min-height: 1em;
    color: var(--color-subtle);
    font-size: 0.76rem;
    letter-spacing: normal;
    text-transform: none;
}

.article-toc {
    margin-bottom: var(--space-8);
    padding: 22px 24px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.article-toc h2 {
    margin-top: 6px;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
}

.article-toc ol {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-left: 1.2rem;
}

.article-toc a {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
}

.article-toc a:hover {
    color: var(--color-text);
    text-decoration-color: var(--color-border-strong);
}

.article-toc a[aria-current="location"] {
    color: var(--color-accent-strong);
    font-weight: 700;
    text-decoration-color: var(--color-accent);
}

.article-body h2 { scroll-margin-top: calc(var(--nav-height) + 24px); }

.article-toc a[aria-current="location"] {
    color: var(--color-accent-strong);
    text-decoration-color: var(--color-accent);
}

.related-articles {
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-border);
}

.related-articles-heading h2 {
    margin-top: 6px;
    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 500;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 4vw, 38px);
    margin-top: 24px;
}

.related-article {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px 0;
    border-top: 1px solid var(--color-border);
}

.related-article > span {
    color: var(--color-accent);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.related-article h3 {
    margin-top: 12px;
    color: var(--color-text);
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.2;
    text-wrap: balance;
}

.related-article p {
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.6;
    text-wrap: pretty;
}

.related-article small {
    margin-top: auto;
    padding-top: 16px;
    color: var(--color-subtle);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.related-article:hover { border-top-color: var(--color-accent); }

@media (max-width: 1100px) {
    .latest-editorial-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    }

    .format-card,
    .format-card:last-child { min-height: 210px; }

    .what-grid,
    .what-grid.five-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .what-card { border-bottom: 1px solid var(--color-border); }
    .what-card:nth-child(2n) { border-right: 0; }
    .what-card:nth-last-child(-n + 2) { border-bottom: 0; }
    .what-grid.five-items .what-card:nth-last-child(2) { border-bottom: 1px solid var(--color-border); }
}

@media (max-width: 760px) {
    .latest-editorial-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .latest-story.is-lead {
        grid-row: auto;
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .latest-story.is-supporting { padding-left: 0; }
    .latest-story-copy { padding: 26px 0; }

    .latest-editorial-grid .is-lead h3 {
        max-width: 22ch;
        font-size: clamp(1.75rem, 7.2vw, 2.25rem);
    }

    .format-section { grid-template-columns: 1fr; }

    .format-card,
    .format-card:last-child {
        min-height: 0;
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 4px 16px;
        padding: 22px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .format-card:last-child { border-bottom: 0; }
    .format-icon { grid-row: 1 / 4; width: 28px; height: 28px; }
    .format-card h2 { margin-top: 1px; }
    .format-card p { margin-top: 6px; }
    .format-card > span:last-child { min-height: 34px; padding-top: 6px; }

    .reader-citation-panel { grid-template-columns: 1fr; }
    .reader-tool-feedback { grid-column: auto; }

    .related-articles-grid { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 640px) {
    .latest-editorial-grid .latest-card,
    .latest-editorial-grid .latest-story {
        display: block;
        grid-column: auto;
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .latest-story-copy {
        min-height: 0;
        padding: 22px 0;
    }

    .latest-story-meta { align-items: flex-start; }

    .latest-editorial-grid .latest-card h3 {
        display: block;
        margin-top: 15px;
        overflow: visible;
        font-size: 1.28rem;
        -webkit-line-clamp: unset;
    }

    /* Keep an editorial lead compact enough for long legal headlines on a phone. */
    .latest-editorial-grid .is-lead h3 { font-size: 1.72rem; }

    .latest-editorial-grid .latest-card-copy p {
        margin-top: 11px;
        font-size: 0.89rem;
        line-height: 1.58;
    }

    .latest-editorial-grid .is-supporting p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .latest-story-action { min-height: 36px; padding-top: 14px; }

    .what-grid,
    .what-grid.five-items { grid-template-columns: 1fr; }

    .what-card {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .what-card:nth-last-child(-n + 2) { border-bottom: 1px solid var(--color-border); }
    .what-card:last-child { border-bottom: 0; }

    .article-standfirst {
        margin-bottom: 21px;
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .article-reader-tools {
        justify-content: flex-start;
        margin-top: -10px;
    }

    .reader-citation-panel { padding: 16px; }
    .article-toc { padding: 19px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero.hero-background { animation: none; }
}

@media print {
    @page { margin: 18mm 16mm; }

    html,
    body {
        overflow: visible !important;
        background: #fff !important;
        color: #111 !important;
    }

    body::before,
    .site-header,
    .mobile-menu,
    .reading-progress,
    .article-reader-tools,
    .article-share,
    .related-articles,
    .site-footer,
    .cookie-consent,
    .back-to-top,
    .search-overlay,
    .flash-stack { display: none !important; }

    .site-main,
    .article-hero,
    .article-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .article-hero {
        padding-bottom: 8mm !important;
        text-align: left;
    }

    .article-title {
        max-width: none;
        margin-inline: 0;
        color: #111;
        font-size: 28pt;
    }

    .article-standfirst {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        color: #333;
        font-size: 12pt;
    }

    .article-meta {
        justify-content: flex-start;
        color: #444;
    }

    .article-divider { margin-bottom: 8mm; border-color: #aaa; }

    .article-body {
        color: #111;
        font-size: 11.5pt;
        line-height: 1.55;
    }

    .article-body h2,
    .article-sources,
    .article-author { break-inside: avoid; }

    .article-body h2 { break-after: avoid; }

    .article-body blockquote,
    .takeaways,
    .article-sources {
        background: transparent;
        border-color: #777;
        box-shadow: none;
    }

    .article-sources a[href]::after {
        content: " (" attr(href) ")";
        color: #444;
        font-size: 8pt;
        overflow-wrap: anywhere;
    }
}
