/* --------------------------------------------------
   BASE
-------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #1d1d1d;
    background: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
}

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


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

.site-header {
    border-top: 6px solid #222222;
    border-bottom: 1px solid #d8d8d8;
    background: #ffffff;
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 110px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.site-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.site-tagline {
    margin-top: 5px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666666;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
}

.main-nav a:hover {
    text-decoration: underline;
}


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

.hero {
    background: #f3f1ec;
    border-bottom: 1px solid #dedbd4;
}

.hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0 95px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6257;
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: #765537;
}

.hero-description {
    max-width: 720px;
    margin: 32px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    color: #474747;
}


/* --------------------------------------------------
   SHARED SECTIONS
-------------------------------------------------- */

.section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0;
}

.section-heading {
    margin-bottom: 30px;
    border-bottom: 3px solid #222222;
    padding-bottom: 18px;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}


/* --------------------------------------------------
   FEATURED STORY
-------------------------------------------------- */

.featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);

    text-decoration: none;

    border: 1px solid #cccccc;
    background: #ffffff;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
}

.featured-image-placeholder {
    min-height: 460px;

    background:
        linear-gradient(
            135deg,
            #38332d,
            #796650
        );

    display: flex;
    align-items: flex-end;

    padding: 42px;

    color: #ffffff;
}

.featured-image-placeholder div {
    border-left: 5px solid #ffffff;
    padding-left: 22px;
}

.featured-image-placeholder span {
    display: block;
    margin-bottom: 6px;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-image-placeholder strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

.featured-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-label {
    margin: 0 0 12px;

    color: #765537;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-content h3 {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
}

.featured-content p:not(.card-label) {
    margin: 0 0 30px;
    color: #555555;
    font-size: 1.05rem;
}

.card-link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* --------------------------------------------------
   LATEST
-------------------------------------------------- */

.latest-section {
    padding-top: 20px;
}

.empty-state {
    padding: 50px;
    background: #f7f7f7;
    border: 1px dashed #bbbbbb;
    text-align: center;
    color: #666666;
}


/* --------------------------------------------------
   ABOUT
-------------------------------------------------- */

.about-section {
    margin-top: 40px;
    background: #222222;
    color: #ffffff;
}

.about-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding: 85px 0;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.about-section .section-kicker {
    color: #cdb799;
}

.about-copy {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    color: #dddddd;
}

.about-copy p:first-child {
    margin-top: 0;
}

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


/* --------------------------------------------------
   CONTACT
-------------------------------------------------- */

.contact-section {
    background: #f3f1ec;
}

.contact-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 360px);
    gap: 48px;
    align-items: center;
}

.contact-copy p:not(.section-kicker) {
    max-width: 650px;
    margin: 18px 0 0;
    font-size: 1.05rem;
    color: #555555;
}

.contact-photo {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-photo {
        max-width: 320px;
    }
}


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

.site-footer {
    background: #111111;
    color: #aaaaaa;
}

.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    min-height: 100px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    font-size: 0.85rem;
}


/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */

@media (max-width: 800px) {

    .header-inner {
        padding: 25px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .site-name {
        font-size: 1.65rem;
    }

    .main-nav {
        width: 100%;
        gap: 18px;
        overflow-x: auto;
    }

    .hero-inner {
        padding: 65px 0;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image-placeholder {
        min-height: 330px;
    }

    .featured-content {
        padding: 35px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-inner {
        padding: 30px 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}
/* --------------------------------------------------
   DOCUMENT COLLECTION PAGE
-------------------------------------------------- */

.document-hero {
    background: #f3f1ec;
    border-bottom: 1px solid #dedbd4;
}

.document-hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0;
}

.document-hero h1 {
    margin: 0;
    max-width: 900px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.document-hero h1 span {
    display: block;
    color: #765537;
}

.document-intro {
    max-width: 760px;
    margin: 30px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    color: #4a4a4a;
}

.document-count {
    margin: 28px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #765537;
}


/* --------------------------------------------------
   ARCHIVE
-------------------------------------------------- */

.document-archive {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 75px 0 100px;
}

.archive-heading {
    max-width: 760px;
    margin-bottom: 60px;
}

.archive-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}

.archive-heading > p:last-child {
    margin-top: 18px;
    color: #555555;
}


/* --------------------------------------------------
   DOCUMENT GROUP
-------------------------------------------------- */

.document-group {
    margin: 0 0 75px;
}

.document-group-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 3px solid #222222;
}

.document-group-letter {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #765537;
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.document-group-heading h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    line-height: 1.2;
}

.document-group-heading p {
    margin: 5px 0 0;
    color: #777777;
    font-size: 0.9rem;
}


/* --------------------------------------------------
   DOCUMENT GRID
-------------------------------------------------- */

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 22px;
}

.document-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-align: left;
    font: inherit;
    color: inherit;
    border: 1px solid #cccccc;
    background: #ffffff;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.document-thumb-wrap {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
    background: #eeeeeb;
}

.document-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.document-card-info {
    padding: 14px 15px 16px;
}

.document-card-info strong {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
}

.document-card-info span {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #765537;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* --------------------------------------------------
   DOCUMENT MODAL
-------------------------------------------------- */

body.modal-open {
    overflow: hidden;
}

.document-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 45px 80px;
    background: rgba(15, 15, 15, 0.94);
}

