/* b-legal: the silver, the graphite and the red of the firm's dot mark.
   Display: Advent Pro in its wide cut (the lettering of the logo). Text: Roboto Serif. */

@font-face {
    font-family: "Advent Pro";
    src: url("/fonts/advent-pro.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 100% 200%;
    font-display: swap;
}

@font-face {
    font-family: "Roboto Serif";
    src: url("/fonts/roboto-serif.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --silver: #e2e3e7;      /* the band of the old header */
    --silver-hi: #f2f3f5;
    --silver-lo: #cbced5;
    --white: #fff;
    --ink: #1b1b1d;         /* the small letters of the logo */
    --graphite: #232428;
    --graphite-2: #303238;
    --soft: #4f5157;
    --dot: #99999b;         /* the grey dots and letters of the logo */
    --red: #a8181b;         /* the red dots of the logo */
    --red-deep: #861215;
    --red-lit: #e5484d;     /* the same red, lit, for dots on graphite */
    --line: rgba(27, 27, 29, 0.16);
    --line-light: rgba(255, 255, 255, 0.16);
    --display: "Advent Pro", "Arial Narrow", Arial, sans-serif;
    --text: "Roboto Serif", Georgia, "Times New Roman", serif;
    --pad: clamp(1rem, 4vw, 2.5rem);
    --lb-accent: #e5484d;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.68;
    overflow-wrap: break-word;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--display);
    line-height: 1.04;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.3rem, 1.2rem + 5.4vw, 6.2rem);
    font-weight: 300;
    font-stretch: 200%;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.75rem, 1.1rem + 2.7vw, 3.5rem);
    font-weight: 350;
    font-stretch: 180%;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    font-weight: 550;
    font-stretch: 150%;
    line-height: 1.15;
}

p {
    margin: 0 0 1.1em;
}

a {
    color: inherit;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--red);
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: var(--pad);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--ink);
    color: var(--white);
    font-family: var(--display);
    font-weight: 600;
    font-stretch: 130%;
    border-radius: 999px;
}

.skip:focus {
    top: 0.75rem;
    color: var(--white);
}

/* ---- header ---- */

.top {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: saturate(1.3) blur(14px);
    backdrop-filter: saturate(1.3) blur(14px);
    border-bottom: 1px solid var(--line);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    padding-block: 0.6rem;
}

.brand {
    display: block;
    flex: 1 1 60%;
    line-height: 0;
}

.brand img {
    width: min(100%, 252px);
    height: auto;
}

.call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    font-stretch: 130%;
    text-decoration: none;
    white-space: nowrap;
}

.call:hover {
    background: var(--red);
    color: var(--white);
}

.call {
    order: 2;
}

.lang {
    display: flex;
    order: 3;
    margin-left: auto;
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    font-stretch: 130%;
}

.lang a,
.lang span {
    display: grid;
    place-items: center;
    min-width: 40px;
    min-height: 44px;
    padding: 0 0.4rem;
    text-decoration: none;
}

.lang span {
    color: var(--red);
}

.menu-btn {
    display: inline-flex;
    order: 1;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: none;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    font-stretch: 130%;
    cursor: pointer;
}

.menu-btn[hidden] {
    display: none;
}

.menu-dots {
    display: inline-flex;
    gap: 4px;
}

.menu-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink);
}

.menu-dots i:nth-child(2) {
    background: var(--red);
}

.nav {
    display: flex;
    order: 4;
    flex-direction: column;
    flex-basis: 100%;
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 500;
    font-stretch: 150%;
}

.nav a {
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.nav a[aria-current="page"] {
    color: var(--red);
}

/* With the script the navigation folds behind the button on a phone; without it, it stays open. */
.js .nav {
    display: none;
}

.js .nav.is-open {
    display: flex;
}

@media (min-width: 760px) {
    .top {
        position: sticky;
        top: 0;
    }

    .brand {
        flex: 0 1 auto;
        margin-right: auto;
    }

    .brand img {
        width: auto;
        height: 44px;
    }

    .call {
        padding: 0 1.1rem;
    }

    .menu-btn {
        display: none;
    }

    .nav,
    .js .nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 1.6rem;
        font-size: 1.12rem;
        font-weight: 550;
        font-stretch: 135%;
        border-top: 1px solid var(--line);
        margin-top: 0.3rem;
    }

    .nav a {
        padding: 0.55rem 0 0.2rem;
        border-top: 0;
        border-bottom: 3px solid transparent;
    }

    .nav a:hover,
    .nav a[aria-current="page"] {
        border-bottom-color: var(--red);
    }
}

