:root {

    --paper: #f3f0e9;

    --black: #111111;

    --gray: #77736d;

    --red: #a40000;

    --serif:
        "Playfair Display",
        Georgia,
        serif;

    --mono:
        "DM Mono",
        monospace;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background: var(--paper);

    color: var(--black);

    font-family: var(--mono);

    font-size: 12px;
}


a {

    color: inherit;

    text-decoration: none;

}


/* =========================================================
   FIXED NAV
========================================================= */

.bottom-nav {

    position: fixed;

    z-index: 1000;

    left: 50%;

    bottom: 18px;

    transform: translateX(-50%);

    display: flex;

    gap: 26px;

    padding: 12px 24px;

    background: rgba(20, 20, 20, .93);

    color: white;

    border-radius: 100px;

    backdrop-filter: blur(12px);

    white-space: nowrap;

}


.bottom-nav a {

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .04em;

    opacity: .8;

    transition:
        opacity .2s ease;

}


.bottom-nav a:hover {

    opacity: 1;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    width: 100%;

    height: 100dvh;

    min-height: 650px;

    overflow: hidden;

    border-bottom: 1px solid var(--black);

}


.hero-image {

    position: relative;

    width: 100%;

    height: 100%;

    overflow: hidden;

    background: #222;

    


    

}


.hero-image > img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform .65s cubic-bezier(.2,.6,.2,1) .17s;
    
    object-position: center 8%;

    object-fit: cover;

}

.hero-panel-active .hero-image > img {
    transform: translateX(calc(-1 * min(340px, 34vw) / 2));
}




/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {

    position: absolute;

    z-index: 2;

    left: 25px;

    right: 25px;

    bottom: 25px;

    display: flex;

    justify-content: space-between;

    color: white;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .04em;

    pointer-events: none;

}


/* =========================================================
   HERO COPY PANEL
========================================================= */

.hero-copy {

    position: absolute;

    z-index: 5;

    top: 0;

    right: 0;

    width: min(340px, 34vw);

    height: 100%;

    display: flex;

    grid-template-columns: 92px 1fr;

    background:
        rgba(243, 240, 233, 1);

    border-left: 1px solid rgba(17, 17, 17, .22);

    box-shadow:
        -30px 0 80px rgba(0, 0, 0, .16);

    transform:
        translateX(100%);

    opacity: 0;

    pointer-events: none;

    overflow: hidden;

    transition:
        transform .95s cubic-bezier(.77,0,.175,1),
        opacity .35s ease .75s;

}


.hero-panel-active .hero-copy {

    transform:
        translateX(0);

    opacity: 1;

    pointer-events: auto;

    transition:
        transform .65s cubic-bezier(.77,0,.175,1),
        opacity .35s ease;

}


/* =========================================================
   SIDEWAYS BRAND
========================================================= */

.hero-brand-wrap {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-grow: 1;
    flex-basis: 0;
    min-height: 0;
    container-type: size;
    justify-content: center;
    gap: 1px;
    overflow: hidden;
    margin-bottom: 10px;
    max-height: 70dvh;
}

/* Both words share ONE font-size variable. This guarantees MAG's
   rendered height is mathematically exactly 1/3 of BLAREMONT's,
   since they're rendered with identical metrics — no separate
   calc()s that could drift out of sync with each other. */
:root {
    --brand-font-size: clamp(24px, calc(90cqh / 5), 140px);
}

.brand-vertical {
    display: block;
    width: fit-content;
    font-family: var(--serif);
    font-size: var(--brand-font-size);
    line-height: .85;
    letter-spacing: -.08em;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(0deg);
    height: 100%;
}

.brand-mag {
    font-size: var(--brand-font-size); /* SAME variable as BLAREMONT, not a separate one */
    /* border: solid red; */
}

.brand-mag-grid {
    display: grid;
    height: 100%; /* matches BLAREMONT's row height */
    align-items: start;
    /* width: fit-content; */
    /* border: solid pink; */
}

.brand-mag-mask {
    height: 100%; /* exactly 1/3 of the row — MAG is 3 of BLAREMONT's 9 letters, same font-size */
    overflow: hidden;
    display: flex;
    /* border: solid blue; */
    width: fit-content;
}

.brand-mag-track {
    display: flex;
    flex-direction: column;
    height: 200%; /* exactly 2/3 of the row = two word-heights stacked */
    animation: scroll-down 14s linear infinite;
    /* border: solid orange; */
}

