/* Portraits flank the collection introduction; landscapes fill the lower row. */
.equine-page .gallery-wall { min-height:calc(100svh - var(--header-height)); padding-bottom:3rem; }
.equine-page .gallery-inner { max-width:1660px; }
.equine-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(28px,4svh,48px) clamp(20px,3vw,48px); align-items:start; }
.equine-grid .collection { grid-column:auto; width:100%; }
.equine-page .requisite-piece figcaption { font-family:Papyrus,Palatino,serif; letter-spacing:.06em; min-height:2.8em; font-size:clamp(16px,1.15vw,20px); text-transform:none; }
.equine-page .landscape .artwork-trigger { width:100%; }
.equine-page .portrait .artwork-trigger { width:min(100%,clamp(280px,25vw,380px)); }
.equine-page .requisite-piece .frame { padding:clamp(10px,1vw,17px); }
.equine-page .requisite-piece .frame::before { display:block; height:calc(clamp(10px,1vw,17px) + 5px); box-shadow:none; inset:auto 0 auto 0; top:-5px; }
.equine-intro { align-self:center; padding:0 .5rem; font:400 clamp(18px,1.45vw,24px)/1.7 Papyrus,Palatino,serif; text-align:center; }
.equine-intro h2 { margin:0 0 1.1rem; font:400 clamp(25px,2vw,32px)/1.3 Papyrus,Palatino,serif; }
.equine-intro p { margin:0 0 1.2rem; text-wrap:pretty; }
.equine-intro p:last-child { margin-bottom:0; }
@media(max-width:760px) {
 .equine-grid { grid-template-columns:1fr; gap:2.4rem; }
 .equine-grid .portrait:first-child { grid-column:1; }
 .equine-grid .portrait:nth-child(3) { grid-column:1; }
 .equine-intro { grid-column:1; padding:0 .5rem; font-size:19px; line-height:1.7; }
 .equine-grid .landscape { grid-column:1 / -1; }
 .equine-page .landscape .artwork-trigger { width:100%; }
 .equine-page .portrait .artwork-trigger { width:min(100%,320px); }
 .equine-page .portrait .frame { border-width:10px; border-image-width:10px; padding:8px; }
 .equine-page .portrait figcaption { font-size:17px; min-height:0; line-height:1.4; margin-bottom:10px; }
 .equine-page .landscape figcaption { font-size:17px; min-height:0; margin-bottom:14px; }
 .equine-page .gallery-wall { padding-inline:1rem; }
}
/* Keep the short story readable beside the full landscape print. */
.equine-print-page .product-copy { justify-content:center; }
.equine-print-page .product-copy .piece-description { max-width:36ch; margin:20px auto; font-size:clamp(20px,1.65vw,27px); line-height:1.8; }
.equine-print-page .ordering-actions { margin-top:auto; }
.equine-print-page .piece-paging { margin-top:12px; }
.equine-print-page .description-print { display:none; }
@media(max-width:760px) {
 .equine-print-page .product-copy .piece-description { display:block; font-size:18px; line-height:1.55; margin:12px 12px; }
 .equine-print-page .read-piece { display:none; }
 .equine-print-page .piece-paging { margin-top:0; }
 .equine-print-page .ordering-actions { margin:0; }
 .equine-print-page .product-layout { height:auto; min-height:100svh; }
 .equine-print-page .product-art { flex:none; min-height:0; margin:10px 0; }
 .equine-print-page .product-copy h1 { margin-top:8px; }
}
.equine-print-page .piece-description[hidden] { display:none !important; }

/* Spend the desktop width on artwork rather than side margins and gaps. */
@media(min-width:761px) {
 .equine-page .gallery-wall { padding-inline:12px; }
 .equine-page .gallery-inner { max-width:none; }
 .equine-grid { column-gap:12px; }
 .equine-intro { max-width:36ch; justify-self:center; }
 .equine-page .landscape .frame { padding:6px; border-width:12px; border-image-width:12px; }
 .equine-page .landscape .frame::before { height:11px; }
 .equine-page .landscape .frame::after { top:-10px; height:8px; }
}
/* Center the actual portrait frames as well as their captions on the phone. */
.equine-page .artwork-trigger { margin-inline:auto; }
@media(max-width:760px) {
 .equine-page .portrait { text-align:center; }
 .equine-page .portrait figcaption { width:100%; text-align:center; margin-inline:auto; }
}

