:root {
    --ice: #EFEAE6;
    --deep: #1B2B29;
    --green: #37584D;
    --terracotta: #8E4E23;
    --sand: #B68F67;
    --line: rgba(27,43,41,.20);
    --line-strong: rgba(27,43,41,.42);
    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --page: min(1360px, calc(100vw - 96px));
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--ice);
}

body {
    margin: 0;
    background: var(--ice);
    color: var(--deep);
    font-family: var(--serif);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p, h1, h2, h3 { margin-top: 0; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    z-index: 1000;
    background: var(--deep);
    color: var(--ice);
    padding: 10px 14px;
}

/* ---------- HEADER ---------- */

.site-shell {
    width: var(--page);
    margin: 0 auto;
}

.site-header {
    padding-top: 30px;
}

.masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.brand-name {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(34px, 4.7vw, 68px);
    font-weight: 600;
    letter-spacing: -.075em;
    line-height: .88;
}

.brand-subtitle {
    margin: 10px 0 0;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .31em;
    text-transform: uppercase;
    color: var(--green);
}

.masthead-rule {
    width: 100%;
    border-top: 1px solid var(--line);
}

.nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 11px;
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.nav a {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--green);
    transition: color .2s ease, opacity .2s ease;
}

.nav a:hover {
    color: var(--terracotta);
}

.micro {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .17em;
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--green);
}

.section-rule {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

/* ---------- HOME HERO ---------- */

.hero {
    padding: 88px 0 92px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
    gap: clamp(60px, 9vw, 150px);
    align-items: end;
}

.hero-kicker { margin-bottom: 20px; }

.hero h1 {
    max-width: 880px;
    margin-bottom: 30px;
    font-size: clamp(65px, 7.5vw, 115px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.05em;
    text-align: left;
}

.hero-description {
    max-width: 620px;
    margin: 0;
    font-size: 19px;
    line-height: 1.56;
    text-align: left;
}

.hero-aside {
    max-width: 320px;
    justify-self: end;
    text-align: right;
}

.hero-aside .accent-line {
    width: 65px;
    margin: 0 0 15px auto;
    border-top: 2px solid var(--terracotta);
}

.hero-aside .micro {
    margin-bottom: 9px;
}

.hero-aside p:last-child {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.45;
}

/* ---------- EDITION ---------- */

.page-section { padding: 82px 0 95px; }

.edition-section { padding-top: 0; }

.edition-grid {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 210px;
    gap: 38px;
    align-items: start;
    padding-top: 42px;
}

.edition-number {
    font-size: 45px;
    line-height: 1;
    color: var(--terracotta);
}

.edition-label { margin-bottom: 15px; }

.edition-grid h2 {
    max-width: 820px;
    margin-bottom: 15px;
    font-size: clamp(44px, 5.4vw, 76px);
    font-weight: 400;
    line-height: .93;
    letter-spacing: -.045em;
}

.edition-grid p:not(.micro) {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.52;
}

.edition-meta {
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .15em;
    line-height: 1.8;
    text-transform: uppercase;
    color: var(--green);
    text-align: right;
}

.edition-link {
    display: inline-block;
    margin-top: 21px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--deep);
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.edition-image-wrap {
    margin-top: 56px;
}

.edition-image {
    width: min(100%, 930px);
    margin-left: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.image-caption {
    margin: 10px 0 0;
    font-family: var(--sans);
    font-size: 7px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    text-align: right;
}

/* ---------- LIBRARY ---------- */

.library { padding-top: 96px; }

.library-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, .65fr);
    gap: 100px;
    padding-top: 52px;
}

.library-intro h2 {
    max-width: 680px;
    margin-bottom: 0;
    font-size: clamp(48px, 5.8vw, 79px);
    font-weight: 400;
    line-height: .93;
    letter-spacing: -.045em;
}

.library-intro > p {
    margin: 3px 0 0;
    font-size: 18px;
    line-height: 1.55;
}

.library-empty {
    margin-top: 65px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .13em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--green);
}

/* ---------- OFFICE ---------- */

.office { padding-top: 105px; }

.office-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr);
    gap: 90px;
    padding: 52px 0 58px;
}

.office-intro h2 {
    margin-bottom: 0;
    font-size: clamp(48px, 5.8vw, 78px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.045em;
}

.office-intro > p {
    margin: 0;
    font-size: 18px;
    line-height: 1.56;
}

.practice-list {
    border-top: 1px solid var(--deep);
}

.practice-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 32px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.practice-number {
    padding-top: 4px;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .15em;
    color: var(--terracotta);
}

.practice-item h3 {
    margin-bottom: 6px;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.05;
}

.practice-item p {
    max-width: 760px;
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}

.method-link-wrap {
    display: flex;
    justify-content: center;
    padding-top: 38px;
}

.method-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--deep);
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
}

/* ---------- AUTHORS ---------- */

.authors { padding-top: 108px; }

.author {
    display: grid;
    grid-template-columns: minmax(230px, 360px) minmax(0, 1fr);
    gap: 65px;
    align-items: start;
    padding: 50px 0;
    border-bottom: 1px solid var(--line);
}

.author.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 360px);
}

.author.reverse .author-photo-wrap { order: 2; }

.author-photo-wrap {
    max-width: 360px;
}

.author-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
}

.author-copy {
    max-width: 660px;
    padding-top: 3px;
}

.author-index { margin-bottom: 13px; }

.author-copy h3 {
    margin-bottom: 14px;
    font-size: 46px;
    font-weight: 400;
    line-height: .96;
    letter-spacing: -.035em;
}