.brand-mag-track .brand-mag {
    flex-shrink: 0;
    height: 50%; /* half the track = exactly one word-height */
}

@keyframes scroll-down {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0%);
    }
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-copy-content {

    min-width: 0;

    padding: 35px;

    display: flex;

    flex-direction: column;


    height: 100%;

    overflow-y: auto;

    

}

.hero-copy-bottom {
    /* margin-top: auto; */
    flex-shrink: 0;

}


@media (min-width: 1101px) {

    .read-link {
        display: inline-block;   /* lets the top margin take effect */
        margin-top: 28px;        /* distance below the paragraph: 20px for a little, 40px for a lot */
    }

}


.hero-rule {

    width: 100%;

    border-top: 1px solid var(--black);

    margin-bottom: 20px;

}


.issue-label {

    margin-bottom: 15px;

    font-size: 9px;

    letter-spacing: .05em;


}


.hero-copy p {

    max-width: 300px;

    margin: 0;

    color: var(--gray);

    line-height: 1.6;

}


.read-link {

    margin-top: 28px;

    font-size: 9px;

    text-decoration: underline;

    text-underline-offset: 5px;

}

/* =========================================================
   NOT JUST A MAGAZINE
========================================================= */

.intro {

    min-height: 78dvh;

    padding: 100px 5vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: var(--paper);

    border-bottom: 1px solid var(--black);

}


.intro-small {

    margin-bottom: 70px;

    font-size: 9px;

    letter-spacing: .05em;

}


.intro-content {
    width: 100%;
    /* max-width: 1100px; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-media {
    position: relative;
    align-self: stretch;
    width: auto;
    /* margin-inline: -5vw;           */
    container-type: inline-size;  
}

.intro-media video {
    display: block;
    width: 100%;
    height: auto;
}

.intro-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;   /* heading on top, paragraph at the bottom */
    align-items: center;
    text-align: center;
    padding: 4cqw;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, .45),
        rgba(0, 0, 0, .1) 40%,
        rgba(0, 0, 0, .55)
    );
}

.intro-content .intro-overlay h2 {
    color: var(--red);
    font-size: 8cqw;
    white-space: nowrap;
    opacity: 65%;
}

.intro-content .intro-overlay p {
    margin: 0;
    color: var(--paper);
    font-size: clamp(10px, 1.6cqw, 13px);
}

.intro-content h2 {

    margin: 0;

    color: var(--red);

    font-family: var(--mono);

    font-size: clamp(24px, 7.5vw, 150px);  /* was clamp(55px, 10vw, 145px) */

    font-weight: 500;

    line-height: .82;

    letter-spacing: -.075em;

    text-align: center;

    white-space: nowrap;

}


.intro-content p {

    max-width: 610px;

    margin:

        55px

        0

        0

        0;

    font-size: 13px;

    line-height: 1.65;

    text-align: center;

}


/* =========================================================
   STORIES
========================================================= */

.stories {

    padding: 110px 5vw 150px;

    border-bottom: 1px solid var(--black);

}


.section-heading {

    display: grid;

    grid-template-columns:
        60px
        1fr
        auto;

    align-items: baseline;

    gap: 20px;

    border-top: 1px solid var(--black);

    padding-top: 12px;

    margin-bottom: 70px;

}


.section-heading h2 {

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(
        55px,
        8vw,
        110px
    );

    font-weight: 400;

    line-height: .8;

    letter-spacing: -.065em;

}


.section-heading span {

    font-size: 9px;

}


/* =========================================================
 STORY CARDS
========================================================= */

.story-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 80px 25px;


}



.story-card {

    display: block;

    color: inherit; 

    transition:
        opacity .3s ease;

}


.story-card:hover {

    opacity: .82;

}


/* =========================================================
   CARD IMAGES
========================================================= */

.story-image {

    width: 100%;

    overflow: hidden;

    background: transparent;

    max-width: 900px;

}


.story-image img {

    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    object-fit: contain;

    opacity: 0;

    transform: scale(1.025);

    transition:
        opacity .8s ease,
        transform 1s cubic-bezier(.2,.6,.2,1);
    
    aspect-ratio: 4 / 5;
    object-fit: cover;

}