@media (min-width: 1240px) {
    .top-row {
        flex-wrap: nowrap;
        gap: 1.25rem;
        padding-block: 0.85rem;
    }

    .brand {
        margin-right: 0;
    }

    .brand img {
        height: 48px;
    }

    .nav,
    .js .nav {
        order: 1;
        flex-basis: auto;
        flex-wrap: nowrap;
        margin: 0 0 0 auto;
        border-top: 0;
        white-space: nowrap;
    }

    .lang {
        margin-left: 0;
    }
}

/* ---- buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.55rem 1.6rem;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    font-stretch: 135%;
    line-height: 1.15;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}

.btn:hover {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.btn-light {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.btn-light:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.btn-file {
    flex-wrap: wrap;
    gap: 0.1rem 0.8rem;
    padding-block: 0.7rem;
}

.btn-file span {
    font-size: 0.98rem;
    font-weight: 450;
    font-stretch: 115%;
}

/* ---- hero of the home page ---- */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, var(--silver-hi) 0%, var(--silver) 48%, var(--silver-lo) 100%);
}

.hero-inner {
    position: relative;
    padding-block: clamp(2.5rem, 7vw, 6rem) 80vw;
}

.hero h1 {
    max-width: 12ch;
}

.hero .lead {
    max-width: 38rem;
    margin: clamp(1.25rem, 3vw, 2rem) 0 0;
    font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
}

.hero-facts {
    display: grid;
    gap: 0.6rem;
    max-width: 36rem;
    margin: clamp(1.75rem, 4vw, 2.75rem) 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 550;
    font-stretch: 130%;
    line-height: 1.25;
}

.hero-facts li {
    position: relative;
    padding-left: 1.5rem;
}

.hero-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 0.62em;
    height: 0.62em;
    border-radius: 50%;
    background: var(--red);
}

.lattice {
    position: absolute;
    right: -38vw;
    bottom: -16vw;
    width: 190vw;
    max-width: none;
    pointer-events: none;
}

.lattice .dot {
    fill: #a3a5aa;
}

.lattice .dot-red {
    fill: var(--red);
}

@keyframes dot-in {
    from {
        opacity: 0;
    }
}

@keyframes red-on {
    from {
        fill: #a3a5aa;
    }
}

.lattice circle {
    animation: dot-in 0.55s both;
    animation-delay: calc(var(--k) * 26ms);
}

.lattice .dot-red {
    animation: dot-in 0.55s both, red-on 0.7s both;
    animation-delay: calc(var(--k) * 26ms), calc(750ms + var(--k) * 60ms);
}

@media (min-width: 600px) {
    .hero-inner {
        padding-bottom: 58vw;
    }

    .lattice {
        right: -30vw;
        bottom: -12vw;
        width: 150vw;
    }
}