.document-modal.open {
    display: flex;
}

.modal-content {
    max-width: min(1050px, 90vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: calc(92vh - 70px);
    width: auto;
    height: auto;
    object-fit: contain;
    background: white;
}

.modal-caption {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 12px;
    color: white;
    font-size: 0.85rem;
}

.modal-caption a {
    flex: 0 0 auto;
    color: white;
    font-weight: 700;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 25px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: white;
    font-size: 4rem;
    cursor: pointer;
    padding: 20px;
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}


/* --------------------------------------------------
   DOCUMENT MOBILE
-------------------------------------------------- */

@media (max-width: 700px) {

    .document-hero-inner {
        padding: 55px 0;
    }

    .document-archive {
        padding-top: 55px;
    }

    .document-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .document-thumb-wrap {
        height: 210px;
    }

    .document-group-heading {
        gap: 14px;
    }

    .document-group-letter {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .document-modal {
        padding: 55px 10px 70px;
    }

    .modal-nav {
        top: auto;
        bottom: 8px;
        transform: none;
        font-size: 3rem;
    }

    .modal-prev {
        left: 25%;
    }

    .modal-next {
        right: 25%;
    }

    .modal-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


/* --------------------------------------------------
   HOMEPAGE FEATURED COLLECTION IMAGE
-----------------------------------------------------*/

.featured-image {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #38332d;
}

.featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(20, 16, 12, 0.82) 0%,
            rgba(20, 16, 12, 0.35) 45%,
            rgba(20, 16, 12, 0.05) 75%
        );
}

.featured-image-label {
    position: absolute;
    z-index: 2;
    left: 42px;
    right: 42px;
    bottom: 42px;
    padding-left: 22px;
    border-left: 5px solid #ffffff;
    color: #ffffff;
}

.featured-image-label span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.featured-image-label strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
}

@media (max-width: 800px) {
    .featured-image {
        min-height: 330px;
    }

    .featured-image-label {
        left: 28px;
        right: 28px;
        bottom: 28px;
    }
}


/* LOCAL HERO BACKGROUND TEST */
.hero {
    background-image: linear-gradient(rgba(243, 241, 236, 0.72), rgba(243, 241, 236, 0.72)), url('../images/acpt-background.webp');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}
.hero-inner {
    position: relative;
}

/* LOCAL SITE BACKGROUND TEST */
body {
    background: linear-gradient(180deg, #fff7ef 0%, #f8eee5 45%, #ffffff 100%);
}
.document-hero {
    background-image: linear-gradient(rgba(243, 241, 236, 0.72), rgba(243, 241, 236, 0.72)), url('../images/acpt-background.webp');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
}
.section,
.document-archive {
    background: transparent;
}

/* LOCAL DEEP ORANGE GRADIENT TEST */
body {
    background: linear-gradient(
        180deg,
        #fff7ef 0%,
        #f9e1cf 30%,
        #f4b481 65%,
        #e97832 100%
    );
}

/* LOCAL LUKE MILL CONTEXT TEST */
.collection-context {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 10px;
}
.collection-context-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 60px;
    padding: 32px 0;
    border-top: 2px solid rgba(34, 34, 34, 0.75);
    border-bottom: 1px solid rgba(34, 34, 34, 0.35);
}
.collection-context h2 {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3rem);
}
.collection-context-main p:not(.section-kicker),
.collection-questions p:not(.section-kicker) {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    line-height: 1.65;
}
.collection-context-main p:last-child {
    margin-bottom: 0;
}
.collection-questions {
    padding-left: 28px;
    border-left: 4px solid #765537;
}
.collection-questions p:last-child {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.55;
}
.collection-context + .document-archive {
    padding-top: 45px;
}
@media (max-width: 800px) {
    .collection-context-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .collection-questions {
        padding-left: 20px;
    }
}

/* LOCAL SHARED BANNER TEST */
.site-banner {
    width: 100%;
    overflow: hidden;
    background: #f4b481;
    border-bottom: 1px solid rgba(34, 34, 34, 0.15);
}
.site-banner img {
    display: block;
    width: 100%;
    max-width: 2048px;
    height: auto;
    margin: 0 auto;
}
.document-hero {
    background-image: none;
    background-color: transparent;
}

/* LOCAL SIMPLIFIED SITE MASTHEAD TEST */
.banner-nav {
    display: flex;
    justify-content: center;
    gap: 38px;
    padding: 15px 20px;
    background: #ffffff;
    border-bottom: 1px solid rgba(34, 34, 34, 0.15);
}
.banner-nav a {
    color: #111111;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}
.banner-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-intro {
    padding: 55px 20px 60px;
    background: transparent;
}
.home-intro-inner {
    width: min(900px, 100%);
    margin: 0 auto;
}
.home-intro h1 {
    margin: 8px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 6vw, 4.8rem);
    line-height: 1;
}
.home-intro p:not(.section-kicker) {
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.65;
}
.intro-link {
    display: inline-block;
    margin-top: 10px;
    color: #111111;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}
@media (max-width: 700px) {
    .banner-nav {
        gap: 24px;
        padding: 13px 12px;
    }
    .home-intro {
        padding: 42px 20px 48px;
    }
}