.story-image img.visible {

    opacity: 1;

    transform: scale(1);

}


.story-card:hover .story-image img {

    transform: scale(1.015);

}


/* =========================================================
   STORY META
========================================================= */

.story-meta {

    display: flex;

    justify-content: space-between;

    margin-top: 12px;

    font-size: 8px;

    letter-spacing: .04em;

}


/* =========================================================
   STORY TITLE
========================================================= */

.story-title-row {

    display: flex;

    align-items: baseline;

    justify-content: space-between;

    gap: 20px;

}


.story-title-row h3 {

    margin: 10px 0 0;

    font-family: var(--serif);

    font-size: clamp(
        30px,
        4vw,
        60px
    );

    font-weight: 600;

    line-height: .88;

    letter-spacing: -.055em;

}


.story-arrow {

    flex-shrink: 0;

    font-size: 20px;

    transition:
        transform .25s ease;

}


.story-card:hover .story-arrow {

    transform:
        translate(4px, -4px);

}



/* =========================================================
   STORY BLURB
========================================================= */

.story-blurb-wrap {
    display: grid;
    grid-template-rows: 0fr; /* collapsed by default */
    transition: grid-template-rows .45s cubic-bezier(.65,0,.35,1);
    max-width: 900px;
}

.story-card:hover .story-blurb-wrap {
    grid-template-rows: 1fr; /* expands to natural content height on hover */
}

.story-blurb {
    overflow: hidden; /* required for the grid-rows trick to clip content during animation */
    margin: 0;
    padding-top: 10px;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: -.01em;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        opacity .35s ease,
        transform 1s cubic-bezier(.65,0,.35,1);
}

.story-card:hover .story-blurb {
    opacity: 1;
    transform: translateY(0);
}




/* =========================================================
   GALLERY PAGE
========================================================= */

/* .gallery-header {

    min-height: 60dvh;

    padding: 150px 7vw 90px;

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    grid-template-rows: auto 1fr;

    gap: 35px;

    align-items: end;

    border-bottom: 1px solid var(--black);

}
 */


.gallery-header {

    min-height: 60dvh;

    padding: 150px 7vw 90px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 60px;

    align-items: stretch;

    border-bottom: 1px solid var(--black);

}


/* Left column: same setup the header had before (number on top, title block at the bottom) */
.gallery-header-text {

    display: grid;

    grid-template-columns: minmax(0, 1fr);

    grid-template-rows: auto 1fr;

    gap: 35px;

    align-items: end;

}


/* Right column */
.gallery-header-image {

    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    align-self: start;

}


.gallery-header-image img {

    position: absolute;

    inset: 0;

    width: 80%;

    height: 80%;

    object-fit: contain;

}


.gallery-header-number {

    font-size: 10px;

    align-self: start;

}


.gallery-kicker {

    margin-bottom: 20px;

    font-size: 9px;

    letter-spacing: .05em;

}


.gallery-header h1 {

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(
        65px,
        11vw,
        170px
    );

    font-weight: 400;

    line-height: .78;

    letter-spacing: -.075em;

}


.gallery-header p {

    max-width: 500px;

    margin: 45px 0 0;

    line-height: 1.6;

    color: var(--gray);

}

.gallery-header-philosophy-title1 {
    color: black;
    font-size:large;
}

.gallery-header-philosophy-title2 {
    color: black;
    font-size:larger;
}

.gallery-header .gallery-header-philosophy-title2 {
    margin-top: 8px;   
}

.gallery-header-philosophy-title3 {
    color: black;
    font-size:larger;
    font-style:italic;
}

.gallery-header .gallery-header-philosophy-title3 {
    margin-top: 25px;   
}

.gallery-header-philosophy-body {
    color: black;
    font-size:medium;
}


/* =========================================================
   ACTUAL PHOTO GALLERY
========================================================= */

.gallery {

    padding: 70px 5vw 130px;

    align-items: center;

}


.gallery-item {

    margin: 0 0 70px;

}


.gallery-media {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: transparent;

    overflow: hidden;

}


.gallery-media img {

    display: block;

    width: auto;

    height: auto;

    max-width: 100%;

    max-height: 90dvh;

    object-fit: contain;


}


/*
 * Alternating gallery pairs.

 * Each pair sits beside the next image rather than
 * making everything one long column.
 */

.gallery-item:nth-of-type(odd) {

    width: 72%;

}