@media (min-width: 900px) {
    .hero-inner {
        padding-bottom: clamp(4.5rem, 8vw, 7rem);
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(3rem, 1.2rem + 4.9vw, 5.7rem);
    }

    .hero .lead {
        max-width: 33rem;
    }

    .hero-facts {
        max-width: 29rem;
    }

    .lattice {
        right: -15vw;
        bottom: -5vw;
        width: 88vw;
        -webkit-mask-image: linear-gradient(100deg, transparent 12%, #000 46%);
        mask-image: linear-gradient(100deg, transparent 12%, #000 46%);
    }
}

@media (min-width: 1500px) {
    .lattice {
        right: calc(50vw - 950px);
        bottom: -80px;
        width: 1320px;
    }
}

/* ---- bands ---- */

.band {
    padding-block: clamp(3.25rem, 8vw, 7rem);
}

.silver {
    background: var(--silver);
}

.dark {
    background: var(--graphite);
    color: #eceef2;
}

.dark a:hover {
    color: var(--white);
}

.dark :focus-visible,
.red :focus-visible,
.call-band :focus-visible,
.contact-card-form :focus-visible {
    outline-color: var(--white);
}

.red {
    background: var(--red);
    color: var(--white);
}

.red a {
    text-decoration-color: rgba(255, 255, 255, 0.7);
}

.red a:hover {
    color: var(--white);
}

.section-head {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head p {
    max-width: 40rem;
    margin: 0;
    font-size: 1.1rem;
}

.split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.prose {
    max-width: 44rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

.intro {
    font-size: 1.12rem;
}

@media (min-width: 900px) {
    .section-head {
        grid-template-columns: 5fr 7fr;
        align-items: end;
    }

    .split {
        grid-template-columns: 5fr 7fr;
    }
}

/* ---- about ---- */

.about-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.about-head {
    display: grid;
    gap: 1.5rem;
    align-content: start;
}

.about .prose {
    font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem);
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 5fr 7fr;
    }
}

/* Small photographs, shown at their own size like frames of a contact sheet. */
.frames {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prose .frames {
    margin-top: 2rem;
}

.frames a {
    display: block;
    padding: 6px;
    background: var(--white);
    box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(27, 27, 29, 0.55);
    line-height: 0;
    transition: transform 0.18s;
}

.frames a:hover {
    transform: translateY(-3px);
}

.frames img {
    display: block;
}

.services {
    display: grid;
    gap: 0 2rem;
    margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--display);
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    font-weight: 500;
    font-stretch: 140%;
    line-height: 1.2;
}

.services li {
    position: relative;
    padding: 2.4rem 0 1.4rem;
    border-top: 2px solid var(--ink);
}

.services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 22px 0 0 var(--dot), 44px 0 0 var(--dot);
}

.services-2 {
    margin-top: 1.5rem;
}

@media (min-width: 620px) {
    .services {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1040px) {
    .services:not(.services-2) {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---- the lawyers and the focus of their practice, on graphite ---- */

.dark .section-head p {
    color: #c9ccd4;
}

.focus {
    display: grid;
    gap: 2.75rem 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.focus-col {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-light);
}

.focus-who {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: var(--white);
    text-decoration: none;
}

.focus-who img {
    flex: none;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 16%;
    box-shadow: 0 0 0 2px var(--graphite), 0 0 0 4px #6a6d76;
    transition: box-shadow 0.18s;
}

.focus-who:hover img,
.focus-who:focus-visible img {
    box-shadow: 0 0 0 2px var(--graphite), 0 0 0 4px var(--red-lit);
}

.focus-name {
    font-family: var(--display);
    font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
    font-weight: 500;
    font-stretch: 150%;
    line-height: 1.12;
}

.focus-bar {
    margin: 1.4rem 0 0;
    color: #c9ccd4;
    font-size: 0.95rem;
    line-height: 1.4;
}

.focus-bar b {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--red-lit);
    font-family: var(--display);
    font-size: clamp(2.4rem, 1.9rem + 1.8vw, 3.4rem);
    font-weight: 250;
    font-stretch: 200%;
    line-height: 0.95;
}

.focus-list {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.focus-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 2rem;
    border-top: 1px solid var(--line-light);
    line-height: 1.45;
}

.focus-list li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 1.2em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red-lit);
    box-shadow: 0 0 0 5px rgba(229, 72, 77, 0.2);
}

.focus-more {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    font-stretch: 135%;
}

@media (min-width: 640px) {
    .focus {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1080px) {
    .focus {
        grid-template-columns: repeat(4, 1fr);
    }

    .focus-name span {
        display: block;
    }
}

/* ---- subscription band ---- */

.sub-grid {
    display: grid;
    gap: 1.5rem;
}

.sub-grid p {
    max-width: 38rem;
    font-size: 1.12rem;
}

.sub-grid p:last-child {
    margin: 1.75rem 0 0;
}

@media (min-width: 900px) {
    .sub-grid {
        grid-template-columns: 6fr 6fr;
        gap: 3rem;
        align-items: start;
    }
}

.sub-page-grid {
    display: grid;
    gap: 2.5rem;
}

.sub-page-grid h2 {
    margin-bottom: 1.5rem;
}

.sub-list h3 {
    margin-bottom: 1.25rem;
}

@media (min-width: 960px) {
    .sub-page-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ---- lists marked with dots ---- */

.dots {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dots li {
    position: relative;
    padding: 0.38rem 0 0.38rem 1.5rem;
    line-height: 1.5;
}

.dots li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.95em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot);
}

.dots-light li {
    padding-block: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.dots-light li::before {
    top: 1.15em;
    background: var(--white);
}

/* ---- reading: publications and the press on the home page ---- */

.reading-grid {
    display: grid;
    gap: 3.5rem;
}

.reading h2 {
    margin-bottom: 1.5rem;
}

.mini-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mini-list a {
    display: grid;
    gap: 0.15rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    line-height: 1.4;
    text-decoration: none;
}

.mini-list li:last-child a {
    border-bottom: 1px solid var(--line);
}

.mini-list span {
    color: var(--red);
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    font-stretch: 140%;
}

.pull {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
    border-left: 8px dotted var(--red);
}

.pull blockquote {
    margin: 0;
}

.pull blockquote p {
    margin: 0;
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.7rem);
    line-height: 1.45;
}

.pull figcaption {
    margin-top: 1rem;
    color: var(--soft);
    font-size: 0.98rem;
}

.more {
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    font-stretch: 135%;
}

@media (min-width: 900px) {
    .reading-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }
}

/* ---- the closing band ---- */

.call-band {
    position: relative;
    padding-block: calc(84px + clamp(2.5rem, 6vw, 4.5rem)) clamp(3.25rem, 8vw, 6rem);
    background: var(--graphite);
    color: #eceef2;
}

.call-band::before,
.call-band::after {
    content: "";
    position: absolute;
    top: 0;
    height: 84px;
    pointer-events: none;
}

.call-band::before {
    left: 0;
    right: 30%;
    background: radial-gradient(circle, #4a4d55 0 6px, transparent 7px) left top / 28px 28px;
    -webkit-mask-image: linear-gradient(to right, #000 20%, transparent);
    mask-image: linear-gradient(to right, #000 20%, transparent);
}

.call-band::after {
    left: 56px;
    width: 84px;
    background: radial-gradient(circle, var(--red-lit) 0 6px, transparent 7px) left top / 28px 28px;
}

.call-grid {
    display: grid;
    gap: 2rem;
}

.call-band h2 {
    margin-bottom: 1rem;
}

.call-band p {
    max-width: 30rem;
}

.call-phone {
    display: inline-block;
    color: var(--white);
    font-family: var(--display);
    font-size: clamp(2.3rem, 1.3rem + 5vw, 4.6rem);
    font-weight: 300;
    font-stretch: 200%;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.call-phone:hover {
    color: var(--red-lit);
}

.call-lines {
    margin: 1.25rem 0 0;
    color: #c9ccd4;
}

.call-lines a,
.link-light {
    color: var(--white);
    text-decoration-color: var(--red-lit);
}

.call-lines a:hover,
.link-light:hover {
    color: var(--white);
    text-decoration-color: var(--white);
}

.call-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin: 1.75rem 0 0;
}

@media (min-width: 900px) {
    .call-grid {
        grid-template-columns: 5fr 7fr;
        gap: 3rem;
        align-items: center;
    }
}

/* ---- footer ---- */

.foot {
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    background: var(--white);
    font-size: 0.98rem;
}

.foot-grid {
    display: grid;
    gap: 2rem;
}

.foot-logo {
    display: block;
    margin-bottom: 1.25rem;
}

.foot-brand p {
    max-width: 30rem;
    color: var(--soft);
}

.foot h2 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-stretch: 150%;
    letter-spacing: 0;
}

.foot address {
    font-style: normal;
}

.foot-phone {
    font-weight: 700;
}

.foot-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot-nav a {
    display: inline-block;
    padding: 0.2rem 0;
}

.foot-bottom {
    margin-top: clamp(2rem, 5vw, 3.5rem);
    padding-block: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--soft);
}

.foot-bottom p {
    margin: 0;
}

@media (min-width: 720px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }

    .foot-brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1040px) {
    .foot-grid {
        grid-template-columns: 5fr 3fr 3fr 2fr;
    }

    .foot-brand {
        grid-column: auto;
    }
}

/* ---- the head of an inner page ---- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(5.5rem, 10vw, 7rem);
    background: linear-gradient(168deg, var(--silver-hi) 0%, var(--silver) 55%, var(--silver-lo) 100%);
}

/* Three rows of the mark's dots along the lower edge, the last three columns in red. */
.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 84px;
    pointer-events: none;
}

