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

/* =========================================================
SHARED
========================================================= */

.gallery-eyebrow {
margin: 0;
font-family: var(--font-body);
font-size: 0.66rem;
font-weight: 800;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--gold);
}

.gallery-section-label {
display: flex;
align-items: center;
gap: 18px;
margin-bottom: 55px;
}

.gallery-section-label span {
color: var(--gold);
font-family: var(--font-body);
font-size: 0.64rem;
font-weight: 800;
}

.gallery-section-label p {
margin: 0;
color: rgba(245, 241, 232, 0.45);
font-family: var(--font-body);
font-size: 0.62rem;
font-weight: 800;
letter-spacing: 0.18em;
}

.gallery-section-label::after {
content: "";
width: 70px;
height: 1px;
background: rgba(201, 164, 92, 0.3);
}

.gallery-section-label--dark p {
color: rgba(27, 27, 27, 0.45);
}

.gallery-section-label--dark::after {
background: rgba(27, 27, 27, 0.14);
}

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

.gallery-hero {
position: relative;
min-height: 620px;
overflow: hidden;
background: var(--black);
color: var(--white);
}

.gallery-hero__background {
position: absolute;
inset: 0;
background:
radial-gradient(
circle at 72% 45%,
rgba(201, 164, 92, 0.15),
transparent 25%
),
linear-gradient(
115deg,
#080808,
#171717 55%,
#211e19
);
 background-image: url("/images/home/gallery.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery-hero__overlay {
position: absolute;
inset: 0;
background:
linear-gradient(
90deg,
rgba(5, 5, 5, 0.98),
rgba(5, 5, 5, 0.58),
rgba(5, 5, 5, 0.2)
),
linear-gradient(
0deg,
rgba(5, 5, 5, 0.85),
transparent 55%
);
}

.gallery-hero__container {
position: relative;
z-index: 2;
min-height: 620px;
display: flex;
flex-direction: column;
justify-content: center;
padding-top: 80px;
padding-bottom: 45px;
}

.gallery-hero__content {
max-width: 850px;
}

.gallery-hero__eyebrow {
display: flex;
align-items: center;
gap: 13px;
margin-bottom: 25px;
}

.gallery-hero__eyebrow span {
width: 38px;
height: 1px;
background: var(--gold);
}

.gallery-hero__eyebrow p {
margin: 0;
color: var(--gold-light);
font-family: var(--font-body);
font-size: 0.63rem;
font-weight: 800;
letter-spacing: 0.2em;
}

.gallery-hero h1 {
margin: 0;
font-family: var(--font-display);
font-size: clamp(6rem, 12vw, 11rem);
font-weight: 400;
line-height: 0.75;
text-transform: uppercase;
}

.gallery-hero h1 em {
display: block;
margin-left: 0.08em;
font-family: var(--font-editorial);
font-size: 0.34em;
font-style: italic;
line-height: 1.2;
text-transform: none;
color: var(--gold);
}

.gallery-hero__content > p {
max-width: 480px;
margin: 35px 0 0;
color: rgba(245, 241, 232, 0.6);
font-size: 0.88rem;
line-height: 1.8;
}

.gallery-hero__bottom {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: auto;
padding-top: 70px;
color: rgba(245, 241, 232, 0.4);
font-family: var(--font-body);
font-size: 0.56rem;
font-weight: 800;
letter-spacing: 0.16em;
}

.gallery-hero__bottom div {
display: flex;
gap: 10px;
}

.gallery-hero__bottom strong {
color: var(--gold);
}

/* =========================================================
INTRO
========================================================= */

.gallery-intro {
padding: 140px 0;
background: var(--ivory);
color: var(--text-dark);
}

.gallery-intro__grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 100px;
align-items: end;
}

.gallery-intro h2 {
max-width: 800px;
margin: 18px 0 0;
font-family: var(--font-display);
font-size: clamp(5rem, 8vw, 9rem);
font-weight: 400;
line-height: 0.77;
text-transform: uppercase;
}

.gallery-intro h2 em {
display: block;
font-family: var(--font-editorial);
font-size: 0.42em;
font-style: italic;
line-height: 1.2;
text-transform: none;
color: var(--gold);
}

.gallery-intro__copy {
padding-bottom: 5px;
}

.gallery-intro__copy p {
max-width: 480px;
margin: 0 0 22px;
color: var(--text-muted);
font-size: 0.88rem;
line-height: 1.9;
}

/* =========================================================
GALLERY WORK
========================================================= */

.gallery-work {
padding: 140px 0 160px;
background: var(--black);
color: var(--white);
}

.gallery-filter {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 55px;
}

.gallery-filter__item {
padding: 13px 18px;
border: 1px solid rgba(255, 255, 255, 0.15);
background: transparent;
color: rgba(245, 241, 232, 0.55);
cursor: pointer;
font-family: var(--font-body);
font-size: 0.58rem;
font-weight: 800;
letter-spacing: 0.12em;
text-transform: uppercase;
transition:
background var(--transition),
border-color var(--transition),
color var(--transition);
}