.gallery-item:nth-of-type(even) {

    width: 58%;

    margin-left: auto;

}








/* =========================================================
   BLACK VISIONARY FUND — APPLICATION
========================================================= */

.bvf {
    padding: 0 7vw 120px;
}

.bvf-intro {
    padding: 90px 0 70px;
    border-bottom: 1px solid #d8d3c8;
}

.bvf-kicker {
    margin: 0;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gray);
}

.bvf-title {
    margin: 16px 0 0;
    font-family: var(--serif);
    font-size: clamp(64px, 9vw, 150px);
    font-weight: 400;
    line-height: .82;
    letter-spacing: -.06em;
    padding-bottom: 20px;
}

.bvf-meta {
    display: flex;
    gap: 16px;
    margin: 26px 0 0;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bvf-meta span:first-child {
    color: var(--gray);
}

.bvf-lead {
    max-width: 780px;
    margin: 24px 0 0;
    font-size: 12px;
    line-height: 1.95;
    color: var(--black);
}

.bvf-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 48px;
    margin-top: 54px;
    align-items: start;
}

.bvf-block h3 {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -.02em;
}

.bvf-criteria {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--black);
}

.bvf-criteria li {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #d8d3c8;
    font-size: 14px;
    line-height: 1.7;
}

.bvf-criteria b {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
}

.bvf-list {
    margin: 0;
    padding: 0 0 0 16px;
    font-size: 11px;
    line-height: 1.8;
}

.bvf-list li {
    margin-bottom: 10px;
    padding-left: 4px;
    font-size: 14px;
}

.bvf-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--black);
}

.bvf-timeline li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #d8d3c8;
    font-size: 14px;
}

.bvf-timeline span:first-child {
    color: var(--gray);
}

.bvf-form-wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding-top: 80px;
}

.bvf-form-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--black);
}

.bvf-form-note {
    margin: 6px 0 0;
    font-size: 9px;
    letter-spacing: .06em;
    line-height: 1.6;
    color: var(--gray);
}

.bvf-form-note em {
    font-style: normal;
    color: var(--red);
}

.bvf-field {
    min-width: 0;
    margin: 0 0 34px;
    padding: 0;
    border: 0;
}

.bvf-label {
    display: flex;
    align-items: baseline;
    gap: 14px;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--black);
}

.bvf-label em {
    font-style: normal;
    color: var(--red);
}

.bvf-label small {
    margin-left: 6px;
    font-size: 14px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gray);
}

.bvf-num {
    flex: none;
    font-size: 14px;
    letter-spacing: .08em;
    color: var(--red);
}

.bvf-field input[type="text"],
.bvf-field input[type="email"],
.bvf-field input[type="tel"],
.bvf-field textarea {
    display: block;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--black);
    border-radius: 0;
    background: transparent;
    color: var(--black);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.6;
    outline: none;
}

.bvf-field textarea {
    min-height: 150px;
    resize: vertical;
}

.bvf-field textarea.bvf-short {
    min-height: 64px;
}

.bvf-field input:focus,
.bvf-field textarea:focus {
    border-bottom-color: var(--red);
    box-shadow: 0 1px 0 var(--red);
}

.bvf-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.bvf-choice {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid #cfc9bd;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: border-color .15s ease, background-color .15s ease;
}

.bvf-choice:hover {
    border-color: var(--black);
}

.bvf-choice:focus-within {
    outline: 1px solid var(--black);
    outline-offset: 2px;
}

.bvf-choice input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--black);
}

.bvf-choice:has(input:checked) {
    background: var(--black);
    border-color: var(--black);
    color: var(--paper);
}

.bvf-note {
    margin: 0 0 20px;
    padding: 2px 0 2px 20px;
    border-left: 2px solid var(--red);
}

.bvf-note-kicker {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
}

.bvf-note p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.8;
}

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

.bvf-note a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bvf-matrix-placeholder {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 200px;
    margin-top: 14px;
    padding: 20px;
    border: 1px dashed #b5aea0;
    background: #ece8df;
    color: #8a857c;
    text-align: center;
}

.bvf-placeholder-label {
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.bvf-placeholder-hint {
    font-size: 10px;
    color: #a39d92;
}

.bvf-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid #cfc9bd;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.7;
}

.bvf-check:hover {
    border-color: var(--black);
}