.page-hero::before {
    left: 30%;
    right: 0;
    background: radial-gradient(circle, #a3a5aa 0 6px, transparent 7px) right top / 28px 28px;
    -webkit-mask-image: linear-gradient(to left, #000 20%, transparent);
    mask-image: linear-gradient(to left, #000 20%, transparent);
}

.page-hero::after {
    right: 56px;
    width: 84px;
    background: radial-gradient(circle, var(--red) 0 6px, transparent 7px) right top / 28px 28px;
}

.page-hero .wrap {
    position: relative;
}

.page-hero .lead {
    max-width: 40rem;
    margin: clamp(1rem, 2.5vw, 1.75rem) 0 0;
    font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
    line-height: 1.6;
}

.jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 600;
    font-stretch: 125%;
    line-height: 1.2;
}

.jump a {
    padding: 0.5rem 0.95rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    text-decoration: none;
    transition: background-color 0.18s, color 0.18s;
}

.jump a:hover {
    background: var(--ink);
    color: var(--white);
}

.jump-hero {
    margin: 1.75rem 0 0;
}

/* ---- practice areas ---- */

.areas {
    column-gap: 3rem;
}

.area {
    break-inside: avoid;
    padding: 1.4rem 0 1.6rem;
    border-top: 2px solid var(--ink);
    scroll-margin-top: 7.5rem;
}

.area h3 {
    margin-bottom: 0.7rem;
}

.area:target {
    border-top-color: var(--red);
}

.area:target h3 {
    color: var(--red);
}

@media (min-width: 760px) {
    .areas {
        columns: 2;
    }
}

@media (min-width: 1160px) {
    .areas {
        columns: 3;
    }
}

.frames-wide {
    align-items: flex-end;
}

/* ---- lawyers ---- */

.lawyer {
    display: grid;
    gap: 1.75rem;
    padding-block: clamp(2.25rem, 5vw, 4rem);
    border-top: 2px solid var(--ink);
    scroll-margin-top: 6rem;
}

.lawyer:first-child {
    padding-top: 0;
    border-top: 0;
}

.lawyer:last-child {
    padding-bottom: 0;
}

.lawyer-photos {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    align-self: start;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lawyer-photos a {
    display: block;
    padding: 6px;
    background: var(--white);
    box-shadow: 0 16px 34px -20px rgba(27, 27, 29, 0.6);
    line-height: 0;
    transition: transform 0.18s;
}

.lawyer-photos a:hover {
    transform: translateY(-3px);
}

.lawyer-body h2 {
    margin-bottom: 1.5rem;
}

.lawyer-body > p {
    max-width: 44rem;
}

.years {
    max-width: 48rem;
    margin: 0 0 1.75rem;
}

.years div {
    display: grid;
    gap: 0.15rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
}

.years dt {
    color: var(--red);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 350;
    font-stretch: 180%;
    line-height: 1.15;
}

.years dd {
    margin: 0;
}

.lawyer-meta {
    margin-bottom: 0;
    font-weight: 600;
}

@media (min-width: 620px) {
    .years div {
        grid-template-columns: 9.5rem 1fr;
        gap: 1rem;
    }
}

@media (min-width: 1000px) {
    .lawyer {
        grid-template-columns: 22rem 1fr;
        gap: 3rem;
    }
}

/* ---- publications ---- */

.pubs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pub {
    display: grid;
    gap: 0.5rem;
    padding-block: clamp(1.75rem, 4vw, 3rem);
    border-top: 2px solid var(--ink);
    scroll-margin-top: 6rem;
}

.pub:first-child {
    padding-top: 0;
    border-top: 0;
}

.pub-date {
    margin: 0;
    color: var(--red);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 350;
    font-stretch: 180%;
    line-height: 1.15;
}

.pub h2 {
    max-width: 26ch;
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2.3rem);
    font-weight: 400;
    font-stretch: 160%;
    line-height: 1.1;
}

.pub-author {
    font-family: var(--display);
    font-size: 1.12rem;
    font-weight: 550;
    font-stretch: 130%;
}

.pub-body > p {
    max-width: 46rem;
}

.pub-body > p:last-child {
    margin: 1.5rem 0 0;
}

@media (min-width: 900px) {
    .pub {
        grid-template-columns: 5fr 7fr;
        gap: 3rem;
    }

    .pub-date {
        font-size: clamp(2rem, 1rem + 2.4vw, 3.2rem);
        font-weight: 250;
        font-stretch: 200%;
    }
}

/* ---- press ---- */

.press-year {
    display: grid;
    gap: 1rem;
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
    scroll-margin-top: 6rem;
}

.press-year > h2 {
    color: var(--red);
    font-size: clamp(3.6rem, 2rem + 8vw, 8rem);
    font-weight: 200;
    font-stretch: 200%;
    line-height: 0.9;
}

.clips {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clip {
    padding: 1.6rem 0 1.8rem;
    border-top: 2px solid var(--ink);
}

.clip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 1.25rem;
    margin: 0 0 0.6rem;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    font-stretch: 135%;
    line-height: 1.3;
}

.clip-meta span {
    color: var(--soft);
}

.clip h3 {
    max-width: 34ch;
    margin-bottom: 0.9rem;
    font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem);
    font-weight: 450;
    font-stretch: 150%;
}

.clip blockquote {
    max-width: 46rem;
    margin: 0;
    padding-left: 1.25rem;
    border-left: 6px dotted var(--dot);
}

.clip blockquote p:last-child {
    margin-bottom: 0;
}

.press-note {
    max-width: 46rem;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--soft);
    font-size: 0.98rem;
}