/* The strip occupies existing title space: the grid's position never changes. */
.equine-page .gallery-wall::before { content:''; position:absolute; top:0; left:0; right:0; height:48px; background-image:linear-gradient(#0002,#0002),url("assets/equine-leather-band.svg"); background-repeat:repeat-x; background-size:auto 48px; box-shadow:0 3px 5px #1d0f0780,0 8px 12px #35201070; pointer-events:none; }
.equine-page .gallery-heading { position:relative; height:clamp(1.32rem,1.8vw,1.86rem); }
.equine-page .gallery-heading span { visibility:hidden; }
.equine-page .gallery-heading h1 { position:absolute; z-index:2; left:50%; top:calc(24px - clamp(1.3rem,2.2vw,2rem)); transform:translate(-50%,-50%) translateY(5px); color:#fff1d6; font:400 27px/1.2 Papyrus,Palatino,serif; letter-spacing:.2em; text-shadow:0 2px 2px #190800,0 0 5px #190800,1px 0 2px #190800,-1px 0 2px #190800; }
@media(max-width:760px) { .equine-page .gallery-heading { height:clamp(.84rem,3.4vw,1rem); } .equine-page .gallery-heading h1 { top:calc(24px - 2.2rem); font-size:20px; letter-spacing:.12em; } }

/* Larger captions retain their existing desktop space above each frame. */
.equine-page .requisite-piece figcaption { font-size:clamp(18px,1.35vw,24px); min-height:calc(clamp(16px,1.15vw,20px)*2.8); }
.equine-page .portrait:first-child figcaption { white-space:nowrap; letter-spacing:.025em; font-size:clamp(15px,1.35vw,24px); }
/* Use the Inspire finish on the moulding alone. */
.equine-page .requisite-piece .frame { border-image:none; background:linear-gradient(140deg,#e7e7e5,#fff 20%,#fcfcfb 70%,#e5e5e3) padding-box,#15181b border-box; }
.equine-moulding { position:absolute; inset:-16px; border:16px solid transparent; border-image:url('assets/requisite-chrome-moulding.png') 70 / 16px stretch; filter:grayscale(1) brightness(.64) contrast(1.05); pointer-events:none; }
@media(min-width:761px) { .landscape .equine-moulding { inset:-12px; border-width:12px; border-image-width:12px; } }
@media(max-width:760px) {
 .equine-page .requisite-piece figcaption { font-size:20px; min-height:0; line-height:1.2; }
 .equine-page .portrait:first-child figcaption { font-size:clamp(17.5px,4.5vw,20px); }
 .portrait .equine-moulding { inset:-10px; border-width:10px; border-image-width:10px; }
 .landscape .equine-moulding { inset:-14px; border-width:14px; border-image-width:14px; }
}

/* Add exactly three typographic points to each collection print title. */
.equine-page .requisite-piece figcaption { font-size:calc(clamp(18px,1.35vw,24px) + 3pt); }
.equine-page .portrait:first-child figcaption { font-size:calc(clamp(15px,1.35vw,24px) + 3pt); }
@media(max-width:760px) {
 .equine-page .requisite-piece figcaption { font-size:calc(20px + 3pt); }
 .equine-page .portrait:first-child figcaption { font-size:calc(clamp(17.5px,4.5vw,20px) + 3pt); }
}

.tennessee-print-page .product-copy .piece-description p + p { margin-top:1em; }
.tennessee-print-page .product-copy h1 { font-size:clamp(24px,2.1vw,34px); letter-spacing:.045em; }
@media(max-width:760px) { .tennessee-print-page .product-copy h1 { font-size:21px; } }

/* The Equine prints share the collection's slim leather title band. */
.equine-print-page .print-leather-title { position:absolute; top:46px; left:0; width:100%; height:48px; z-index:22; display:flex; align-items:center; justify-content:center; background-image:linear-gradient(#0002,#0002),url('assets/equine-leather-band.svg'); background-repeat:repeat-x; background-size:auto 48px; box-shadow:0 3px 5px #1d0f0780,0 8px 12px #35201070; }
.equine-print-page .print-leather-title h1 { margin:0; padding:10px 12px 0; color:#fff1d6; text-align:center; font:400 clamp(23px,2vw,30px)/1.2 Papyrus,Palatino,serif; letter-spacing:.06em; text-shadow:0 2px 2px #190800,0 0 5px #190800,1px 0 2px #190800,-1px 0 2px #190800; }
@media(min-width:761px) {
 .equine-print-page .product-layout { padding-top:106px; }
 .equine-print-page .product-brand { top:112px; }
 .equine-print-page .product-copy { height:calc(100svh - 194px); }
}
@media(max-width:760px) {
 .equine-print-page .print-leather-title { top:48px; }
 .equine-print-page .print-leather-title h1 { font-size:21px; letter-spacing:.025em; }
 .equine-print-page .product-layout { padding-top:104px; }
}

/* Author identity stays on the steel header; leather begins below it. */
.equine-print-page { --header-height:132px; background-size:100% 180px,100% 100%,560px auto; }
.equine-print-page .site-header,.equine-print-page .site-header.scrolled { height:132px; z-index:24; }
.equine-print-page .header-inner,.equine-print-page .site-header.scrolled .header-inner { grid-template-rows:40px 1fr; }
.equine-print-page .site-header .product-brand { position:absolute; top:48px; left:50%; transform:translateX(-50%); width:min(450px,54vw); z-index:25; }
.equine-print-page .print-leather-title { top:132px; }
@media(min-width:761px) {
 .equine-print-page .product-layout { padding-top:192px; }
 .equine-print-page .product-copy { margin-top:0; height:calc(100svh - 210px); }
}
@media(max-width:760px) {
 .equine-print-page { --header-height:88px; background-size:100% 136px,100% 100%,560px auto; }
 .equine-print-page .site-header,.equine-print-page .site-header.scrolled { height:88px; }
 .equine-print-page .header-inner,.equine-print-page .site-header.scrolled .header-inner { grid-template-rows:1fr; }
 .equine-print-page .site-header .product-brand { top:14px; width:min(280px,68vw); }
 .equine-print-page .primary-menu,.equine-print-page .site-header.scrolled .primary-menu { top:88px; }
 .equine-print-page .print-leather-title { top:88px; }
 .equine-print-page .product-layout { padding-top:144px; }
}

/* Match the Requisites composition: art overlaps the header on desktop. */
.equine-print-page .chrome-frame { position:relative; border-image:none; background:linear-gradient(#fff,#fff) padding-box,#15181b border-box; }
.equine-print-moulding { position:absolute; inset:-18px; border:18px solid transparent; border-image:url('assets/requisite-chrome-moulding.png') 70 / 18px stretch; filter:grayscale(1) brightness(.64) contrast(1.05); pointer-events:none; }
.equine-print-page .site-header .product-brand { top:50%; transform:translate(-50%,-50%); }
@media(min-width:761px) {
 .equine-print-page .product-layout { padding-top:58px; }
 .equine-print-page .product-art { z-index:25; }
 .equine-print-page .product-copy { margin-top:134px; height:calc(100svh - 202px); }
 .equine-print-page .site-header .product-brand { width:min(400px,32vw); }
 .equine-print-page .print-leather-title h1 { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:max-content; padding-top:10px; }
}
@media(max-width:760px) {
 .equine-print-moulding { inset:-13px; border-width:13px; border-image-width:13px; }
 .equine-print-page .site-header .product-brand { top:50%; }
}
/* Vertically center the collection's author logo as well. */
.equine-page .site-header .brand,.equine-page .site-header.scrolled .brand { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); }

/* A slightly deeper cast shadow separates lettering from the leather tooling. */
.equine-page .gallery-heading h1,.equine-print-page .print-leather-title h1 {
 text-shadow:0 3px 2px #080200,0 4px 3px #080200,0 0 3px #100400,1px 0 1px #100400,-1px 0 1px #100400;
}

.trust-print-page .product-copy .piece-description p + p { margin-top:.55em; }
@media(max-width:760px) { .trust-print-page .product-copy .piece-description p + p { margin-top:.7em; } }

/* Seven authored lines form one composition; shrink it rather than rewrapping. */
.trust-print-page .product-copy .piece-description { max-width:none; width:100%; margin-inline:0; }
.trust-print-page .product-copy .piece-description p { display:block; width:max-content; min-width:100%; white-space:nowrap; text-wrap:nowrap; margin-inline:auto; }

/* Hay, Cowboy fills the left area, stopping just before the far-right logo. */
@media(min-width:761px) {
 .hay-cowboy-print-page .site-header .product-brand { left:auto; right:16px; transform:translateY(-50%); }
 .hay-cowboy-print-page .product-layout { padding-right:16px; column-gap:18px; max-width:none; }
 .hay-cowboy-print-page .product-copy .piece-description { font-size:clamp(18px,1.4vw,23px); line-height:1.65; }
 .hay-cowboy-print-page .piece-paging { gap:6px; }
 .hay-cowboy-print-page .piece-paging a { font-size:14px; letter-spacing:.015em; }
 .hay-cowboy-print-page .text-action { font-size:16px; letter-spacing:.02em; }
}

/* Four fixed Hay, Cowboy lines, slightly larger with more generous leading. */
.hay-cowboy-print-page .product-copy .piece-description { max-width:none; width:100%; margin-inline:0; font-size:calc(clamp(18px,1.4vw,23px) + 1pt); line-height:2.25; }
.hay-cowboy-print-page .product-copy .piece-description p { width:max-content; min-width:100%; margin:0 auto; white-space:nowrap; text-wrap:nowrap; }
@media(max-width:760px) { .hay-cowboy-print-page .product-copy .piece-description { font-size:calc(18px + 1pt); line-height:2.25; } }

/* The longer What? story shares Hay's wide print layout, with flowing paragraphs. */
.what-print-page .product-copy .piece-description { font-size:clamp(18px,1.3vw,22px); line-height:1.5; margin-block:12px; }
.what-print-page .product-copy .piece-description p { width:auto; min-width:0; white-space:normal; text-wrap:pretty; margin:0 0 .65em; }
.what-print-page .product-copy .piece-description .title-choice { margin-bottom:.3em; }
@media(max-width:760px) { .what-print-page .product-copy .piece-description { font-size:18px; line-height:1.6; margin:12px 0; } }

/* Keep the title choices together, and give the story air below the leather. */
.what-print-page .product-copy .piece-description .title-choice,
.what-print-page .product-copy .piece-description .title-separator { margin-top:0; margin-bottom:0; line-height:1.3; }
@media(min-width:761px) { .what-print-page .product-copy .piece-description { margin-top:36px; } }

/* Let shorter copy lift its controls instead of pinning them to the viewport edge. */
.what-print-page .product-copy { justify-content:flex-start; }
.what-print-page .ordering-actions { margin-top:clamp(12px,2svh,24px); }
@media(min-width:761px) { .what-print-page .product-copy { height:calc(100svh - 230px); } }

/* Preserve the three complete horse/cowboy lines and prevent hidden text overflow. */
.what-print-page .product-copy .piece-description { flex-shrink:0; }
.what-print-page .what-fixed-line { display:block; white-space:nowrap; width:max-content; min-width:100%; margin-inline:auto; }
@media(min-width:761px) {
 .what-print-page .product-copy { margin-top:126px; height:calc(100svh - 214px); }
 .what-print-page .product-copy .piece-description { margin-top:12px; margin-bottom:8px; }
 .what-print-page .ordering-actions { margin-top:12px; }
 .what-print-page .piece-paging { margin-top:6px; }
}

/* Telluride uses the same wide landscape print, with its short story beside it. */
.telluride-print-page .product-copy { justify-content:flex-start; }
.telluride-print-page .product-copy .piece-description { line-height:1.8; margin-block:12px; flex-shrink:0; }
.telluride-print-page .product-copy .piece-description p { width:auto; min-width:0; white-space:normal; text-wrap:pretty; }
.telluride-print-page .ordering-actions { margin-top:20px; }
@media(min-width:761px) { .telluride-print-page .product-copy { margin-top:126px; height:calc(100svh - 214px); } }

/* Five authored Telluride lines retain the established description font size. */
.telluride-print-page .product-copy .piece-description p { display:block; width:max-content; min-width:100%; margin:0 auto; white-space:nowrap; text-wrap:nowrap; }
.telluride-print-page .print-leather-title h1 { font-size:calc(clamp(23px,2vw,30px) + 4pt); }
@media(max-width:760px) { .telluride-print-page .print-leather-title h1 { font-size:calc(21px + 4pt); } }

/* Every Equine print title now carries the same four-point increase. */
.equine-print-page .print-leather-title h1 { font-size:calc(clamp(23px,2vw,30px) + 4pt); }
@media(max-width:760px) { .equine-print-page .print-leather-title h1 { font-size:calc(21px + 4pt); } }
/* Align ordering and navigation across the three landscape prints. */
@media(min-width:761px) {
 .hay-cowboy-print-page .product-copy { margin-top:126px; height:calc(100svh - 214px); }
 .hay-cowboy-print-page .ordering-actions { margin-top:auto; }
 .hay-cowboy-print-page .piece-paging { margin-top:12px; }
}