.bvf-check:focus-within {
    outline: 1px solid var(--black);
    outline-offset: 2px;
}

.bvf-check input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--black);
}

.bvf-check a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bvf-alert {
    margin: 0 0 26px;
    padding: 14px 16px;
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 14px;
    line-height: 1.6;
}

.bvf-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid #d8d3c8;
}

.bvf-submit button {
    padding: 16px 26px;
    border: 1px solid var(--black);
    border-radius: 0;
    background: var(--black);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.bvf-submit button:hover {
    background: var(--red);
    border-color: var(--red);
}

.bvf-submit button:disabled {
    opacity: .55;
    cursor: wait;
}

.bvf-status {
    max-width: 320px;
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
    color: var(--red);
    text-align: right;
}

.bvf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.bvf-success {
    padding-top: 40px;
    border-top: 1px solid var(--black);
}

.bvf-success h3 {
    margin: 14px 0 18px;
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.04em;
}

.bvf-success p {
    max-width: 580px;
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.9;
}

.bvf-success-note {
    color: var(--gray);
}

.bvf-back {
    display: inline-block;
    margin-top: 24px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--black);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bvf-closing {
    max-width: 620px;
    margin: 40px 0 0;
    font-size: 11px;
    line-height: 1.8;
    color: var(--gray);
}

@media (max-width: 1000px) {

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

    .bvf-block:first-child {
        grid-column: 1 / -1;
    }

}

@media (max-width: 700px) {

    .bvf {
        padding: 0 20px 70px;
    }

    .bvf-intro {
        padding: 56px 0 44px;
    }

    .bvf-title {
        font-size: clamp(56px, 18vw, 84px);
    }

    .bvf-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 40px;
    }

    .bvf-block:first-child {
        grid-column: auto;
    }

    .bvf-form-wrap {
        padding-top: 54px;
    }

    .bvf-form-head {
        display: block;
    }

    .bvf-form-head .bvf-form-note {
        margin-top: 8px;
    }

    .bvf-field input[type="text"],
    .bvf-field input[type="email"],
    .bvf-field input[type="tel"],
    .bvf-field textarea {
        font-size: 16px;
    }

    .bvf-submit {
        display: block;
    }

    .bvf-submit button {
        width: 100%;
    }

    .bvf-status {
        max-width: none;
        margin-top: 12px;
        text-align: left;
    }

    .bvf-check {
        padding: 14px;
    }

}




/* =========================================================
   BVF GALLERY HEADER IMAGE ONLY
========================================================= */

.gallery-header-image.gallery-header-image--bvf {
    position: relative;
    align-self: start;            /* frame height comes from the aspect ratio, not the grid row */
    aspect-ratio: auto;          /* frame shape: 4 / 5 portrait, 1 / 1 square, 3 / 2 landscape */
    overflow: hidden;
    background: #e8e4da;          /* shows while the photo loads */
}

.gallery-header-image.gallery-header-image--bvf img {
    position: static;
    inset: 0;
    width: 100%;                  /* your other galleries use 80% on desktop */
    height: 100%;
    object-fit: cover;
    object-position: center center;  /* which part of the photo stays visible */
}





.gallery-header .bvf-gallery-cta .bvf-gallery-cta-text {
    font-size: 16px;      /* the text is currently about 12–13px, so try 14px, 16px or 18px */
    line-height: 1.6;
    max-width: 520px;     /* raise this if the larger text wraps onto too many lines */
}




.gallery-header .bvf-gallery-cta a {
    display: inline-block;     /* lets the margin below take effect */
    margin-top: 24px;          /* space between the paragraph and the link */
    font-size: 27px;           /* currently about 12px, so try 16px to 28px */
    letter-spacing: .04em;
    text-decoration: underline;
    text-underline-offset: 6px;
    font-weight: 600;
}


.gallery-header .bvf-gallery-cta h2 {
    font-size: 25px;
}



.bvf-gallery-cta-deadline {
    font-size: 20px;
}




@media (min-width: 701px) {

    .gallery-centered .gallery-item:nth-of-type(odd),
    .gallery-centered .gallery-item:nth-of-type(even) {

        width: 70%;

        margin-left: auto;

        margin-right: auto;

    }

}