@media (min-width: 900px) {
    .press-year {
        grid-template-columns: 5fr 7fr;
        gap: 3rem;
        align-items: start;
    }

    .press-year > h2 {
        position: sticky;
        top: 7.5rem;
    }
}

@media (min-width: 1240px) {
    .press-year > h2 {
        top: 6.5rem;
    }
}

/* ---- contact ---- */

.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    padding: clamp(1.4rem, 4vw, 2.75rem);
    border-radius: 28px;
    background: var(--silver);
}

.contact-card h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2.1rem);
    font-stretch: 165%;
}

.contact-card-form {
    background: var(--graphite);
    color: #eceef2;
    scroll-margin-top: 6rem;
}

.big-phone-line {
    margin: 0 0 1.75rem;
}

.big-phone {
    font-family: var(--display);
    font-size: clamp(2.1rem, 1.2rem + 4.2vw, 3.7rem);
    font-weight: 300;
    font-stretch: 200%;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.contact-list {
    margin: 0 0 2rem;
}

.contact-list div {
    display: grid;
    gap: 0.15rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
}

.contact-list dt {
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 600;
    font-stretch: 135%;
}

.contact-list dd {
    margin: 0;
}

.direct {
    margin: 0;
    padding: 0;
    list-style: none;
}

.direct li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.1rem 1rem;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
}