.author-role {
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 1.5;
}

.author-copy p:not(.micro):not(.author-role):not(.author-signature) {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.55;
}

.author-signature {
    margin: 22px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--green);
    font-size: 18px;
    line-height: 1.5;
}

/* ---------- INTERNAL HERO + CONTENT ---------- */

.internal-hero {
    padding: 88px 0 72px;
}

.internal-hero h1 {
    max-width: 930px;
    margin: 16px 0 25px;
    font-size: clamp(58px, 7vw, 102px);
    font-weight: 400;
    line-height: .89;
    letter-spacing: -.05em;
}

.internal-dek {
    max-width: 720px;
    margin: 0;
    font-size: 20px;
    line-height: 1.56;
}

.internal-content {
    max-width: 780px;
    padding: 0 0 105px;
}

.internal-content h2 {
    margin: 64px 0 16px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
}

.internal-content h3 {
    margin: 42px 0 12px;
    font-size: 27px;
    font-weight: 400;
}

.internal-content p {
    margin-bottom: 23px;
    font-size: 19px;
    line-height: 1.68;
}

.internal-content ul {
    margin: 0 0 28px 23px;
    padding: 0;
}

.internal-content li {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.55;
}

.pullquote {
    margin: 54px 0;
    padding: 24px 0;
    border-top: 1px solid var(--deep);
    border-bottom: 1px solid var(--deep);
    font-size: 31px;
    line-height: 1.16;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0 0;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--green);
}

/* ---------- SIMPLE LIST / EDITIONS PAGE ---------- */

.edition-index-list {
    padding-top: 45px;
}

.edition-index-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 180px;
    gap: 30px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.edition-index-row h2 {
    margin: 0 0 6px;
    font-size: 33px;
    font-weight: 400;
    line-height: 1.02;
}

.edition-index-row p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.edition-index-row .meta {
    font-family: var(--sans);
    font-size: 8px;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-align: right;
    color: var(--green);
}

/* ---------- FOOTER ---------- */

.site-footer {
    margin-top: 20px;
    background: var(--deep);
    color: var(--ice);
}

.footer-inner {
    width: var(--page);
    margin: 0 auto;
    padding: 56px 0 28px;
    text-align: center;
}

.footer-brand-name {
    margin: 0;
    font-family: var(--sans);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.045em;
}

.footer-brand-type {
    margin: 7px 0 0;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .23em;
    text-transform: uppercase;
    color: var(--sand);
}

.footer-quote {
    max-width: 870px;
    margin: 52px auto 0;
    font-size: clamp(24px, 2.8vw, 38px);
    line-height: 1.08;
    letter-spacing: -.027em;
}

.footer-instagram {
    display: inline-block;
    margin-top: 28px;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--sand);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px 22px;
    margin-top: 40px;
    font-family: var(--sans);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: rgba(239,234,230,.76);
}

.footer-links a:hover { color: var(--sand); }

.footer-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 13px;
    border-top: 1px solid rgba(239,234,230,.15);
    font-family: var(--sans);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: rgba(239,234,230,.50);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1020px) {
    :root {
        --page: min(92vw, 920px);
    }

    .hero-grid,
    .library-intro,
    .office-intro {
        grid-template-columns: 1fr;
    }

    .hero-side {
        justify-self: start;
        text-align: left;
    }

    .hero-aside .accent-line {
        margin-left: 0;
        margin-right: 0;
    }

    .edition-grid {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .edition-meta {
        grid-column: 2;
        text-align: left;
    }

    .edition-image {
        width: min(100%, 760px);
    }

    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root {
        --page: calc(100vw - 40px);
    }

    .site-header {
        padding-top: 21px;
    }

    .brand-name { font-size: 31px; }

    .nav {
        gap: 9px 15px;
    }

    .nav a {
        font-size: 7px;
    }

    .hero {
        padding: 58px 0 76px;
    }

    .hero h1 {
        font-size: 57px;
    }

    .hero-description {
        font-size: 18px;
    }

    .page-section,
    .library,
    .office,
    .authors {
        padding-top: 70px;
        padding-bottom: 75px;
    }

    .edition-number { font-size: 36px; }

    .edition-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .edition-meta {
        grid-column: auto;
    }

    .edition-image-wrap {
        margin-top: 36px;
    }

    .edition-image {
        width: 100%;
    }

    .practice-item {
        grid-template-columns: 35px minmax(0,1fr);
        gap: 18px;
    }

    .practice-item h3 { font-size: 25px; }

    .practice-item p { font-size: 16px; }

    .author,
    .author.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 0;
    }

    .author.reverse .author-photo-wrap {
        order: 0;
    }

    .author-photo-wrap { max-width: 320px; }

    .author-copy h3 { font-size: 39px; }

    .author-role { font-size: 18px; }

    .author-copy p:not(.micro):not(.author-role):not(.author-signature) {
        font-size: 16px;
    }

    .internal-hero {
        padding: 67px 0 58px;
    }

    .internal-hero h1 {
        font-size: 57px;
    }

    .internal-dek { font-size: 18px; }

    .internal-content p {
        font-size: 18px;
        line-height: 1.65;
    }

    .edition-index-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .edition-index-row .meta {
        text-align: left;
    }

    .footer-inner { padding-top: 48px; }

    .footer-quote {
        margin-top: 42px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .brand-name { font-size: 27px; }

    .main-nav { gap: 7px 10px; }

    .main-nav a { font-size: 6.7px; }

    .footer-links {
        gap: 10px 14px;
    }
}