.gallery-blurb {
  grid-column: 1 / -1;   
  flex: 0 0 100%;        
  max-width: 70vw;
  margin: 64px auto;
  padding: 0 24px;
  text-align: center;
  justify-self: center;
}

.gallery-blurb h3 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 0.8rem;
  /* font-weight: 100; */
  letter-spacing: 0.15em;
  /* text-transform: uppercase; */
}

.gallery-blurb p {
  margin: 0;
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1.7;
}

.gallery-blurb.coming-soon h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 3vw, 90px);
  letter-spacing: -0.06em;
  color: var(--black);
}


/* =========================================================
   GALLERY FOOTER
========================================================= */

.gallery-footer {

    padding: 30px 5vw 120px;

    border-top: 1px solid var(--black);

}


.gallery-footer a {

    font-size: 9px;

    text-decoration: underline;

    text-underline-offset: 5px;

}




/* =========================================================
   FOOTER
========================================================= */

footer {

    padding: 30px 5vw 100px;

    display: flex;

    justify-content: space-between;

    font-size: 9px;

}




/* =========================================================
   EARLY ACCESS SIGNUP
========================================================= */

.early-access-section {
    width: 100%;
    box-sizing: border-box;
    padding: 80px 24px;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.early-access-content {
    width: 100%;
    max-width: 440px;
    margin: 0;
}

.early-access-kicker {
    font-family: "DM Mono", monospace;
    font-size: 14px;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.early-access-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 4px;
}

.early-access-description {
    font-family: "DM Mono", monospace;
    font-size: 11px;
    line-height: 1.8;
    color: #777;
    margin: 0 0 24px;
    max-width: 390px;
}

.early-access-form {
    display: flex;
    width: 100%;
    gap: 8px;
}

.early-access-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid #cfcfcf;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: "DM Mono", monospace;
    font-size: 11px;
}

.early-access-form input:focus {
    outline: 1px solid #111;
    outline-offset: 2px;
}

.early-access-form button {
    height: 42px;
    padding: 0 14px;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-family: "DM Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    cursor: pointer;
}

.early-access-form button:hover {
    background: #444;
}

.early-access-form button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.early-access-message {
    margin: 12px 0 0;
    font-family: "DM Mono", monospace;
    font-size: 10px;
    line-height: 1.6;
    color: #777;
}