.direct li a:first-child {
    font-weight: 600;
    text-decoration: none;
}

.contact-form > div {
    margin-bottom: 1.1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--display);
    font-size: 1.1rem;
    font-weight: 600;
    font-stretch: 135%;
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid transparent;
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 10rem;
    resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 3px solid var(--red-lit);
    outline-offset: 2px;
    border-radius: 14px;
}

.contact-form ::placeholder {
    color: #62656c;
    opacity: 1;
}

.contact-form ul {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    color: #ffc9cb;
    font-size: 0.95rem;
}

.contact-form .btn {
    margin-top: 0.4rem;
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.contact-form .btn:hover {
    border-color: var(--red-lit);
    background: var(--red-lit);
    color: var(--ink);
}

.form-hint {
    margin: 1rem 0 0;
    color: #c9ccd4;
    font-size: 0.95rem;
}

.contact-sent {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
}

.contact-sent strong {
    display: block;
}

@media (min-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

/* ---- 404 ---- */

.not-found {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem var(--pad);
    background: linear-gradient(168deg, var(--silver-hi) 0%, var(--silver) 55%, var(--silver-lo) 100%);
}

.not-found > div {
    max-width: 40rem;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 28px;
    background: var(--white);
}

.not-found img {
    display: block;
    margin-bottom: 2rem;
}

.not-found h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
}

.not-found h2 {
    margin: 2.25rem 0 0.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 1.6rem;
}

/* ---- motion ---- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