.gallery-filter__item:hover,
.gallery-filter__item.is-active {
border-color: var(--gold);
background: var(--gold);
color: var(--black);
}

.gallery-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr 0.9fr;
grid-auto-rows: 350px;
gap: 12px;
}

.gallery-card {
position: relative;
overflow: hidden;
background: var(--charcoal);
}

.gallery-card--large {
grid-row: span 2;
}

.gallery-card--wide {
grid-column: span 2;
}

.gallery-card__image {
position: absolute;
inset: 0;
}

.gallery-placeholder {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background:
linear-gradient(
135deg,
#282828,
#111111
);
transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-placeholder {
transform: scale(1.04);
}

.gallery-placeholder span {
font-family: var(--font-display);
font-size: 6rem;
line-height: 1;
color: rgba(201, 164, 92, 0.28);
}

.gallery-placeholder p {
margin: 10px 0 0;
color: rgba(255, 255, 255, 0.3);
font-family: var(--font-body);
font-size: 0.54rem;
font-weight: 800;
letter-spacing: 0.18em;
}

.gallery-card__info {
position: absolute;
right: 20px;
bottom: 20px;
left: 20px;
z-index: 2;
display: flex;
align-items: flex-end;
justify-content: space-between;
padding-top: 100px;
background: linear-gradient(
transparent,
rgba(0, 0, 0, 0.8)
);
}

.gallery-card__info p {
margin: 0 0 5px;
color: var(--gold);
font-family: var(--font-body);
font-size: 0.5rem;
font-weight: 800;
letter-spacing: 0.16em;
}

.gallery-card__info h3 {
margin: 0;
font-family: var(--font-editorial);
font-size: 1.2rem;
font-style: italic;
font-weight: 400;
text-transform: none;
}

.gallery-card__info > span {
color: rgba(255, 255, 255, 0.4);
font-family: var(--font-body);
font-size: 0.55rem;
}

/* =========================================================
CTA
========================================================= */

.gallery-cta {
padding: 145px 0;
background: var(--gold);
color: var(--black);
text-align: center;
}

.gallery-cta .container {
display: flex;
flex-direction: column;
align-items: center;
}

.gallery-cta .gallery-eyebrow {
color: rgba(10, 10, 10, 0.55);
}

.gallery-cta h2 {
max-width: 900px;
margin: 25px 0;
font-family: var(--font-display);
font-size: clamp(5rem, 9vw, 10rem);
font-weight: 400;
line-height: 0.77;
text-transform: uppercase;
}

.gallery-cta h2 em {
display: block;
font-family: var(--font-editorial);
font-size: 0.42em;
font-style: italic;
line-height: 1.2;
text-transform: none;
}

.gallery-cta > .container > p:not(.gallery-eyebrow) {
margin: 0 0 35px;
color: rgba(10, 10, 10, 0.58);
font-size: 0.88rem;
}

.gallery-button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 35px;
min-width: 220px;
padding: 18px 20px 18px 25px;
background: var(--black);
color: var(--white);
font-family: var(--font-body);
font-size: 0.63rem;
font-weight: 800;
letter-spacing: 0.14em;
text-decoration: none;
text-transform: uppercase;
transition:
background var(--transition),
transform var(--transition);
}

.gallery-button strong {
color: var(--gold);
font-size: 1rem;
font-weight: 400; 
}

.gallery-button:hover {
background: var(--charcoal);
transform: translateY(-3px);
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1000px) {


.gallery-intro__grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

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

.gallery-card--large {
    grid-row: span 1;
}

.gallery-card--wide {
    grid-column: span 2;
}


}

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

@media (max-width: 700px) {


.gallery-hero,
.gallery-hero__container {
    min-height: 550px;
}

.gallery-hero__container {
    padding-top: 70px;
    padding-bottom: 30px;
}

.gallery-hero h1 {
    font-size: clamp(5rem, 21vw, 7rem);
}

.gallery-hero__content > p {
    max-width: 360px;
    font-size: 0.8rem;
}

.gallery-hero__bottom {
    padding-top: 50px;
}

.gallery-intro,
.gallery-work,
.gallery-cta {
    padding: 95px 0;
}

.gallery-intro h2,
.gallery-cta h2 {
    font-size: clamp(4.3rem, 18vw, 6.5rem);
}

.gallery-filter {
    gap: 6px;
}

.gallery-filter__item {
    padding: 11px 13px;
    font-size: 0.52rem;
}

.gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
}

.gallery-card--wide {
    grid-column: auto;
}


}

@media (max-width: 420px) {


.gallery-grid {
    grid-auto-rows: 300px;
}

.gallery-placeholder span {
    font-size: 5rem;
}

}