@media (max-width: 480px) {
    .early-access-section {
        padding: 56px 20px;
    }

    .early-access-content h2 {
        font-size: 26px;
    }

    .early-access-form {
        flex-direction: column;
    }

    .early-access-form button {
        width: 100%;
    }
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .bottom-nav {

        gap: 13px;

        padding: 11px 15px;

        max-width:
            calc(100vw - 20px);

        overflow-x: auto;

        bottom: calc(10px + env(safe-area-inset-bottom));

    }


    .bottom-nav a {

        font-size: 9px;

        padding: 5px 2px;

    }


    .read-link {

    margin-top: 28px;

    font-size: 9px;

    text-decoration: underline;

    text-underline-offset: 2px;   /* distance from the words down to the line */

}

    


    .hero {
        --panel-w: 25vw;   /* sidebar width. Change this one number to resize */
        height: 85vh;          /* fallback for older browsers */
        height: 85svh;         /* fixed height, doesn't change when the toolbar collapses */
        min-height: 550px;
}




    /* Sidebar: always visible, docked right, no animation */
    .hero-copy,
    .hero-panel-active .hero-copy {
        width: var(--panel-w);
        transform: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
}

/* Image: shifted left for the panel from the start, never animates */
.hero-image > img,
.hero-panel-active .hero-image > img {
    transform: translateX(calc(var(--panel-w) / -2));
    transition: none;
}

    .hero-copy p {
        display: none;
}

/* Keep "BLAREMONT MAG / ISSUE 01" from hiding behind the panel */
    .hero-overlay {
        right: calc(var(--panel-w) + 25px);
}

    /* Stack the words: BLAREMONT on top, MAG under it */
    .hero-brand-wrap {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        max-height: 70vh;
        max-height: 70svh;
}

    .hero-brand-wrap > .brand-vertical {
        order: -1;                /* puts BLAREMONT first */
}

/* Each word sizes to its own length instead of filling the full height */
    .brand-vertical,
    .brand-mag-grid,
    .brand-mag-mask,
    .brand-mag-track,
    .brand-mag-track .brand-mag {
        height: auto;
}

    .brand-mag-track .brand-mag:nth-child(2) {
    display: none;
}


    .brand-vertical,
    .brand-mag,
    .brand-mag-mask {
        font-size: min(13cqh, 80cqw);
}





    .brand-mag-track {

        animation: none;

        transform: none;

    }


    .brand-mag-mask {
        padding-inline: .25em;    /* stops the mask from clipping the edges of the letters */
        margin-inline: -.25em;
}


    .hero-copy-content {

    flex: 1;

    width: 100%;

    padding: 14px;

}


    .intro {

        min-height: auto;

        padding: 90px 25px;

        display: block;

    }

 


    .intro-small {

        margin-bottom: 70px;

    }


    .intro-title h2 {

        font-size: clamp(
            50px,
            15vw,
            90px
        );

        white-space: normal;

    }


    .intro-description {

        margin-top: 80px;

        margin-left: auto;

    }


    .stories {

        padding:
            75px 20px 110px;

    }


    .section-heading {

        grid-template-columns:
            35px 1fr auto;

    }


    .section-heading h2 {

        font-size: 50px;

    }


    .story-grid {

        display: block;

    }


    .story-card {

        margin:
            0 0 80px !important;

    }


    .story-image img {

        width: 100%;

        height: auto;

    }


    .story-title-row h3 {

        font-size: 38px;

    }


    .gallery-header {

        min-height: 55dvh;

        padding:
            70px 25px 70px;

        display: block;

    }


    .gallery-header-number {

        margin-bottom: 50px;

    }


    .gallery-header h1 {

        font-size: 65px;

    }

    .gallery-header-image {

        width: 80%;

        margin: 24px auto 0;

    }


    .gallery-header-image img {

        width: 100%;

        height: 100%;

    }


    /* BVF call-to-action in the gallery header: phone sizes */

    .gallery-header .bvf-gallery-cta h2 {
        font-size: 20px;              /* desktop: 25px */
    }

    .gallery-header .bvf-gallery-cta .bvf-gallery-cta-text {
        font-size: 12px;              /* desktop: 16px */
        max-width: none;              /* use the full phone width */
        margin-top: 16px;             /* the shared .gallery-header p rule adds 45px, which is too much here */
    }

    .gallery-header .bvf-gallery-cta a {
        margin-top: 20px;
        font-size: 18px;              /* desktop: 27px, which can wrap on a narrow phone */
        text-underline-offset: 5px;
    }

    .gallery-header .bvf-gallery-cta .bvf-gallery-cta-deadline {
        margin-top: 24px;
        font-size: 13px;              /* desktop: 20px, which wraps to two lines on a phone */
    }

    .early-access-form input {
        flex: none;       /* stops flex: 1 from collapsing the height */
        width: 100%;
}

    .early-access-form input {
        font-size: 16px;
}





    .gallery {

        padding: 45px 15px 90px;

    }

        .gallery-blurb {

        max-width: none;       /* lets it use the full width of the gallery */

        margin: 40px 0;

        padding: 0 5px;

    }


    .gallery-blurb p {

        font-size: 14px;

        line-height: 1.6;

    }


    .gallery-item:nth-of-type(odd),
    .gallery-item:nth-of-type(even) {

        width: 100%;

        margin-left: 0;

        margin-bottom: 35px;

    }


    .gallery-media img {

        max-height: none;

        width: 100%;

        height: auto;

    }



    .intro-media {

        margin-inline: 0;          /* removes the negative margin that was clipping the text */

    }


    .intro-overlay {

        display: contents;         /* heading and paragraph stop sharing one overlay box */

    }


    /* Heading: overlaid on the video, like on desktop */
    .intro-content .intro-overlay h2 {

        position: absolute;

        top: 0;

        left: 0;

        right: 0;

        padding: 4cqw 4cqw 10cqw;

        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, .45),
            rgba(0, 0, 0, 0)
        );

        opacity: 85%;

    }


    /* Paragraph: sits below the video */
    .intro-content .intro-overlay p {

        padding: 20px 20px 0;

        color: var(--black);

        font-size: 13px;

    } 


    /* .intro-overlay {
    position: static;
    padding: 24px 20px 0;
    gap: 24px;
    background: none;
}

    .intro-content .intro-overlay h2 {
    color: var(--red);
}

    .intro-content .intro-overlay p {
    color: var(--black);
    font-size: 13px;
} */

/* .intro-media {
    margin-inline: -25px;
} */

}

@media (hover: none) {

    .story-blurb-wrap {
        grid-template-rows: 1fr;
    }

    .story-blurb {
        opacity: 1;
        transform: none;
    }

}

@media (prefers-reduced-motion: reduce) {

    .brand-mag-track {

        animation: none;

        transform: none;

    }

}



/* =========================================================
   TABLET (iPad and similar)
========================================================= */

@media (min-width: 701px) and (max-width: 1100px) {

    /* "Explore stories" currently sits right on top of the paragraph */
    .read-link {

        /* display: inline-block; */

        display: block;

        width: fit-content;

        margin-left: auto;

    }


    .hero-copy p {

        max-width: none;

        font-size: 13px;

    }


    /* Gallery header: the title column is half as wide on a tablet, so shrink the big title */
    .gallery-header h1 {

        font-size: clamp(44px, 7vw, 80px);

        overflow-wrap: break-word;

    }

        .hero-copy {

        transform: translateX(0);

        opacity: 1;

        pointer-events: auto;

    }


 

.hero-image > img {

    transform: translateX(calc(-1 * min(340px, 34vw) / 2));

}

    .gallery-header {

        grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);

        gap: 40px;

    }

  


    .gallery-header-image {

        align-self:start;

    }


    .gallery-header-image img {

        width: 100%;

        height: 100%;

    }


    .brand-mag-mask {

    padding-inline: calc(var(--brand-font-size) * 0.25);

    margin-inline: calc(var(--brand-font-size) * -0.25);

}

    .hero {

        height: 100vh;

        height: 100svh;     /* fixed height, doesn't change when the toolbar collapses */

        min-height: 650px;

    }


    .hero-brand-wrap {

        max-height: 70vh;

        max-height: 70svh;

    }

}


/* FORCE tighter spacing in the early access signup */

.gallery-header .early-access-content h2 {
    margin-top: 10 !important;
    margin-bottom: 10px !important;
    line-height: 1 !important;
}

.gallery-header .early-access-description {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
}

.gallery-header .early-access-kicker {
    margin-bottom: 6px !important;
}

.gallery-header .early-access-section {
    padding-top: 20px !important;
}



/* BVF application title — image centered on the right */

.bvf-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 36px;
    width: 100%;
    min-width: 0;
    margin-bottom: 36px;
}

.bvf-title-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.bvf-title-image {
    grid-column: 2;
    grid-row: 1;

    width: 100%;
    max-width: 800px;
    min-width: 0;

    justify-self: center;
    align-self: center;
    margin: 0 auto;

    overflow: hidden;


}

.bvf-title-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    padding: auto;
}

.bvf-title-copy .bvf-title {
    max-width: 100%;
    margin: 12px 0 4px;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 0.98;
    overflow-wrap: break-word;
    padding-bottom: 0;
}

.bvf-title-copy .bvf-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 19px;
    margin-bottom: 80px;
}


/* Reduce space between the deadline row and intro paragraph */
.bvf-title-row {
    margin-bottom: 8px !important;
    align-items: start;
}

.bvf-title-row + .bvf-lead {
    margin-top: 0px !important;
    
}


/* Increase the introduction paragraph font size */
.bvf-title-copy .bvf-lead {
    font-size: 15px;
    line-height: 1.8;
}




/* Mobile layout */

@media (max-width: 650px) {
    .bvf-title-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
        gap: 16px;
    }

    .bvf-title-image {
        max-width: none;
    }

    .bvf-title-copy .bvf-title {
        font-size: clamp(30px, 7vw, 44px);
    }

    .bvf-title-copy .bvf-meta {
        flex-direction: column;
        gap: 5px;
    }
}


@media (max-width: 700px) {

    .gallery-page .gallery-header {
        padding-top: 20px;        /* was 120px: lower = number sits closer to the top of the page */
    }

    .gallery-page .gallery-header-text {
        display: none;            /* hides the empty div's blank strip on phones only */
    }

}


/* Force BVF title and image to stack on mobile */
@media (max-width: 650px) {
    .bvf-title-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }

    /* Keep text at the top */
    .bvf-title-copy {
        order: 1;
        width: 100%;
    }

    /* Move image below text */
    .bvf-title-image.mobile-drop {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}